xref: /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/configure (revision 7330f729ccf0bd976a06f95fad452fe774fc7fd1)
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
605get_gcc_base_ver
606WARN_FLAGS
607OPTIMIZE_CXXFLAGS
608TOPLEVEL_INCLUDES
609GLIBCXX_INCLUDES
610glibcxx_toolexeclibdir
611glibcxx_toolexecdir
612gxx_include_dir
613glibcxx_prefixdir
614CPU_OPT_BITS_RANDOM
615CPU_OPT_EXT_RANDOM
616ERROR_CONSTANTS_SRCDIR
617OS_INC_SRCDIR
618ABI_TWEAKS_SRCDIR
619CPU_DEFINES_SRCDIR
620ATOMIC_FLAGS
621ATOMIC_WORD_SRCDIR
622ATOMICITY_SRCDIR
623INCLUDE_DIR_NOTPARALLEL_FALSE
624INCLUDE_DIR_NOTPARALLEL_TRUE
625BUILD_PDF_FALSE
626BUILD_PDF_TRUE
627PDFLATEX
628DBLATEX
629BUILD_MAN_FALSE
630BUILD_MAN_TRUE
631BUILD_HTML_FALSE
632BUILD_HTML_TRUE
633BUILD_XML_FALSE
634BUILD_XML_TRUE
635BUILD_EPUB_FALSE
636BUILD_EPUB_TRUE
637XSL_STYLE_DIR
638XMLLINT
639XSLTPROC
640DOT
641DOXYGEN
642BUILD_INFO_FALSE
643BUILD_INFO_TRUE
644ENABLE_FILESYSTEM_TS_FALSE
645ENABLE_FILESYSTEM_TS_TRUE
646baseline_subdir_switch
647baseline_dir
648HWCAP_CFLAGS
649GLIBCXX_LDBL_COMPAT_FALSE
650GLIBCXX_LDBL_COMPAT_TRUE
651LONG_DOUBLE_COMPAT_FLAGS
652ENABLE_CXX11_ABI_FALSE
653ENABLE_CXX11_ABI_TRUE
654glibcxx_cxx98_abi
655ENABLE_DUAL_ABI_FALSE
656ENABLE_DUAL_ABI_TRUE
657ENABLE_VISIBILITY_FALSE
658ENABLE_VISIBILITY_TRUE
659libtool_VERSION
660ENABLE_SYMVERS_SUN_FALSE
661ENABLE_SYMVERS_SUN_TRUE
662ENABLE_SYMVERS_DARWIN_FALSE
663ENABLE_SYMVERS_DARWIN_TRUE
664ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
665ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
666ENABLE_SYMVERS_GNU_FALSE
667ENABLE_SYMVERS_GNU_TRUE
668ENABLE_SYMVERS_FALSE
669ENABLE_SYMVERS_TRUE
670port_specific_symbol_files
671SYMVER_FILE
672CXXFILT
673LTLIBICONV
674LIBICONV
675OPT_LDFLAGS
676SECTION_LDFLAGS
677GLIBCXX_LIBS
678ENABLE_VTABLE_VERIFY_FALSE
679ENABLE_VTABLE_VERIFY_TRUE
680VTV_CYGMIN_FALSE
681VTV_CYGMIN_TRUE
682VTV_CXXLINKFLAGS
683VTV_PCH_CXXFLAGS
684VTV_CXXFLAGS
685ENABLE_WERROR_FALSE
686ENABLE_WERROR_TRUE
687ENABLE_PYTHONDIR_FALSE
688ENABLE_PYTHONDIR_TRUE
689python_mod_dir
690ENABLE_EXTERN_TEMPLATE_FALSE
691ENABLE_EXTERN_TEMPLATE_TRUE
692EXTRA_CXX_FLAGS
693GLIBCXX_BUILD_DEBUG_FALSE
694GLIBCXX_BUILD_DEBUG_TRUE
695DEBUG_FLAGS
696GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
697GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
698GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
699GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
700GLIBCXX_C_HEADERS_C_STD_FALSE
701GLIBCXX_C_HEADERS_C_STD_TRUE
702GLIBCXX_C_HEADERS_C_FALSE
703GLIBCXX_C_HEADERS_C_TRUE
704C_INCLUDE_DIR
705ALLOCATOR_NAME
706ALLOCATOR_H
707ENABLE_ALLOCATOR_NEW_FALSE
708ENABLE_ALLOCATOR_NEW_TRUE
709CLOCALE_INTERNAL_H
710CLOCALE_CC
711CTIME_CC
712CTIME_H
713CNUMERIC_CC
714CMONEY_CC
715CMESSAGES_CC
716CCTYPE_CC
717CCOLLATE_CC
718CCODECVT_CC
719CMESSAGES_H
720CLOCALE_H
721USE_NLS
722glibcxx_localedir
723glibcxx_POFILES
724glibcxx_MOFILES
725check_msgfmt
726BASIC_FILE_CC
727BASIC_FILE_H
728CSTDIO_H
729SECTION_FLAGS
730WERROR
731ENABLE_FLOAT128_FALSE
732ENABLE_FLOAT128_TRUE
733thread_header
734glibcxx_PCHFLAGS
735GLIBCXX_BUILD_PCH_FALSE
736GLIBCXX_BUILD_PCH_TRUE
737GLIBCXX_HOSTED_FALSE
738GLIBCXX_HOSTED_TRUE
739glibcxx_compiler_shared_flag
740glibcxx_compiler_pic_flag
741glibcxx_lt_pic_flag
742enable_static
743enable_shared
744lt_host_flags
745CXXCPP
746OTOOL64
747OTOOL
748LIPO
749NMEDIT
750DSYMUTIL
751OBJDUMP
752NM
753ac_ct_DUMPBIN
754DUMPBIN
755LD
756FGREP
757SED
758LIBTOOL
759EGREP
760GREP
761CPP
762MAINT
763MAINTAINER_MODE_FALSE
764MAINTAINER_MODE_TRUE
765RANLIB
766AR
767AS
768LN_S
769toplevel_srcdir
770toplevel_builddir
771glibcxx_srcdir
772glibcxx_builddir
773ac_ct_CXX
774CXXFLAGS
775CXX
776OBJEXT
777EXEEXT
778ac_ct_CC
779CPPFLAGS
780LDFLAGS
781CFLAGS
782CC
783am__untar
784am__tar
785AMTAR
786am__leading_dot
787SET_MAKE
788AWK
789mkdir_p
790MKDIR_P
791INSTALL_STRIP_PROGRAM
792STRIP
793install_sh
794MAKEINFO
795AUTOHEADER
796AUTOMAKE
797AUTOCONF
798ACLOCAL
799VERSION
800PACKAGE
801CYGPATH_W
802am__isrc
803INSTALL_DATA
804INSTALL_SCRIPT
805INSTALL_PROGRAM
806target_os
807target_vendor
808target_cpu
809target
810host_os
811host_vendor
812host_cpu
813host
814build_os
815build_vendor
816build_cpu
817build
818multi_basedir
819target_alias
820host_alias
821build_alias
822LIBS
823ECHO_T
824ECHO_N
825ECHO_C
826DEFS
827mandir
828localedir
829libdir
830psdir
831pdfdir
832dvidir
833htmldir
834infodir
835docdir
836oldincludedir
837includedir
838localstatedir
839sharedstatedir
840sysconfdir
841datadir
842datarootdir
843libexecdir
844sbindir
845bindir
846program_transform_name
847prefix
848exec_prefix
849PACKAGE_URL
850PACKAGE_BUGREPORT
851PACKAGE_STRING
852PACKAGE_VERSION
853PACKAGE_TARNAME
854PACKAGE_NAME
855PATH_SEPARATOR
856SHELL'
857ac_subst_files=''
858ac_user_opts='
859enable_option_checking
860enable_multilib
861with_target_subdir
862with_cross_host
863with_newlib
864enable_maintainer_mode
865enable_shared
866enable_static
867with_pic
868enable_fast_install
869with_gnu_ld
870enable_libtool_lock
871enable_hosted_libstdcxx
872enable_libstdcxx_verbose
873enable_libstdcxx_pch
874enable_cstdio
875enable_clocale
876enable_nls
877enable_libstdcxx_allocator
878enable_cheaders
879enable_long_long
880enable_wchar_t
881enable_c99
882enable_concept_checks
883enable_libstdcxx_debug_flags
884enable_libstdcxx_debug
885enable_cxx_flags
886enable_fully_dynamic_string
887enable_extern_template
888with_python_dir
889enable_werror
890enable_vtable_verify
891enable_libstdcxx_time
892enable_tls
893enable_rpath
894with_libiconv_prefix
895with_system_libunwind
896enable_linux_futex
897enable_symvers
898enable_libstdcxx_visibility
899enable_libstdcxx_dual_abi
900with_default_libstdcxx_abi
901enable_libstdcxx_threads
902enable_libstdcxx_filesystem_ts
903with_gxx_include_dir
904enable_version_specific_runtime_libs
905with_gcc_major_version_only
906'
907      ac_precious_vars='build_alias
908host_alias
909target_alias
910CC
911CFLAGS
912LDFLAGS
913LIBS
914CPPFLAGS
915CXX
916CXXFLAGS
917CCC
918CPP
919CXXCPP
920CXXFILT'
921
922
923# Initialize some variables set by options.
924ac_init_help=
925ac_init_version=false
926ac_unrecognized_opts=
927ac_unrecognized_sep=
928# The variables have the same names as the options, with
929# dashes changed to underlines.
930cache_file=/dev/null
931exec_prefix=NONE
932no_create=
933no_recursion=
934prefix=NONE
935program_prefix=NONE
936program_suffix=NONE
937program_transform_name=s,x,x,
938silent=
939site=
940srcdir=
941verbose=
942x_includes=NONE
943x_libraries=NONE
944
945# Installation directory options.
946# These are left unexpanded so users can "make install exec_prefix=/foo"
947# and all the variables that are supposed to be based on exec_prefix
948# by default will actually change.
949# Use braces instead of parens because sh, perl, etc. also accept them.
950# (The list follows the same order as the GNU Coding Standards.)
951bindir='${exec_prefix}/bin'
952sbindir='${exec_prefix}/sbin'
953libexecdir='${exec_prefix}/libexec'
954datarootdir='${prefix}/share'
955datadir='${datarootdir}'
956sysconfdir='${prefix}/etc'
957sharedstatedir='${prefix}/com'
958localstatedir='${prefix}/var'
959includedir='${prefix}/include'
960oldincludedir='/usr/include'
961docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
962infodir='${datarootdir}/info'
963htmldir='${docdir}'
964dvidir='${docdir}'
965pdfdir='${docdir}'
966psdir='${docdir}'
967libdir='${exec_prefix}/lib'
968localedir='${datarootdir}/locale'
969mandir='${datarootdir}/man'
970
971ac_prev=
972ac_dashdash=
973for ac_option
974do
975  # If the previous option needs an argument, assign it.
976  if test -n "$ac_prev"; then
977    eval $ac_prev=\$ac_option
978    ac_prev=
979    continue
980  fi
981
982  case $ac_option in
983  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
984  *)	ac_optarg=yes ;;
985  esac
986
987  # Accept the important Cygnus configure options, so we can diagnose typos.
988
989  case $ac_dashdash$ac_option in
990  --)
991    ac_dashdash=yes ;;
992
993  -bindir | --bindir | --bindi | --bind | --bin | --bi)
994    ac_prev=bindir ;;
995  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
996    bindir=$ac_optarg ;;
997
998  -build | --build | --buil | --bui | --bu)
999    ac_prev=build_alias ;;
1000  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1001    build_alias=$ac_optarg ;;
1002
1003  -cache-file | --cache-file | --cache-fil | --cache-fi \
1004  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1005    ac_prev=cache_file ;;
1006  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1007  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1008    cache_file=$ac_optarg ;;
1009
1010  --config-cache | -C)
1011    cache_file=config.cache ;;
1012
1013  -datadir | --datadir | --datadi | --datad)
1014    ac_prev=datadir ;;
1015  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1016    datadir=$ac_optarg ;;
1017
1018  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1019  | --dataroo | --dataro | --datar)
1020    ac_prev=datarootdir ;;
1021  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1022  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1023    datarootdir=$ac_optarg ;;
1024
1025  -disable-* | --disable-*)
1026    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
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--disable-$ac_useropt_orig"
1037	 ac_unrecognized_sep=', ';;
1038    esac
1039    eval enable_$ac_useropt=no ;;
1040
1041  -docdir | --docdir | --docdi | --doc | --do)
1042    ac_prev=docdir ;;
1043  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1044    docdir=$ac_optarg ;;
1045
1046  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1047    ac_prev=dvidir ;;
1048  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1049    dvidir=$ac_optarg ;;
1050
1051  -enable-* | --enable-*)
1052    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1053    # Reject names that are not valid shell variable names.
1054    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055      as_fn_error "invalid feature name: $ac_useropt"
1056    ac_useropt_orig=$ac_useropt
1057    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058    case $ac_user_opts in
1059      *"
1060"enable_$ac_useropt"
1061"*) ;;
1062      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1063	 ac_unrecognized_sep=', ';;
1064    esac
1065    eval enable_$ac_useropt=\$ac_optarg ;;
1066
1067  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1068  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1069  | --exec | --exe | --ex)
1070    ac_prev=exec_prefix ;;
1071  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1072  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1073  | --exec=* | --exe=* | --ex=*)
1074    exec_prefix=$ac_optarg ;;
1075
1076  -gas | --gas | --ga | --g)
1077    # Obsolete; use --with-gas.
1078    with_gas=yes ;;
1079
1080  -help | --help | --hel | --he | -h)
1081    ac_init_help=long ;;
1082  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1083    ac_init_help=recursive ;;
1084  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1085    ac_init_help=short ;;
1086
1087  -host | --host | --hos | --ho)
1088    ac_prev=host_alias ;;
1089  -host=* | --host=* | --hos=* | --ho=*)
1090    host_alias=$ac_optarg ;;
1091
1092  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1093    ac_prev=htmldir ;;
1094  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1095  | --ht=*)
1096    htmldir=$ac_optarg ;;
1097
1098  -includedir | --includedir | --includedi | --included | --include \
1099  | --includ | --inclu | --incl | --inc)
1100    ac_prev=includedir ;;
1101  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1102  | --includ=* | --inclu=* | --incl=* | --inc=*)
1103    includedir=$ac_optarg ;;
1104
1105  -infodir | --infodir | --infodi | --infod | --info | --inf)
1106    ac_prev=infodir ;;
1107  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1108    infodir=$ac_optarg ;;
1109
1110  -libdir | --libdir | --libdi | --libd)
1111    ac_prev=libdir ;;
1112  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1113    libdir=$ac_optarg ;;
1114
1115  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1116  | --libexe | --libex | --libe)
1117    ac_prev=libexecdir ;;
1118  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1119  | --libexe=* | --libex=* | --libe=*)
1120    libexecdir=$ac_optarg ;;
1121
1122  -localedir | --localedir | --localedi | --localed | --locale)
1123    ac_prev=localedir ;;
1124  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1125    localedir=$ac_optarg ;;
1126
1127  -localstatedir | --localstatedir | --localstatedi | --localstated \
1128  | --localstate | --localstat | --localsta | --localst | --locals)
1129    ac_prev=localstatedir ;;
1130  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1131  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1132    localstatedir=$ac_optarg ;;
1133
1134  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1135    ac_prev=mandir ;;
1136  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1137    mandir=$ac_optarg ;;
1138
1139  -nfp | --nfp | --nf)
1140    # Obsolete; use --without-fp.
1141    with_fp=no ;;
1142
1143  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1144  | --no-cr | --no-c | -n)
1145    no_create=yes ;;
1146
1147  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1148  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1149    no_recursion=yes ;;
1150
1151  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1152  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1153  | --oldin | --oldi | --old | --ol | --o)
1154    ac_prev=oldincludedir ;;
1155  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1156  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1157  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1158    oldincludedir=$ac_optarg ;;
1159
1160  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1161    ac_prev=prefix ;;
1162  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1163    prefix=$ac_optarg ;;
1164
1165  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1166  | --program-pre | --program-pr | --program-p)
1167    ac_prev=program_prefix ;;
1168  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1169  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1170    program_prefix=$ac_optarg ;;
1171
1172  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1173  | --program-suf | --program-su | --program-s)
1174    ac_prev=program_suffix ;;
1175  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1176  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1177    program_suffix=$ac_optarg ;;
1178
1179  -program-transform-name | --program-transform-name \
1180  | --program-transform-nam | --program-transform-na \
1181  | --program-transform-n | --program-transform- \
1182  | --program-transform | --program-transfor \
1183  | --program-transfo | --program-transf \
1184  | --program-trans | --program-tran \
1185  | --progr-tra | --program-tr | --program-t)
1186    ac_prev=program_transform_name ;;
1187  -program-transform-name=* | --program-transform-name=* \
1188  | --program-transform-nam=* | --program-transform-na=* \
1189  | --program-transform-n=* | --program-transform-=* \
1190  | --program-transform=* | --program-transfor=* \
1191  | --program-transfo=* | --program-transf=* \
1192  | --program-trans=* | --program-tran=* \
1193  | --progr-tra=* | --program-tr=* | --program-t=*)
1194    program_transform_name=$ac_optarg ;;
1195
1196  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1197    ac_prev=pdfdir ;;
1198  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1199    pdfdir=$ac_optarg ;;
1200
1201  -psdir | --psdir | --psdi | --psd | --ps)
1202    ac_prev=psdir ;;
1203  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1204    psdir=$ac_optarg ;;
1205
1206  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1207  | -silent | --silent | --silen | --sile | --sil)
1208    silent=yes ;;
1209
1210  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1211    ac_prev=sbindir ;;
1212  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1213  | --sbi=* | --sb=*)
1214    sbindir=$ac_optarg ;;
1215
1216  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1217  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1218  | --sharedst | --shareds | --shared | --share | --shar \
1219  | --sha | --sh)
1220    ac_prev=sharedstatedir ;;
1221  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1222  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1223  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1224  | --sha=* | --sh=*)
1225    sharedstatedir=$ac_optarg ;;
1226
1227  -site | --site | --sit)
1228    ac_prev=site ;;
1229  -site=* | --site=* | --sit=*)
1230    site=$ac_optarg ;;
1231
1232  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1233    ac_prev=srcdir ;;
1234  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1235    srcdir=$ac_optarg ;;
1236
1237  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1238  | --syscon | --sysco | --sysc | --sys | --sy)
1239    ac_prev=sysconfdir ;;
1240  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1241  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1242    sysconfdir=$ac_optarg ;;
1243
1244  -target | --target | --targe | --targ | --tar | --ta | --t)
1245    ac_prev=target_alias ;;
1246  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1247    target_alias=$ac_optarg ;;
1248
1249  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1250    verbose=yes ;;
1251
1252  -version | --version | --versio | --versi | --vers | -V)
1253    ac_init_version=: ;;
1254
1255  -with-* | --with-*)
1256    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1257    # Reject names that are not valid shell variable names.
1258    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1259      as_fn_error "invalid package name: $ac_useropt"
1260    ac_useropt_orig=$ac_useropt
1261    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1262    case $ac_user_opts in
1263      *"
1264"with_$ac_useropt"
1265"*) ;;
1266      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1267	 ac_unrecognized_sep=', ';;
1268    esac
1269    eval with_$ac_useropt=\$ac_optarg ;;
1270
1271  -without-* | --without-*)
1272    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1273    # Reject names that are not valid shell variable names.
1274    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1275      as_fn_error "invalid package name: $ac_useropt"
1276    ac_useropt_orig=$ac_useropt
1277    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1278    case $ac_user_opts in
1279      *"
1280"with_$ac_useropt"
1281"*) ;;
1282      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1283	 ac_unrecognized_sep=', ';;
1284    esac
1285    eval with_$ac_useropt=no ;;
1286
1287  --x)
1288    # Obsolete; use --with-x.
1289    with_x=yes ;;
1290
1291  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1292  | --x-incl | --x-inc | --x-in | --x-i)
1293    ac_prev=x_includes ;;
1294  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1295  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1296    x_includes=$ac_optarg ;;
1297
1298  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1299  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1300    ac_prev=x_libraries ;;
1301  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1302  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1303    x_libraries=$ac_optarg ;;
1304
1305  -*) as_fn_error "unrecognized option: \`$ac_option'
1306Try \`$0 --help' for more information."
1307    ;;
1308
1309  *=*)
1310    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1311    # Reject names that are not valid shell variable names.
1312    case $ac_envvar in #(
1313      '' | [0-9]* | *[!_$as_cr_alnum]* )
1314      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1315    esac
1316    eval $ac_envvar=\$ac_optarg
1317    export $ac_envvar ;;
1318
1319  *)
1320    # FIXME: should be removed in autoconf 3.0.
1321    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1322    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1323      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1324    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1325    ;;
1326
1327  esac
1328done
1329
1330if test -n "$ac_prev"; then
1331  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1332  as_fn_error "missing argument to $ac_option"
1333fi
1334
1335if test -n "$ac_unrecognized_opts"; then
1336  case $enable_option_checking in
1337    no) ;;
1338    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1339    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1340  esac
1341fi
1342
1343# Check all directory arguments for consistency.
1344for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1345		datadir sysconfdir sharedstatedir localstatedir includedir \
1346		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1347		libdir localedir mandir
1348do
1349  eval ac_val=\$$ac_var
1350  # Remove trailing slashes.
1351  case $ac_val in
1352    */ )
1353      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1354      eval $ac_var=\$ac_val;;
1355  esac
1356  # Be sure to have absolute directory names.
1357  case $ac_val in
1358    [\\/$]* | ?:[\\/]* )  continue;;
1359    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1360  esac
1361  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1362done
1363
1364# There might be people who depend on the old broken behavior: `$host'
1365# used to hold the argument of --host etc.
1366# FIXME: To remove some day.
1367build=$build_alias
1368host=$host_alias
1369target=$target_alias
1370
1371# FIXME: To remove some day.
1372if test "x$host_alias" != x; then
1373  if test "x$build_alias" = x; then
1374    cross_compiling=maybe
1375    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1376    If a cross compiler is detected then cross compile mode will be used." >&2
1377  elif test "x$build_alias" != "x$host_alias"; then
1378    cross_compiling=yes
1379  fi
1380fi
1381
1382ac_tool_prefix=
1383test -n "$host_alias" && ac_tool_prefix=$host_alias-
1384
1385test "$silent" = yes && exec 6>/dev/null
1386
1387
1388ac_pwd=`pwd` && test -n "$ac_pwd" &&
1389ac_ls_di=`ls -di .` &&
1390ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1391  as_fn_error "working directory cannot be determined"
1392test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1393  as_fn_error "pwd does not report name of working directory"
1394
1395
1396# Find the source files, if location was not specified.
1397if test -z "$srcdir"; then
1398  ac_srcdir_defaulted=yes
1399  # Try the directory containing this script, then the parent directory.
1400  ac_confdir=`$as_dirname -- "$as_myself" ||
1401$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1402	 X"$as_myself" : 'X\(//\)[^/]' \| \
1403	 X"$as_myself" : 'X\(//\)$' \| \
1404	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1405$as_echo X"$as_myself" |
1406    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1407	    s//\1/
1408	    q
1409	  }
1410	  /^X\(\/\/\)[^/].*/{
1411	    s//\1/
1412	    q
1413	  }
1414	  /^X\(\/\/\)$/{
1415	    s//\1/
1416	    q
1417	  }
1418	  /^X\(\/\).*/{
1419	    s//\1/
1420	    q
1421	  }
1422	  s/.*/./; q'`
1423  srcdir=$ac_confdir
1424  if test ! -r "$srcdir/$ac_unique_file"; then
1425    srcdir=..
1426  fi
1427else
1428  ac_srcdir_defaulted=no
1429fi
1430if test ! -r "$srcdir/$ac_unique_file"; then
1431  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1432  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1433fi
1434ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1435ac_abs_confdir=`(
1436	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1437	pwd)`
1438# When building in place, set srcdir=.
1439if test "$ac_abs_confdir" = "$ac_pwd"; then
1440  srcdir=.
1441fi
1442# Remove unnecessary trailing slashes from srcdir.
1443# Double slashes in file names in object file debugging info
1444# mess up M-x gdb in Emacs.
1445case $srcdir in
1446*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1447esac
1448for ac_var in $ac_precious_vars; do
1449  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1450  eval ac_env_${ac_var}_value=\$${ac_var}
1451  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1452  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1453done
1454
1455#
1456# Report the --help message.
1457#
1458if test "$ac_init_help" = "long"; then
1459  # Omit some internal or obsolete options to make the list less imposing.
1460  # This message is too long to be a string in the A/UX 3.1 sh.
1461  cat <<_ACEOF
1462\`configure' configures package-unused version-unused to adapt to many kinds of systems.
1463
1464Usage: $0 [OPTION]... [VAR=VALUE]...
1465
1466To assign environment variables (e.g., CC, CFLAGS...), specify them as
1467VAR=VALUE.  See below for descriptions of some of the useful variables.
1468
1469Defaults for the options are specified in brackets.
1470
1471Configuration:
1472  -h, --help              display this help and exit
1473      --help=short        display options specific to this package
1474      --help=recursive    display the short help of all the included packages
1475  -V, --version           display version information and exit
1476  -q, --quiet, --silent   do not print \`checking...' messages
1477      --cache-file=FILE   cache test results in FILE [disabled]
1478  -C, --config-cache      alias for \`--cache-file=config.cache'
1479  -n, --no-create         do not create output files
1480      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1481
1482Installation directories:
1483  --prefix=PREFIX         install architecture-independent files in PREFIX
1484                          [$ac_default_prefix]
1485  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1486                          [PREFIX]
1487
1488By default, \`make install' will install all the files in
1489\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1490an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1491for instance \`--prefix=\$HOME'.
1492
1493For better control, use the options below.
1494
1495Fine tuning of the installation directories:
1496  --bindir=DIR            user executables [EPREFIX/bin]
1497  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1498  --libexecdir=DIR        program executables [EPREFIX/libexec]
1499  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1500  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1501  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1502  --libdir=DIR            object code libraries [EPREFIX/lib]
1503  --includedir=DIR        C header files [PREFIX/include]
1504  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1505  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1506  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1507  --infodir=DIR           info documentation [DATAROOTDIR/info]
1508  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1509  --mandir=DIR            man documentation [DATAROOTDIR/man]
1510  --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1511  --htmldir=DIR           html documentation [DOCDIR]
1512  --dvidir=DIR            dvi documentation [DOCDIR]
1513  --pdfdir=DIR            pdf documentation [DOCDIR]
1514  --psdir=DIR             ps documentation [DOCDIR]
1515_ACEOF
1516
1517  cat <<\_ACEOF
1518
1519Program names:
1520  --program-prefix=PREFIX            prepend PREFIX to installed program names
1521  --program-suffix=SUFFIX            append SUFFIX to installed program names
1522  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1523
1524System types:
1525  --build=BUILD     configure for building on BUILD [guessed]
1526  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1527  --target=TARGET   configure for building compilers for TARGET [HOST]
1528_ACEOF
1529fi
1530
1531if test -n "$ac_init_help"; then
1532  case $ac_init_help in
1533     short | recursive ) echo "Configuration of package-unused version-unused:";;
1534   esac
1535  cat <<\_ACEOF
1536
1537Optional Features:
1538  --disable-option-checking  ignore unrecognized --enable/--with options
1539  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1540  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1541  --enable-multilib       build many library versions (default)
1542  --enable-maintainer-mode  enable make rules and dependencies not useful
1543			  (and sometimes confusing) to the casual installer
1544  --enable-shared[=PKGS]  build shared libraries [default=yes]
1545  --enable-static[=PKGS]  build static libraries [default=yes]
1546  --enable-fast-install[=PKGS]
1547                          optimize for fast installation [default=yes]
1548  --disable-libtool-lock  avoid locking (might break parallel builds)
1549  --disable-hosted-libstdcxx
1550                          only build freestanding C++ runtime support
1551  --disable-libstdcxx-verbose
1552                          disable termination messages to standard error
1553  --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1554                          [default=$is_hosted]
1555  --enable-cstdio[=PACKAGE]
1556                          use target-specific I/O package [default=stdio]
1557  --enable-clocale[=MODEL]
1558                          use MODEL for target locale package [default=auto]
1559  --enable-nls            use Native Language Support (default)
1560  --enable-libstdcxx-allocator[=KIND]
1561                          use KIND for target std::allocator base
1562                          [default=auto]
1563  --enable-cheaders[=KIND]
1564                          construct "C" headers for g++ [default=$c_model]
1565  --enable-long-long      enable template specializations for 'long long'
1566                          [default=yes]
1567  --enable-wchar_t        enable template specializations for 'wchar_t'
1568                          [default=yes]
1569  --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1570  --enable-concept-checks use Boost-derived template checks [default=no]
1571  --enable-libstdcxx-debug-flags=FLAGS
1572                          pass compiler FLAGS when building debug library
1573                          [default="-gdwarf-4 -g3 -O0"]
1574  --enable-libstdcxx-debug
1575                          build extra debug library [default=no]
1576  --enable-cxx-flags=FLAGS
1577                          pass compiler FLAGS when building library [default=]
1578  --enable-fully-dynamic-string
1579                          do not put empty strings in per-process static
1580                          memory [default=no]
1581  --enable-extern-template
1582                          enable extern template [default=yes]
1583  --enable-werror         turns on -Werror [default=yes]
1584  --enable-vtable-verify  enable vtable verify [default=no]
1585  --enable-libstdcxx-time[=KIND]
1586                          use KIND for check type [default=auto]
1587  --enable-tls            Use thread-local storage [default=yes]
1588  --disable-rpath         do not hardcode runtime library paths
1589  --enable-linux-futex    use the Linux futex system call [default=default]
1590  --enable-symvers[=STYLE]
1591                          enables symbol versioning of the shared library
1592                          [default=yes]
1593  --enable-libstdcxx-visibility
1594                          enables visibility safe usage [default=yes]
1595  --enable-libstdcxx-dual-abi
1596                          support two versions of std::string [default=yes]
1597  --enable-libstdcxx-threads
1598                          enable C++11 threads support [default=auto]
1599  --enable-libstdcxx-filesystem-ts
1600                          turns on ISO/IEC TS 18822 support [default=auto]
1601  --enable-version-specific-runtime-libs
1602                          Specify that runtime libraries should be installed
1603                          in a compiler-specific directory
1604
1605Optional Packages:
1606  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1607  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1608  --with-target-subdir=SUBDIR
1609                          configuring in a subdirectory
1610  --with-cross-host=HOST  configuring with a cross compiler
1611  --with-newlib           assume newlib as a system C library
1612  --with-pic              try to use only PIC/non-PIC objects [default=use
1613                          both]
1614  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1615  --with-python-dir       the location to install Python modules. This path is
1616                          relative starting from the prefix.
1617  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1618  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1619  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1620  --with-system-libunwind use installed libunwind
1621  --with-default-libstdcxx-abi
1622                          set the std::string ABI to use by default
1623  --with-gxx-include-dir=DIR
1624                          installation directory for include files
1625  --with-gcc-major-version-only
1626                          use only GCC major number in filesystem paths
1627
1628Some influential environment variables:
1629  CC          C compiler command
1630  CFLAGS      C compiler flags
1631  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1632              nonstandard directory <lib dir>
1633  LIBS        libraries to pass to the linker, e.g. -l<library>
1634  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1635              you have headers in a nonstandard directory <include dir>
1636  CXX         C++ compiler command
1637  CXXFLAGS    C++ compiler flags
1638  CPP         C preprocessor
1639  CXXCPP      C++ preprocessor
1640  CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1641              `c++filt', `gc++filt' on PATH.
1642
1643Use these variables to override the choices made by `configure' or to help
1644it to find libraries and programs with nonstandard names/locations.
1645
1646Report bugs to the package provider.
1647_ACEOF
1648ac_status=$?
1649fi
1650
1651if test "$ac_init_help" = "recursive"; then
1652  # If there are subdirs, report their specific --help.
1653  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1654    test -d "$ac_dir" ||
1655      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1656      continue
1657    ac_builddir=.
1658
1659case "$ac_dir" in
1660.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1661*)
1662  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1663  # A ".." for each directory in $ac_dir_suffix.
1664  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1665  case $ac_top_builddir_sub in
1666  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1667  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1668  esac ;;
1669esac
1670ac_abs_top_builddir=$ac_pwd
1671ac_abs_builddir=$ac_pwd$ac_dir_suffix
1672# for backward compatibility:
1673ac_top_builddir=$ac_top_build_prefix
1674
1675case $srcdir in
1676  .)  # We are building in place.
1677    ac_srcdir=.
1678    ac_top_srcdir=$ac_top_builddir_sub
1679    ac_abs_top_srcdir=$ac_pwd ;;
1680  [\\/]* | ?:[\\/]* )  # Absolute name.
1681    ac_srcdir=$srcdir$ac_dir_suffix;
1682    ac_top_srcdir=$srcdir
1683    ac_abs_top_srcdir=$srcdir ;;
1684  *) # Relative name.
1685    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1686    ac_top_srcdir=$ac_top_build_prefix$srcdir
1687    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1688esac
1689ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1690
1691    cd "$ac_dir" || { ac_status=$?; continue; }
1692    # Check for guested configure.
1693    if test -f "$ac_srcdir/configure.gnu"; then
1694      echo &&
1695      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1696    elif test -f "$ac_srcdir/configure"; then
1697      echo &&
1698      $SHELL "$ac_srcdir/configure" --help=recursive
1699    else
1700      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1701    fi || ac_status=$?
1702    cd "$ac_pwd" || { ac_status=$?; break; }
1703  done
1704fi
1705
1706test -n "$ac_init_help" && exit $ac_status
1707if $ac_init_version; then
1708  cat <<\_ACEOF
1709package-unused configure version-unused
1710generated by GNU Autoconf 2.64
1711
1712Copyright (C) 2009 Free Software Foundation, Inc.
1713This configure script is free software; the Free Software Foundation
1714gives unlimited permission to copy, distribute and modify it.
1715_ACEOF
1716  exit
1717fi
1718
1719## ------------------------ ##
1720## Autoconf initialization. ##
1721## ------------------------ ##
1722
1723# ac_fn_c_try_compile LINENO
1724# --------------------------
1725# Try to compile conftest.$ac_ext, and return whether this succeeded.
1726ac_fn_c_try_compile ()
1727{
1728  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729  rm -f conftest.$ac_objext
1730  if { { ac_try="$ac_compile"
1731case "(($ac_try" in
1732  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1733  *) ac_try_echo=$ac_try;;
1734esac
1735eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1736$as_echo "$ac_try_echo"; } >&5
1737  (eval "$ac_compile") 2>conftest.err
1738  ac_status=$?
1739  if test -s conftest.err; then
1740    grep -v '^ *+' conftest.err >conftest.er1
1741    cat conftest.er1 >&5
1742    mv -f conftest.er1 conftest.err
1743  fi
1744  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745  test $ac_status = 0; } && {
1746	 test -z "$ac_c_werror_flag" ||
1747	 test ! -s conftest.err
1748       } && test -s conftest.$ac_objext; then :
1749  ac_retval=0
1750else
1751  $as_echo "$as_me: failed program was:" >&5
1752sed 's/^/| /' conftest.$ac_ext >&5
1753
1754	ac_retval=1
1755fi
1756  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1757  return $ac_retval
1758
1759} # ac_fn_c_try_compile
1760
1761# ac_fn_cxx_try_compile LINENO
1762# ----------------------------
1763# Try to compile conftest.$ac_ext, and return whether this succeeded.
1764ac_fn_cxx_try_compile ()
1765{
1766  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767  rm -f conftest.$ac_objext
1768  if { { ac_try="$ac_compile"
1769case "(($ac_try" in
1770  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1771  *) ac_try_echo=$ac_try;;
1772esac
1773eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1774$as_echo "$ac_try_echo"; } >&5
1775  (eval "$ac_compile") 2>conftest.err
1776  ac_status=$?
1777  if test -s conftest.err; then
1778    grep -v '^ *+' conftest.err >conftest.er1
1779    cat conftest.er1 >&5
1780    mv -f conftest.er1 conftest.err
1781  fi
1782  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783  test $ac_status = 0; } && {
1784	 test -z "$ac_cxx_werror_flag" ||
1785	 test ! -s conftest.err
1786       } && test -s conftest.$ac_objext; then :
1787  ac_retval=0
1788else
1789  $as_echo "$as_me: failed program was:" >&5
1790sed 's/^/| /' conftest.$ac_ext >&5
1791
1792	ac_retval=1
1793fi
1794  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1795  return $ac_retval
1796
1797} # ac_fn_cxx_try_compile
1798
1799# ac_fn_c_try_cpp LINENO
1800# ----------------------
1801# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1802ac_fn_c_try_cpp ()
1803{
1804  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805  if { { ac_try="$ac_cpp conftest.$ac_ext"
1806case "(($ac_try" in
1807  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1808  *) ac_try_echo=$ac_try;;
1809esac
1810eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811$as_echo "$ac_try_echo"; } >&5
1812  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1813  ac_status=$?
1814  if test -s conftest.err; then
1815    grep -v '^ *+' conftest.err >conftest.er1
1816    cat conftest.er1 >&5
1817    mv -f conftest.er1 conftest.err
1818  fi
1819  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820  test $ac_status = 0; } >/dev/null && {
1821	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1822	 test ! -s conftest.err
1823       }; then :
1824  ac_retval=0
1825else
1826  $as_echo "$as_me: failed program was:" >&5
1827sed 's/^/| /' conftest.$ac_ext >&5
1828
1829    ac_retval=1
1830fi
1831  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1832  return $ac_retval
1833
1834} # ac_fn_c_try_cpp
1835
1836# ac_fn_c_try_link LINENO
1837# -----------------------
1838# Try to link conftest.$ac_ext, and return whether this succeeded.
1839ac_fn_c_try_link ()
1840{
1841  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842  rm -f conftest.$ac_objext conftest$ac_exeext
1843  if { { ac_try="$ac_link"
1844case "(($ac_try" in
1845  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1846  *) ac_try_echo=$ac_try;;
1847esac
1848eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849$as_echo "$ac_try_echo"; } >&5
1850  (eval "$ac_link") 2>conftest.err
1851  ac_status=$?
1852  if test -s conftest.err; then
1853    grep -v '^ *+' conftest.err >conftest.er1
1854    cat conftest.er1 >&5
1855    mv -f conftest.er1 conftest.err
1856  fi
1857  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858  test $ac_status = 0; } && {
1859	 test -z "$ac_c_werror_flag" ||
1860	 test ! -s conftest.err
1861       } && test -s conftest$ac_exeext && {
1862	 test "$cross_compiling" = yes ||
1863	 $as_test_x conftest$ac_exeext
1864       }; then :
1865  ac_retval=0
1866else
1867  $as_echo "$as_me: failed program was:" >&5
1868sed 's/^/| /' conftest.$ac_ext >&5
1869
1870	ac_retval=1
1871fi
1872  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1873  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1874  # interfere with the next link command; also delete a directory that is
1875  # left behind by Apple's compiler.  We do this before executing the actions.
1876  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1877  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878  return $ac_retval
1879
1880} # ac_fn_c_try_link
1881
1882# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1883# -------------------------------------------------------
1884# Tests whether HEADER exists and can be compiled using the include files in
1885# INCLUDES, setting the cache variable VAR accordingly.
1886ac_fn_c_check_header_compile ()
1887{
1888  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1890$as_echo_n "checking for $2... " >&6; }
1891if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1892  $as_echo_n "(cached) " >&6
1893else
1894  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895/* end confdefs.h.  */
1896$4
1897#include <$2>
1898_ACEOF
1899if ac_fn_c_try_compile "$LINENO"; then :
1900  eval "$3=yes"
1901else
1902  eval "$3=no"
1903fi
1904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1905fi
1906eval ac_res=\$$3
1907	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908$as_echo "$ac_res" >&6; }
1909  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1910
1911} # ac_fn_c_check_header_compile
1912
1913# ac_fn_c_try_run LINENO
1914# ----------------------
1915# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1916# that executables *can* be run.
1917ac_fn_c_try_run ()
1918{
1919  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920  if { { ac_try="$ac_link"
1921case "(($ac_try" in
1922  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1923  *) ac_try_echo=$ac_try;;
1924esac
1925eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926$as_echo "$ac_try_echo"; } >&5
1927  (eval "$ac_link") 2>&5
1928  ac_status=$?
1929  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1930  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1931  { { case "(($ac_try" in
1932  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1933  *) ac_try_echo=$ac_try;;
1934esac
1935eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1936$as_echo "$ac_try_echo"; } >&5
1937  (eval "$ac_try") 2>&5
1938  ac_status=$?
1939  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940  test $ac_status = 0; }; }; then :
1941  ac_retval=0
1942else
1943  $as_echo "$as_me: program exited with status $ac_status" >&5
1944       $as_echo "$as_me: failed program was:" >&5
1945sed 's/^/| /' conftest.$ac_ext >&5
1946
1947       ac_retval=$ac_status
1948fi
1949  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1950  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1951  return $ac_retval
1952
1953} # ac_fn_c_try_run
1954
1955# ac_fn_c_check_func LINENO FUNC VAR
1956# ----------------------------------
1957# Tests whether FUNC exists, setting the cache variable VAR accordingly
1958ac_fn_c_check_func ()
1959{
1960  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1962$as_echo_n "checking for $2... " >&6; }
1963if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1964  $as_echo_n "(cached) " >&6
1965else
1966  if test x$gcc_no_link = xyes; then
1967  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1968fi
1969cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970/* end confdefs.h.  */
1971/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1972   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1973#define $2 innocuous_$2
1974
1975/* System header to define __stub macros and hopefully few prototypes,
1976    which can conflict with char $2 (); below.
1977    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1978    <limits.h> exists even on freestanding compilers.  */
1979
1980#ifdef __STDC__
1981# include <limits.h>
1982#else
1983# include <assert.h>
1984#endif
1985
1986#undef $2
1987
1988/* Override any GCC internal prototype to avoid an error.
1989   Use char because int might match the return type of a GCC
1990   builtin and then its argument prototype would still apply.  */
1991#ifdef __cplusplus
1992extern "C"
1993#endif
1994char $2 ();
1995/* The GNU C library defines this for functions which it implements
1996    to always fail with ENOSYS.  Some functions are actually named
1997    something starting with __ and the normal name is an alias.  */
1998#if defined __stub_$2 || defined __stub___$2
1999choke me
2000#endif
2001
2002int
2003main ()
2004{
2005return $2 ();
2006  ;
2007  return 0;
2008}
2009_ACEOF
2010if ac_fn_c_try_link "$LINENO"; then :
2011  eval "$3=yes"
2012else
2013  eval "$3=no"
2014fi
2015rm -f core conftest.err conftest.$ac_objext \
2016    conftest$ac_exeext conftest.$ac_ext
2017fi
2018eval ac_res=\$$3
2019	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2020$as_echo "$ac_res" >&6; }
2021  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2022
2023} # ac_fn_c_check_func
2024
2025# ac_fn_cxx_try_cpp LINENO
2026# ------------------------
2027# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2028ac_fn_cxx_try_cpp ()
2029{
2030  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031  if { { ac_try="$ac_cpp conftest.$ac_ext"
2032case "(($ac_try" in
2033  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2034  *) ac_try_echo=$ac_try;;
2035esac
2036eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2037$as_echo "$ac_try_echo"; } >&5
2038  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2039  ac_status=$?
2040  if test -s conftest.err; then
2041    grep -v '^ *+' conftest.err >conftest.er1
2042    cat conftest.er1 >&5
2043    mv -f conftest.er1 conftest.err
2044  fi
2045  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2046  test $ac_status = 0; } >/dev/null && {
2047	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2048	 test ! -s conftest.err
2049       }; then :
2050  ac_retval=0
2051else
2052  $as_echo "$as_me: failed program was:" >&5
2053sed 's/^/| /' conftest.$ac_ext >&5
2054
2055    ac_retval=1
2056fi
2057  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2058  return $ac_retval
2059
2060} # ac_fn_cxx_try_cpp
2061
2062# ac_fn_cxx_try_link LINENO
2063# -------------------------
2064# Try to link conftest.$ac_ext, and return whether this succeeded.
2065ac_fn_cxx_try_link ()
2066{
2067  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2068  rm -f conftest.$ac_objext conftest$ac_exeext
2069  if { { ac_try="$ac_link"
2070case "(($ac_try" in
2071  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2072  *) ac_try_echo=$ac_try;;
2073esac
2074eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2075$as_echo "$ac_try_echo"; } >&5
2076  (eval "$ac_link") 2>conftest.err
2077  ac_status=$?
2078  if test -s conftest.err; then
2079    grep -v '^ *+' conftest.err >conftest.er1
2080    cat conftest.er1 >&5
2081    mv -f conftest.er1 conftest.err
2082  fi
2083  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2084  test $ac_status = 0; } && {
2085	 test -z "$ac_cxx_werror_flag" ||
2086	 test ! -s conftest.err
2087       } && test -s conftest$ac_exeext && {
2088	 test "$cross_compiling" = yes ||
2089	 $as_test_x conftest$ac_exeext
2090       }; then :
2091  ac_retval=0
2092else
2093  $as_echo "$as_me: failed program was:" >&5
2094sed 's/^/| /' conftest.$ac_ext >&5
2095
2096	ac_retval=1
2097fi
2098  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2099  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2100  # interfere with the next link command; also delete a directory that is
2101  # left behind by Apple's compiler.  We do this before executing the actions.
2102  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2103  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2104  return $ac_retval
2105
2106} # ac_fn_cxx_try_link
2107
2108# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2109# -------------------------------------------------------
2110# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2111# the include files in INCLUDES and setting the cache variable VAR
2112# accordingly.
2113ac_fn_c_check_header_mongrel ()
2114{
2115  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2116  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2117  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2118$as_echo_n "checking for $2... " >&6; }
2119if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2120  $as_echo_n "(cached) " >&6
2121fi
2122eval ac_res=\$$3
2123	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2124$as_echo "$ac_res" >&6; }
2125else
2126  # Is the header compilable?
2127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2128$as_echo_n "checking $2 usability... " >&6; }
2129cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2130/* end confdefs.h.  */
2131$4
2132#include <$2>
2133_ACEOF
2134if ac_fn_c_try_compile "$LINENO"; then :
2135  ac_header_compiler=yes
2136else
2137  ac_header_compiler=no
2138fi
2139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2141$as_echo "$ac_header_compiler" >&6; }
2142
2143# Is the header present?
2144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2145$as_echo_n "checking $2 presence... " >&6; }
2146cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2147/* end confdefs.h.  */
2148#include <$2>
2149_ACEOF
2150if ac_fn_c_try_cpp "$LINENO"; then :
2151  ac_header_preproc=yes
2152else
2153  ac_header_preproc=no
2154fi
2155rm -f conftest.err conftest.$ac_ext
2156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2157$as_echo "$ac_header_preproc" >&6; }
2158
2159# So?  What about this header?
2160case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2161  yes:no: )
2162    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2163$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2164    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2165$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2166    ;;
2167  no:yes:* )
2168    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2169$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2170    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2171$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2172    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2173$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2174    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2175$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2176    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2177$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2178    ;;
2179esac
2180  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2181$as_echo_n "checking for $2... " >&6; }
2182if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2183  $as_echo_n "(cached) " >&6
2184else
2185  eval "$3=\$ac_header_compiler"
2186fi
2187eval ac_res=\$$3
2188	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2189$as_echo "$ac_res" >&6; }
2190fi
2191  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2192
2193} # ac_fn_c_check_header_mongrel
2194
2195# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2196# ---------------------------------------------------------
2197# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2198# the include files in INCLUDES and setting the cache variable VAR
2199# accordingly.
2200ac_fn_cxx_check_header_mongrel ()
2201{
2202  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2203  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2204  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2205$as_echo_n "checking for $2... " >&6; }
2206if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2207  $as_echo_n "(cached) " >&6
2208fi
2209eval ac_res=\$$3
2210	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2211$as_echo "$ac_res" >&6; }
2212else
2213  # Is the header compilable?
2214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2215$as_echo_n "checking $2 usability... " >&6; }
2216cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2217/* end confdefs.h.  */
2218$4
2219#include <$2>
2220_ACEOF
2221if ac_fn_cxx_try_compile "$LINENO"; then :
2222  ac_header_compiler=yes
2223else
2224  ac_header_compiler=no
2225fi
2226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2228$as_echo "$ac_header_compiler" >&6; }
2229
2230# Is the header present?
2231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2232$as_echo_n "checking $2 presence... " >&6; }
2233cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2234/* end confdefs.h.  */
2235#include <$2>
2236_ACEOF
2237if ac_fn_cxx_try_cpp "$LINENO"; then :
2238  ac_header_preproc=yes
2239else
2240  ac_header_preproc=no
2241fi
2242rm -f conftest.err conftest.$ac_ext
2243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2244$as_echo "$ac_header_preproc" >&6; }
2245
2246# So?  What about this header?
2247case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2248  yes:no: )
2249    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2250$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2251    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2252$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2253    ;;
2254  no:yes:* )
2255    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2256$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2257    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2258$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2259    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2260$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2261    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2262$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2263    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2264$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2265    ;;
2266esac
2267  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2268$as_echo_n "checking for $2... " >&6; }
2269if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2270  $as_echo_n "(cached) " >&6
2271else
2272  eval "$3=\$ac_header_compiler"
2273fi
2274eval ac_res=\$$3
2275	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2276$as_echo "$ac_res" >&6; }
2277fi
2278  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2279
2280} # ac_fn_cxx_check_header_mongrel
2281
2282# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2283# --------------------------------------------
2284# Tries to find the compile-time value of EXPR in a program that includes
2285# INCLUDES, setting VAR accordingly. Returns whether the value could be
2286# computed
2287ac_fn_c_compute_int ()
2288{
2289  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2290  if test "$cross_compiling" = yes; then
2291    # Depending upon the size, compute the lo and hi bounds.
2292cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2293/* end confdefs.h.  */
2294$4
2295int
2296main ()
2297{
2298static int test_array [1 - 2 * !(($2) >= 0)];
2299test_array [0] = 0
2300
2301  ;
2302  return 0;
2303}
2304_ACEOF
2305if ac_fn_c_try_compile "$LINENO"; then :
2306  ac_lo=0 ac_mid=0
2307  while :; do
2308    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2309/* end confdefs.h.  */
2310$4
2311int
2312main ()
2313{
2314static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2315test_array [0] = 0
2316
2317  ;
2318  return 0;
2319}
2320_ACEOF
2321if ac_fn_c_try_compile "$LINENO"; then :
2322  ac_hi=$ac_mid; break
2323else
2324  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2325			if test $ac_lo -le $ac_mid; then
2326			  ac_lo= ac_hi=
2327			  break
2328			fi
2329			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2330fi
2331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2332  done
2333else
2334  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2335/* end confdefs.h.  */
2336$4
2337int
2338main ()
2339{
2340static int test_array [1 - 2 * !(($2) < 0)];
2341test_array [0] = 0
2342
2343  ;
2344  return 0;
2345}
2346_ACEOF
2347if ac_fn_c_try_compile "$LINENO"; then :
2348  ac_hi=-1 ac_mid=-1
2349  while :; do
2350    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2351/* end confdefs.h.  */
2352$4
2353int
2354main ()
2355{
2356static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2357test_array [0] = 0
2358
2359  ;
2360  return 0;
2361}
2362_ACEOF
2363if ac_fn_c_try_compile "$LINENO"; then :
2364  ac_lo=$ac_mid; break
2365else
2366  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2367			if test $ac_mid -le $ac_hi; then
2368			  ac_lo= ac_hi=
2369			  break
2370			fi
2371			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2372fi
2373rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2374  done
2375else
2376  ac_lo= ac_hi=
2377fi
2378rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2379fi
2380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2381# Binary search between lo and hi bounds.
2382while test "x$ac_lo" != "x$ac_hi"; do
2383  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2384  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385/* end confdefs.h.  */
2386$4
2387int
2388main ()
2389{
2390static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2391test_array [0] = 0
2392
2393  ;
2394  return 0;
2395}
2396_ACEOF
2397if ac_fn_c_try_compile "$LINENO"; then :
2398  ac_hi=$ac_mid
2399else
2400  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2401fi
2402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2403done
2404case $ac_lo in #((
2405?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2406'') ac_retval=1 ;;
2407esac
2408  else
2409    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2410/* end confdefs.h.  */
2411$4
2412static long int longval () { return $2; }
2413static unsigned long int ulongval () { return $2; }
2414#include <stdio.h>
2415#include <stdlib.h>
2416int
2417main ()
2418{
2419
2420  FILE *f = fopen ("conftest.val", "w");
2421  if (! f)
2422    return 1;
2423  if (($2) < 0)
2424    {
2425      long int i = longval ();
2426      if (i != ($2))
2427	return 1;
2428      fprintf (f, "%ld", i);
2429    }
2430  else
2431    {
2432      unsigned long int i = ulongval ();
2433      if (i != ($2))
2434	return 1;
2435      fprintf (f, "%lu", i);
2436    }
2437  /* Do not output a trailing newline, as this causes \r\n confusion
2438     on some platforms.  */
2439  return ferror (f) || fclose (f) != 0;
2440
2441  ;
2442  return 0;
2443}
2444_ACEOF
2445if ac_fn_c_try_run "$LINENO"; then :
2446  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2447else
2448  ac_retval=1
2449fi
2450rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2451  conftest.$ac_objext conftest.beam conftest.$ac_ext
2452rm -f conftest.val
2453
2454  fi
2455  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2456  return $ac_retval
2457
2458} # ac_fn_c_compute_int
2459
2460# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2461# -------------------------------------------
2462# Tests whether TYPE exists after having included INCLUDES, setting cache
2463# variable VAR accordingly.
2464ac_fn_c_check_type ()
2465{
2466  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2467  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2468$as_echo_n "checking for $2... " >&6; }
2469if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2470  $as_echo_n "(cached) " >&6
2471else
2472  eval "$3=no"
2473  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2474/* end confdefs.h.  */
2475$4
2476int
2477main ()
2478{
2479if (sizeof ($2))
2480	 return 0;
2481  ;
2482  return 0;
2483}
2484_ACEOF
2485if ac_fn_c_try_compile "$LINENO"; then :
2486  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2487/* end confdefs.h.  */
2488$4
2489int
2490main ()
2491{
2492if (sizeof (($2)))
2493	    return 0;
2494  ;
2495  return 0;
2496}
2497_ACEOF
2498if ac_fn_c_try_compile "$LINENO"; then :
2499
2500else
2501  eval "$3=yes"
2502fi
2503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2504fi
2505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2506fi
2507eval ac_res=\$$3
2508	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2509$as_echo "$ac_res" >&6; }
2510  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2511
2512} # ac_fn_c_check_type
2513
2514# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2515# ---------------------------------------------
2516# Tests whether TYPE exists after having included INCLUDES, setting cache
2517# variable VAR accordingly.
2518ac_fn_cxx_check_type ()
2519{
2520  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2521  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2522$as_echo_n "checking for $2... " >&6; }
2523if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2524  $as_echo_n "(cached) " >&6
2525else
2526  eval "$3=no"
2527  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2528/* end confdefs.h.  */
2529$4
2530int
2531main ()
2532{
2533if (sizeof ($2))
2534	 return 0;
2535  ;
2536  return 0;
2537}
2538_ACEOF
2539if ac_fn_cxx_try_compile "$LINENO"; then :
2540  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2541/* end confdefs.h.  */
2542$4
2543int
2544main ()
2545{
2546if (sizeof (($2)))
2547	    return 0;
2548  ;
2549  return 0;
2550}
2551_ACEOF
2552if ac_fn_cxx_try_compile "$LINENO"; then :
2553
2554else
2555  eval "$3=yes"
2556fi
2557rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2558fi
2559rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2560fi
2561eval ac_res=\$$3
2562	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2563$as_echo "$ac_res" >&6; }
2564  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2565
2566} # ac_fn_cxx_check_type
2567cat >config.log <<_ACEOF
2568This file contains any messages produced by compilers while
2569running configure, to aid debugging if configure makes a mistake.
2570
2571It was created by package-unused $as_me version-unused, which was
2572generated by GNU Autoconf 2.64.  Invocation command line was
2573
2574  $ $0 $@
2575
2576_ACEOF
2577exec 5>>config.log
2578{
2579cat <<_ASUNAME
2580## --------- ##
2581## Platform. ##
2582## --------- ##
2583
2584hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2585uname -m = `(uname -m) 2>/dev/null || echo unknown`
2586uname -r = `(uname -r) 2>/dev/null || echo unknown`
2587uname -s = `(uname -s) 2>/dev/null || echo unknown`
2588uname -v = `(uname -v) 2>/dev/null || echo unknown`
2589
2590/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2591/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2592
2593/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2594/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2595/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2596/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2597/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2598/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2599/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2600
2601_ASUNAME
2602
2603as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2604for as_dir in $PATH
2605do
2606  IFS=$as_save_IFS
2607  test -z "$as_dir" && as_dir=.
2608    $as_echo "PATH: $as_dir"
2609  done
2610IFS=$as_save_IFS
2611
2612} >&5
2613
2614cat >&5 <<_ACEOF
2615
2616
2617## ----------- ##
2618## Core tests. ##
2619## ----------- ##
2620
2621_ACEOF
2622
2623
2624# Keep a trace of the command line.
2625# Strip out --no-create and --no-recursion so they do not pile up.
2626# Strip out --silent because we don't want to record it for future runs.
2627# Also quote any args containing shell meta-characters.
2628# Make two passes to allow for proper duplicate-argument suppression.
2629ac_configure_args=
2630ac_configure_args0=
2631ac_configure_args1=
2632ac_must_keep_next=false
2633for ac_pass in 1 2
2634do
2635  for ac_arg
2636  do
2637    case $ac_arg in
2638    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2639    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2640    | -silent | --silent | --silen | --sile | --sil)
2641      continue ;;
2642    *\'*)
2643      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2644    esac
2645    case $ac_pass in
2646    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2647    2)
2648      as_fn_append ac_configure_args1 " '$ac_arg'"
2649      if test $ac_must_keep_next = true; then
2650	ac_must_keep_next=false # Got value, back to normal.
2651      else
2652	case $ac_arg in
2653	  *=* | --config-cache | -C | -disable-* | --disable-* \
2654	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2655	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2656	  | -with-* | --with-* | -without-* | --without-* | --x)
2657	    case "$ac_configure_args0 " in
2658	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2659	    esac
2660	    ;;
2661	  -* ) ac_must_keep_next=true ;;
2662	esac
2663      fi
2664      as_fn_append ac_configure_args " '$ac_arg'"
2665      ;;
2666    esac
2667  done
2668done
2669{ ac_configure_args0=; unset ac_configure_args0;}
2670{ ac_configure_args1=; unset ac_configure_args1;}
2671
2672# When interrupted or exit'd, cleanup temporary files, and complete
2673# config.log.  We remove comments because anyway the quotes in there
2674# would cause problems or look ugly.
2675# WARNING: Use '\'' to represent an apostrophe within the trap.
2676# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2677trap 'exit_status=$?
2678  # Save into config.log some information that might help in debugging.
2679  {
2680    echo
2681
2682    cat <<\_ASBOX
2683## ---------------- ##
2684## Cache variables. ##
2685## ---------------- ##
2686_ASBOX
2687    echo
2688    # The following way of writing the cache mishandles newlines in values,
2689(
2690  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2691    eval ac_val=\$$ac_var
2692    case $ac_val in #(
2693    *${as_nl}*)
2694      case $ac_var in #(
2695      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2696$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2697      esac
2698      case $ac_var in #(
2699      _ | IFS | as_nl) ;; #(
2700      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2701      *) { eval $ac_var=; unset $ac_var;} ;;
2702      esac ;;
2703    esac
2704  done
2705  (set) 2>&1 |
2706    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2707    *${as_nl}ac_space=\ *)
2708      sed -n \
2709	"s/'\''/'\''\\\\'\'''\''/g;
2710	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2711      ;; #(
2712    *)
2713      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2714      ;;
2715    esac |
2716    sort
2717)
2718    echo
2719
2720    cat <<\_ASBOX
2721## ----------------- ##
2722## Output variables. ##
2723## ----------------- ##
2724_ASBOX
2725    echo
2726    for ac_var in $ac_subst_vars
2727    do
2728      eval ac_val=\$$ac_var
2729      case $ac_val in
2730      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2731      esac
2732      $as_echo "$ac_var='\''$ac_val'\''"
2733    done | sort
2734    echo
2735
2736    if test -n "$ac_subst_files"; then
2737      cat <<\_ASBOX
2738## ------------------- ##
2739## File substitutions. ##
2740## ------------------- ##
2741_ASBOX
2742      echo
2743      for ac_var in $ac_subst_files
2744      do
2745	eval ac_val=\$$ac_var
2746	case $ac_val in
2747	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2748	esac
2749	$as_echo "$ac_var='\''$ac_val'\''"
2750      done | sort
2751      echo
2752    fi
2753
2754    if test -s confdefs.h; then
2755      cat <<\_ASBOX
2756## ----------- ##
2757## confdefs.h. ##
2758## ----------- ##
2759_ASBOX
2760      echo
2761      cat confdefs.h
2762      echo
2763    fi
2764    test "$ac_signal" != 0 &&
2765      $as_echo "$as_me: caught signal $ac_signal"
2766    $as_echo "$as_me: exit $exit_status"
2767  } >&5
2768  rm -f core *.core core.conftest.* &&
2769    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2770    exit $exit_status
2771' 0
2772for ac_signal in 1 2 13 15; do
2773  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2774done
2775ac_signal=0
2776
2777# confdefs.h avoids OS command line length limits that DEFS can exceed.
2778rm -f -r conftest* confdefs.h
2779
2780$as_echo "/* confdefs.h */" > confdefs.h
2781
2782# Predefined preprocessor variables.
2783
2784cat >>confdefs.h <<_ACEOF
2785#define PACKAGE_NAME "$PACKAGE_NAME"
2786_ACEOF
2787
2788cat >>confdefs.h <<_ACEOF
2789#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2790_ACEOF
2791
2792cat >>confdefs.h <<_ACEOF
2793#define PACKAGE_VERSION "$PACKAGE_VERSION"
2794_ACEOF
2795
2796cat >>confdefs.h <<_ACEOF
2797#define PACKAGE_STRING "$PACKAGE_STRING"
2798_ACEOF
2799
2800cat >>confdefs.h <<_ACEOF
2801#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2802_ACEOF
2803
2804cat >>confdefs.h <<_ACEOF
2805#define PACKAGE_URL "$PACKAGE_URL"
2806_ACEOF
2807
2808
2809# Let the site file select an alternate cache file if it wants to.
2810# Prefer an explicitly selected file to automatically selected ones.
2811ac_site_file1=NONE
2812ac_site_file2=NONE
2813if test -n "$CONFIG_SITE"; then
2814  ac_site_file1=$CONFIG_SITE
2815elif test "x$prefix" != xNONE; then
2816  ac_site_file1=$prefix/share/config.site
2817  ac_site_file2=$prefix/etc/config.site
2818else
2819  ac_site_file1=$ac_default_prefix/share/config.site
2820  ac_site_file2=$ac_default_prefix/etc/config.site
2821fi
2822for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2823do
2824  test "x$ac_site_file" = xNONE && continue
2825  if test -r "$ac_site_file"; then
2826    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2827$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2828    sed 's/^/| /' "$ac_site_file" >&5
2829    . "$ac_site_file"
2830  fi
2831done
2832
2833if test -r "$cache_file"; then
2834  # Some versions of bash will fail to source /dev/null (special
2835  # files actually), so we avoid doing that.
2836  if test -f "$cache_file"; then
2837    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2838$as_echo "$as_me: loading cache $cache_file" >&6;}
2839    case $cache_file in
2840      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2841      *)                      . "./$cache_file";;
2842    esac
2843  fi
2844else
2845  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2846$as_echo "$as_me: creating cache $cache_file" >&6;}
2847  >$cache_file
2848fi
2849
2850# Check that the precious variables saved in the cache have kept the same
2851# value.
2852ac_cache_corrupted=false
2853for ac_var in $ac_precious_vars; do
2854  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2855  eval ac_new_set=\$ac_env_${ac_var}_set
2856  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2857  eval ac_new_val=\$ac_env_${ac_var}_value
2858  case $ac_old_set,$ac_new_set in
2859    set,)
2860      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2861$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2862      ac_cache_corrupted=: ;;
2863    ,set)
2864      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2865$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2866      ac_cache_corrupted=: ;;
2867    ,);;
2868    *)
2869      if test "x$ac_old_val" != "x$ac_new_val"; then
2870	# differences in whitespace do not lead to failure.
2871	ac_old_val_w=`echo x $ac_old_val`
2872	ac_new_val_w=`echo x $ac_new_val`
2873	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2874	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2875$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2876	  ac_cache_corrupted=:
2877	else
2878	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2879$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2880	  eval $ac_var=\$ac_old_val
2881	fi
2882	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2883$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2884	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2885$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2886      fi;;
2887  esac
2888  # Pass precious variables to config.status.
2889  if test "$ac_new_set" = set; then
2890    case $ac_new_val in
2891    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2892    *) ac_arg=$ac_var=$ac_new_val ;;
2893    esac
2894    case " $ac_configure_args " in
2895      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2896      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2897    esac
2898  fi
2899done
2900if $ac_cache_corrupted; then
2901  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2902$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2903  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2904$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2905  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2906fi
2907## -------------------- ##
2908## Main body of script. ##
2909## -------------------- ##
2910
2911ac_ext=c
2912ac_cpp='$CPP $CPPFLAGS'
2913ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2914ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2915ac_compiler_gnu=$ac_cv_c_compiler_gnu
2916
2917
2918
2919
2920
2921
2922ac_config_headers="$ac_config_headers config.h"
2923
2924
2925# This works around the fact that libtool configuration may change LD
2926# for this particular configuration, but some shells, instead of
2927# keeping the changes in LD private, export them just because LD is
2928# exported.  Only used at the end of this file.
2929### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2930
2931# Find the rest of the source tree framework.
2932# Default to --enable-multilib
2933# Check whether --enable-multilib was given.
2934if test "${enable_multilib+set}" = set; then :
2935  enableval=$enable_multilib; case "$enableval" in
2936  yes) multilib=yes ;;
2937  no)  multilib=no ;;
2938  *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2939 esac
2940else
2941  multilib=yes
2942fi
2943
2944
2945# We may get other options which we leave undocumented:
2946# --with-target-subdir, --with-multisrctop, --with-multisubdir
2947# See config-ml.in if you want the gory details.
2948
2949if test "$srcdir" = "."; then
2950  if test "$with_target_subdir" != "."; then
2951    multi_basedir="$srcdir/$with_multisrctop../.."
2952  else
2953    multi_basedir="$srcdir/$with_multisrctop.."
2954  fi
2955else
2956  multi_basedir="$srcdir/.."
2957fi
2958
2959
2960# Even if the default multilib is not a cross compilation,
2961# it may be that some of the other multilibs are.
2962if test $cross_compiling = no && test $multilib = yes \
2963   && test "x${with_multisubdir}" != x ; then
2964   cross_compiling=maybe
2965fi
2966
2967ac_config_commands="$ac_config_commands default-1"
2968
2969
2970# Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2971#
2972# You will slowly go insane if you do not grok the following fact:  when
2973# building v3 as part of the compiler, the top-level /target/ becomes the
2974# library's /host/.  configure then causes --target to default to --host,
2975# exactly like any other package using autoconf.  Therefore, 'target' and
2976# 'host' will always be the same.  This makes sense both for native and
2977# cross compilers, just think about it for a little while.  :-)
2978#
2979# Also, if v3 is being configured as part of a cross compiler, the top-level
2980# configure script will pass the "real" host as $with_cross_host.
2981#
2982# Do not delete or change the following two lines.  For why, see
2983# http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2984ac_aux_dir=
2985for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2986  for ac_t in install-sh install.sh shtool; do
2987    if test -f "$ac_dir/$ac_t"; then
2988      ac_aux_dir=$ac_dir
2989      ac_install_sh="$SHELL $ac_aux_dir/$ac_t -c"
2990      break 2
2991    fi
2992  done
2993done
2994if test -z "$ac_aux_dir"; then
2995  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2996fi
2997
2998# These three variables are undocumented and unsupported,
2999# and are intended to be withdrawn in a future Autoconf release.
3000# They can cause serious problems if a builder's source tree is in a directory
3001# whose full name contains unusual characters.
3002ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3003ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3004ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3005
3006
3007# Make sure we can run config.sub.
3008$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3009  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3010
3011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3012$as_echo_n "checking build system type... " >&6; }
3013if test "${ac_cv_build+set}" = set; then :
3014  $as_echo_n "(cached) " >&6
3015else
3016  ac_build_alias=$build_alias
3017test "x$ac_build_alias" = x &&
3018  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3019test "x$ac_build_alias" = x &&
3020  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3021ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3022  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3023
3024fi
3025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3026$as_echo "$ac_cv_build" >&6; }
3027case $ac_cv_build in
3028*-*-*) ;;
3029*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3030esac
3031build=$ac_cv_build
3032ac_save_IFS=$IFS; IFS='-'
3033set x $ac_cv_build
3034shift
3035build_cpu=$1
3036build_vendor=$2
3037shift; shift
3038# Remember, the first character of IFS is used to create $*,
3039# except with old shells:
3040build_os=$*
3041IFS=$ac_save_IFS
3042case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3043
3044
3045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3046$as_echo_n "checking host system type... " >&6; }
3047if test "${ac_cv_host+set}" = set; then :
3048  $as_echo_n "(cached) " >&6
3049else
3050  if test "x$host_alias" = x; then
3051  ac_cv_host=$ac_cv_build
3052else
3053  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3054    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3055fi
3056
3057fi
3058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3059$as_echo "$ac_cv_host" >&6; }
3060case $ac_cv_host in
3061*-*-*) ;;
3062*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3063esac
3064host=$ac_cv_host
3065ac_save_IFS=$IFS; IFS='-'
3066set x $ac_cv_host
3067shift
3068host_cpu=$1
3069host_vendor=$2
3070shift; shift
3071# Remember, the first character of IFS is used to create $*,
3072# except with old shells:
3073host_os=$*
3074IFS=$ac_save_IFS
3075case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3076
3077
3078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3079$as_echo_n "checking target system type... " >&6; }
3080if test "${ac_cv_target+set}" = set; then :
3081  $as_echo_n "(cached) " >&6
3082else
3083  if test "x$target_alias" = x; then
3084  ac_cv_target=$ac_cv_host
3085else
3086  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3087    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3088fi
3089
3090fi
3091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3092$as_echo "$ac_cv_target" >&6; }
3093case $ac_cv_target in
3094*-*-*) ;;
3095*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3096esac
3097target=$ac_cv_target
3098ac_save_IFS=$IFS; IFS='-'
3099set x $ac_cv_target
3100shift
3101target_cpu=$1
3102target_vendor=$2
3103shift; shift
3104# Remember, the first character of IFS is used to create $*,
3105# except with old shells:
3106target_os=$*
3107IFS=$ac_save_IFS
3108case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3109
3110
3111# The aliases save the names the user supplied, while $host etc.
3112# will get canonicalized.
3113test -n "$target_alias" &&
3114  test "$program_prefix$program_suffix$program_transform_name" = \
3115    NONENONEs,x,x, &&
3116  program_prefix=${target_alias}-
3117
3118target_alias=${target_alias-$host_alias}
3119
3120# Handy for debugging:
3121#AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3122
3123if test "$build" != "$host"; then
3124  # We are being configured with some form of cross compiler.
3125  GLIBCXX_IS_NATIVE=false
3126  case "$host","$target" in
3127      *-*-netbsd*,*-*-netbsd*)
3128        GLIBCXX_IS_NATIVE=true
3129        ;;
3130    # Darwin crosses can use the host system's libraries and headers,
3131    # because of the fat library support.  Of course, it must be the
3132    # same version of Darwin on both sides.  Allow the user to
3133    # just say --target=foo-darwin without a version number to mean
3134    # "the version on this system".
3135      *-*-darwin*,*-*-darwin*)
3136	hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3137	targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3138	if test $hostos = $targetos -o $targetos = darwin ; then
3139	  GLIBCXX_IS_NATIVE=true
3140	fi
3141	;;
3142
3143      *)
3144
3145	;;
3146  esac
3147else
3148  GLIBCXX_IS_NATIVE=true
3149fi
3150
3151# Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3152# following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3153#  1.x:  minimum required version
3154#  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3155#              of other PACKAGE_* variables will, however, and there's nothing
3156#              we can do about that; they come from AC_INIT).
3157#  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3158#            file in the top srcdir, etc, etc), so stop complaining.
3159#  no-dependencies:  turns off auto dependency generation (just for now)
3160#  no-dist:  we don't want 'dist' and related rules.
3161#  -Wall:  turns on all automake warnings...
3162#  -Wno-portability:  ...except this one, since GNU make is now required.
3163am__api_version='1.11'
3164
3165# Find a good install program.  We prefer a C program (faster),
3166# so one script is as good as another.  But avoid the broken or
3167# incompatible versions:
3168# SysV /etc/install, /usr/sbin/install
3169# SunOS /usr/etc/install
3170# IRIX /sbin/install
3171# AIX /bin/install
3172# AmigaOS /C/install, which installs bootblocks on floppy discs
3173# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3174# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3175# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3176# OS/2's system install, which has a completely different semantic
3177# ./install, which can be erroneously created by make from ./install.sh.
3178# Reject install programs that cannot install multiple files.
3179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3180$as_echo_n "checking for a BSD-compatible install... " >&6; }
3181if test -z "$INSTALL"; then
3182if test "${ac_cv_path_install+set}" = set; then :
3183  $as_echo_n "(cached) " >&6
3184else
3185  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186for as_dir in $PATH
3187do
3188  IFS=$as_save_IFS
3189  test -z "$as_dir" && as_dir=.
3190    # Account for people who put trailing slashes in PATH elements.
3191case $as_dir/ in #((
3192  ./ | .// | /[cC]/* | \
3193  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3194  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3195  /usr/ucb/* ) ;;
3196  *)
3197    # OSF1 and SCO ODT 3.0 have their own names for install.
3198    # Don't use installbsd from OSF since it installs stuff as root
3199    # by default.
3200    for ac_prog in ginstall scoinst install; do
3201      for ac_exec_ext in '' $ac_executable_extensions; do
3202	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3203	  if test $ac_prog = install &&
3204	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3205	    # AIX install.  It has an incompatible calling convention.
3206	    :
3207	  elif test $ac_prog = install &&
3208	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3209	    # program-specific install script used by HP pwplus--don't use.
3210	    :
3211	  else
3212	    rm -rf conftest.one conftest.two conftest.dir
3213	    echo one > conftest.one
3214	    echo two > conftest.two
3215	    mkdir conftest.dir
3216	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3217	      test -s conftest.one && test -s conftest.two &&
3218	      test -s conftest.dir/conftest.one &&
3219	      test -s conftest.dir/conftest.two
3220	    then
3221	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3222	      break 3
3223	    fi
3224	  fi
3225	fi
3226      done
3227    done
3228    ;;
3229esac
3230
3231  done
3232IFS=$as_save_IFS
3233
3234rm -rf conftest.one conftest.two conftest.dir
3235
3236fi
3237  if test "${ac_cv_path_install+set}" = set; then
3238    INSTALL=$ac_cv_path_install
3239  else
3240    # As a last resort, use the slow shell script.  Don't cache a
3241    # value for INSTALL within a source directory, because that will
3242    # break other packages using the cache if that directory is
3243    # removed, or if the value is a relative name.
3244    INSTALL=$ac_install_sh
3245  fi
3246fi
3247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3248$as_echo "$INSTALL" >&6; }
3249
3250# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3251# It thinks the first close brace ends the variable substitution.
3252test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3253
3254test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3255
3256test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3257
3258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3259$as_echo_n "checking whether build environment is sane... " >&6; }
3260# Just in case
3261sleep 1
3262echo timestamp > conftest.file
3263# Reject unsafe characters in $srcdir or the absolute working directory
3264# name.  Accept space and tab only in the latter.
3265am_lf='
3266'
3267case `pwd` in
3268  *[\\\"\#\$\&\'\`$am_lf]*)
3269    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3270esac
3271case $srcdir in
3272  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3273    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3274esac
3275
3276# Do `set' in a subshell so we don't clobber the current shell's
3277# arguments.  Must try -L first in case configure is actually a
3278# symlink; some systems play weird games with the mod time of symlinks
3279# (eg FreeBSD returns the mod time of the symlink's containing
3280# directory).
3281if (
3282   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3283   if test "$*" = "X"; then
3284      # -L didn't work.
3285      set X `ls -t "$srcdir/configure" conftest.file`
3286   fi
3287   rm -f conftest.file
3288   if test "$*" != "X $srcdir/configure conftest.file" \
3289      && test "$*" != "X conftest.file $srcdir/configure"; then
3290
3291      # If neither matched, then we have a broken ls.  This can happen
3292      # if, for instance, CONFIG_SHELL is bash and it inherits a
3293      # broken ls alias from the environment.  This has actually
3294      # happened.  Such a system could not be considered "sane".
3295      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3296alias in your environment" "$LINENO" 5
3297   fi
3298
3299   test "$2" = conftest.file
3300   )
3301then
3302   # Ok.
3303   :
3304else
3305   as_fn_error "newly created file is older than distributed files!
3306Check your system clock" "$LINENO" 5
3307fi
3308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3309$as_echo "yes" >&6; }
3310test "$program_prefix" != NONE &&
3311  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3312# Use a double $ so make ignores it.
3313test "$program_suffix" != NONE &&
3314  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3315# Double any \ or $.
3316# By default was `s,x,x', remove it if useless.
3317ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3318program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3319
3320# expand $ac_aux_dir to an absolute path
3321am_aux_dir=`cd $ac_aux_dir && pwd`
3322
3323if test x"${MISSING+set}" != xset; then
3324  case $am_aux_dir in
3325  *\ * | *\	*)
3326    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3327  *)
3328    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3329  esac
3330fi
3331# Use eval to expand $SHELL
3332if eval "$MISSING --run true"; then
3333  am_missing_run="$MISSING --run "
3334else
3335  am_missing_run=
3336  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3337$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3338fi
3339
3340if test x"${install_sh}" != xset; then
3341  case $am_aux_dir in
3342  *\ * | *\	*)
3343    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3344  *)
3345    install_sh="\${SHELL} $am_aux_dir/install-sh"
3346  esac
3347fi
3348
3349# Installed binaries are usually stripped using `strip' when the user
3350# run `make install-strip'.  However `strip' might not be the right
3351# tool to use in cross-compilation environments, therefore Automake
3352# will honor the `STRIP' environment variable to overrule this program.
3353if test "$cross_compiling" != no; then
3354  if test -n "$ac_tool_prefix"; then
3355  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3356set dummy ${ac_tool_prefix}strip; ac_word=$2
3357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3358$as_echo_n "checking for $ac_word... " >&6; }
3359if test "${ac_cv_prog_STRIP+set}" = set; then :
3360  $as_echo_n "(cached) " >&6
3361else
3362  if test -n "$STRIP"; then
3363  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3364else
3365as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366for as_dir in $PATH
3367do
3368  IFS=$as_save_IFS
3369  test -z "$as_dir" && as_dir=.
3370    for ac_exec_ext in '' $ac_executable_extensions; do
3371  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3372    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3373    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3374    break 2
3375  fi
3376done
3377  done
3378IFS=$as_save_IFS
3379
3380fi
3381fi
3382STRIP=$ac_cv_prog_STRIP
3383if test -n "$STRIP"; then
3384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3385$as_echo "$STRIP" >&6; }
3386else
3387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3388$as_echo "no" >&6; }
3389fi
3390
3391
3392fi
3393if test -z "$ac_cv_prog_STRIP"; then
3394  ac_ct_STRIP=$STRIP
3395  # Extract the first word of "strip", so it can be a program name with args.
3396set dummy strip; ac_word=$2
3397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3398$as_echo_n "checking for $ac_word... " >&6; }
3399if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3400  $as_echo_n "(cached) " >&6
3401else
3402  if test -n "$ac_ct_STRIP"; then
3403  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3404else
3405as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406for as_dir in $PATH
3407do
3408  IFS=$as_save_IFS
3409  test -z "$as_dir" && as_dir=.
3410    for ac_exec_ext in '' $ac_executable_extensions; do
3411  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3412    ac_cv_prog_ac_ct_STRIP="strip"
3413    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3414    break 2
3415  fi
3416done
3417  done
3418IFS=$as_save_IFS
3419
3420fi
3421fi
3422ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3423if test -n "$ac_ct_STRIP"; then
3424  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3425$as_echo "$ac_ct_STRIP" >&6; }
3426else
3427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3428$as_echo "no" >&6; }
3429fi
3430
3431  if test "x$ac_ct_STRIP" = x; then
3432    STRIP=":"
3433  else
3434    case $cross_compiling:$ac_tool_warned in
3435yes:)
3436{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3437$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3438ac_tool_warned=yes ;;
3439esac
3440    STRIP=$ac_ct_STRIP
3441  fi
3442else
3443  STRIP="$ac_cv_prog_STRIP"
3444fi
3445
3446fi
3447INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3448
3449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3450$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3451if test -z "$MKDIR_P"; then
3452  if test "${ac_cv_path_mkdir+set}" = set; then :
3453  $as_echo_n "(cached) " >&6
3454else
3455  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3456for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3457do
3458  IFS=$as_save_IFS
3459  test -z "$as_dir" && as_dir=.
3460    for ac_prog in mkdir gmkdir; do
3461	 for ac_exec_ext in '' $ac_executable_extensions; do
3462	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3463	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3464	     'mkdir (GNU coreutils) '* | \
3465	     'mkdir (coreutils) '* | \
3466	     'mkdir (fileutils) '4.1*)
3467	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3468	       break 3;;
3469	   esac
3470	 done
3471       done
3472  done
3473IFS=$as_save_IFS
3474
3475fi
3476
3477  if test "${ac_cv_path_mkdir+set}" = set; then
3478    MKDIR_P="$ac_cv_path_mkdir -p"
3479  else
3480    # As a last resort, use the slow shell script.  Don't cache a
3481    # value for MKDIR_P within a source directory, because that will
3482    # break other packages using the cache if that directory is
3483    # removed, or if the value is a relative name.
3484    test -d ./--version && rmdir ./--version
3485    MKDIR_P="$ac_install_sh -d"
3486  fi
3487fi
3488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3489$as_echo "$MKDIR_P" >&6; }
3490
3491mkdir_p="$MKDIR_P"
3492case $mkdir_p in
3493  [\\/$]* | ?:[\\/]*) ;;
3494  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3495esac
3496
3497for ac_prog in gawk mawk nawk awk
3498do
3499  # Extract the first word of "$ac_prog", so it can be a program name with args.
3500set dummy $ac_prog; ac_word=$2
3501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3502$as_echo_n "checking for $ac_word... " >&6; }
3503if test "${ac_cv_prog_AWK+set}" = set; then :
3504  $as_echo_n "(cached) " >&6
3505else
3506  if test -n "$AWK"; then
3507  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3508else
3509as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510for as_dir in $PATH
3511do
3512  IFS=$as_save_IFS
3513  test -z "$as_dir" && as_dir=.
3514    for ac_exec_ext in '' $ac_executable_extensions; do
3515  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3516    ac_cv_prog_AWK="$ac_prog"
3517    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3518    break 2
3519  fi
3520done
3521  done
3522IFS=$as_save_IFS
3523
3524fi
3525fi
3526AWK=$ac_cv_prog_AWK
3527if test -n "$AWK"; then
3528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3529$as_echo "$AWK" >&6; }
3530else
3531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3532$as_echo "no" >&6; }
3533fi
3534
3535
3536  test -n "$AWK" && break
3537done
3538
3539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3540$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3541set x ${MAKE-make}
3542ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3543if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3544  $as_echo_n "(cached) " >&6
3545else
3546  cat >conftest.make <<\_ACEOF
3547SHELL = /bin/sh
3548all:
3549	@echo '@@@%%%=$(MAKE)=@@@%%%'
3550_ACEOF
3551# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3552case `${MAKE-make} -f conftest.make 2>/dev/null` in
3553  *@@@%%%=?*=@@@%%%*)
3554    eval ac_cv_prog_make_${ac_make}_set=yes;;
3555  *)
3556    eval ac_cv_prog_make_${ac_make}_set=no;;
3557esac
3558rm -f conftest.make
3559fi
3560if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3562$as_echo "yes" >&6; }
3563  SET_MAKE=
3564else
3565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566$as_echo "no" >&6; }
3567  SET_MAKE="MAKE=${MAKE-make}"
3568fi
3569
3570rm -rf .tst 2>/dev/null
3571mkdir .tst 2>/dev/null
3572if test -d .tst; then
3573  am__leading_dot=.
3574else
3575  am__leading_dot=_
3576fi
3577rmdir .tst 2>/dev/null
3578
3579if test "`cd $srcdir && pwd`" != "`pwd`"; then
3580  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3581  # is not polluted with repeated "-I."
3582  am__isrc=' -I$(srcdir)'
3583  # test to see if srcdir already configured
3584  if test -f $srcdir/config.status; then
3585    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3586  fi
3587fi
3588
3589# test whether we have cygpath
3590if test -z "$CYGPATH_W"; then
3591  if (cygpath --version) >/dev/null 2>/dev/null; then
3592    CYGPATH_W='cygpath -w'
3593  else
3594    CYGPATH_W=echo
3595  fi
3596fi
3597
3598
3599# Define the identity of the package.
3600 PACKAGE='libstdc++'
3601 VERSION='version-unused'
3602
3603
3604# Some tools Automake needs.
3605
3606ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3607
3608
3609AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3610
3611
3612AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3613
3614
3615AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3616
3617
3618MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3619
3620# We need awk for the "check" target.  The system "awk" is bad on
3621# some platforms.
3622# Always define AMTAR for backward compatibility.  Yes, it's still used
3623# in the wild :-(  We should find a proper way to deprecate it ...
3624AMTAR='$${TAR-tar}'
3625
3626am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3627
3628
3629
3630
3631
3632
3633
3634
3635# -fno-builtin must be present here so that a non-conflicting form of
3636# std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3637
3638save_CXXFLAGS="$CXXFLAGS"
3639CXXFLAGS="$CXXFLAGS -fno-builtin"
3640ac_ext=c
3641ac_cpp='$CPP $CPPFLAGS'
3642ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3643ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3644ac_compiler_gnu=$ac_cv_c_compiler_gnu
3645if test -n "$ac_tool_prefix"; then
3646  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3647set dummy ${ac_tool_prefix}gcc; ac_word=$2
3648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3649$as_echo_n "checking for $ac_word... " >&6; }
3650if test "${ac_cv_prog_CC+set}" = set; then :
3651  $as_echo_n "(cached) " >&6
3652else
3653  if test -n "$CC"; then
3654  ac_cv_prog_CC="$CC" # Let the user override the test.
3655else
3656as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3657for as_dir in $PATH
3658do
3659  IFS=$as_save_IFS
3660  test -z "$as_dir" && as_dir=.
3661    for ac_exec_ext in '' $ac_executable_extensions; do
3662  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3663    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3664    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3665    break 2
3666  fi
3667done
3668  done
3669IFS=$as_save_IFS
3670
3671fi
3672fi
3673CC=$ac_cv_prog_CC
3674if test -n "$CC"; then
3675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3676$as_echo "$CC" >&6; }
3677else
3678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3679$as_echo "no" >&6; }
3680fi
3681
3682
3683fi
3684if test -z "$ac_cv_prog_CC"; then
3685  ac_ct_CC=$CC
3686  # Extract the first word of "gcc", so it can be a program name with args.
3687set dummy gcc; ac_word=$2
3688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3689$as_echo_n "checking for $ac_word... " >&6; }
3690if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3691  $as_echo_n "(cached) " >&6
3692else
3693  if test -n "$ac_ct_CC"; then
3694  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3695else
3696as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3697for as_dir in $PATH
3698do
3699  IFS=$as_save_IFS
3700  test -z "$as_dir" && as_dir=.
3701    for ac_exec_ext in '' $ac_executable_extensions; do
3702  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3703    ac_cv_prog_ac_ct_CC="gcc"
3704    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3705    break 2
3706  fi
3707done
3708  done
3709IFS=$as_save_IFS
3710
3711fi
3712fi
3713ac_ct_CC=$ac_cv_prog_ac_ct_CC
3714if test -n "$ac_ct_CC"; then
3715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3716$as_echo "$ac_ct_CC" >&6; }
3717else
3718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3719$as_echo "no" >&6; }
3720fi
3721
3722  if test "x$ac_ct_CC" = x; then
3723    CC=""
3724  else
3725    case $cross_compiling:$ac_tool_warned in
3726yes:)
3727{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3728$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3729ac_tool_warned=yes ;;
3730esac
3731    CC=$ac_ct_CC
3732  fi
3733else
3734  CC="$ac_cv_prog_CC"
3735fi
3736
3737if test -z "$CC"; then
3738          if test -n "$ac_tool_prefix"; then
3739    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3740set dummy ${ac_tool_prefix}cc; ac_word=$2
3741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3742$as_echo_n "checking for $ac_word... " >&6; }
3743if test "${ac_cv_prog_CC+set}" = set; then :
3744  $as_echo_n "(cached) " >&6
3745else
3746  if test -n "$CC"; then
3747  ac_cv_prog_CC="$CC" # Let the user override the test.
3748else
3749as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3750for as_dir in $PATH
3751do
3752  IFS=$as_save_IFS
3753  test -z "$as_dir" && as_dir=.
3754    for ac_exec_ext in '' $ac_executable_extensions; do
3755  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3756    ac_cv_prog_CC="${ac_tool_prefix}cc"
3757    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3758    break 2
3759  fi
3760done
3761  done
3762IFS=$as_save_IFS
3763
3764fi
3765fi
3766CC=$ac_cv_prog_CC
3767if test -n "$CC"; then
3768  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3769$as_echo "$CC" >&6; }
3770else
3771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3772$as_echo "no" >&6; }
3773fi
3774
3775
3776  fi
3777fi
3778if test -z "$CC"; then
3779  # Extract the first word of "cc", so it can be a program name with args.
3780set dummy cc; ac_word=$2
3781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782$as_echo_n "checking for $ac_word... " >&6; }
3783if test "${ac_cv_prog_CC+set}" = set; then :
3784  $as_echo_n "(cached) " >&6
3785else
3786  if test -n "$CC"; then
3787  ac_cv_prog_CC="$CC" # Let the user override the test.
3788else
3789  ac_prog_rejected=no
3790as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3791for as_dir in $PATH
3792do
3793  IFS=$as_save_IFS
3794  test -z "$as_dir" && as_dir=.
3795    for ac_exec_ext in '' $ac_executable_extensions; do
3796  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3797    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3798       ac_prog_rejected=yes
3799       continue
3800     fi
3801    ac_cv_prog_CC="cc"
3802    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3803    break 2
3804  fi
3805done
3806  done
3807IFS=$as_save_IFS
3808
3809if test $ac_prog_rejected = yes; then
3810  # We found a bogon in the path, so make sure we never use it.
3811  set dummy $ac_cv_prog_CC
3812  shift
3813  if test $# != 0; then
3814    # We chose a different compiler from the bogus one.
3815    # However, it has the same basename, so the bogon will be chosen
3816    # first if we set CC to just the basename; use the full file name.
3817    shift
3818    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3819  fi
3820fi
3821fi
3822fi
3823CC=$ac_cv_prog_CC
3824if test -n "$CC"; then
3825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3826$as_echo "$CC" >&6; }
3827else
3828  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829$as_echo "no" >&6; }
3830fi
3831
3832
3833fi
3834if test -z "$CC"; then
3835  if test -n "$ac_tool_prefix"; then
3836  for ac_prog in cl.exe
3837  do
3838    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3839set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3841$as_echo_n "checking for $ac_word... " >&6; }
3842if test "${ac_cv_prog_CC+set}" = set; then :
3843  $as_echo_n "(cached) " >&6
3844else
3845  if test -n "$CC"; then
3846  ac_cv_prog_CC="$CC" # Let the user override the test.
3847else
3848as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3849for as_dir in $PATH
3850do
3851  IFS=$as_save_IFS
3852  test -z "$as_dir" && as_dir=.
3853    for ac_exec_ext in '' $ac_executable_extensions; do
3854  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3855    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3856    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3857    break 2
3858  fi
3859done
3860  done
3861IFS=$as_save_IFS
3862
3863fi
3864fi
3865CC=$ac_cv_prog_CC
3866if test -n "$CC"; then
3867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3868$as_echo "$CC" >&6; }
3869else
3870  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3871$as_echo "no" >&6; }
3872fi
3873
3874
3875    test -n "$CC" && break
3876  done
3877fi
3878if test -z "$CC"; then
3879  ac_ct_CC=$CC
3880  for ac_prog in cl.exe
3881do
3882  # Extract the first word of "$ac_prog", so it can be a program name with args.
3883set dummy $ac_prog; ac_word=$2
3884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3885$as_echo_n "checking for $ac_word... " >&6; }
3886if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3887  $as_echo_n "(cached) " >&6
3888else
3889  if test -n "$ac_ct_CC"; then
3890  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3891else
3892as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3893for as_dir in $PATH
3894do
3895  IFS=$as_save_IFS
3896  test -z "$as_dir" && as_dir=.
3897    for ac_exec_ext in '' $ac_executable_extensions; do
3898  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3899    ac_cv_prog_ac_ct_CC="$ac_prog"
3900    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3901    break 2
3902  fi
3903done
3904  done
3905IFS=$as_save_IFS
3906
3907fi
3908fi
3909ac_ct_CC=$ac_cv_prog_ac_ct_CC
3910if test -n "$ac_ct_CC"; then
3911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3912$as_echo "$ac_ct_CC" >&6; }
3913else
3914  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3915$as_echo "no" >&6; }
3916fi
3917
3918
3919  test -n "$ac_ct_CC" && break
3920done
3921
3922  if test "x$ac_ct_CC" = x; then
3923    CC=""
3924  else
3925    case $cross_compiling:$ac_tool_warned in
3926yes:)
3927{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3928$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3929ac_tool_warned=yes ;;
3930esac
3931    CC=$ac_ct_CC
3932  fi
3933fi
3934
3935fi
3936
3937
3938test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3939$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3940as_fn_error "no acceptable C compiler found in \$PATH
3941See \`config.log' for more details." "$LINENO" 5; }
3942
3943# Provide some information about the compiler.
3944$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3945set X $ac_compile
3946ac_compiler=$2
3947for ac_option in --version -v -V -qversion; do
3948  { { ac_try="$ac_compiler $ac_option >&5"
3949case "(($ac_try" in
3950  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3951  *) ac_try_echo=$ac_try;;
3952esac
3953eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3954$as_echo "$ac_try_echo"; } >&5
3955  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3956  ac_status=$?
3957  if test -s conftest.err; then
3958    sed '10a\
3959... rest of stderr output deleted ...
3960         10q' conftest.err >conftest.er1
3961    cat conftest.er1 >&5
3962    rm -f conftest.er1 conftest.err
3963  fi
3964  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3965  test $ac_status = 0; }
3966done
3967
3968cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3969/* end confdefs.h.  */
3970
3971int
3972main ()
3973{
3974
3975  ;
3976  return 0;
3977}
3978_ACEOF
3979# FIXME: Cleanup?
3980if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3981  (eval $ac_link) 2>&5
3982  ac_status=$?
3983  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3984  test $ac_status = 0; }; then :
3985  gcc_no_link=no
3986else
3987  gcc_no_link=yes
3988fi
3989if test x$gcc_no_link = xyes; then
3990  # Setting cross_compile will disable run tests; it will
3991  # also disable AC_CHECK_FILE but that's generally
3992  # correct if we can't link.
3993  cross_compiling=yes
3994  EXEEXT=
3995else
3996  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3997/* end confdefs.h.  */
3998
3999int
4000main ()
4001{
4002
4003  ;
4004  return 0;
4005}
4006_ACEOF
4007ac_clean_files_save=$ac_clean_files
4008ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4009# Try to create an executable without -o first, disregard a.out.
4010# It will help us diagnose broken compilers, and finding out an intuition
4011# of exeext.
4012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4013$as_echo_n "checking for C compiler default output file name... " >&6; }
4014ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4015
4016# The possible output files:
4017ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4018
4019ac_rmfiles=
4020for ac_file in $ac_files
4021do
4022  case $ac_file in
4023    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4024    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4025  esac
4026done
4027rm -f $ac_rmfiles
4028
4029if { { ac_try="$ac_link_default"
4030case "(($ac_try" in
4031  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032  *) ac_try_echo=$ac_try;;
4033esac
4034eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4035$as_echo "$ac_try_echo"; } >&5
4036  (eval "$ac_link_default") 2>&5
4037  ac_status=$?
4038  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4039  test $ac_status = 0; }; then :
4040  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4041# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4042# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4043# so that the user can short-circuit this test for compilers unknown to
4044# Autoconf.
4045for ac_file in $ac_files ''
4046do
4047  test -f "$ac_file" || continue
4048  case $ac_file in
4049    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4050	;;
4051    [ab].out )
4052	# We found the default executable, but exeext='' is most
4053	# certainly right.
4054	break;;
4055    *.* )
4056	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4057	then :; else
4058	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4059	fi
4060	# We set ac_cv_exeext here because the later test for it is not
4061	# safe: cross compilers may not add the suffix if given an `-o'
4062	# argument, so we may need to know it at that point already.
4063	# Even if this section looks crufty: it has the advantage of
4064	# actually working.
4065	break;;
4066    * )
4067	break;;
4068  esac
4069done
4070test "$ac_cv_exeext" = no && ac_cv_exeext=
4071
4072else
4073  ac_file=''
4074fi
4075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4076$as_echo "$ac_file" >&6; }
4077if test -z "$ac_file"; then :
4078  $as_echo "$as_me: failed program was:" >&5
4079sed 's/^/| /' conftest.$ac_ext >&5
4080
4081{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4082$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4083{ as_fn_set_status 77
4084as_fn_error "C compiler cannot create executables
4085See \`config.log' for more details." "$LINENO" 5; }; }
4086fi
4087ac_exeext=$ac_cv_exeext
4088
4089# Check that the compiler produces executables we can run.  If not, either
4090# the compiler is broken, or we cross compile.
4091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4092$as_echo_n "checking whether the C compiler works... " >&6; }
4093# If not cross compiling, check that we can run a simple program.
4094if test "$cross_compiling" != yes; then
4095  if { ac_try='./$ac_file'
4096  { { case "(($ac_try" in
4097  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4098  *) ac_try_echo=$ac_try;;
4099esac
4100eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4101$as_echo "$ac_try_echo"; } >&5
4102  (eval "$ac_try") 2>&5
4103  ac_status=$?
4104  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4105  test $ac_status = 0; }; }; then
4106    cross_compiling=no
4107  else
4108    if test "$cross_compiling" = maybe; then
4109	cross_compiling=yes
4110    else
4111	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4112$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4113as_fn_error "cannot run C compiled programs.
4114If you meant to cross compile, use \`--host'.
4115See \`config.log' for more details." "$LINENO" 5; }
4116    fi
4117  fi
4118fi
4119{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4120$as_echo "yes" >&6; }
4121
4122rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4123ac_clean_files=$ac_clean_files_save
4124# Check that the compiler produces executables we can run.  If not, either
4125# the compiler is broken, or we cross compile.
4126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4127$as_echo_n "checking whether we are cross compiling... " >&6; }
4128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4129$as_echo "$cross_compiling" >&6; }
4130
4131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4132$as_echo_n "checking for suffix of executables... " >&6; }
4133if { { ac_try="$ac_link"
4134case "(($ac_try" in
4135  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4136  *) ac_try_echo=$ac_try;;
4137esac
4138eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4139$as_echo "$ac_try_echo"; } >&5
4140  (eval "$ac_link") 2>&5
4141  ac_status=$?
4142  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4143  test $ac_status = 0; }; then :
4144  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4145# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4146# work properly (i.e., refer to `conftest.exe'), while it won't with
4147# `rm'.
4148for ac_file in conftest.exe conftest conftest.*; do
4149  test -f "$ac_file" || continue
4150  case $ac_file in
4151    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4152    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4153	  break;;
4154    * ) break;;
4155  esac
4156done
4157else
4158  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4159$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4160as_fn_error "cannot compute suffix of executables: cannot compile and link
4161See \`config.log' for more details." "$LINENO" 5; }
4162fi
4163rm -f conftest$ac_cv_exeext
4164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4165$as_echo "$ac_cv_exeext" >&6; }
4166
4167rm -f conftest.$ac_ext
4168EXEEXT=$ac_cv_exeext
4169ac_exeext=$EXEEXT
4170fi
4171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4172$as_echo_n "checking for suffix of object files... " >&6; }
4173if test "${ac_cv_objext+set}" = set; then :
4174  $as_echo_n "(cached) " >&6
4175else
4176  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177/* end confdefs.h.  */
4178
4179int
4180main ()
4181{
4182
4183  ;
4184  return 0;
4185}
4186_ACEOF
4187rm -f conftest.o conftest.obj
4188if { { ac_try="$ac_compile"
4189case "(($ac_try" in
4190  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4191  *) ac_try_echo=$ac_try;;
4192esac
4193eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4194$as_echo "$ac_try_echo"; } >&5
4195  (eval "$ac_compile") 2>&5
4196  ac_status=$?
4197  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4198  test $ac_status = 0; }; then :
4199  for ac_file in conftest.o conftest.obj conftest.*; do
4200  test -f "$ac_file" || continue;
4201  case $ac_file in
4202    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4203    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4204       break;;
4205  esac
4206done
4207else
4208  $as_echo "$as_me: failed program was:" >&5
4209sed 's/^/| /' conftest.$ac_ext >&5
4210
4211{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4212$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4213as_fn_error "cannot compute suffix of object files: cannot compile
4214See \`config.log' for more details." "$LINENO" 5; }
4215fi
4216rm -f conftest.$ac_cv_objext conftest.$ac_ext
4217fi
4218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4219$as_echo "$ac_cv_objext" >&6; }
4220OBJEXT=$ac_cv_objext
4221ac_objext=$OBJEXT
4222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4223$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4224if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4225  $as_echo_n "(cached) " >&6
4226else
4227  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4228/* end confdefs.h.  */
4229
4230int
4231main ()
4232{
4233#ifndef __GNUC__
4234       choke me
4235#endif
4236
4237  ;
4238  return 0;
4239}
4240_ACEOF
4241if ac_fn_c_try_compile "$LINENO"; then :
4242  ac_compiler_gnu=yes
4243else
4244  ac_compiler_gnu=no
4245fi
4246rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4247ac_cv_c_compiler_gnu=$ac_compiler_gnu
4248
4249fi
4250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4251$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4252if test $ac_compiler_gnu = yes; then
4253  GCC=yes
4254else
4255  GCC=
4256fi
4257ac_test_CFLAGS=${CFLAGS+set}
4258ac_save_CFLAGS=$CFLAGS
4259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4260$as_echo_n "checking whether $CC accepts -g... " >&6; }
4261if test "${ac_cv_prog_cc_g+set}" = set; then :
4262  $as_echo_n "(cached) " >&6
4263else
4264  ac_save_c_werror_flag=$ac_c_werror_flag
4265   ac_c_werror_flag=yes
4266   ac_cv_prog_cc_g=no
4267   CFLAGS="-g"
4268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269/* end confdefs.h.  */
4270
4271int
4272main ()
4273{
4274
4275  ;
4276  return 0;
4277}
4278_ACEOF
4279if ac_fn_c_try_compile "$LINENO"; then :
4280  ac_cv_prog_cc_g=yes
4281else
4282  CFLAGS=""
4283      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284/* end confdefs.h.  */
4285
4286int
4287main ()
4288{
4289
4290  ;
4291  return 0;
4292}
4293_ACEOF
4294if ac_fn_c_try_compile "$LINENO"; then :
4295
4296else
4297  ac_c_werror_flag=$ac_save_c_werror_flag
4298	 CFLAGS="-g"
4299	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300/* end confdefs.h.  */
4301
4302int
4303main ()
4304{
4305
4306  ;
4307  return 0;
4308}
4309_ACEOF
4310if ac_fn_c_try_compile "$LINENO"; then :
4311  ac_cv_prog_cc_g=yes
4312fi
4313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4314fi
4315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4316fi
4317rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4318   ac_c_werror_flag=$ac_save_c_werror_flag
4319fi
4320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4321$as_echo "$ac_cv_prog_cc_g" >&6; }
4322if test "$ac_test_CFLAGS" = set; then
4323  CFLAGS=$ac_save_CFLAGS
4324elif test $ac_cv_prog_cc_g = yes; then
4325  if test "$GCC" = yes; then
4326    CFLAGS="-g -O2"
4327  else
4328    CFLAGS="-g"
4329  fi
4330else
4331  if test "$GCC" = yes; then
4332    CFLAGS="-O2"
4333  else
4334    CFLAGS=
4335  fi
4336fi
4337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4338$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4339if test "${ac_cv_prog_cc_c89+set}" = set; then :
4340  $as_echo_n "(cached) " >&6
4341else
4342  ac_cv_prog_cc_c89=no
4343ac_save_CC=$CC
4344cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345/* end confdefs.h.  */
4346#include <stdarg.h>
4347#include <stdio.h>
4348#include <sys/types.h>
4349#include <sys/stat.h>
4350/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4351struct buf { int x; };
4352FILE * (*rcsopen) (struct buf *, struct stat *, int);
4353static char *e (p, i)
4354     char **p;
4355     int i;
4356{
4357  return p[i];
4358}
4359static char *f (char * (*g) (char **, int), char **p, ...)
4360{
4361  char *s;
4362  va_list v;
4363  va_start (v,p);
4364  s = g (p, va_arg (v,int));
4365  va_end (v);
4366  return s;
4367}
4368
4369/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4370   function prototypes and stuff, but not '\xHH' hex character constants.
4371   These don't provoke an error unfortunately, instead are silently treated
4372   as 'x'.  The following induces an error, until -std is added to get
4373   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4374   array size at least.  It's necessary to write '\x00'==0 to get something
4375   that's true only with -std.  */
4376int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4377
4378/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4379   inside strings and character constants.  */
4380#define FOO(x) 'x'
4381int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4382
4383int test (int i, double x);
4384struct s1 {int (*f) (int a);};
4385struct s2 {int (*f) (double a);};
4386int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4387int argc;
4388char **argv;
4389int
4390main ()
4391{
4392return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4393  ;
4394  return 0;
4395}
4396_ACEOF
4397for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4398	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4399do
4400  CC="$ac_save_CC $ac_arg"
4401  if ac_fn_c_try_compile "$LINENO"; then :
4402  ac_cv_prog_cc_c89=$ac_arg
4403fi
4404rm -f core conftest.err conftest.$ac_objext
4405  test "x$ac_cv_prog_cc_c89" != "xno" && break
4406done
4407rm -f conftest.$ac_ext
4408CC=$ac_save_CC
4409
4410fi
4411# AC_CACHE_VAL
4412case "x$ac_cv_prog_cc_c89" in
4413  x)
4414    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4415$as_echo "none needed" >&6; } ;;
4416  xno)
4417    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4418$as_echo "unsupported" >&6; } ;;
4419  *)
4420    CC="$CC $ac_cv_prog_cc_c89"
4421    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4422$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4423esac
4424if test "x$ac_cv_prog_cc_c89" != xno; then :
4425
4426fi
4427
4428ac_ext=c
4429ac_cpp='$CPP $CPPFLAGS'
4430ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4431ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4432ac_compiler_gnu=$ac_cv_c_compiler_gnu
4433
4434ac_ext=cpp
4435ac_cpp='$CXXCPP $CPPFLAGS'
4436ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4437ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4438ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4439if test -z "$CXX"; then
4440  if test -n "$CCC"; then
4441    CXX=$CCC
4442  else
4443    if test -n "$ac_tool_prefix"; then
4444  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4445  do
4446    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4447set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4449$as_echo_n "checking for $ac_word... " >&6; }
4450if test "${ac_cv_prog_CXX+set}" = set; then :
4451  $as_echo_n "(cached) " >&6
4452else
4453  if test -n "$CXX"; then
4454  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4455else
4456as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457for as_dir in $PATH
4458do
4459  IFS=$as_save_IFS
4460  test -z "$as_dir" && as_dir=.
4461    for ac_exec_ext in '' $ac_executable_extensions; do
4462  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4463    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4464    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4465    break 2
4466  fi
4467done
4468  done
4469IFS=$as_save_IFS
4470
4471fi
4472fi
4473CXX=$ac_cv_prog_CXX
4474if test -n "$CXX"; then
4475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4476$as_echo "$CXX" >&6; }
4477else
4478  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4479$as_echo "no" >&6; }
4480fi
4481
4482
4483    test -n "$CXX" && break
4484  done
4485fi
4486if test -z "$CXX"; then
4487  ac_ct_CXX=$CXX
4488  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4489do
4490  # Extract the first word of "$ac_prog", so it can be a program name with args.
4491set dummy $ac_prog; ac_word=$2
4492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4493$as_echo_n "checking for $ac_word... " >&6; }
4494if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4495  $as_echo_n "(cached) " >&6
4496else
4497  if test -n "$ac_ct_CXX"; then
4498  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4499else
4500as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4501for as_dir in $PATH
4502do
4503  IFS=$as_save_IFS
4504  test -z "$as_dir" && as_dir=.
4505    for ac_exec_ext in '' $ac_executable_extensions; do
4506  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4507    ac_cv_prog_ac_ct_CXX="$ac_prog"
4508    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4509    break 2
4510  fi
4511done
4512  done
4513IFS=$as_save_IFS
4514
4515fi
4516fi
4517ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4518if test -n "$ac_ct_CXX"; then
4519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4520$as_echo "$ac_ct_CXX" >&6; }
4521else
4522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4523$as_echo "no" >&6; }
4524fi
4525
4526
4527  test -n "$ac_ct_CXX" && break
4528done
4529
4530  if test "x$ac_ct_CXX" = x; then
4531    CXX="g++"
4532  else
4533    case $cross_compiling:$ac_tool_warned in
4534yes:)
4535{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4536$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4537ac_tool_warned=yes ;;
4538esac
4539    CXX=$ac_ct_CXX
4540  fi
4541fi
4542
4543  fi
4544fi
4545# Provide some information about the compiler.
4546$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4547set X $ac_compile
4548ac_compiler=$2
4549for ac_option in --version -v -V -qversion; do
4550  { { ac_try="$ac_compiler $ac_option >&5"
4551case "(($ac_try" in
4552  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4553  *) ac_try_echo=$ac_try;;
4554esac
4555eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4556$as_echo "$ac_try_echo"; } >&5
4557  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4558  ac_status=$?
4559  if test -s conftest.err; then
4560    sed '10a\
4561... rest of stderr output deleted ...
4562         10q' conftest.err >conftest.er1
4563    cat conftest.er1 >&5
4564    rm -f conftest.er1 conftest.err
4565  fi
4566  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4567  test $ac_status = 0; }
4568done
4569
4570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4571$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4572if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4573  $as_echo_n "(cached) " >&6
4574else
4575  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4576/* end confdefs.h.  */
4577
4578int
4579main ()
4580{
4581#ifndef __GNUC__
4582       choke me
4583#endif
4584
4585  ;
4586  return 0;
4587}
4588_ACEOF
4589if ac_fn_cxx_try_compile "$LINENO"; then :
4590  ac_compiler_gnu=yes
4591else
4592  ac_compiler_gnu=no
4593fi
4594rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4595ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4596
4597fi
4598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4599$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4600if test $ac_compiler_gnu = yes; then
4601  GXX=yes
4602else
4603  GXX=
4604fi
4605ac_test_CXXFLAGS=${CXXFLAGS+set}
4606ac_save_CXXFLAGS=$CXXFLAGS
4607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4608$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4609if test "${ac_cv_prog_cxx_g+set}" = set; then :
4610  $as_echo_n "(cached) " >&6
4611else
4612  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4613   ac_cxx_werror_flag=yes
4614   ac_cv_prog_cxx_g=no
4615   CXXFLAGS="-g"
4616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4617/* end confdefs.h.  */
4618
4619int
4620main ()
4621{
4622
4623  ;
4624  return 0;
4625}
4626_ACEOF
4627if ac_fn_cxx_try_compile "$LINENO"; then :
4628  ac_cv_prog_cxx_g=yes
4629else
4630  CXXFLAGS=""
4631      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632/* end confdefs.h.  */
4633
4634int
4635main ()
4636{
4637
4638  ;
4639  return 0;
4640}
4641_ACEOF
4642if ac_fn_cxx_try_compile "$LINENO"; then :
4643
4644else
4645  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4646	 CXXFLAGS="-g"
4647	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4648/* end confdefs.h.  */
4649
4650int
4651main ()
4652{
4653
4654  ;
4655  return 0;
4656}
4657_ACEOF
4658if ac_fn_cxx_try_compile "$LINENO"; then :
4659  ac_cv_prog_cxx_g=yes
4660fi
4661rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4662fi
4663rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4664fi
4665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4666   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4667fi
4668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4669$as_echo "$ac_cv_prog_cxx_g" >&6; }
4670if test "$ac_test_CXXFLAGS" = set; then
4671  CXXFLAGS=$ac_save_CXXFLAGS
4672elif test $ac_cv_prog_cxx_g = yes; then
4673  if test "$GXX" = yes; then
4674    CXXFLAGS="-g -O2"
4675  else
4676    CXXFLAGS="-g"
4677  fi
4678else
4679  if test "$GXX" = yes; then
4680    CXXFLAGS="-O2"
4681  else
4682    CXXFLAGS=
4683  fi
4684fi
4685ac_ext=c
4686ac_cpp='$CPP $CPPFLAGS'
4687ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4688ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4689ac_compiler_gnu=$ac_cv_c_compiler_gnu
4690
4691CXXFLAGS="$save_CXXFLAGS"
4692
4693# Runs configure.host, and assorted other critical bits.  Sets
4694# up critical shell variables.
4695
4696ac_ext=c
4697ac_cpp='$CPP $CPPFLAGS'
4698ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4699ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4700ac_compiler_gnu=$ac_cv_c_compiler_gnu
4701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4702$as_echo_n "checking how to run the C preprocessor... " >&6; }
4703# On Suns, sometimes $CPP names a directory.
4704if test -n "$CPP" && test -d "$CPP"; then
4705  CPP=
4706fi
4707if test -z "$CPP"; then
4708  if test "${ac_cv_prog_CPP+set}" = set; then :
4709  $as_echo_n "(cached) " >&6
4710else
4711      # Double quotes because CPP needs to be expanded
4712    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4713    do
4714      ac_preproc_ok=false
4715for ac_c_preproc_warn_flag in '' yes
4716do
4717  # Use a header file that comes with gcc, so configuring glibc
4718  # with a fresh cross-compiler works.
4719  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4720  # <limits.h> exists even on freestanding compilers.
4721  # On the NeXT, cc -E runs the code through the compiler's parser,
4722  # not just through cpp. "Syntax error" is here to catch this case.
4723  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4724/* end confdefs.h.  */
4725#ifdef __STDC__
4726# include <limits.h>
4727#else
4728# include <assert.h>
4729#endif
4730		     Syntax error
4731_ACEOF
4732if ac_fn_c_try_cpp "$LINENO"; then :
4733
4734else
4735  # Broken: fails on valid input.
4736continue
4737fi
4738rm -f conftest.err conftest.$ac_ext
4739
4740  # OK, works on sane cases.  Now check whether nonexistent headers
4741  # can be detected and how.
4742  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4743/* end confdefs.h.  */
4744#include <ac_nonexistent.h>
4745_ACEOF
4746if ac_fn_c_try_cpp "$LINENO"; then :
4747  # Broken: success on invalid input.
4748continue
4749else
4750  # Passes both tests.
4751ac_preproc_ok=:
4752break
4753fi
4754rm -f conftest.err conftest.$ac_ext
4755
4756done
4757# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4758rm -f conftest.err conftest.$ac_ext
4759if $ac_preproc_ok; then :
4760  break
4761fi
4762
4763    done
4764    ac_cv_prog_CPP=$CPP
4765
4766fi
4767  CPP=$ac_cv_prog_CPP
4768else
4769  ac_cv_prog_CPP=$CPP
4770fi
4771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4772$as_echo "$CPP" >&6; }
4773ac_preproc_ok=false
4774for ac_c_preproc_warn_flag in '' yes
4775do
4776  # Use a header file that comes with gcc, so configuring glibc
4777  # with a fresh cross-compiler works.
4778  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4779  # <limits.h> exists even on freestanding compilers.
4780  # On the NeXT, cc -E runs the code through the compiler's parser,
4781  # not just through cpp. "Syntax error" is here to catch this case.
4782  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4783/* end confdefs.h.  */
4784#ifdef __STDC__
4785# include <limits.h>
4786#else
4787# include <assert.h>
4788#endif
4789		     Syntax error
4790_ACEOF
4791if ac_fn_c_try_cpp "$LINENO"; then :
4792
4793else
4794  # Broken: fails on valid input.
4795continue
4796fi
4797rm -f conftest.err conftest.$ac_ext
4798
4799  # OK, works on sane cases.  Now check whether nonexistent headers
4800  # can be detected and how.
4801  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4802/* end confdefs.h.  */
4803#include <ac_nonexistent.h>
4804_ACEOF
4805if ac_fn_c_try_cpp "$LINENO"; then :
4806  # Broken: success on invalid input.
4807continue
4808else
4809  # Passes both tests.
4810ac_preproc_ok=:
4811break
4812fi
4813rm -f conftest.err conftest.$ac_ext
4814
4815done
4816# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4817rm -f conftest.err conftest.$ac_ext
4818if $ac_preproc_ok; then :
4819
4820else
4821  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4822$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4823as_fn_error "C preprocessor \"$CPP\" fails sanity check
4824See \`config.log' for more details." "$LINENO" 5; }
4825fi
4826
4827ac_ext=c
4828ac_cpp='$CPP $CPPFLAGS'
4829ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4830ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4831ac_compiler_gnu=$ac_cv_c_compiler_gnu
4832
4833
4834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4835$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4836if test "${ac_cv_path_GREP+set}" = set; then :
4837  $as_echo_n "(cached) " >&6
4838else
4839  if test -z "$GREP"; then
4840  ac_path_GREP_found=false
4841  # Loop through the user's path and test for each of PROGNAME-LIST
4842  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4843for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4844do
4845  IFS=$as_save_IFS
4846  test -z "$as_dir" && as_dir=.
4847    for ac_prog in grep ggrep; do
4848    for ac_exec_ext in '' $ac_executable_extensions; do
4849      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4850      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4851# Check for GNU ac_path_GREP and select it if it is found.
4852  # Check for GNU $ac_path_GREP
4853case `"$ac_path_GREP" --version 2>&1` in
4854*GNU*)
4855  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4856*)
4857  ac_count=0
4858  $as_echo_n 0123456789 >"conftest.in"
4859  while :
4860  do
4861    cat "conftest.in" "conftest.in" >"conftest.tmp"
4862    mv "conftest.tmp" "conftest.in"
4863    cp "conftest.in" "conftest.nl"
4864    $as_echo 'GREP' >> "conftest.nl"
4865    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4866    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4867    as_fn_arith $ac_count + 1 && ac_count=$as_val
4868    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4869      # Best one so far, save it but keep looking for a better one
4870      ac_cv_path_GREP="$ac_path_GREP"
4871      ac_path_GREP_max=$ac_count
4872    fi
4873    # 10*(2^10) chars as input seems more than enough
4874    test $ac_count -gt 10 && break
4875  done
4876  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4877esac
4878
4879      $ac_path_GREP_found && break 3
4880    done
4881  done
4882  done
4883IFS=$as_save_IFS
4884  if test -z "$ac_cv_path_GREP"; then
4885    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4886  fi
4887else
4888  ac_cv_path_GREP=$GREP
4889fi
4890
4891fi
4892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4893$as_echo "$ac_cv_path_GREP" >&6; }
4894 GREP="$ac_cv_path_GREP"
4895
4896
4897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4898$as_echo_n "checking for egrep... " >&6; }
4899if test "${ac_cv_path_EGREP+set}" = set; then :
4900  $as_echo_n "(cached) " >&6
4901else
4902  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4903   then ac_cv_path_EGREP="$GREP -E"
4904   else
4905     if test -z "$EGREP"; then
4906  ac_path_EGREP_found=false
4907  # Loop through the user's path and test for each of PROGNAME-LIST
4908  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4909for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4910do
4911  IFS=$as_save_IFS
4912  test -z "$as_dir" && as_dir=.
4913    for ac_prog in egrep; do
4914    for ac_exec_ext in '' $ac_executable_extensions; do
4915      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4916      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4917# Check for GNU ac_path_EGREP and select it if it is found.
4918  # Check for GNU $ac_path_EGREP
4919case `"$ac_path_EGREP" --version 2>&1` in
4920*GNU*)
4921  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4922*)
4923  ac_count=0
4924  $as_echo_n 0123456789 >"conftest.in"
4925  while :
4926  do
4927    cat "conftest.in" "conftest.in" >"conftest.tmp"
4928    mv "conftest.tmp" "conftest.in"
4929    cp "conftest.in" "conftest.nl"
4930    $as_echo 'EGREP' >> "conftest.nl"
4931    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4932    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4933    as_fn_arith $ac_count + 1 && ac_count=$as_val
4934    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4935      # Best one so far, save it but keep looking for a better one
4936      ac_cv_path_EGREP="$ac_path_EGREP"
4937      ac_path_EGREP_max=$ac_count
4938    fi
4939    # 10*(2^10) chars as input seems more than enough
4940    test $ac_count -gt 10 && break
4941  done
4942  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4943esac
4944
4945      $ac_path_EGREP_found && break 3
4946    done
4947  done
4948  done
4949IFS=$as_save_IFS
4950  if test -z "$ac_cv_path_EGREP"; then
4951    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4952  fi
4953else
4954  ac_cv_path_EGREP=$EGREP
4955fi
4956
4957   fi
4958fi
4959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4960$as_echo "$ac_cv_path_EGREP" >&6; }
4961 EGREP="$ac_cv_path_EGREP"
4962
4963
4964
4965  # Keep these sync'd with the list in Makefile.am.  The first provides an
4966  # expandable list at autoconf time; the second provides an expandable list
4967  # (i.e., shell variable) at configure time.
4968
4969  SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc python'
4970
4971  # These need to be absolute paths, yet at the same time need to
4972  # canonicalize only relative paths, because then amd will not unmount
4973  # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4974  glibcxx_builddir=`${PWDCMD-pwd}`
4975  case $srcdir in
4976    \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4977    *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4978  esac
4979  toplevel_builddir=${glibcxx_builddir}/..
4980  toplevel_srcdir=${glibcxx_srcdir}/..
4981
4982
4983
4984
4985
4986  # We use these options to decide which functions to include.  They are
4987  # set from the top level.
4988
4989# Check whether --with-target-subdir was given.
4990if test "${with_target_subdir+set}" = set; then :
4991  withval=$with_target_subdir;
4992fi
4993
4994
4995
4996# Check whether --with-cross-host was given.
4997if test "${with_cross_host+set}" = set; then :
4998  withval=$with_cross_host;
4999fi
5000
5001
5002
5003# Check whether --with-newlib was given.
5004if test "${with_newlib+set}" = set; then :
5005  withval=$with_newlib;
5006fi
5007
5008
5009  # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5010  # available).  Uncomment the next line to force a particular method.
5011  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5012$as_echo_n "checking whether ln -s works... " >&6; }
5013LN_S=$as_ln_s
5014if test "$LN_S" = "ln -s"; then
5015  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5016$as_echo "yes" >&6; }
5017else
5018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5019$as_echo "no, using $LN_S" >&6; }
5020fi
5021
5022  #LN_S='cp -p'
5023
5024  if test -n "$ac_tool_prefix"; then
5025  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5026set dummy ${ac_tool_prefix}as; ac_word=$2
5027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028$as_echo_n "checking for $ac_word... " >&6; }
5029if test "${ac_cv_prog_AS+set}" = set; then :
5030  $as_echo_n "(cached) " >&6
5031else
5032  if test -n "$AS"; then
5033  ac_cv_prog_AS="$AS" # Let the user override the test.
5034else
5035as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036for as_dir in $PATH
5037do
5038  IFS=$as_save_IFS
5039  test -z "$as_dir" && as_dir=.
5040    for ac_exec_ext in '' $ac_executable_extensions; do
5041  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5042    ac_cv_prog_AS="${ac_tool_prefix}as"
5043    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5044    break 2
5045  fi
5046done
5047  done
5048IFS=$as_save_IFS
5049
5050fi
5051fi
5052AS=$ac_cv_prog_AS
5053if test -n "$AS"; then
5054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5055$as_echo "$AS" >&6; }
5056else
5057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058$as_echo "no" >&6; }
5059fi
5060
5061
5062fi
5063if test -z "$ac_cv_prog_AS"; then
5064  ac_ct_AS=$AS
5065  # Extract the first word of "as", so it can be a program name with args.
5066set dummy as; ac_word=$2
5067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5068$as_echo_n "checking for $ac_word... " >&6; }
5069if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5070  $as_echo_n "(cached) " >&6
5071else
5072  if test -n "$ac_ct_AS"; then
5073  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5074else
5075as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076for as_dir in $PATH
5077do
5078  IFS=$as_save_IFS
5079  test -z "$as_dir" && as_dir=.
5080    for ac_exec_ext in '' $ac_executable_extensions; do
5081  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5082    ac_cv_prog_ac_ct_AS="as"
5083    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5084    break 2
5085  fi
5086done
5087  done
5088IFS=$as_save_IFS
5089
5090fi
5091fi
5092ac_ct_AS=$ac_cv_prog_ac_ct_AS
5093if test -n "$ac_ct_AS"; then
5094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5095$as_echo "$ac_ct_AS" >&6; }
5096else
5097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098$as_echo "no" >&6; }
5099fi
5100
5101  if test "x$ac_ct_AS" = x; then
5102    AS=""
5103  else
5104    case $cross_compiling:$ac_tool_warned in
5105yes:)
5106{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5107$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5108ac_tool_warned=yes ;;
5109esac
5110    AS=$ac_ct_AS
5111  fi
5112else
5113  AS="$ac_cv_prog_AS"
5114fi
5115
5116  if test -n "$ac_tool_prefix"; then
5117  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5118set dummy ${ac_tool_prefix}ar; ac_word=$2
5119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5120$as_echo_n "checking for $ac_word... " >&6; }
5121if test "${ac_cv_prog_AR+set}" = set; then :
5122  $as_echo_n "(cached) " >&6
5123else
5124  if test -n "$AR"; then
5125  ac_cv_prog_AR="$AR" # Let the user override the test.
5126else
5127as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5128for as_dir in $PATH
5129do
5130  IFS=$as_save_IFS
5131  test -z "$as_dir" && as_dir=.
5132    for ac_exec_ext in '' $ac_executable_extensions; do
5133  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5134    ac_cv_prog_AR="${ac_tool_prefix}ar"
5135    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5136    break 2
5137  fi
5138done
5139  done
5140IFS=$as_save_IFS
5141
5142fi
5143fi
5144AR=$ac_cv_prog_AR
5145if test -n "$AR"; then
5146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5147$as_echo "$AR" >&6; }
5148else
5149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5150$as_echo "no" >&6; }
5151fi
5152
5153
5154fi
5155if test -z "$ac_cv_prog_AR"; then
5156  ac_ct_AR=$AR
5157  # Extract the first word of "ar", so it can be a program name with args.
5158set dummy ar; ac_word=$2
5159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5160$as_echo_n "checking for $ac_word... " >&6; }
5161if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5162  $as_echo_n "(cached) " >&6
5163else
5164  if test -n "$ac_ct_AR"; then
5165  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5166else
5167as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5168for as_dir in $PATH
5169do
5170  IFS=$as_save_IFS
5171  test -z "$as_dir" && as_dir=.
5172    for ac_exec_ext in '' $ac_executable_extensions; do
5173  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5174    ac_cv_prog_ac_ct_AR="ar"
5175    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5176    break 2
5177  fi
5178done
5179  done
5180IFS=$as_save_IFS
5181
5182fi
5183fi
5184ac_ct_AR=$ac_cv_prog_ac_ct_AR
5185if test -n "$ac_ct_AR"; then
5186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5187$as_echo "$ac_ct_AR" >&6; }
5188else
5189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190$as_echo "no" >&6; }
5191fi
5192
5193  if test "x$ac_ct_AR" = x; then
5194    AR=""
5195  else
5196    case $cross_compiling:$ac_tool_warned in
5197yes:)
5198{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5199$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5200ac_tool_warned=yes ;;
5201esac
5202    AR=$ac_ct_AR
5203  fi
5204else
5205  AR="$ac_cv_prog_AR"
5206fi
5207
5208  if test -n "$ac_tool_prefix"; then
5209  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5210set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5212$as_echo_n "checking for $ac_word... " >&6; }
5213if test "${ac_cv_prog_RANLIB+set}" = set; then :
5214  $as_echo_n "(cached) " >&6
5215else
5216  if test -n "$RANLIB"; then
5217  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5218else
5219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5220for as_dir in $PATH
5221do
5222  IFS=$as_save_IFS
5223  test -z "$as_dir" && as_dir=.
5224    for ac_exec_ext in '' $ac_executable_extensions; do
5225  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5226    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5227    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5228    break 2
5229  fi
5230done
5231  done
5232IFS=$as_save_IFS
5233
5234fi
5235fi
5236RANLIB=$ac_cv_prog_RANLIB
5237if test -n "$RANLIB"; then
5238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5239$as_echo "$RANLIB" >&6; }
5240else
5241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5242$as_echo "no" >&6; }
5243fi
5244
5245
5246fi
5247if test -z "$ac_cv_prog_RANLIB"; then
5248  ac_ct_RANLIB=$RANLIB
5249  # Extract the first word of "ranlib", so it can be a program name with args.
5250set dummy ranlib; ac_word=$2
5251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5252$as_echo_n "checking for $ac_word... " >&6; }
5253if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5254  $as_echo_n "(cached) " >&6
5255else
5256  if test -n "$ac_ct_RANLIB"; then
5257  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5258else
5259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5260for as_dir in $PATH
5261do
5262  IFS=$as_save_IFS
5263  test -z "$as_dir" && as_dir=.
5264    for ac_exec_ext in '' $ac_executable_extensions; do
5265  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5266    ac_cv_prog_ac_ct_RANLIB="ranlib"
5267    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5268    break 2
5269  fi
5270done
5271  done
5272IFS=$as_save_IFS
5273
5274fi
5275fi
5276ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5277if test -n "$ac_ct_RANLIB"; then
5278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5279$as_echo "$ac_ct_RANLIB" >&6; }
5280else
5281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282$as_echo "no" >&6; }
5283fi
5284
5285  if test "x$ac_ct_RANLIB" = x; then
5286    RANLIB="ranlib-not-found-in-path-error"
5287  else
5288    case $cross_compiling:$ac_tool_warned in
5289yes:)
5290{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5291$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5292ac_tool_warned=yes ;;
5293esac
5294    RANLIB=$ac_ct_RANLIB
5295  fi
5296else
5297  RANLIB="$ac_cv_prog_RANLIB"
5298fi
5299
5300
5301
5302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5303$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5304    # Check whether --enable-maintainer-mode was given.
5305if test "${enable_maintainer_mode+set}" = set; then :
5306  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5307else
5308  USE_MAINTAINER_MODE=no
5309fi
5310
5311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5312$as_echo "$USE_MAINTAINER_MODE" >&6; }
5313   if test $USE_MAINTAINER_MODE = yes; then
5314  MAINTAINER_MODE_TRUE=
5315  MAINTAINER_MODE_FALSE='#'
5316else
5317  MAINTAINER_MODE_TRUE='#'
5318  MAINTAINER_MODE_FALSE=
5319fi
5320
5321  MAINT=$MAINTAINER_MODE_TRUE
5322
5323
5324
5325  # Set up safe default values for all subsequent AM_CONDITIONAL tests
5326  # which are themselves conditionally expanded.
5327  ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5328  ## other macros from doing the same.  This should be automated.)  -pme
5329
5330  # Check for C library flavor since GNU/Linux platforms use different
5331  # configuration directories depending on the C library in use.
5332  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5333/* end confdefs.h.  */
5334
5335  #include <stdio.h>
5336  #if __UCLIBC__
5337    _using_uclibc
5338  #endif
5339
5340_ACEOF
5341if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5342  $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5343  uclibc=yes
5344else
5345  uclibc=no
5346fi
5347rm -f conftest*
5348
5349
5350  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5351/* end confdefs.h.  */
5352
5353  #include <stdio.h>
5354  #if __BIONIC__
5355    _using_bionic
5356  #endif
5357
5358_ACEOF
5359if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5360  $EGREP "_using_bionic" >/dev/null 2>&1; then :
5361  bionic=yes
5362else
5363  bionic=no
5364fi
5365rm -f conftest*
5366
5367
5368  # Find platform-specific directories containing configuration info.
5369  # Also possibly modify flags used elsewhere, as needed by the platform.
5370
5371  . $glibcxx_srcdir/configure.host
5372  { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5373$as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5374  { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5375$as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5376
5377
5378
5379# Libtool setup.
5380if test "x${with_newlib}" != "xyes"; then
5381  enable_dlopen=yes
5382
5383
5384
5385fi
5386case `pwd` in
5387  *\ * | *\	*)
5388    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5389$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5390esac
5391
5392
5393
5394macro_version='2.2.7a'
5395macro_revision='1.3134'
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409ltmain="$ac_aux_dir/ltmain.sh"
5410
5411# Backslashify metacharacters that are still active within
5412# double-quoted strings.
5413sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5414
5415# Same as above, but do not quote variable references.
5416double_quote_subst='s/\(["`\\]\)/\\\1/g'
5417
5418# Sed substitution to delay expansion of an escaped shell variable in a
5419# double_quote_subst'ed string.
5420delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5421
5422# Sed substitution to delay expansion of an escaped single quote.
5423delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5424
5425# Sed substitution to avoid accidental globbing in evaled expressions
5426no_glob_subst='s/\*/\\\*/g'
5427
5428ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5429ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5430ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5431
5432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5433$as_echo_n "checking how to print strings... " >&6; }
5434# Test print first, because it will be a builtin if present.
5435if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5436   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5437  ECHO='print -r --'
5438elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5439  ECHO='printf %s\n'
5440else
5441  # Use this function as a fallback that always works.
5442  func_fallback_echo ()
5443  {
5444    eval 'cat <<_LTECHO_EOF
5445$1
5446_LTECHO_EOF'
5447  }
5448  ECHO='func_fallback_echo'
5449fi
5450
5451# func_echo_all arg...
5452# Invoke $ECHO with all args, space-separated.
5453func_echo_all ()
5454{
5455    $ECHO ""
5456}
5457
5458case "$ECHO" in
5459  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5460$as_echo "printf" >&6; } ;;
5461  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5462$as_echo "print -r" >&6; } ;;
5463  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5464$as_echo "cat" >&6; } ;;
5465esac
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5481$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5482if test "${ac_cv_path_SED+set}" = set; then :
5483  $as_echo_n "(cached) " >&6
5484else
5485            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5486     for ac_i in 1 2 3 4 5 6 7; do
5487       ac_script="$ac_script$as_nl$ac_script"
5488     done
5489     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5490     { ac_script=; unset ac_script;}
5491     if test -z "$SED"; then
5492  ac_path_SED_found=false
5493  # Loop through the user's path and test for each of PROGNAME-LIST
5494  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5495for as_dir in $PATH
5496do
5497  IFS=$as_save_IFS
5498  test -z "$as_dir" && as_dir=.
5499    for ac_prog in sed gsed; do
5500    for ac_exec_ext in '' $ac_executable_extensions; do
5501      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5502      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5503# Check for GNU ac_path_SED and select it if it is found.
5504  # Check for GNU $ac_path_SED
5505case `"$ac_path_SED" --version 2>&1` in
5506*GNU*)
5507  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5508*)
5509  ac_count=0
5510  $as_echo_n 0123456789 >"conftest.in"
5511  while :
5512  do
5513    cat "conftest.in" "conftest.in" >"conftest.tmp"
5514    mv "conftest.tmp" "conftest.in"
5515    cp "conftest.in" "conftest.nl"
5516    $as_echo '' >> "conftest.nl"
5517    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5518    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5519    as_fn_arith $ac_count + 1 && ac_count=$as_val
5520    if test $ac_count -gt ${ac_path_SED_max-0}; then
5521      # Best one so far, save it but keep looking for a better one
5522      ac_cv_path_SED="$ac_path_SED"
5523      ac_path_SED_max=$ac_count
5524    fi
5525    # 10*(2^10) chars as input seems more than enough
5526    test $ac_count -gt 10 && break
5527  done
5528  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5529esac
5530
5531      $ac_path_SED_found && break 3
5532    done
5533  done
5534  done
5535IFS=$as_save_IFS
5536  if test -z "$ac_cv_path_SED"; then
5537    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5538  fi
5539else
5540  ac_cv_path_SED=$SED
5541fi
5542
5543fi
5544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5545$as_echo "$ac_cv_path_SED" >&6; }
5546 SED="$ac_cv_path_SED"
5547  rm -f conftest.sed
5548
5549test -z "$SED" && SED=sed
5550Xsed="$SED -e 1s/^X//"
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5563$as_echo_n "checking for fgrep... " >&6; }
5564if test "${ac_cv_path_FGREP+set}" = set; then :
5565  $as_echo_n "(cached) " >&6
5566else
5567  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5568   then ac_cv_path_FGREP="$GREP -F"
5569   else
5570     if test -z "$FGREP"; then
5571  ac_path_FGREP_found=false
5572  # Loop through the user's path and test for each of PROGNAME-LIST
5573  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5575do
5576  IFS=$as_save_IFS
5577  test -z "$as_dir" && as_dir=.
5578    for ac_prog in fgrep; do
5579    for ac_exec_ext in '' $ac_executable_extensions; do
5580      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5581      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5582# Check for GNU ac_path_FGREP and select it if it is found.
5583  # Check for GNU $ac_path_FGREP
5584case `"$ac_path_FGREP" --version 2>&1` in
5585*GNU*)
5586  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5587*)
5588  ac_count=0
5589  $as_echo_n 0123456789 >"conftest.in"
5590  while :
5591  do
5592    cat "conftest.in" "conftest.in" >"conftest.tmp"
5593    mv "conftest.tmp" "conftest.in"
5594    cp "conftest.in" "conftest.nl"
5595    $as_echo 'FGREP' >> "conftest.nl"
5596    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5597    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5598    as_fn_arith $ac_count + 1 && ac_count=$as_val
5599    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5600      # Best one so far, save it but keep looking for a better one
5601      ac_cv_path_FGREP="$ac_path_FGREP"
5602      ac_path_FGREP_max=$ac_count
5603    fi
5604    # 10*(2^10) chars as input seems more than enough
5605    test $ac_count -gt 10 && break
5606  done
5607  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5608esac
5609
5610      $ac_path_FGREP_found && break 3
5611    done
5612  done
5613  done
5614IFS=$as_save_IFS
5615  if test -z "$ac_cv_path_FGREP"; then
5616    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5617  fi
5618else
5619  ac_cv_path_FGREP=$FGREP
5620fi
5621
5622   fi
5623fi
5624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5625$as_echo "$ac_cv_path_FGREP" >&6; }
5626 FGREP="$ac_cv_path_FGREP"
5627
5628
5629test -z "$GREP" && GREP=grep
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649# Check whether --with-gnu-ld was given.
5650if test "${with_gnu_ld+set}" = set; then :
5651  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5652else
5653  with_gnu_ld=no
5654fi
5655
5656ac_prog=ld
5657if test "$GCC" = yes; then
5658  # Check if gcc -print-prog-name=ld gives a path.
5659  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5660$as_echo_n "checking for ld used by $CC... " >&6; }
5661  case $host in
5662  *-*-mingw*)
5663    # gcc leaves a trailing carriage return which upsets mingw
5664    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5665  *)
5666    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5667  esac
5668  case $ac_prog in
5669    # Accept absolute paths.
5670    [\\/]* | ?:[\\/]*)
5671      re_direlt='/[^/][^/]*/\.\./'
5672      # Canonicalize the pathname of ld
5673      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5674      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5675	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5676      done
5677      test -z "$LD" && LD="$ac_prog"
5678      ;;
5679  "")
5680    # If it fails, then pretend we aren't using GCC.
5681    ac_prog=ld
5682    ;;
5683  *)
5684    # If it is relative, then search for the first ld in PATH.
5685    with_gnu_ld=unknown
5686    ;;
5687  esac
5688elif test "$with_gnu_ld" = yes; then
5689  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5690$as_echo_n "checking for GNU ld... " >&6; }
5691else
5692  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5693$as_echo_n "checking for non-GNU ld... " >&6; }
5694fi
5695if test "${lt_cv_path_LD+set}" = set; then :
5696  $as_echo_n "(cached) " >&6
5697else
5698  if test -z "$LD"; then
5699  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5700  for ac_dir in $PATH; do
5701    IFS="$lt_save_ifs"
5702    test -z "$ac_dir" && ac_dir=.
5703    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5704      lt_cv_path_LD="$ac_dir/$ac_prog"
5705      # Check to see if the program is GNU ld.  I'd rather use --version,
5706      # but apparently some variants of GNU ld only accept -v.
5707      # Break only if it was the GNU/non-GNU ld that we prefer.
5708      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5709      *GNU* | *'with BFD'*)
5710	test "$with_gnu_ld" != no && break
5711	;;
5712      *)
5713	test "$with_gnu_ld" != yes && break
5714	;;
5715      esac
5716    fi
5717  done
5718  IFS="$lt_save_ifs"
5719else
5720  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5721fi
5722fi
5723
5724LD="$lt_cv_path_LD"
5725if test -n "$LD"; then
5726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5727$as_echo "$LD" >&6; }
5728else
5729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5730$as_echo "no" >&6; }
5731fi
5732test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5734$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5735if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5736  $as_echo_n "(cached) " >&6
5737else
5738  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5739case `$LD -v 2>&1 </dev/null` in
5740*GNU* | *'with BFD'*)
5741  lt_cv_prog_gnu_ld=yes
5742  ;;
5743*)
5744  lt_cv_prog_gnu_ld=no
5745  ;;
5746esac
5747fi
5748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5749$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5750with_gnu_ld=$lt_cv_prog_gnu_ld
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5761$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5762if test "${lt_cv_path_NM+set}" = set; then :
5763  $as_echo_n "(cached) " >&6
5764else
5765  if test -n "$NM"; then
5766  # Let the user override the test.
5767  lt_cv_path_NM="$NM"
5768else
5769  lt_nm_to_check="${ac_tool_prefix}nm"
5770  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5771    lt_nm_to_check="$lt_nm_to_check nm"
5772  fi
5773  for lt_tmp_nm in $lt_nm_to_check; do
5774    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5775    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5776      IFS="$lt_save_ifs"
5777      test -z "$ac_dir" && ac_dir=.
5778      tmp_nm="$ac_dir/$lt_tmp_nm"
5779      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5780	# Check to see if the nm accepts a BSD-compat flag.
5781	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5782	#   nm: unknown option "B" ignored
5783	# Tru64's nm complains that /dev/null is an invalid object file
5784	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5785	*/dev/null* | *'Invalid file or object type'*)
5786	  lt_cv_path_NM="$tmp_nm -B"
5787	  break
5788	  ;;
5789	*)
5790	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5791	  */dev/null*)
5792	    lt_cv_path_NM="$tmp_nm -p"
5793	    break
5794	    ;;
5795	  *)
5796	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5797	    continue # so that we can try to find one that supports BSD flags
5798	    ;;
5799	  esac
5800	  ;;
5801	esac
5802      fi
5803    done
5804    IFS="$lt_save_ifs"
5805  done
5806  : ${lt_cv_path_NM=no}
5807fi
5808fi
5809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5810$as_echo "$lt_cv_path_NM" >&6; }
5811if test "$lt_cv_path_NM" != "no"; then
5812  NM="$lt_cv_path_NM"
5813else
5814  # Didn't find any BSD compatible name lister, look for dumpbin.
5815  if test -n "$DUMPBIN"; then :
5816    # Let the user override the test.
5817  else
5818    if test -n "$ac_tool_prefix"; then
5819  for ac_prog in dumpbin "link -dump"
5820  do
5821    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5822set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5824$as_echo_n "checking for $ac_word... " >&6; }
5825if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5826  $as_echo_n "(cached) " >&6
5827else
5828  if test -n "$DUMPBIN"; then
5829  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5830else
5831as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5832for as_dir in $PATH
5833do
5834  IFS=$as_save_IFS
5835  test -z "$as_dir" && as_dir=.
5836    for ac_exec_ext in '' $ac_executable_extensions; do
5837  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5838    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5839    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5840    break 2
5841  fi
5842done
5843  done
5844IFS=$as_save_IFS
5845
5846fi
5847fi
5848DUMPBIN=$ac_cv_prog_DUMPBIN
5849if test -n "$DUMPBIN"; then
5850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5851$as_echo "$DUMPBIN" >&6; }
5852else
5853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5854$as_echo "no" >&6; }
5855fi
5856
5857
5858    test -n "$DUMPBIN" && break
5859  done
5860fi
5861if test -z "$DUMPBIN"; then
5862  ac_ct_DUMPBIN=$DUMPBIN
5863  for ac_prog in dumpbin "link -dump"
5864do
5865  # Extract the first word of "$ac_prog", so it can be a program name with args.
5866set dummy $ac_prog; ac_word=$2
5867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5868$as_echo_n "checking for $ac_word... " >&6; }
5869if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5870  $as_echo_n "(cached) " >&6
5871else
5872  if test -n "$ac_ct_DUMPBIN"; then
5873  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5874else
5875as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5876for as_dir in $PATH
5877do
5878  IFS=$as_save_IFS
5879  test -z "$as_dir" && as_dir=.
5880    for ac_exec_ext in '' $ac_executable_extensions; do
5881  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5882    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5883    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5884    break 2
5885  fi
5886done
5887  done
5888IFS=$as_save_IFS
5889
5890fi
5891fi
5892ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5893if test -n "$ac_ct_DUMPBIN"; then
5894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5895$as_echo "$ac_ct_DUMPBIN" >&6; }
5896else
5897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5898$as_echo "no" >&6; }
5899fi
5900
5901
5902  test -n "$ac_ct_DUMPBIN" && break
5903done
5904
5905  if test "x$ac_ct_DUMPBIN" = x; then
5906    DUMPBIN=":"
5907  else
5908    case $cross_compiling:$ac_tool_warned in
5909yes:)
5910{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5911$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5912ac_tool_warned=yes ;;
5913esac
5914    DUMPBIN=$ac_ct_DUMPBIN
5915  fi
5916fi
5917
5918    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5919    *COFF*)
5920      DUMPBIN="$DUMPBIN -symbols"
5921      ;;
5922    *)
5923      DUMPBIN=:
5924      ;;
5925    esac
5926  fi
5927
5928  if test "$DUMPBIN" != ":"; then
5929    NM="$DUMPBIN"
5930  fi
5931fi
5932test -z "$NM" && NM=nm
5933
5934
5935
5936
5937
5938
5939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5940$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5941if test "${lt_cv_nm_interface+set}" = set; then :
5942  $as_echo_n "(cached) " >&6
5943else
5944  lt_cv_nm_interface="BSD nm"
5945  echo "int some_variable = 0;" > conftest.$ac_ext
5946  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5947  (eval "$ac_compile" 2>conftest.err)
5948  cat conftest.err >&5
5949  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5950  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5951  cat conftest.err >&5
5952  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5953  cat conftest.out >&5
5954  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5955    lt_cv_nm_interface="MS dumpbin"
5956  fi
5957  rm -f conftest*
5958fi
5959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5960$as_echo "$lt_cv_nm_interface" >&6; }
5961
5962# find the maximum length of command line arguments
5963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5964$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5965if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5966  $as_echo_n "(cached) " >&6
5967else
5968    i=0
5969  teststring="ABCD"
5970
5971  case $build_os in
5972  msdosdjgpp*)
5973    # On DJGPP, this test can blow up pretty badly due to problems in libc
5974    # (any single argument exceeding 2000 bytes causes a buffer overrun
5975    # during glob expansion).  Even if it were fixed, the result of this
5976    # check would be larger than it should be.
5977    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5978    ;;
5979
5980  gnu*)
5981    # Under GNU Hurd, this test is not required because there is
5982    # no limit to the length of command line arguments.
5983    # Libtool will interpret -1 as no limit whatsoever
5984    lt_cv_sys_max_cmd_len=-1;
5985    ;;
5986
5987  cygwin* | mingw* | cegcc*)
5988    # On Win9x/ME, this test blows up -- it succeeds, but takes
5989    # about 5 minutes as the teststring grows exponentially.
5990    # Worse, since 9x/ME are not pre-emptively multitasking,
5991    # you end up with a "frozen" computer, even though with patience
5992    # the test eventually succeeds (with a max line length of 256k).
5993    # Instead, let's just punt: use the minimum linelength reported by
5994    # all of the supported platforms: 8192 (on NT/2K/XP).
5995    lt_cv_sys_max_cmd_len=8192;
5996    ;;
5997
5998  mint*)
5999    # On MiNT this can take a long time and run out of memory.
6000    lt_cv_sys_max_cmd_len=8192;
6001    ;;
6002
6003  amigaos*)
6004    # On AmigaOS with pdksh, this test takes hours, literally.
6005    # So we just punt and use a minimum line length of 8192.
6006    lt_cv_sys_max_cmd_len=8192;
6007    ;;
6008
6009  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6010    # This has been around since 386BSD, at least.  Likely further.
6011    if test -x /sbin/sysctl; then
6012      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6013    elif test -x /usr/sbin/sysctl; then
6014      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6015    else
6016      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6017    fi
6018    # And add a safety zone
6019    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6020    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6021    ;;
6022
6023  interix*)
6024    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6025    lt_cv_sys_max_cmd_len=196608
6026    ;;
6027
6028  osf*)
6029    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6030    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6031    # nice to cause kernel panics so lets avoid the loop below.
6032    # First set a reasonable default.
6033    lt_cv_sys_max_cmd_len=16384
6034    #
6035    if test -x /sbin/sysconfig; then
6036      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6037        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6038      esac
6039    fi
6040    ;;
6041  sco3.2v5*)
6042    lt_cv_sys_max_cmd_len=102400
6043    ;;
6044  sysv5* | sco5v6* | sysv4.2uw2*)
6045    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6046    if test -n "$kargmax"; then
6047      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6048    else
6049      lt_cv_sys_max_cmd_len=32768
6050    fi
6051    ;;
6052  *)
6053    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6054    if test -n "$lt_cv_sys_max_cmd_len"; then
6055      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6056      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6057    else
6058      # Make teststring a little bigger before we do anything with it.
6059      # a 1K string should be a reasonable start.
6060      for i in 1 2 3 4 5 6 7 8 ; do
6061        teststring=$teststring$teststring
6062      done
6063      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6064      # If test is not a shell built-in, we'll probably end up computing a
6065      # maximum length that is only half of the actual maximum length, but
6066      # we can't tell.
6067      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6068	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6069	      test $i != 17 # 1/2 MB should be enough
6070      do
6071        i=`expr $i + 1`
6072        teststring=$teststring$teststring
6073      done
6074      # Only check the string length outside the loop.
6075      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6076      teststring=
6077      # Add a significant safety factor because C++ compilers can tack on
6078      # massive amounts of additional arguments before passing them to the
6079      # linker.  It appears as though 1/2 is a usable value.
6080      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6081    fi
6082    ;;
6083  esac
6084
6085fi
6086
6087if test -n $lt_cv_sys_max_cmd_len ; then
6088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6089$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6090else
6091  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6092$as_echo "none" >&6; }
6093fi
6094max_cmd_len=$lt_cv_sys_max_cmd_len
6095
6096
6097
6098
6099
6100
6101: ${CP="cp -f"}
6102: ${MV="mv -f"}
6103: ${RM="rm -f"}
6104
6105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6106$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6107# Try some XSI features
6108xsi_shell=no
6109( _lt_dummy="a/b/c"
6110  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6111      = c,a/b,, \
6112    && eval 'test $(( 1 + 1 )) -eq 2 \
6113    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6114  && xsi_shell=yes
6115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6116$as_echo "$xsi_shell" >&6; }
6117
6118
6119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6120$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6121lt_shell_append=no
6122( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6123    >/dev/null 2>&1 \
6124  && lt_shell_append=yes
6125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6126$as_echo "$lt_shell_append" >&6; }
6127
6128
6129if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6130  lt_unset=unset
6131else
6132  lt_unset=false
6133fi
6134
6135
6136
6137
6138
6139# test EBCDIC or ASCII
6140case `echo X|tr X '\101'` in
6141 A) # ASCII based system
6142    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6143  lt_SP2NL='tr \040 \012'
6144  lt_NL2SP='tr \015\012 \040\040'
6145  ;;
6146 *) # EBCDIC based system
6147  lt_SP2NL='tr \100 \n'
6148  lt_NL2SP='tr \r\n \100\100'
6149  ;;
6150esac
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6161$as_echo_n "checking for $LD option to reload object files... " >&6; }
6162if test "${lt_cv_ld_reload_flag+set}" = set; then :
6163  $as_echo_n "(cached) " >&6
6164else
6165  lt_cv_ld_reload_flag='-r'
6166fi
6167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6168$as_echo "$lt_cv_ld_reload_flag" >&6; }
6169reload_flag=$lt_cv_ld_reload_flag
6170case $reload_flag in
6171"" | " "*) ;;
6172*) reload_flag=" $reload_flag" ;;
6173esac
6174reload_cmds='$LD$reload_flag -o $output$reload_objs'
6175case $host_os in
6176  darwin*)
6177    if test "$GCC" = yes; then
6178      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6179    else
6180      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6181    fi
6182    ;;
6183esac
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193if test -n "$ac_tool_prefix"; then
6194  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6195set dummy ${ac_tool_prefix}objdump; ac_word=$2
6196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6197$as_echo_n "checking for $ac_word... " >&6; }
6198if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6199  $as_echo_n "(cached) " >&6
6200else
6201  if test -n "$OBJDUMP"; then
6202  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6203else
6204as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6205for as_dir in $PATH
6206do
6207  IFS=$as_save_IFS
6208  test -z "$as_dir" && as_dir=.
6209    for ac_exec_ext in '' $ac_executable_extensions; do
6210  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6211    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6212    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6213    break 2
6214  fi
6215done
6216  done
6217IFS=$as_save_IFS
6218
6219fi
6220fi
6221OBJDUMP=$ac_cv_prog_OBJDUMP
6222if test -n "$OBJDUMP"; then
6223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6224$as_echo "$OBJDUMP" >&6; }
6225else
6226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227$as_echo "no" >&6; }
6228fi
6229
6230
6231fi
6232if test -z "$ac_cv_prog_OBJDUMP"; then
6233  ac_ct_OBJDUMP=$OBJDUMP
6234  # Extract the first word of "objdump", so it can be a program name with args.
6235set dummy objdump; ac_word=$2
6236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6237$as_echo_n "checking for $ac_word... " >&6; }
6238if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6239  $as_echo_n "(cached) " >&6
6240else
6241  if test -n "$ac_ct_OBJDUMP"; then
6242  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6243else
6244as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6245for as_dir in $PATH
6246do
6247  IFS=$as_save_IFS
6248  test -z "$as_dir" && as_dir=.
6249    for ac_exec_ext in '' $ac_executable_extensions; do
6250  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6251    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6252    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6253    break 2
6254  fi
6255done
6256  done
6257IFS=$as_save_IFS
6258
6259fi
6260fi
6261ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6262if test -n "$ac_ct_OBJDUMP"; then
6263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6264$as_echo "$ac_ct_OBJDUMP" >&6; }
6265else
6266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6267$as_echo "no" >&6; }
6268fi
6269
6270  if test "x$ac_ct_OBJDUMP" = x; then
6271    OBJDUMP="false"
6272  else
6273    case $cross_compiling:$ac_tool_warned in
6274yes:)
6275{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6276$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6277ac_tool_warned=yes ;;
6278esac
6279    OBJDUMP=$ac_ct_OBJDUMP
6280  fi
6281else
6282  OBJDUMP="$ac_cv_prog_OBJDUMP"
6283fi
6284
6285test -z "$OBJDUMP" && OBJDUMP=objdump
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6296$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6297if test "${lt_cv_deplibs_check_method+set}" = set; then :
6298  $as_echo_n "(cached) " >&6
6299else
6300  lt_cv_file_magic_cmd='$MAGIC_CMD'
6301lt_cv_file_magic_test_file=
6302lt_cv_deplibs_check_method='unknown'
6303# Need to set the preceding variable on all platforms that support
6304# interlibrary dependencies.
6305# 'none' -- dependencies not supported.
6306# `unknown' -- same as none, but documents that we really don't know.
6307# 'pass_all' -- all dependencies passed with no checks.
6308# 'test_compile' -- check by making test program.
6309# 'file_magic [[regex]]' -- check by looking for files in library path
6310# which responds to the $file_magic_cmd with a given extended regex.
6311# If you have `file' or equivalent on your system and you're not sure
6312# whether `pass_all' will *always* work, you probably want this one.
6313
6314case $host_os in
6315aix[4-9]*)
6316  lt_cv_deplibs_check_method=pass_all
6317  ;;
6318
6319beos*)
6320  lt_cv_deplibs_check_method=pass_all
6321  ;;
6322
6323bsdi[45]*)
6324  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6325  lt_cv_file_magic_cmd='/usr/bin/file -L'
6326  lt_cv_file_magic_test_file=/shlib/libc.so
6327  ;;
6328
6329cygwin*)
6330  # func_win32_libid is a shell function defined in ltmain.sh
6331  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6332  lt_cv_file_magic_cmd='func_win32_libid'
6333  ;;
6334
6335mingw* | pw32*)
6336  # Base MSYS/MinGW do not provide the 'file' command needed by
6337  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6338  # unless we find 'file', for example because we are cross-compiling.
6339  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6340  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6341    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6342    lt_cv_file_magic_cmd='func_win32_libid'
6343  else
6344    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6345    lt_cv_file_magic_cmd='$OBJDUMP -f'
6346  fi
6347  ;;
6348
6349cegcc*)
6350  # use the weaker test based on 'objdump'. See mingw*.
6351  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6352  lt_cv_file_magic_cmd='$OBJDUMP -f'
6353  ;;
6354
6355darwin* | rhapsody*)
6356  lt_cv_deplibs_check_method=pass_all
6357  ;;
6358
6359freebsd* | dragonfly*)
6360  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6361    case $host_cpu in
6362    i*86 )
6363      # Not sure whether the presence of OpenBSD here was a mistake.
6364      # Let's accept both of them until this is cleared up.
6365      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6366      lt_cv_file_magic_cmd=/usr/bin/file
6367      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6368      ;;
6369    esac
6370  else
6371    lt_cv_deplibs_check_method=pass_all
6372  fi
6373  ;;
6374
6375gnu*)
6376  lt_cv_deplibs_check_method=pass_all
6377  ;;
6378
6379haiku*)
6380  lt_cv_deplibs_check_method=pass_all
6381  ;;
6382
6383hpux10.20* | hpux11*)
6384  lt_cv_file_magic_cmd=/usr/bin/file
6385  case $host_cpu in
6386  ia64*)
6387    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6388    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6389    ;;
6390  hppa*64*)
6391    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]'
6392    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6393    ;;
6394  *)
6395    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6396    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6397    ;;
6398  esac
6399  ;;
6400
6401interix[3-9]*)
6402  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6403  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6404  ;;
6405
6406irix5* | irix6* | nonstopux*)
6407  case $LD in
6408  *-32|*"-32 ") libmagic=32-bit;;
6409  *-n32|*"-n32 ") libmagic=N32;;
6410  *-64|*"-64 ") libmagic=64-bit;;
6411  *) libmagic=never-match;;
6412  esac
6413  lt_cv_deplibs_check_method=pass_all
6414  ;;
6415
6416# This must be Linux ELF.
6417linux* | k*bsd*-gnu | kopensolaris*-gnu)
6418  lt_cv_deplibs_check_method=pass_all
6419  ;;
6420
6421netbsd*)
6422  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6423    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6424  else
6425    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6426  fi
6427  ;;
6428
6429newos6*)
6430  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6431  lt_cv_file_magic_cmd=/usr/bin/file
6432  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6433  ;;
6434
6435*nto* | *qnx*)
6436  lt_cv_deplibs_check_method=pass_all
6437  ;;
6438
6439openbsd*)
6440  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6441    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6442  else
6443    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6444  fi
6445  ;;
6446
6447osf3* | osf4* | osf5*)
6448  lt_cv_deplibs_check_method=pass_all
6449  ;;
6450
6451rdos*)
6452  lt_cv_deplibs_check_method=pass_all
6453  ;;
6454
6455solaris*)
6456  lt_cv_deplibs_check_method=pass_all
6457  ;;
6458
6459sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6460  lt_cv_deplibs_check_method=pass_all
6461  ;;
6462
6463sysv4 | sysv4.3*)
6464  case $host_vendor in
6465  motorola)
6466    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]'
6467    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6468    ;;
6469  ncr)
6470    lt_cv_deplibs_check_method=pass_all
6471    ;;
6472  sequent)
6473    lt_cv_file_magic_cmd='/bin/file'
6474    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6475    ;;
6476  sni)
6477    lt_cv_file_magic_cmd='/bin/file'
6478    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6479    lt_cv_file_magic_test_file=/lib/libc.so
6480    ;;
6481  siemens)
6482    lt_cv_deplibs_check_method=pass_all
6483    ;;
6484  pc)
6485    lt_cv_deplibs_check_method=pass_all
6486    ;;
6487  esac
6488  ;;
6489
6490tpf*)
6491  lt_cv_deplibs_check_method=pass_all
6492  ;;
6493esac
6494
6495fi
6496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6497$as_echo "$lt_cv_deplibs_check_method" >&6; }
6498file_magic_cmd=$lt_cv_file_magic_cmd
6499deplibs_check_method=$lt_cv_deplibs_check_method
6500test -z "$deplibs_check_method" && deplibs_check_method=unknown
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513if test -n "$ac_tool_prefix"; then
6514  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6515set dummy ${ac_tool_prefix}ar; ac_word=$2
6516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6517$as_echo_n "checking for $ac_word... " >&6; }
6518if test "${ac_cv_prog_AR+set}" = set; then :
6519  $as_echo_n "(cached) " >&6
6520else
6521  if test -n "$AR"; then
6522  ac_cv_prog_AR="$AR" # Let the user override the test.
6523else
6524as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6525for as_dir in $PATH
6526do
6527  IFS=$as_save_IFS
6528  test -z "$as_dir" && as_dir=.
6529    for ac_exec_ext in '' $ac_executable_extensions; do
6530  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6531    ac_cv_prog_AR="${ac_tool_prefix}ar"
6532    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6533    break 2
6534  fi
6535done
6536  done
6537IFS=$as_save_IFS
6538
6539fi
6540fi
6541AR=$ac_cv_prog_AR
6542if test -n "$AR"; then
6543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6544$as_echo "$AR" >&6; }
6545else
6546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6547$as_echo "no" >&6; }
6548fi
6549
6550
6551fi
6552if test -z "$ac_cv_prog_AR"; then
6553  ac_ct_AR=$AR
6554  # Extract the first word of "ar", so it can be a program name with args.
6555set dummy ar; ac_word=$2
6556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6557$as_echo_n "checking for $ac_word... " >&6; }
6558if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6559  $as_echo_n "(cached) " >&6
6560else
6561  if test -n "$ac_ct_AR"; then
6562  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6563else
6564as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6565for as_dir in $PATH
6566do
6567  IFS=$as_save_IFS
6568  test -z "$as_dir" && as_dir=.
6569    for ac_exec_ext in '' $ac_executable_extensions; do
6570  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6571    ac_cv_prog_ac_ct_AR="ar"
6572    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6573    break 2
6574  fi
6575done
6576  done
6577IFS=$as_save_IFS
6578
6579fi
6580fi
6581ac_ct_AR=$ac_cv_prog_ac_ct_AR
6582if test -n "$ac_ct_AR"; then
6583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6584$as_echo "$ac_ct_AR" >&6; }
6585else
6586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6587$as_echo "no" >&6; }
6588fi
6589
6590  if test "x$ac_ct_AR" = x; then
6591    AR="false"
6592  else
6593    case $cross_compiling:$ac_tool_warned in
6594yes:)
6595{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6596$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6597ac_tool_warned=yes ;;
6598esac
6599    AR=$ac_ct_AR
6600  fi
6601else
6602  AR="$ac_cv_prog_AR"
6603fi
6604
6605test -z "$AR" && AR=ar
6606test -z "$AR_FLAGS" && AR_FLAGS=cru
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618if test -n "$ac_tool_prefix"; then
6619  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6620set dummy ${ac_tool_prefix}strip; ac_word=$2
6621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622$as_echo_n "checking for $ac_word... " >&6; }
6623if test "${ac_cv_prog_STRIP+set}" = set; then :
6624  $as_echo_n "(cached) " >&6
6625else
6626  if test -n "$STRIP"; then
6627  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6628else
6629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630for as_dir in $PATH
6631do
6632  IFS=$as_save_IFS
6633  test -z "$as_dir" && as_dir=.
6634    for ac_exec_ext in '' $ac_executable_extensions; do
6635  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6636    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6637    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638    break 2
6639  fi
6640done
6641  done
6642IFS=$as_save_IFS
6643
6644fi
6645fi
6646STRIP=$ac_cv_prog_STRIP
6647if test -n "$STRIP"; then
6648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6649$as_echo "$STRIP" >&6; }
6650else
6651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652$as_echo "no" >&6; }
6653fi
6654
6655
6656fi
6657if test -z "$ac_cv_prog_STRIP"; then
6658  ac_ct_STRIP=$STRIP
6659  # Extract the first word of "strip", so it can be a program name with args.
6660set dummy strip; ac_word=$2
6661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6662$as_echo_n "checking for $ac_word... " >&6; }
6663if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6664  $as_echo_n "(cached) " >&6
6665else
6666  if test -n "$ac_ct_STRIP"; then
6667  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6668else
6669as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670for as_dir in $PATH
6671do
6672  IFS=$as_save_IFS
6673  test -z "$as_dir" && as_dir=.
6674    for ac_exec_ext in '' $ac_executable_extensions; do
6675  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6676    ac_cv_prog_ac_ct_STRIP="strip"
6677    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6678    break 2
6679  fi
6680done
6681  done
6682IFS=$as_save_IFS
6683
6684fi
6685fi
6686ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6687if test -n "$ac_ct_STRIP"; then
6688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6689$as_echo "$ac_ct_STRIP" >&6; }
6690else
6691  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692$as_echo "no" >&6; }
6693fi
6694
6695  if test "x$ac_ct_STRIP" = x; then
6696    STRIP=":"
6697  else
6698    case $cross_compiling:$ac_tool_warned in
6699yes:)
6700{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6701$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6702ac_tool_warned=yes ;;
6703esac
6704    STRIP=$ac_ct_STRIP
6705  fi
6706else
6707  STRIP="$ac_cv_prog_STRIP"
6708fi
6709
6710test -z "$STRIP" && STRIP=:
6711
6712
6713
6714
6715
6716
6717if test -n "$ac_tool_prefix"; then
6718  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6719set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6721$as_echo_n "checking for $ac_word... " >&6; }
6722if test "${ac_cv_prog_RANLIB+set}" = set; then :
6723  $as_echo_n "(cached) " >&6
6724else
6725  if test -n "$RANLIB"; then
6726  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6727else
6728as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6729for as_dir in $PATH
6730do
6731  IFS=$as_save_IFS
6732  test -z "$as_dir" && as_dir=.
6733    for ac_exec_ext in '' $ac_executable_extensions; do
6734  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6735    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6736    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6737    break 2
6738  fi
6739done
6740  done
6741IFS=$as_save_IFS
6742
6743fi
6744fi
6745RANLIB=$ac_cv_prog_RANLIB
6746if test -n "$RANLIB"; then
6747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6748$as_echo "$RANLIB" >&6; }
6749else
6750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6751$as_echo "no" >&6; }
6752fi
6753
6754
6755fi
6756if test -z "$ac_cv_prog_RANLIB"; then
6757  ac_ct_RANLIB=$RANLIB
6758  # Extract the first word of "ranlib", so it can be a program name with args.
6759set dummy ranlib; ac_word=$2
6760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6761$as_echo_n "checking for $ac_word... " >&6; }
6762if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6763  $as_echo_n "(cached) " >&6
6764else
6765  if test -n "$ac_ct_RANLIB"; then
6766  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6767else
6768as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6769for as_dir in $PATH
6770do
6771  IFS=$as_save_IFS
6772  test -z "$as_dir" && as_dir=.
6773    for ac_exec_ext in '' $ac_executable_extensions; do
6774  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6775    ac_cv_prog_ac_ct_RANLIB="ranlib"
6776    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6777    break 2
6778  fi
6779done
6780  done
6781IFS=$as_save_IFS
6782
6783fi
6784fi
6785ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6786if test -n "$ac_ct_RANLIB"; then
6787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6788$as_echo "$ac_ct_RANLIB" >&6; }
6789else
6790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6791$as_echo "no" >&6; }
6792fi
6793
6794  if test "x$ac_ct_RANLIB" = x; then
6795    RANLIB=":"
6796  else
6797    case $cross_compiling:$ac_tool_warned in
6798yes:)
6799{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6800$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6801ac_tool_warned=yes ;;
6802esac
6803    RANLIB=$ac_ct_RANLIB
6804  fi
6805else
6806  RANLIB="$ac_cv_prog_RANLIB"
6807fi
6808
6809test -z "$RANLIB" && RANLIB=:
6810
6811
6812
6813
6814
6815
6816# Determine commands to create old-style static archives.
6817old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6818old_postinstall_cmds='chmod 644 $oldlib'
6819old_postuninstall_cmds=
6820
6821if test -n "$RANLIB"; then
6822  case $host_os in
6823  openbsd*)
6824    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6825    ;;
6826  *)
6827    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6828    ;;
6829  esac
6830  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6831fi
6832
6833case $host_os in
6834  darwin*)
6835    lock_old_archive_extraction=yes ;;
6836  *)
6837    lock_old_archive_extraction=no ;;
6838esac
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878# If no C compiler was specified, use CC.
6879LTCC=${LTCC-"$CC"}
6880
6881# If no C compiler flags were specified, use CFLAGS.
6882LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6883
6884# Allow CC to be a program name with arguments.
6885compiler=$CC
6886
6887
6888# Check for command to grab the raw symbol name followed by C symbol from nm.
6889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6890$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6891if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6892  $as_echo_n "(cached) " >&6
6893else
6894
6895# These are sane defaults that work on at least a few old systems.
6896# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6897
6898# Character class describing NM global symbol codes.
6899symcode='[BCDEGRST]'
6900
6901# Regexp to match symbols that can be accessed directly from C.
6902sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6903
6904# Define system-specific variables.
6905case $host_os in
6906aix*)
6907  symcode='[BCDT]'
6908  ;;
6909cygwin* | mingw* | pw32* | cegcc*)
6910  symcode='[ABCDGISTW]'
6911  ;;
6912hpux*)
6913  if test "$host_cpu" = ia64; then
6914    symcode='[ABCDEGRST]'
6915  fi
6916  ;;
6917irix* | nonstopux*)
6918  symcode='[BCDEGRST]'
6919  ;;
6920osf*)
6921  symcode='[BCDEGQRST]'
6922  ;;
6923solaris*)
6924  symcode='[BDRT]'
6925  ;;
6926sco3.2v5*)
6927  symcode='[DT]'
6928  ;;
6929sysv4.2uw2*)
6930  symcode='[DT]'
6931  ;;
6932sysv5* | sco5v6* | unixware* | OpenUNIX*)
6933  symcode='[ABDT]'
6934  ;;
6935sysv4)
6936  symcode='[DFNSTU]'
6937  ;;
6938esac
6939
6940# If we're using GNU nm, then use its standard symbol codes.
6941case `$NM -V 2>&1` in
6942*GNU* | *'with BFD'*)
6943  symcode='[ABCDGIRSTW]' ;;
6944esac
6945
6946# Transform an extracted symbol line into a proper C declaration.
6947# Some systems (esp. on ia64) link data and code symbols differently,
6948# so use this general approach.
6949lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6950
6951# Transform an extracted symbol line into symbol name and symbol address
6952lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6953lt_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'"
6954
6955# Handle CRLF in mingw tool chain
6956opt_cr=
6957case $build_os in
6958mingw*)
6959  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6960  ;;
6961esac
6962
6963# Try without a prefix underscore, then with it.
6964for ac_symprfx in "" "_"; do
6965
6966  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6967  symxfrm="\\1 $ac_symprfx\\2 \\2"
6968
6969  # Write the raw and C identifiers.
6970  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6971    # Fake it for dumpbin and say T for any non-static function
6972    # and D for any global variable.
6973    # Also find C++ and __fastcall symbols from MSVC++,
6974    # which start with @ or ?.
6975    lt_cv_sys_global_symbol_pipe="$AWK '"\
6976"     {last_section=section; section=\$ 3};"\
6977"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6978"     \$ 0!~/External *\|/{next};"\
6979"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6980"     {if(hide[section]) next};"\
6981"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6982"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6983"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6984"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6985"     ' prfx=^$ac_symprfx"
6986  else
6987    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6988  fi
6989
6990  # Check to see that the pipe works correctly.
6991  pipe_works=no
6992
6993  rm -f conftest*
6994  cat > conftest.$ac_ext <<_LT_EOF
6995#ifdef __cplusplus
6996extern "C" {
6997#endif
6998char nm_test_var;
6999void nm_test_func(void);
7000void nm_test_func(void){}
7001#ifdef __cplusplus
7002}
7003#endif
7004int main(){nm_test_var='a';nm_test_func();return(0);}
7005_LT_EOF
7006
7007  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7008  (eval $ac_compile) 2>&5
7009  ac_status=$?
7010  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7011  test $ac_status = 0; }; then
7012    # Now try to grab the symbols.
7013    nlist=conftest.nm
7014    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7015  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7016  ac_status=$?
7017  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7018  test $ac_status = 0; } && test -s "$nlist"; then
7019      # Try sorting and uniquifying the output.
7020      if sort "$nlist" | uniq > "$nlist"T; then
7021	mv -f "$nlist"T "$nlist"
7022      else
7023	rm -f "$nlist"T
7024      fi
7025
7026      # Make sure that we snagged all the symbols we need.
7027      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7028	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7029	  cat <<_LT_EOF > conftest.$ac_ext
7030#ifdef __cplusplus
7031extern "C" {
7032#endif
7033
7034_LT_EOF
7035	  # Now generate the symbol file.
7036	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7037
7038	  cat <<_LT_EOF >> conftest.$ac_ext
7039
7040/* The mapping between symbol names and symbols.  */
7041const struct {
7042  const char *name;
7043  void       *address;
7044}
7045lt__PROGRAM__LTX_preloaded_symbols[] =
7046{
7047  { "@PROGRAM@", (void *) 0 },
7048_LT_EOF
7049	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7050	  cat <<\_LT_EOF >> conftest.$ac_ext
7051  {0, (void *) 0}
7052};
7053
7054/* This works around a problem in FreeBSD linker */
7055#ifdef FREEBSD_WORKAROUND
7056static const void *lt_preloaded_setup() {
7057  return lt__PROGRAM__LTX_preloaded_symbols;
7058}
7059#endif
7060
7061#ifdef __cplusplus
7062}
7063#endif
7064_LT_EOF
7065	  # Now try linking the two files.
7066	  mv conftest.$ac_objext conftstm.$ac_objext
7067	  lt_save_LIBS="$LIBS"
7068	  lt_save_CFLAGS="$CFLAGS"
7069	  LIBS="conftstm.$ac_objext"
7070	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7071	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7072  (eval $ac_link) 2>&5
7073  ac_status=$?
7074  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7075  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7076	    pipe_works=yes
7077	  fi
7078	  LIBS="$lt_save_LIBS"
7079	  CFLAGS="$lt_save_CFLAGS"
7080	else
7081	  echo "cannot find nm_test_func in $nlist" >&5
7082	fi
7083      else
7084	echo "cannot find nm_test_var in $nlist" >&5
7085      fi
7086    else
7087      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7088    fi
7089  else
7090    echo "$progname: failed program was:" >&5
7091    cat conftest.$ac_ext >&5
7092  fi
7093  rm -rf conftest* conftst*
7094
7095  # Do not use the global_symbol_pipe unless it works.
7096  if test "$pipe_works" = yes; then
7097    break
7098  else
7099    lt_cv_sys_global_symbol_pipe=
7100  fi
7101done
7102
7103fi
7104
7105if test -z "$lt_cv_sys_global_symbol_pipe"; then
7106  lt_cv_sys_global_symbol_to_cdecl=
7107fi
7108if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7109  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7110$as_echo "failed" >&6; }
7111else
7112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7113$as_echo "ok" >&6; }
7114fi
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137# Check whether --enable-libtool-lock was given.
7138if test "${enable_libtool_lock+set}" = set; then :
7139  enableval=$enable_libtool_lock;
7140fi
7141
7142test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7143
7144# Some flags need to be propagated to the compiler or linker for good
7145# libtool support.
7146case $host in
7147ia64-*-hpux*)
7148  # Find out which ABI we are using.
7149  echo 'int i;' > conftest.$ac_ext
7150  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7151  (eval $ac_compile) 2>&5
7152  ac_status=$?
7153  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7154  test $ac_status = 0; }; then
7155    case `/usr/bin/file conftest.$ac_objext` in
7156      *ELF-32*)
7157	HPUX_IA64_MODE="32"
7158	;;
7159      *ELF-64*)
7160	HPUX_IA64_MODE="64"
7161	;;
7162    esac
7163  fi
7164  rm -rf conftest*
7165  ;;
7166*-*-irix6*)
7167  # Find out which ABI we are using.
7168  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7169  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7170  (eval $ac_compile) 2>&5
7171  ac_status=$?
7172  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7173  test $ac_status = 0; }; then
7174    if test "$lt_cv_prog_gnu_ld" = yes; then
7175      case `/usr/bin/file conftest.$ac_objext` in
7176	*32-bit*)
7177	  LD="${LD-ld} -melf32bsmip"
7178	  ;;
7179	*N32*)
7180	  LD="${LD-ld} -melf32bmipn32"
7181	  ;;
7182	*64-bit*)
7183	  LD="${LD-ld} -melf64bmip"
7184	;;
7185      esac
7186    else
7187      case `/usr/bin/file conftest.$ac_objext` in
7188	*32-bit*)
7189	  LD="${LD-ld} -32"
7190	  ;;
7191	*N32*)
7192	  LD="${LD-ld} -n32"
7193	  ;;
7194	*64-bit*)
7195	  LD="${LD-ld} -64"
7196	  ;;
7197      esac
7198    fi
7199  fi
7200  rm -rf conftest*
7201  ;;
7202
7203x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7204s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7205  # Find out which ABI we are using.
7206  echo 'int i;' > conftest.$ac_ext
7207  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7208  (eval $ac_compile) 2>&5
7209  ac_status=$?
7210  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7211  test $ac_status = 0; }; then
7212    case `/usr/bin/file conftest.o` in
7213      *32-bit*)
7214	case $host in
7215	  x86_64-*kfreebsd*-gnu)
7216	    LD="${LD-ld} -m elf_i386_fbsd"
7217	    ;;
7218	  x86_64-*linux*)
7219	    case `/usr/bin/file conftest.o` in
7220	      *x86-64*)
7221		LD="${LD-ld} -m elf32_x86_64"
7222		;;
7223	      *)
7224		LD="${LD-ld} -m elf_i386"
7225		;;
7226	    esac
7227	    ;;
7228	  powerpc64le-*linux*)
7229	    LD="${LD-ld} -m elf32lppclinux"
7230	    ;;
7231	  powerpc64-*linux*)
7232	    LD="${LD-ld} -m elf32ppclinux"
7233	    ;;
7234	  s390x-*linux*)
7235	    LD="${LD-ld} -m elf_s390"
7236	    ;;
7237	  sparc64-*linux*)
7238	    LD="${LD-ld} -m elf32_sparc"
7239	    ;;
7240	esac
7241	;;
7242      *64-bit*)
7243	case $host in
7244	  x86_64-*kfreebsd*-gnu)
7245	    LD="${LD-ld} -m elf_x86_64_fbsd"
7246	    ;;
7247	  x86_64-*linux*)
7248	    LD="${LD-ld} -m elf_x86_64"
7249	    ;;
7250	  powerpcle-*linux*)
7251	    LD="${LD-ld} -m elf64lppc"
7252	    ;;
7253	  powerpc-*linux*)
7254	    LD="${LD-ld} -m elf64ppc"
7255	    ;;
7256	  s390*-*linux*|s390*-*tpf*)
7257	    LD="${LD-ld} -m elf64_s390"
7258	    ;;
7259	  sparc*-*linux*)
7260	    LD="${LD-ld} -m elf64_sparc"
7261	    ;;
7262	esac
7263	;;
7264    esac
7265  fi
7266  rm -rf conftest*
7267  ;;
7268
7269*-*-sco3.2v5*)
7270  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7271  SAVE_CFLAGS="$CFLAGS"
7272  CFLAGS="$CFLAGS -belf"
7273  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7274$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7275if test "${lt_cv_cc_needs_belf+set}" = set; then :
7276  $as_echo_n "(cached) " >&6
7277else
7278  ac_ext=c
7279ac_cpp='$CPP $CPPFLAGS'
7280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7282ac_compiler_gnu=$ac_cv_c_compiler_gnu
7283
7284     if test x$gcc_no_link = xyes; then
7285  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7286fi
7287cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7288/* end confdefs.h.  */
7289
7290int
7291main ()
7292{
7293
7294  ;
7295  return 0;
7296}
7297_ACEOF
7298if ac_fn_c_try_link "$LINENO"; then :
7299  lt_cv_cc_needs_belf=yes
7300else
7301  lt_cv_cc_needs_belf=no
7302fi
7303rm -f core conftest.err conftest.$ac_objext \
7304    conftest$ac_exeext conftest.$ac_ext
7305     ac_ext=c
7306ac_cpp='$CPP $CPPFLAGS'
7307ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7308ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7309ac_compiler_gnu=$ac_cv_c_compiler_gnu
7310
7311fi
7312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7313$as_echo "$lt_cv_cc_needs_belf" >&6; }
7314  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7315    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7316    CFLAGS="$SAVE_CFLAGS"
7317  fi
7318  ;;
7319sparc*-*solaris*)
7320  # Find out which ABI we are using.
7321  echo 'int i;' > conftest.$ac_ext
7322  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7323  (eval $ac_compile) 2>&5
7324  ac_status=$?
7325  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7326  test $ac_status = 0; }; then
7327    case `/usr/bin/file conftest.o` in
7328    *64-bit*)
7329      case $lt_cv_prog_gnu_ld in
7330      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7331      *)
7332	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7333	  LD="${LD-ld} -64"
7334	fi
7335	;;
7336      esac
7337      ;;
7338    esac
7339  fi
7340  rm -rf conftest*
7341  ;;
7342esac
7343
7344need_locks="$enable_libtool_lock"
7345
7346
7347  case $host_os in
7348    rhapsody* | darwin*)
7349    if test -n "$ac_tool_prefix"; then
7350  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7351set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7353$as_echo_n "checking for $ac_word... " >&6; }
7354if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7355  $as_echo_n "(cached) " >&6
7356else
7357  if test -n "$DSYMUTIL"; then
7358  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7359else
7360as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7361for as_dir in $PATH
7362do
7363  IFS=$as_save_IFS
7364  test -z "$as_dir" && as_dir=.
7365    for ac_exec_ext in '' $ac_executable_extensions; do
7366  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7367    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7368    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7369    break 2
7370  fi
7371done
7372  done
7373IFS=$as_save_IFS
7374
7375fi
7376fi
7377DSYMUTIL=$ac_cv_prog_DSYMUTIL
7378if test -n "$DSYMUTIL"; then
7379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7380$as_echo "$DSYMUTIL" >&6; }
7381else
7382  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7383$as_echo "no" >&6; }
7384fi
7385
7386
7387fi
7388if test -z "$ac_cv_prog_DSYMUTIL"; then
7389  ac_ct_DSYMUTIL=$DSYMUTIL
7390  # Extract the first word of "dsymutil", so it can be a program name with args.
7391set dummy dsymutil; ac_word=$2
7392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7393$as_echo_n "checking for $ac_word... " >&6; }
7394if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7395  $as_echo_n "(cached) " >&6
7396else
7397  if test -n "$ac_ct_DSYMUTIL"; then
7398  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7399else
7400as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7401for as_dir in $PATH
7402do
7403  IFS=$as_save_IFS
7404  test -z "$as_dir" && as_dir=.
7405    for ac_exec_ext in '' $ac_executable_extensions; do
7406  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7407    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7408    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7409    break 2
7410  fi
7411done
7412  done
7413IFS=$as_save_IFS
7414
7415fi
7416fi
7417ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7418if test -n "$ac_ct_DSYMUTIL"; then
7419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7420$as_echo "$ac_ct_DSYMUTIL" >&6; }
7421else
7422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7423$as_echo "no" >&6; }
7424fi
7425
7426  if test "x$ac_ct_DSYMUTIL" = x; then
7427    DSYMUTIL=":"
7428  else
7429    case $cross_compiling:$ac_tool_warned in
7430yes:)
7431{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7432$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7433ac_tool_warned=yes ;;
7434esac
7435    DSYMUTIL=$ac_ct_DSYMUTIL
7436  fi
7437else
7438  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7439fi
7440
7441    if test -n "$ac_tool_prefix"; then
7442  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7443set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7445$as_echo_n "checking for $ac_word... " >&6; }
7446if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7447  $as_echo_n "(cached) " >&6
7448else
7449  if test -n "$NMEDIT"; then
7450  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7451else
7452as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7453for as_dir in $PATH
7454do
7455  IFS=$as_save_IFS
7456  test -z "$as_dir" && as_dir=.
7457    for ac_exec_ext in '' $ac_executable_extensions; do
7458  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7459    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7460    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7461    break 2
7462  fi
7463done
7464  done
7465IFS=$as_save_IFS
7466
7467fi
7468fi
7469NMEDIT=$ac_cv_prog_NMEDIT
7470if test -n "$NMEDIT"; then
7471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7472$as_echo "$NMEDIT" >&6; }
7473else
7474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7475$as_echo "no" >&6; }
7476fi
7477
7478
7479fi
7480if test -z "$ac_cv_prog_NMEDIT"; then
7481  ac_ct_NMEDIT=$NMEDIT
7482  # Extract the first word of "nmedit", so it can be a program name with args.
7483set dummy nmedit; ac_word=$2
7484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7485$as_echo_n "checking for $ac_word... " >&6; }
7486if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7487  $as_echo_n "(cached) " >&6
7488else
7489  if test -n "$ac_ct_NMEDIT"; then
7490  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7491else
7492as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7493for as_dir in $PATH
7494do
7495  IFS=$as_save_IFS
7496  test -z "$as_dir" && as_dir=.
7497    for ac_exec_ext in '' $ac_executable_extensions; do
7498  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7499    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7500    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7501    break 2
7502  fi
7503done
7504  done
7505IFS=$as_save_IFS
7506
7507fi
7508fi
7509ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7510if test -n "$ac_ct_NMEDIT"; then
7511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7512$as_echo "$ac_ct_NMEDIT" >&6; }
7513else
7514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7515$as_echo "no" >&6; }
7516fi
7517
7518  if test "x$ac_ct_NMEDIT" = x; then
7519    NMEDIT=":"
7520  else
7521    case $cross_compiling:$ac_tool_warned in
7522yes:)
7523{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7524$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7525ac_tool_warned=yes ;;
7526esac
7527    NMEDIT=$ac_ct_NMEDIT
7528  fi
7529else
7530  NMEDIT="$ac_cv_prog_NMEDIT"
7531fi
7532
7533    if test -n "$ac_tool_prefix"; then
7534  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7535set dummy ${ac_tool_prefix}lipo; ac_word=$2
7536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7537$as_echo_n "checking for $ac_word... " >&6; }
7538if test "${ac_cv_prog_LIPO+set}" = set; then :
7539  $as_echo_n "(cached) " >&6
7540else
7541  if test -n "$LIPO"; then
7542  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7543else
7544as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7545for as_dir in $PATH
7546do
7547  IFS=$as_save_IFS
7548  test -z "$as_dir" && as_dir=.
7549    for ac_exec_ext in '' $ac_executable_extensions; do
7550  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7551    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7552    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7553    break 2
7554  fi
7555done
7556  done
7557IFS=$as_save_IFS
7558
7559fi
7560fi
7561LIPO=$ac_cv_prog_LIPO
7562if test -n "$LIPO"; then
7563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7564$as_echo "$LIPO" >&6; }
7565else
7566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7567$as_echo "no" >&6; }
7568fi
7569
7570
7571fi
7572if test -z "$ac_cv_prog_LIPO"; then
7573  ac_ct_LIPO=$LIPO
7574  # Extract the first word of "lipo", so it can be a program name with args.
7575set dummy lipo; ac_word=$2
7576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7577$as_echo_n "checking for $ac_word... " >&6; }
7578if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7579  $as_echo_n "(cached) " >&6
7580else
7581  if test -n "$ac_ct_LIPO"; then
7582  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7583else
7584as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7585for as_dir in $PATH
7586do
7587  IFS=$as_save_IFS
7588  test -z "$as_dir" && as_dir=.
7589    for ac_exec_ext in '' $ac_executable_extensions; do
7590  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7591    ac_cv_prog_ac_ct_LIPO="lipo"
7592    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7593    break 2
7594  fi
7595done
7596  done
7597IFS=$as_save_IFS
7598
7599fi
7600fi
7601ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7602if test -n "$ac_ct_LIPO"; then
7603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7604$as_echo "$ac_ct_LIPO" >&6; }
7605else
7606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7607$as_echo "no" >&6; }
7608fi
7609
7610  if test "x$ac_ct_LIPO" = x; then
7611    LIPO=":"
7612  else
7613    case $cross_compiling:$ac_tool_warned in
7614yes:)
7615{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7616$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7617ac_tool_warned=yes ;;
7618esac
7619    LIPO=$ac_ct_LIPO
7620  fi
7621else
7622  LIPO="$ac_cv_prog_LIPO"
7623fi
7624
7625    if test -n "$ac_tool_prefix"; then
7626  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7627set dummy ${ac_tool_prefix}otool; ac_word=$2
7628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7629$as_echo_n "checking for $ac_word... " >&6; }
7630if test "${ac_cv_prog_OTOOL+set}" = set; then :
7631  $as_echo_n "(cached) " >&6
7632else
7633  if test -n "$OTOOL"; then
7634  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7635else
7636as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7637for as_dir in $PATH
7638do
7639  IFS=$as_save_IFS
7640  test -z "$as_dir" && as_dir=.
7641    for ac_exec_ext in '' $ac_executable_extensions; do
7642  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7643    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7644    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7645    break 2
7646  fi
7647done
7648  done
7649IFS=$as_save_IFS
7650
7651fi
7652fi
7653OTOOL=$ac_cv_prog_OTOOL
7654if test -n "$OTOOL"; then
7655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7656$as_echo "$OTOOL" >&6; }
7657else
7658  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7659$as_echo "no" >&6; }
7660fi
7661
7662
7663fi
7664if test -z "$ac_cv_prog_OTOOL"; then
7665  ac_ct_OTOOL=$OTOOL
7666  # Extract the first word of "otool", so it can be a program name with args.
7667set dummy otool; ac_word=$2
7668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7669$as_echo_n "checking for $ac_word... " >&6; }
7670if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7671  $as_echo_n "(cached) " >&6
7672else
7673  if test -n "$ac_ct_OTOOL"; then
7674  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7675else
7676as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7677for as_dir in $PATH
7678do
7679  IFS=$as_save_IFS
7680  test -z "$as_dir" && as_dir=.
7681    for ac_exec_ext in '' $ac_executable_extensions; do
7682  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7683    ac_cv_prog_ac_ct_OTOOL="otool"
7684    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7685    break 2
7686  fi
7687done
7688  done
7689IFS=$as_save_IFS
7690
7691fi
7692fi
7693ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7694if test -n "$ac_ct_OTOOL"; then
7695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7696$as_echo "$ac_ct_OTOOL" >&6; }
7697else
7698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7699$as_echo "no" >&6; }
7700fi
7701
7702  if test "x$ac_ct_OTOOL" = x; then
7703    OTOOL=":"
7704  else
7705    case $cross_compiling:$ac_tool_warned in
7706yes:)
7707{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7708$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7709ac_tool_warned=yes ;;
7710esac
7711    OTOOL=$ac_ct_OTOOL
7712  fi
7713else
7714  OTOOL="$ac_cv_prog_OTOOL"
7715fi
7716
7717    if test -n "$ac_tool_prefix"; then
7718  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7719set dummy ${ac_tool_prefix}otool64; ac_word=$2
7720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7721$as_echo_n "checking for $ac_word... " >&6; }
7722if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7723  $as_echo_n "(cached) " >&6
7724else
7725  if test -n "$OTOOL64"; then
7726  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7727else
7728as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7729for as_dir in $PATH
7730do
7731  IFS=$as_save_IFS
7732  test -z "$as_dir" && as_dir=.
7733    for ac_exec_ext in '' $ac_executable_extensions; do
7734  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7735    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7736    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7737    break 2
7738  fi
7739done
7740  done
7741IFS=$as_save_IFS
7742
7743fi
7744fi
7745OTOOL64=$ac_cv_prog_OTOOL64
7746if test -n "$OTOOL64"; then
7747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7748$as_echo "$OTOOL64" >&6; }
7749else
7750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7751$as_echo "no" >&6; }
7752fi
7753
7754
7755fi
7756if test -z "$ac_cv_prog_OTOOL64"; then
7757  ac_ct_OTOOL64=$OTOOL64
7758  # Extract the first word of "otool64", so it can be a program name with args.
7759set dummy otool64; ac_word=$2
7760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7761$as_echo_n "checking for $ac_word... " >&6; }
7762if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7763  $as_echo_n "(cached) " >&6
7764else
7765  if test -n "$ac_ct_OTOOL64"; then
7766  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7767else
7768as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7769for as_dir in $PATH
7770do
7771  IFS=$as_save_IFS
7772  test -z "$as_dir" && as_dir=.
7773    for ac_exec_ext in '' $ac_executable_extensions; do
7774  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7775    ac_cv_prog_ac_ct_OTOOL64="otool64"
7776    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7777    break 2
7778  fi
7779done
7780  done
7781IFS=$as_save_IFS
7782
7783fi
7784fi
7785ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7786if test -n "$ac_ct_OTOOL64"; then
7787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7788$as_echo "$ac_ct_OTOOL64" >&6; }
7789else
7790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7791$as_echo "no" >&6; }
7792fi
7793
7794  if test "x$ac_ct_OTOOL64" = x; then
7795    OTOOL64=":"
7796  else
7797    case $cross_compiling:$ac_tool_warned in
7798yes:)
7799{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7800$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7801ac_tool_warned=yes ;;
7802esac
7803    OTOOL64=$ac_ct_OTOOL64
7804  fi
7805else
7806  OTOOL64="$ac_cv_prog_OTOOL64"
7807fi
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7836$as_echo_n "checking for -single_module linker flag... " >&6; }
7837if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7838  $as_echo_n "(cached) " >&6
7839else
7840  lt_cv_apple_cc_single_mod=no
7841      if test -z "${LT_MULTI_MODULE}"; then
7842	# By default we will add the -single_module flag. You can override
7843	# by either setting the environment variable LT_MULTI_MODULE
7844	# non-empty at configure time, or by adding -multi_module to the
7845	# link flags.
7846	rm -rf libconftest.dylib*
7847	echo "int foo(void){return 1;}" > conftest.c
7848	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7849-dynamiclib -Wl,-single_module conftest.c" >&5
7850	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7851	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7852        _lt_result=$?
7853	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7854	  lt_cv_apple_cc_single_mod=yes
7855	else
7856	  cat conftest.err >&5
7857	fi
7858	rm -rf libconftest.dylib*
7859	rm -f conftest.*
7860      fi
7861fi
7862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7863$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7864    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7865$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7866if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7867  $as_echo_n "(cached) " >&6
7868else
7869  lt_cv_ld_exported_symbols_list=no
7870      save_LDFLAGS=$LDFLAGS
7871      echo "_main" > conftest.sym
7872      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7873      if test x$gcc_no_link = xyes; then
7874  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7875fi
7876cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7877/* end confdefs.h.  */
7878
7879int
7880main ()
7881{
7882
7883  ;
7884  return 0;
7885}
7886_ACEOF
7887if ac_fn_c_try_link "$LINENO"; then :
7888  lt_cv_ld_exported_symbols_list=yes
7889else
7890  lt_cv_ld_exported_symbols_list=no
7891fi
7892rm -f core conftest.err conftest.$ac_objext \
7893    conftest$ac_exeext conftest.$ac_ext
7894	LDFLAGS="$save_LDFLAGS"
7895
7896fi
7897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7898$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7899    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7900$as_echo_n "checking for -force_load linker flag... " >&6; }
7901if test "${lt_cv_ld_force_load+set}" = set; then :
7902  $as_echo_n "(cached) " >&6
7903else
7904  lt_cv_ld_force_load=no
7905      cat > conftest.c << _LT_EOF
7906int forced_loaded() { return 2;}
7907_LT_EOF
7908      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7909      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7910      echo "$AR cru libconftest.a conftest.o" >&5
7911      $AR cru libconftest.a conftest.o 2>&5
7912      cat > conftest.c << _LT_EOF
7913int main() { return 0;}
7914_LT_EOF
7915      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7916      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7917      _lt_result=$?
7918      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7919	lt_cv_ld_force_load=yes
7920      else
7921	cat conftest.err >&5
7922      fi
7923        rm -f conftest.err libconftest.a conftest conftest.c
7924        rm -rf conftest.dSYM
7925
7926fi
7927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7928$as_echo "$lt_cv_ld_force_load" >&6; }
7929    case $host_os in
7930    rhapsody* | darwin1.[012])
7931      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7932    darwin1.*)
7933      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7934    darwin*) # darwin 5.x on
7935      # if running on 10.5 or later, the deployment target defaults
7936      # to the OS version, if on x86, and 10.4, the deployment
7937      # target defaults to 10.4. Don't you love it?
7938      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7939	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7940	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7941	10.[012][,.]*)
7942	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7943	10.*)
7944	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7945      esac
7946    ;;
7947  esac
7948    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7949      _lt_dar_single_mod='$single_module'
7950    fi
7951    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7952      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7953    else
7954      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7955    fi
7956    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7957      _lt_dsymutil='~$DSYMUTIL $lib || :'
7958    else
7959      _lt_dsymutil=
7960    fi
7961    ;;
7962  esac
7963
7964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7965$as_echo_n "checking for ANSI C header files... " >&6; }
7966if test "${ac_cv_header_stdc+set}" = set; then :
7967  $as_echo_n "(cached) " >&6
7968else
7969  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7970/* end confdefs.h.  */
7971#include <stdlib.h>
7972#include <stdarg.h>
7973#include <string.h>
7974#include <float.h>
7975
7976int
7977main ()
7978{
7979
7980  ;
7981  return 0;
7982}
7983_ACEOF
7984if ac_fn_c_try_compile "$LINENO"; then :
7985  ac_cv_header_stdc=yes
7986else
7987  ac_cv_header_stdc=no
7988fi
7989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7990
7991if test $ac_cv_header_stdc = yes; then
7992  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7993  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7994/* end confdefs.h.  */
7995#include <string.h>
7996
7997_ACEOF
7998if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7999  $EGREP "memchr" >/dev/null 2>&1; then :
8000
8001else
8002  ac_cv_header_stdc=no
8003fi
8004rm -f conftest*
8005
8006fi
8007
8008if test $ac_cv_header_stdc = yes; then
8009  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8010  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8011/* end confdefs.h.  */
8012#include <stdlib.h>
8013
8014_ACEOF
8015if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8016  $EGREP "free" >/dev/null 2>&1; then :
8017
8018else
8019  ac_cv_header_stdc=no
8020fi
8021rm -f conftest*
8022
8023fi
8024
8025if test $ac_cv_header_stdc = yes; then
8026  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8027  if test "$cross_compiling" = yes; then :
8028  :
8029else
8030  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8031/* end confdefs.h.  */
8032#include <ctype.h>
8033#include <stdlib.h>
8034#if ((' ' & 0x0FF) == 0x020)
8035# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8036# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8037#else
8038# define ISLOWER(c) \
8039		   (('a' <= (c) && (c) <= 'i') \
8040		     || ('j' <= (c) && (c) <= 'r') \
8041		     || ('s' <= (c) && (c) <= 'z'))
8042# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8043#endif
8044
8045#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8046int
8047main ()
8048{
8049  int i;
8050  for (i = 0; i < 256; i++)
8051    if (XOR (islower (i), ISLOWER (i))
8052	|| toupper (i) != TOUPPER (i))
8053      return 2;
8054  return 0;
8055}
8056_ACEOF
8057if ac_fn_c_try_run "$LINENO"; then :
8058
8059else
8060  ac_cv_header_stdc=no
8061fi
8062rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8063  conftest.$ac_objext conftest.beam conftest.$ac_ext
8064fi
8065
8066fi
8067fi
8068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8069$as_echo "$ac_cv_header_stdc" >&6; }
8070if test $ac_cv_header_stdc = yes; then
8071
8072$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8073
8074fi
8075
8076# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8077for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8078		  inttypes.h stdint.h unistd.h
8079do :
8080  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8081ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8082"
8083eval as_val=\$$as_ac_Header
8084   if test "x$as_val" = x""yes; then :
8085  cat >>confdefs.h <<_ACEOF
8086#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8087_ACEOF
8088
8089fi
8090
8091done
8092
8093
8094for ac_header in dlfcn.h
8095do :
8096  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8097"
8098if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8099  cat >>confdefs.h <<_ACEOF
8100#define HAVE_DLFCN_H 1
8101_ACEOF
8102
8103fi
8104
8105done
8106
8107
8108
8109
8110
8111
8112# Set options
8113
8114
8115
8116
8117  enable_win32_dll=no
8118
8119
8120            # Check whether --enable-shared was given.
8121if test "${enable_shared+set}" = set; then :
8122  enableval=$enable_shared; p=${PACKAGE-default}
8123    case $enableval in
8124    yes) enable_shared=yes ;;
8125    no) enable_shared=no ;;
8126    *)
8127      enable_shared=no
8128      # Look at the argument we got.  We use all the common list separators.
8129      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8130      for pkg in $enableval; do
8131	IFS="$lt_save_ifs"
8132	if test "X$pkg" = "X$p"; then
8133	  enable_shared=yes
8134	fi
8135      done
8136      IFS="$lt_save_ifs"
8137      ;;
8138    esac
8139else
8140  enable_shared=yes
8141fi
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151  # Check whether --enable-static was given.
8152if test "${enable_static+set}" = set; then :
8153  enableval=$enable_static; p=${PACKAGE-default}
8154    case $enableval in
8155    yes) enable_static=yes ;;
8156    no) enable_static=no ;;
8157    *)
8158     enable_static=no
8159      # Look at the argument we got.  We use all the common list separators.
8160      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8161      for pkg in $enableval; do
8162	IFS="$lt_save_ifs"
8163	if test "X$pkg" = "X$p"; then
8164	  enable_static=yes
8165	fi
8166      done
8167      IFS="$lt_save_ifs"
8168      ;;
8169    esac
8170else
8171  enable_static=yes
8172fi
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183# Check whether --with-pic was given.
8184if test "${with_pic+set}" = set; then :
8185  withval=$with_pic; pic_mode="$withval"
8186else
8187  pic_mode=default
8188fi
8189
8190
8191test -z "$pic_mode" && pic_mode=default
8192
8193
8194
8195
8196
8197
8198
8199  # Check whether --enable-fast-install was given.
8200if test "${enable_fast_install+set}" = set; then :
8201  enableval=$enable_fast_install; p=${PACKAGE-default}
8202    case $enableval in
8203    yes) enable_fast_install=yes ;;
8204    no) enable_fast_install=no ;;
8205    *)
8206      enable_fast_install=no
8207      # Look at the argument we got.  We use all the common list separators.
8208      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8209      for pkg in $enableval; do
8210	IFS="$lt_save_ifs"
8211	if test "X$pkg" = "X$p"; then
8212	  enable_fast_install=yes
8213	fi
8214      done
8215      IFS="$lt_save_ifs"
8216      ;;
8217    esac
8218else
8219  enable_fast_install=yes
8220fi
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232# This can be used to rebuild libtool when needed
8233LIBTOOL_DEPS="$ltmain"
8234
8235# Always use our own libtool.
8236LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263test -z "$LN_S" && LN_S="ln -s"
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278if test -n "${ZSH_VERSION+set}" ; then
8279   setopt NO_GLOB_SUBST
8280fi
8281
8282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8283$as_echo_n "checking for objdir... " >&6; }
8284if test "${lt_cv_objdir+set}" = set; then :
8285  $as_echo_n "(cached) " >&6
8286else
8287  rm -f .libs 2>/dev/null
8288mkdir .libs 2>/dev/null
8289if test -d .libs; then
8290  lt_cv_objdir=.libs
8291else
8292  # MS-DOS does not allow filenames that begin with a dot.
8293  lt_cv_objdir=_libs
8294fi
8295rmdir .libs 2>/dev/null
8296fi
8297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8298$as_echo "$lt_cv_objdir" >&6; }
8299objdir=$lt_cv_objdir
8300
8301
8302
8303
8304
8305cat >>confdefs.h <<_ACEOF
8306#define LT_OBJDIR "$lt_cv_objdir/"
8307_ACEOF
8308
8309
8310
8311
8312case $host_os in
8313aix3*)
8314  # AIX sometimes has problems with the GCC collect2 program.  For some
8315  # reason, if we set the COLLECT_NAMES environment variable, the problems
8316  # vanish in a puff of smoke.
8317  if test "X${COLLECT_NAMES+set}" != Xset; then
8318    COLLECT_NAMES=
8319    export COLLECT_NAMES
8320  fi
8321  ;;
8322esac
8323
8324# Global variables:
8325ofile=libtool
8326can_build_shared=yes
8327
8328# All known linkers require a `.a' archive for static linking (except MSVC,
8329# which needs '.lib').
8330libext=a
8331
8332with_gnu_ld="$lt_cv_prog_gnu_ld"
8333
8334old_CC="$CC"
8335old_CFLAGS="$CFLAGS"
8336
8337# Set sane defaults for various variables
8338test -z "$CC" && CC=cc
8339test -z "$LTCC" && LTCC=$CC
8340test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8341test -z "$LD" && LD=ld
8342test -z "$ac_objext" && ac_objext=o
8343
8344for cc_temp in $compiler""; do
8345  case $cc_temp in
8346    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8347    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8348    \-*) ;;
8349    *) break;;
8350  esac
8351done
8352cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8353
8354
8355# Only perform the check for file, if the check method requires it
8356test -z "$MAGIC_CMD" && MAGIC_CMD=file
8357case $deplibs_check_method in
8358file_magic*)
8359  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8360    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8361$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8362if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8363  $as_echo_n "(cached) " >&6
8364else
8365  case $MAGIC_CMD in
8366[\\/*] |  ?:[\\/]*)
8367  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8368  ;;
8369*)
8370  lt_save_MAGIC_CMD="$MAGIC_CMD"
8371  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8372  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8373  for ac_dir in $ac_dummy; do
8374    IFS="$lt_save_ifs"
8375    test -z "$ac_dir" && ac_dir=.
8376    if test -f $ac_dir/${ac_tool_prefix}file; then
8377      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8378      if test -n "$file_magic_test_file"; then
8379	case $deplibs_check_method in
8380	"file_magic "*)
8381	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8382	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8383	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8384	    $EGREP "$file_magic_regex" > /dev/null; then
8385	    :
8386	  else
8387	    cat <<_LT_EOF 1>&2
8388
8389*** Warning: the command libtool uses to detect shared libraries,
8390*** $file_magic_cmd, produces output that libtool cannot recognize.
8391*** The result is that libtool may fail to recognize shared libraries
8392*** as such.  This will affect the creation of libtool libraries that
8393*** depend on shared libraries, but programs linked with such libtool
8394*** libraries will work regardless of this problem.  Nevertheless, you
8395*** may want to report the problem to your system manager and/or to
8396*** bug-libtool@gnu.org
8397
8398_LT_EOF
8399	  fi ;;
8400	esac
8401      fi
8402      break
8403    fi
8404  done
8405  IFS="$lt_save_ifs"
8406  MAGIC_CMD="$lt_save_MAGIC_CMD"
8407  ;;
8408esac
8409fi
8410
8411MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8412if test -n "$MAGIC_CMD"; then
8413  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8414$as_echo "$MAGIC_CMD" >&6; }
8415else
8416  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8417$as_echo "no" >&6; }
8418fi
8419
8420
8421
8422
8423
8424if test -z "$lt_cv_path_MAGIC_CMD"; then
8425  if test -n "$ac_tool_prefix"; then
8426    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8427$as_echo_n "checking for file... " >&6; }
8428if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8429  $as_echo_n "(cached) " >&6
8430else
8431  case $MAGIC_CMD in
8432[\\/*] |  ?:[\\/]*)
8433  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8434  ;;
8435*)
8436  lt_save_MAGIC_CMD="$MAGIC_CMD"
8437  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8438  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8439  for ac_dir in $ac_dummy; do
8440    IFS="$lt_save_ifs"
8441    test -z "$ac_dir" && ac_dir=.
8442    if test -f $ac_dir/file; then
8443      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8444      if test -n "$file_magic_test_file"; then
8445	case $deplibs_check_method in
8446	"file_magic "*)
8447	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8448	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8449	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8450	    $EGREP "$file_magic_regex" > /dev/null; then
8451	    :
8452	  else
8453	    cat <<_LT_EOF 1>&2
8454
8455*** Warning: the command libtool uses to detect shared libraries,
8456*** $file_magic_cmd, produces output that libtool cannot recognize.
8457*** The result is that libtool may fail to recognize shared libraries
8458*** as such.  This will affect the creation of libtool libraries that
8459*** depend on shared libraries, but programs linked with such libtool
8460*** libraries will work regardless of this problem.  Nevertheless, you
8461*** may want to report the problem to your system manager and/or to
8462*** bug-libtool@gnu.org
8463
8464_LT_EOF
8465	  fi ;;
8466	esac
8467      fi
8468      break
8469    fi
8470  done
8471  IFS="$lt_save_ifs"
8472  MAGIC_CMD="$lt_save_MAGIC_CMD"
8473  ;;
8474esac
8475fi
8476
8477MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8478if test -n "$MAGIC_CMD"; then
8479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8480$as_echo "$MAGIC_CMD" >&6; }
8481else
8482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8483$as_echo "no" >&6; }
8484fi
8485
8486
8487  else
8488    MAGIC_CMD=:
8489  fi
8490fi
8491
8492  fi
8493  ;;
8494esac
8495
8496# Use C for the default configuration in the libtool script
8497
8498lt_save_CC="$CC"
8499ac_ext=c
8500ac_cpp='$CPP $CPPFLAGS'
8501ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8502ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8503ac_compiler_gnu=$ac_cv_c_compiler_gnu
8504
8505
8506# Source file extension for C test sources.
8507ac_ext=c
8508
8509# Object file extension for compiled C test sources.
8510objext=o
8511objext=$objext
8512
8513# Code to be used in simple compile tests
8514lt_simple_compile_test_code="int some_variable = 0;"
8515
8516# Code to be used in simple link tests
8517lt_simple_link_test_code='int main(){return(0);}'
8518
8519
8520
8521
8522
8523
8524
8525# If no C compiler was specified, use CC.
8526LTCC=${LTCC-"$CC"}
8527
8528# If no C compiler flags were specified, use CFLAGS.
8529LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8530
8531# Allow CC to be a program name with arguments.
8532compiler=$CC
8533
8534# Save the default compiler, since it gets overwritten when the other
8535# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8536compiler_DEFAULT=$CC
8537
8538# save warnings/boilerplate of simple test code
8539ac_outfile=conftest.$ac_objext
8540echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8541eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8542_lt_compiler_boilerplate=`cat conftest.err`
8543$RM conftest*
8544
8545ac_outfile=conftest.$ac_objext
8546echo "$lt_simple_link_test_code" >conftest.$ac_ext
8547eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8548_lt_linker_boilerplate=`cat conftest.err`
8549$RM -r conftest*
8550
8551
8552## CAVEAT EMPTOR:
8553## There is no encapsulation within the following macros, do not change
8554## the running order or otherwise move them around unless you know exactly
8555## what you are doing...
8556if test -n "$compiler"; then
8557
8558lt_prog_compiler_no_builtin_flag=
8559
8560if test "$GCC" = yes; then
8561  case $cc_basename in
8562  nvcc*)
8563    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8564  *)
8565    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8566  esac
8567
8568  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8569$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8570if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8571  $as_echo_n "(cached) " >&6
8572else
8573  lt_cv_prog_compiler_rtti_exceptions=no
8574   ac_outfile=conftest.$ac_objext
8575   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8576   lt_compiler_flag="-fno-rtti -fno-exceptions"
8577   # Insert the option either (1) after the last *FLAGS variable, or
8578   # (2) before a word containing "conftest.", or (3) at the end.
8579   # Note that $ac_compile itself does not contain backslashes and begins
8580   # with a dollar sign (not a hyphen), so the echo should work correctly.
8581   # The option is referenced via a variable to avoid confusing sed.
8582   lt_compile=`echo "$ac_compile" | $SED \
8583   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8584   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8585   -e 's:$: $lt_compiler_flag:'`
8586   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8587   (eval "$lt_compile" 2>conftest.err)
8588   ac_status=$?
8589   cat conftest.err >&5
8590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8591   if (exit $ac_status) && test -s "$ac_outfile"; then
8592     # The compiler can only warn and ignore the option if not recognized
8593     # So say no if there are warnings other than the usual output.
8594     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8595     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8596     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8597       lt_cv_prog_compiler_rtti_exceptions=yes
8598     fi
8599   fi
8600   $RM conftest*
8601
8602fi
8603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8604$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8605
8606if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8607    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8608else
8609    :
8610fi
8611
8612fi
8613
8614
8615
8616
8617
8618
8619  lt_prog_compiler_wl=
8620lt_prog_compiler_pic=
8621lt_prog_compiler_static=
8622
8623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8624$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8625
8626  if test "$GCC" = yes; then
8627    lt_prog_compiler_wl='-Wl,'
8628    lt_prog_compiler_static='-static'
8629
8630    case $host_os in
8631      aix*)
8632      # All AIX code is PIC.
8633      if test "$host_cpu" = ia64; then
8634	# AIX 5 now supports IA64 processor
8635	lt_prog_compiler_static='-Bstatic'
8636      fi
8637      lt_prog_compiler_pic='-fPIC'
8638      ;;
8639
8640    amigaos*)
8641      case $host_cpu in
8642      powerpc)
8643            # see comment about AmigaOS4 .so support
8644            lt_prog_compiler_pic='-fPIC'
8645        ;;
8646      m68k)
8647            # FIXME: we need at least 68020 code to build shared libraries, but
8648            # adding the `-m68020' flag to GCC prevents building anything better,
8649            # like `-m68040'.
8650            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8651        ;;
8652      esac
8653      ;;
8654
8655    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8656      # PIC is the default for these OSes.
8657      ;;
8658
8659    mingw* | cygwin* | pw32* | os2* | cegcc*)
8660      # This hack is so that the source file can tell whether it is being
8661      # built for inclusion in a dll (and should export symbols for example).
8662      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8663      # (--disable-auto-import) libraries
8664      lt_prog_compiler_pic='-DDLL_EXPORT'
8665      ;;
8666
8667    darwin* | rhapsody*)
8668      # PIC is the default on this platform
8669      # Common symbols not allowed in MH_DYLIB files
8670      lt_prog_compiler_pic='-fno-common'
8671      ;;
8672
8673    haiku*)
8674      # PIC is the default for Haiku.
8675      # The "-static" flag exists, but is broken.
8676      lt_prog_compiler_static=
8677      ;;
8678
8679    hpux*)
8680      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8681      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8682      # sets the default TLS model and affects inlining.
8683      case $host_cpu in
8684      hppa*64*)
8685	# +Z the default
8686	;;
8687      *)
8688	lt_prog_compiler_pic='-fPIC'
8689	;;
8690      esac
8691      ;;
8692
8693    interix[3-9]*)
8694      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8695      # Instead, we relocate shared libraries at runtime.
8696      ;;
8697
8698    msdosdjgpp*)
8699      # Just because we use GCC doesn't mean we suddenly get shared libraries
8700      # on systems that don't support them.
8701      lt_prog_compiler_can_build_shared=no
8702      enable_shared=no
8703      ;;
8704
8705    *nto* | *qnx*)
8706      # QNX uses GNU C++, but need to define -shared option too, otherwise
8707      # it will coredump.
8708      lt_prog_compiler_pic='-fPIC -shared'
8709      ;;
8710
8711    sysv4*MP*)
8712      if test -d /usr/nec; then
8713	lt_prog_compiler_pic=-Kconform_pic
8714      fi
8715      ;;
8716
8717    *)
8718      lt_prog_compiler_pic='-fPIC'
8719      ;;
8720    esac
8721
8722    case $cc_basename in
8723    nvcc*) # Cuda Compiler Driver 2.2
8724      lt_prog_compiler_wl='-Xlinker '
8725      lt_prog_compiler_pic='-Xcompiler -fPIC'
8726      ;;
8727    esac
8728  else
8729    # PORTME Check for flag to pass linker flags through the system compiler.
8730    case $host_os in
8731    aix*)
8732      lt_prog_compiler_wl='-Wl,'
8733      if test "$host_cpu" = ia64; then
8734	# AIX 5 now supports IA64 processor
8735	lt_prog_compiler_static='-Bstatic'
8736      else
8737	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8738      fi
8739      ;;
8740
8741    mingw* | cygwin* | pw32* | os2* | cegcc*)
8742      # This hack is so that the source file can tell whether it is being
8743      # built for inclusion in a dll (and should export symbols for example).
8744      lt_prog_compiler_pic='-DDLL_EXPORT'
8745      ;;
8746
8747    hpux9* | hpux10* | hpux11*)
8748      lt_prog_compiler_wl='-Wl,'
8749      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8750      # not for PA HP-UX.
8751      case $host_cpu in
8752      hppa*64*|ia64*)
8753	# +Z the default
8754	;;
8755      *)
8756	lt_prog_compiler_pic='+Z'
8757	;;
8758      esac
8759      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8760      lt_prog_compiler_static='${wl}-a ${wl}archive'
8761      ;;
8762
8763    irix5* | irix6* | nonstopux*)
8764      lt_prog_compiler_wl='-Wl,'
8765      # PIC (with -KPIC) is the default.
8766      lt_prog_compiler_static='-non_shared'
8767      ;;
8768
8769    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8770      case $cc_basename in
8771      # old Intel for x86_64 which still supported -KPIC.
8772      ecc*)
8773	lt_prog_compiler_wl='-Wl,'
8774	lt_prog_compiler_pic='-KPIC'
8775	lt_prog_compiler_static='-static'
8776        ;;
8777      # icc used to be incompatible with GCC.
8778      # ICC 10 doesn't accept -KPIC any more.
8779      icc* | ifort*)
8780	lt_prog_compiler_wl='-Wl,'
8781	lt_prog_compiler_pic='-fPIC'
8782	lt_prog_compiler_static='-static'
8783        ;;
8784      # Lahey Fortran 8.1.
8785      lf95*)
8786	lt_prog_compiler_wl='-Wl,'
8787	lt_prog_compiler_pic='--shared'
8788	lt_prog_compiler_static='--static'
8789	;;
8790      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8791        # Portland Group compilers (*not* the Pentium gcc compiler,
8792	# which looks to be a dead project)
8793	lt_prog_compiler_wl='-Wl,'
8794	lt_prog_compiler_pic='-fpic'
8795	lt_prog_compiler_static='-Bstatic'
8796        ;;
8797      ccc*)
8798        lt_prog_compiler_wl='-Wl,'
8799        # All Alpha code is PIC.
8800        lt_prog_compiler_static='-non_shared'
8801        ;;
8802      xl* | bgxl* | bgf* | mpixl*)
8803	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8804	lt_prog_compiler_wl='-Wl,'
8805	lt_prog_compiler_pic='-qpic'
8806	lt_prog_compiler_static='-qstaticlink'
8807	;;
8808      *)
8809	case `$CC -V 2>&1 | sed 5q` in
8810	*Sun\ F* | *Sun*Fortran*)
8811	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8812	  lt_prog_compiler_pic='-KPIC'
8813	  lt_prog_compiler_static='-Bstatic'
8814	  lt_prog_compiler_wl=''
8815	  ;;
8816	*Sun\ C*)
8817	  # Sun C 5.9
8818	  lt_prog_compiler_pic='-KPIC'
8819	  lt_prog_compiler_static='-Bstatic'
8820	  lt_prog_compiler_wl='-Wl,'
8821	  ;;
8822	esac
8823	;;
8824      esac
8825      ;;
8826
8827    newsos6)
8828      lt_prog_compiler_pic='-KPIC'
8829      lt_prog_compiler_static='-Bstatic'
8830      ;;
8831
8832    *nto* | *qnx*)
8833      # QNX uses GNU C++, but need to define -shared option too, otherwise
8834      # it will coredump.
8835      lt_prog_compiler_pic='-fPIC -shared'
8836      ;;
8837
8838    osf3* | osf4* | osf5*)
8839      lt_prog_compiler_wl='-Wl,'
8840      # All OSF/1 code is PIC.
8841      lt_prog_compiler_static='-non_shared'
8842      ;;
8843
8844    rdos*)
8845      lt_prog_compiler_static='-non_shared'
8846      ;;
8847
8848    solaris*)
8849      lt_prog_compiler_pic='-KPIC'
8850      lt_prog_compiler_static='-Bstatic'
8851      case $cc_basename in
8852      f77* | f90* | f95*)
8853	lt_prog_compiler_wl='-Qoption ld ';;
8854      *)
8855	lt_prog_compiler_wl='-Wl,';;
8856      esac
8857      ;;
8858
8859    sunos4*)
8860      lt_prog_compiler_wl='-Qoption ld '
8861      lt_prog_compiler_pic='-PIC'
8862      lt_prog_compiler_static='-Bstatic'
8863      ;;
8864
8865    sysv4 | sysv4.2uw2* | sysv4.3*)
8866      lt_prog_compiler_wl='-Wl,'
8867      lt_prog_compiler_pic='-KPIC'
8868      lt_prog_compiler_static='-Bstatic'
8869      ;;
8870
8871    sysv4*MP*)
8872      if test -d /usr/nec ;then
8873	lt_prog_compiler_pic='-Kconform_pic'
8874	lt_prog_compiler_static='-Bstatic'
8875      fi
8876      ;;
8877
8878    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8879      lt_prog_compiler_wl='-Wl,'
8880      lt_prog_compiler_pic='-KPIC'
8881      lt_prog_compiler_static='-Bstatic'
8882      ;;
8883
8884    unicos*)
8885      lt_prog_compiler_wl='-Wl,'
8886      lt_prog_compiler_can_build_shared=no
8887      ;;
8888
8889    uts4*)
8890      lt_prog_compiler_pic='-pic'
8891      lt_prog_compiler_static='-Bstatic'
8892      ;;
8893
8894    *)
8895      lt_prog_compiler_can_build_shared=no
8896      ;;
8897    esac
8898  fi
8899
8900case $host_os in
8901  # For platforms which do not support PIC, -DPIC is meaningless:
8902  *djgpp*)
8903    lt_prog_compiler_pic=
8904    ;;
8905  *)
8906    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8907    ;;
8908esac
8909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8910$as_echo "$lt_prog_compiler_pic" >&6; }
8911
8912
8913
8914
8915
8916
8917#
8918# Check to make sure the PIC flag actually works.
8919#
8920if test -n "$lt_prog_compiler_pic"; then
8921  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8922$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8923if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8924  $as_echo_n "(cached) " >&6
8925else
8926  lt_cv_prog_compiler_pic_works=no
8927   ac_outfile=conftest.$ac_objext
8928   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8929   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8930   # Insert the option either (1) after the last *FLAGS variable, or
8931   # (2) before a word containing "conftest.", or (3) at the end.
8932   # Note that $ac_compile itself does not contain backslashes and begins
8933   # with a dollar sign (not a hyphen), so the echo should work correctly.
8934   # The option is referenced via a variable to avoid confusing sed.
8935   lt_compile=`echo "$ac_compile" | $SED \
8936   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8937   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8938   -e 's:$: $lt_compiler_flag:'`
8939   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8940   (eval "$lt_compile" 2>conftest.err)
8941   ac_status=$?
8942   cat conftest.err >&5
8943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944   if (exit $ac_status) && test -s "$ac_outfile"; then
8945     # The compiler can only warn and ignore the option if not recognized
8946     # So say no if there are warnings other than the usual output.
8947     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8948     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8949     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8950       lt_cv_prog_compiler_pic_works=yes
8951     fi
8952   fi
8953   $RM conftest*
8954
8955fi
8956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8957$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8958
8959if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8960    case $lt_prog_compiler_pic in
8961     "" | " "*) ;;
8962     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8963     esac
8964else
8965    lt_prog_compiler_pic=
8966     lt_prog_compiler_can_build_shared=no
8967fi
8968
8969fi
8970
8971
8972
8973
8974
8975
8976#
8977# Check to make sure the static flag actually works.
8978#
8979wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8981$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8982if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8983  $as_echo_n "(cached) " >&6
8984else
8985  lt_cv_prog_compiler_static_works=no
8986   save_LDFLAGS="$LDFLAGS"
8987   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8988   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8989   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8990     # The linker can only warn and ignore the option if not recognized
8991     # So say no if there are warnings
8992     if test -s conftest.err; then
8993       # Append any errors to the config.log.
8994       cat conftest.err 1>&5
8995       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8996       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8997       if diff conftest.exp conftest.er2 >/dev/null; then
8998         lt_cv_prog_compiler_static_works=yes
8999       fi
9000     else
9001       lt_cv_prog_compiler_static_works=yes
9002     fi
9003   fi
9004   $RM -r conftest*
9005   LDFLAGS="$save_LDFLAGS"
9006
9007fi
9008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9009$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9010
9011if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9012    :
9013else
9014    lt_prog_compiler_static=
9015fi
9016
9017
9018
9019
9020
9021
9022
9023  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9024$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9025if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9026  $as_echo_n "(cached) " >&6
9027else
9028  lt_cv_prog_compiler_c_o=no
9029   $RM -r conftest 2>/dev/null
9030   mkdir conftest
9031   cd conftest
9032   mkdir out
9033   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9034
9035   lt_compiler_flag="-o out/conftest2.$ac_objext"
9036   # Insert the option either (1) after the last *FLAGS variable, or
9037   # (2) before a word containing "conftest.", or (3) at the end.
9038   # Note that $ac_compile itself does not contain backslashes and begins
9039   # with a dollar sign (not a hyphen), so the echo should work correctly.
9040   lt_compile=`echo "$ac_compile" | $SED \
9041   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9042   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9043   -e 's:$: $lt_compiler_flag:'`
9044   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9045   (eval "$lt_compile" 2>out/conftest.err)
9046   ac_status=$?
9047   cat out/conftest.err >&5
9048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9050   then
9051     # The compiler can only warn and ignore the option if not recognized
9052     # So say no if there are warnings
9053     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9054     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9055     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9056       lt_cv_prog_compiler_c_o=yes
9057     fi
9058   fi
9059   chmod u+w . 2>&5
9060   $RM conftest*
9061   # SGI C++ compiler will create directory out/ii_files/ for
9062   # template instantiation
9063   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9064   $RM out/* && rmdir out
9065   cd ..
9066   $RM -r conftest
9067   $RM conftest*
9068
9069fi
9070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9071$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9072
9073
9074
9075
9076
9077
9078  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9079$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9080if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9081  $as_echo_n "(cached) " >&6
9082else
9083  lt_cv_prog_compiler_c_o=no
9084   $RM -r conftest 2>/dev/null
9085   mkdir conftest
9086   cd conftest
9087   mkdir out
9088   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9089
9090   lt_compiler_flag="-o out/conftest2.$ac_objext"
9091   # Insert the option either (1) after the last *FLAGS variable, or
9092   # (2) before a word containing "conftest.", or (3) at the end.
9093   # Note that $ac_compile itself does not contain backslashes and begins
9094   # with a dollar sign (not a hyphen), so the echo should work correctly.
9095   lt_compile=`echo "$ac_compile" | $SED \
9096   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9097   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9098   -e 's:$: $lt_compiler_flag:'`
9099   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9100   (eval "$lt_compile" 2>out/conftest.err)
9101   ac_status=$?
9102   cat out/conftest.err >&5
9103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9105   then
9106     # The compiler can only warn and ignore the option if not recognized
9107     # So say no if there are warnings
9108     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9109     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9110     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9111       lt_cv_prog_compiler_c_o=yes
9112     fi
9113   fi
9114   chmod u+w . 2>&5
9115   $RM conftest*
9116   # SGI C++ compiler will create directory out/ii_files/ for
9117   # template instantiation
9118   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9119   $RM out/* && rmdir out
9120   cd ..
9121   $RM -r conftest
9122   $RM conftest*
9123
9124fi
9125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9126$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9127
9128
9129
9130
9131hard_links="nottested"
9132if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9133  # do not overwrite the value of need_locks provided by the user
9134  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9135$as_echo_n "checking if we can lock with hard links... " >&6; }
9136  hard_links=yes
9137  $RM conftest*
9138  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9139  touch conftest.a
9140  ln conftest.a conftest.b 2>&5 || hard_links=no
9141  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9143$as_echo "$hard_links" >&6; }
9144  if test "$hard_links" = no; then
9145    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9146$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9147    need_locks=warn
9148  fi
9149else
9150  need_locks=no
9151fi
9152
9153
9154
9155
9156
9157
9158  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9159$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9160
9161  runpath_var=
9162  allow_undefined_flag=
9163  always_export_symbols=no
9164  archive_cmds=
9165  archive_expsym_cmds=
9166  compiler_needs_object=no
9167  enable_shared_with_static_runtimes=no
9168  export_dynamic_flag_spec=
9169  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9170  hardcode_automatic=no
9171  hardcode_direct=no
9172  hardcode_direct_absolute=no
9173  hardcode_libdir_flag_spec=
9174  hardcode_libdir_flag_spec_ld=
9175  hardcode_libdir_separator=
9176  hardcode_minus_L=no
9177  hardcode_shlibpath_var=unsupported
9178  inherit_rpath=no
9179  link_all_deplibs=unknown
9180  module_cmds=
9181  module_expsym_cmds=
9182  old_archive_from_new_cmds=
9183  old_archive_from_expsyms_cmds=
9184  thread_safe_flag_spec=
9185  whole_archive_flag_spec=
9186  # include_expsyms should be a list of space-separated symbols to be *always*
9187  # included in the symbol list
9188  include_expsyms=
9189  # exclude_expsyms can be an extended regexp of symbols to exclude
9190  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9191  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9192  # as well as any symbol that contains `d'.
9193  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9194  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9195  # platforms (ab)use it in PIC code, but their linkers get confused if
9196  # the symbol is explicitly referenced.  Since portable code cannot
9197  # rely on this symbol name, it's probably fine to never include it in
9198  # preloaded symbol tables.
9199  # Exclude shared library initialization/finalization symbols.
9200  extract_expsyms_cmds=
9201
9202  case $host_os in
9203  cygwin* | mingw* | pw32* | cegcc*)
9204    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9205    # When not using gcc, we currently assume that we are using
9206    # Microsoft Visual C++.
9207    if test "$GCC" != yes; then
9208      with_gnu_ld=no
9209    fi
9210    ;;
9211  interix*)
9212    # we just hope/assume this is gcc and not c89 (= MSVC++)
9213    with_gnu_ld=yes
9214    ;;
9215  openbsd*)
9216    with_gnu_ld=no
9217    ;;
9218  esac
9219
9220  ld_shlibs=yes
9221
9222  # On some targets, GNU ld is compatible enough with the native linker
9223  # that we're better off using the native interface for both.
9224  lt_use_gnu_ld_interface=no
9225  if test "$with_gnu_ld" = yes; then
9226    case $host_os in
9227      aix*)
9228	# The AIX port of GNU ld has always aspired to compatibility
9229	# with the native linker.  However, as the warning in the GNU ld
9230	# block says, versions before 2.19.5* couldn't really create working
9231	# shared libraries, regardless of the interface used.
9232	case `$LD -v 2>&1` in
9233	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9234	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9235	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9236	  *)
9237	    lt_use_gnu_ld_interface=yes
9238	    ;;
9239	esac
9240	;;
9241      *)
9242	lt_use_gnu_ld_interface=yes
9243	;;
9244    esac
9245  fi
9246
9247  if test "$lt_use_gnu_ld_interface" = yes; then
9248    # If archive_cmds runs LD, not CC, wlarc should be empty
9249    wlarc='${wl}'
9250
9251    # Set some defaults for GNU ld with shared library support. These
9252    # are reset later if shared libraries are not supported. Putting them
9253    # here allows them to be overridden if necessary.
9254    runpath_var=LD_RUN_PATH
9255    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9256    export_dynamic_flag_spec='${wl}--export-dynamic'
9257    # ancient GNU ld didn't support --whole-archive et. al.
9258    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9259      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9260    else
9261      whole_archive_flag_spec=
9262    fi
9263    supports_anon_versioning=no
9264    case `$LD -v 2>&1` in
9265      *GNU\ gold*) supports_anon_versioning=yes ;;
9266      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9267      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9268      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9269      *\ 2.11.*) ;; # other 2.11 versions
9270      *) supports_anon_versioning=yes ;;
9271    esac
9272
9273    # See if GNU ld supports shared libraries.
9274    case $host_os in
9275    aix[3-9]*)
9276      # On AIX/PPC, the GNU linker is very broken
9277      if test "$host_cpu" != ia64; then
9278	ld_shlibs=no
9279	cat <<_LT_EOF 1>&2
9280
9281*** Warning: the GNU linker, at least up to release 2.19, is reported
9282*** to be unable to reliably create shared libraries on AIX.
9283*** Therefore, libtool is disabling shared libraries support.  If you
9284*** really care for shared libraries, you may want to install binutils
9285*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9286*** You will then need to restart the configuration process.
9287
9288_LT_EOF
9289      fi
9290      ;;
9291
9292    amigaos*)
9293      case $host_cpu in
9294      powerpc)
9295            # see comment about AmigaOS4 .so support
9296            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9297            archive_expsym_cmds=''
9298        ;;
9299      m68k)
9300            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)'
9301            hardcode_libdir_flag_spec='-L$libdir'
9302            hardcode_minus_L=yes
9303        ;;
9304      esac
9305      ;;
9306
9307    beos*)
9308      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9309	allow_undefined_flag=unsupported
9310	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9311	# support --undefined.  This deserves some investigation.  FIXME
9312	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9313      else
9314	ld_shlibs=no
9315      fi
9316      ;;
9317
9318    cygwin* | mingw* | pw32* | cegcc*)
9319      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9320      # as there is no search path for DLLs.
9321      hardcode_libdir_flag_spec='-L$libdir'
9322      export_dynamic_flag_spec='${wl}--export-all-symbols'
9323      allow_undefined_flag=unsupported
9324      always_export_symbols=no
9325      enable_shared_with_static_runtimes=yes
9326      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9327
9328      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9329        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9330	# If the export-symbols file already is a .def file (1st line
9331	# is EXPORTS), use it as is; otherwise, prepend...
9332	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9333	  cp $export_symbols $output_objdir/$soname.def;
9334	else
9335	  echo EXPORTS > $output_objdir/$soname.def;
9336	  cat $export_symbols >> $output_objdir/$soname.def;
9337	fi~
9338	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9339      else
9340	ld_shlibs=no
9341      fi
9342      ;;
9343
9344    haiku*)
9345      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9346      link_all_deplibs=yes
9347      ;;
9348
9349    interix[3-9]*)
9350      hardcode_direct=no
9351      hardcode_shlibpath_var=no
9352      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9353      export_dynamic_flag_spec='${wl}-E'
9354      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9355      # Instead, shared libraries are loaded at an image base (0x10000000 by
9356      # default) and relocated if they conflict, which is a slow very memory
9357      # consuming and fragmenting process.  To avoid this, we pick a random,
9358      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9359      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9360      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9361      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'
9362      ;;
9363
9364    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9365      tmp_diet=no
9366      if test "$host_os" = linux-dietlibc; then
9367	case $cc_basename in
9368	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9369	esac
9370      fi
9371      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9372	 && test "$tmp_diet" = no
9373      then
9374	tmp_addflag=' $pic_flag'
9375	tmp_sharedflag='-shared'
9376	case $cc_basename,$host_cpu in
9377        pgcc*)				# Portland Group C compiler
9378	  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'
9379	  tmp_addflag=' $pic_flag'
9380	  ;;
9381	pgf77* | pgf90* | pgf95* | pgfortran*)
9382					# Portland Group f77 and f90 compilers
9383	  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'
9384	  tmp_addflag=' $pic_flag -Mnomain' ;;
9385	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9386	  tmp_addflag=' -i_dynamic' ;;
9387	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9388	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9389	ifc* | ifort*)			# Intel Fortran compiler
9390	  tmp_addflag=' -nofor_main' ;;
9391	lf95*)				# Lahey Fortran 8.1
9392	  whole_archive_flag_spec=
9393	  tmp_sharedflag='--shared' ;;
9394	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9395	  tmp_sharedflag='-qmkshrobj'
9396	  tmp_addflag= ;;
9397	nvcc*)	# Cuda Compiler Driver 2.2
9398	  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'
9399	  compiler_needs_object=yes
9400	  ;;
9401	esac
9402	case `$CC -V 2>&1 | sed 5q` in
9403	*Sun\ C*)			# Sun C 5.9
9404	  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'
9405	  compiler_needs_object=yes
9406	  tmp_sharedflag='-G' ;;
9407	*Sun\ F*)			# Sun Fortran 8.3
9408	  tmp_sharedflag='-G' ;;
9409	esac
9410	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9411
9412        if test "x$supports_anon_versioning" = xyes; then
9413          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9414	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9415	    echo "local: *; };" >> $output_objdir/$libname.ver~
9416	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9417        fi
9418
9419	case $cc_basename in
9420	xlf* | bgf* | bgxlf* | mpixlf*)
9421	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9422	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9423	  hardcode_libdir_flag_spec=
9424	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
9425	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9426	  if test "x$supports_anon_versioning" = xyes; then
9427	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9428	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9429	      echo "local: *; };" >> $output_objdir/$libname.ver~
9430	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9431	  fi
9432	  ;;
9433	esac
9434      else
9435        ld_shlibs=no
9436      fi
9437      ;;
9438
9439    netbsd*)
9440      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9441	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9442	wlarc=
9443      else
9444	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9445	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9446      fi
9447      ;;
9448
9449    solaris*)
9450      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9451	ld_shlibs=no
9452	cat <<_LT_EOF 1>&2
9453
9454*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9455*** create shared libraries on Solaris systems.  Therefore, libtool
9456*** is disabling shared libraries support.  We urge you to upgrade GNU
9457*** binutils to release 2.9.1 or newer.  Another option is to modify
9458*** your PATH or compiler configuration so that the native linker is
9459*** used, and then restart.
9460
9461_LT_EOF
9462      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9463	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9464	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9465      else
9466	ld_shlibs=no
9467      fi
9468      ;;
9469
9470    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9471      case `$LD -v 2>&1` in
9472        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9473	ld_shlibs=no
9474	cat <<_LT_EOF 1>&2
9475
9476*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9477*** reliably create shared libraries on SCO systems.  Therefore, libtool
9478*** is disabling shared libraries support.  We urge you to upgrade GNU
9479*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9480*** your PATH or compiler configuration so that the native linker is
9481*** used, and then restart.
9482
9483_LT_EOF
9484	;;
9485	*)
9486	  # For security reasons, it is highly recommended that you always
9487	  # use absolute paths for naming shared libraries, and exclude the
9488	  # DT_RUNPATH tag from executables and libraries.  But doing so
9489	  # requires that you compile everything twice, which is a pain.
9490	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9491	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9492	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9493	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9494	  else
9495	    ld_shlibs=no
9496	  fi
9497	;;
9498      esac
9499      ;;
9500
9501    sunos4*)
9502      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9503      wlarc=
9504      hardcode_direct=yes
9505      hardcode_shlibpath_var=no
9506      ;;
9507
9508    *)
9509      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9510	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9511	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9512      else
9513	ld_shlibs=no
9514      fi
9515      ;;
9516    esac
9517
9518    if test "$ld_shlibs" = no; then
9519      runpath_var=
9520      hardcode_libdir_flag_spec=
9521      export_dynamic_flag_spec=
9522      whole_archive_flag_spec=
9523    fi
9524  else
9525    # PORTME fill in a description of your system's linker (not GNU ld)
9526    case $host_os in
9527    aix3*)
9528      allow_undefined_flag=unsupported
9529      always_export_symbols=yes
9530      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'
9531      # Note: this linker hardcodes the directories in LIBPATH if there
9532      # are no directories specified by -L.
9533      hardcode_minus_L=yes
9534      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9535	# Neither direct hardcoding nor static linking is supported with a
9536	# broken collect2.
9537	hardcode_direct=unsupported
9538      fi
9539      ;;
9540
9541    aix[4-9]*)
9542      if test "$host_cpu" = ia64; then
9543	# On IA64, the linker does run time linking by default, so we don't
9544	# have to do anything special.
9545	aix_use_runtimelinking=no
9546	exp_sym_flag='-Bexport'
9547	no_entry_flag=""
9548      else
9549	# If we're using GNU nm, then we don't want the "-C" option.
9550	# -C means demangle to AIX nm, but means don't demangle with GNU nm
9551	# Also, AIX nm treats weak defined symbols like other global
9552	# defined symbols, whereas GNU nm marks them as "W".
9553	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9554	  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'
9555	else
9556	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9557	fi
9558	aix_use_runtimelinking=no
9559
9560	# Test if we are trying to use run time linking or normal
9561	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9562	# need to do runtime linking.
9563	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9564	  for ld_flag in $LDFLAGS; do
9565	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9566	    aix_use_runtimelinking=yes
9567	    break
9568	  fi
9569	  done
9570	  ;;
9571	esac
9572
9573	exp_sym_flag='-bexport'
9574	no_entry_flag='-bnoentry'
9575      fi
9576
9577      # When large executables or shared objects are built, AIX ld can
9578      # have problems creating the table of contents.  If linking a library
9579      # or program results in "error TOC overflow" add -mminimal-toc to
9580      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9581      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9582
9583      archive_cmds=''
9584      hardcode_direct=yes
9585      hardcode_direct_absolute=yes
9586      hardcode_libdir_separator=':'
9587      link_all_deplibs=yes
9588      file_list_spec='${wl}-f,'
9589
9590      if test "$GCC" = yes; then
9591	case $host_os in aix4.[012]|aix4.[012].*)
9592	# We only want to do this on AIX 4.2 and lower, the check
9593	# below for broken collect2 doesn't work under 4.3+
9594	  collect2name=`${CC} -print-prog-name=collect2`
9595	  if test -f "$collect2name" &&
9596	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9597	  then
9598	  # We have reworked collect2
9599	  :
9600	  else
9601	  # We have old collect2
9602	  hardcode_direct=unsupported
9603	  # It fails to find uninstalled libraries when the uninstalled
9604	  # path is not listed in the libpath.  Setting hardcode_minus_L
9605	  # to unsupported forces relinking
9606	  hardcode_minus_L=yes
9607	  hardcode_libdir_flag_spec='-L$libdir'
9608	  hardcode_libdir_separator=
9609	  fi
9610	  ;;
9611	esac
9612	shared_flag='-shared'
9613	if test "$aix_use_runtimelinking" = yes; then
9614	  shared_flag="$shared_flag "'${wl}-G'
9615	fi
9616      else
9617	# not using gcc
9618	if test "$host_cpu" = ia64; then
9619	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9620	# chokes on -Wl,-G. The following line is correct:
9621	  shared_flag='-G'
9622	else
9623	  if test "$aix_use_runtimelinking" = yes; then
9624	    shared_flag='${wl}-G'
9625	  else
9626	    shared_flag='${wl}-bM:SRE'
9627	  fi
9628	fi
9629      fi
9630
9631      export_dynamic_flag_spec='${wl}-bexpall'
9632      # It seems that -bexpall does not export symbols beginning with
9633      # underscore (_), so it is better to generate a list of symbols to export.
9634      always_export_symbols=yes
9635      if test "$aix_use_runtimelinking" = yes; then
9636	# Warning - without using the other runtime loading flags (-brtl),
9637	# -berok will link without error, but may produce a broken library.
9638	allow_undefined_flag='-berok'
9639        # Determine the default libpath from the value encoded in an
9640        # empty executable.
9641        if test x$gcc_no_link = xyes; then
9642  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9643fi
9644cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9645/* end confdefs.h.  */
9646
9647int
9648main ()
9649{
9650
9651  ;
9652  return 0;
9653}
9654_ACEOF
9655if ac_fn_c_try_link "$LINENO"; then :
9656
9657lt_aix_libpath_sed='
9658    /Import File Strings/,/^$/ {
9659	/^0/ {
9660	    s/^0  *\(.*\)$/\1/
9661	    p
9662	}
9663    }'
9664aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9665# Check for a 64-bit object if we didn't find anything.
9666if test -z "$aix_libpath"; then
9667  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9668fi
9669fi
9670rm -f core conftest.err conftest.$ac_objext \
9671    conftest$ac_exeext conftest.$ac_ext
9672if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9673
9674        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9675        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"
9676      else
9677	if test "$host_cpu" = ia64; then
9678	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9679	  allow_undefined_flag="-z nodefs"
9680	  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"
9681	else
9682	 # Determine the default libpath from the value encoded in an
9683	 # empty executable.
9684	 if test x$gcc_no_link = xyes; then
9685  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9686fi
9687cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9688/* end confdefs.h.  */
9689
9690int
9691main ()
9692{
9693
9694  ;
9695  return 0;
9696}
9697_ACEOF
9698if ac_fn_c_try_link "$LINENO"; then :
9699
9700lt_aix_libpath_sed='
9701    /Import File Strings/,/^$/ {
9702	/^0/ {
9703	    s/^0  *\(.*\)$/\1/
9704	    p
9705	}
9706    }'
9707aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9708# Check for a 64-bit object if we didn't find anything.
9709if test -z "$aix_libpath"; then
9710  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9711fi
9712fi
9713rm -f core conftest.err conftest.$ac_objext \
9714    conftest$ac_exeext conftest.$ac_ext
9715if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9716
9717	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9718	  # Warning - without using the other run time loading flags,
9719	  # -berok will link without error, but may produce a broken library.
9720	  no_undefined_flag=' ${wl}-bernotok'
9721	  allow_undefined_flag=' ${wl}-berok'
9722	  if test "$with_gnu_ld" = yes; then
9723	    # We only use this code for GNU lds that support --whole-archive.
9724	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9725	  else
9726	    # Exported symbols can be pulled into shared objects from archives
9727	    whole_archive_flag_spec='$convenience'
9728	  fi
9729	  archive_cmds_need_lc=yes
9730	  # This is similar to how AIX traditionally builds its shared libraries.
9731	  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'
9732	fi
9733      fi
9734      ;;
9735
9736    amigaos*)
9737      case $host_cpu in
9738      powerpc)
9739            # see comment about AmigaOS4 .so support
9740            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9741            archive_expsym_cmds=''
9742        ;;
9743      m68k)
9744            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)'
9745            hardcode_libdir_flag_spec='-L$libdir'
9746            hardcode_minus_L=yes
9747        ;;
9748      esac
9749      ;;
9750
9751    bsdi[45]*)
9752      export_dynamic_flag_spec=-rdynamic
9753      ;;
9754
9755    cygwin* | mingw* | pw32* | cegcc*)
9756      # When not using gcc, we currently assume that we are using
9757      # Microsoft Visual C++.
9758      # hardcode_libdir_flag_spec is actually meaningless, as there is
9759      # no search path for DLLs.
9760      hardcode_libdir_flag_spec=' '
9761      allow_undefined_flag=unsupported
9762      # Tell ltmain to make .lib files, not .a files.
9763      libext=lib
9764      # Tell ltmain to make .dll files, not .so files.
9765      shrext_cmds=".dll"
9766      # FIXME: Setting linknames here is a bad hack.
9767      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9768      # The linker will automatically build a .lib file if we build a DLL.
9769      old_archive_from_new_cmds='true'
9770      # FIXME: Should let the user specify the lib program.
9771      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9772      fix_srcfile_path='`cygpath -w "$srcfile"`'
9773      enable_shared_with_static_runtimes=yes
9774      ;;
9775
9776    darwin* | rhapsody*)
9777
9778
9779  archive_cmds_need_lc=no
9780  hardcode_direct=no
9781  hardcode_automatic=yes
9782  hardcode_shlibpath_var=unsupported
9783  if test "$lt_cv_ld_force_load" = "yes"; then
9784    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\"`'
9785  else
9786    whole_archive_flag_spec=''
9787  fi
9788  link_all_deplibs=yes
9789  allow_undefined_flag="$_lt_dar_allow_undefined"
9790  case $cc_basename in
9791     ifort*) _lt_dar_can_shared=yes ;;
9792     *) _lt_dar_can_shared=$GCC ;;
9793  esac
9794  if test "$_lt_dar_can_shared" = "yes"; then
9795    output_verbose_link_cmd=func_echo_all
9796    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9797    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9798    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}"
9799    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}"
9800
9801  else
9802  ld_shlibs=no
9803  fi
9804
9805      ;;
9806
9807    dgux*)
9808      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9809      hardcode_libdir_flag_spec='-L$libdir'
9810      hardcode_shlibpath_var=no
9811      ;;
9812
9813    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9814    # support.  Future versions do this automatically, but an explicit c++rt0.o
9815    # does not break anything, and helps significantly (at the cost of a little
9816    # extra space).
9817    freebsd2.2*)
9818      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9819      hardcode_libdir_flag_spec='-R$libdir'
9820      hardcode_direct=yes
9821      hardcode_shlibpath_var=no
9822      ;;
9823
9824    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9825    freebsd2.*)
9826      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9827      hardcode_direct=yes
9828      hardcode_minus_L=yes
9829      hardcode_shlibpath_var=no
9830      ;;
9831
9832    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9833    freebsd* | dragonfly*)
9834      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9835      hardcode_libdir_flag_spec='-R$libdir'
9836      hardcode_direct=yes
9837      hardcode_shlibpath_var=no
9838      ;;
9839
9840    hpux9*)
9841      if test "$GCC" = yes; then
9842	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'
9843      else
9844	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'
9845      fi
9846      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9847      hardcode_libdir_separator=:
9848      hardcode_direct=yes
9849
9850      # hardcode_minus_L: Not really in the search PATH,
9851      # but as the default location of the library.
9852      hardcode_minus_L=yes
9853      export_dynamic_flag_spec='${wl}-E'
9854      ;;
9855
9856    hpux10*)
9857      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9858	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9859      else
9860	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9861      fi
9862      if test "$with_gnu_ld" = no; then
9863	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9864	hardcode_libdir_flag_spec_ld='+b $libdir'
9865	hardcode_libdir_separator=:
9866	hardcode_direct=yes
9867	hardcode_direct_absolute=yes
9868	export_dynamic_flag_spec='${wl}-E'
9869	# hardcode_minus_L: Not really in the search PATH,
9870	# but as the default location of the library.
9871	hardcode_minus_L=yes
9872      fi
9873      ;;
9874
9875    hpux11*)
9876      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9877	case $host_cpu in
9878	hppa*64*)
9879	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9880	  ;;
9881	ia64*)
9882	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9883	  ;;
9884	*)
9885	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9886	  ;;
9887	esac
9888      else
9889	case $host_cpu in
9890	hppa*64*)
9891	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9892	  ;;
9893	ia64*)
9894	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9895	  ;;
9896	*)
9897
9898	  # Older versions of the 11.00 compiler do not understand -b yet
9899	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9900	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9901$as_echo_n "checking if $CC understands -b... " >&6; }
9902if test "${lt_cv_prog_compiler__b+set}" = set; then :
9903  $as_echo_n "(cached) " >&6
9904else
9905  lt_cv_prog_compiler__b=no
9906   save_LDFLAGS="$LDFLAGS"
9907   LDFLAGS="$LDFLAGS -b"
9908   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9909   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9910     # The linker can only warn and ignore the option if not recognized
9911     # So say no if there are warnings
9912     if test -s conftest.err; then
9913       # Append any errors to the config.log.
9914       cat conftest.err 1>&5
9915       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9916       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9917       if diff conftest.exp conftest.er2 >/dev/null; then
9918         lt_cv_prog_compiler__b=yes
9919       fi
9920     else
9921       lt_cv_prog_compiler__b=yes
9922     fi
9923   fi
9924   $RM -r conftest*
9925   LDFLAGS="$save_LDFLAGS"
9926
9927fi
9928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9929$as_echo "$lt_cv_prog_compiler__b" >&6; }
9930
9931if test x"$lt_cv_prog_compiler__b" = xyes; then
9932    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9933else
9934    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9935fi
9936
9937	  ;;
9938	esac
9939      fi
9940      if test "$with_gnu_ld" = no; then
9941	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9942	hardcode_libdir_separator=:
9943
9944	case $host_cpu in
9945	hppa*64*|ia64*)
9946	  hardcode_direct=no
9947	  hardcode_shlibpath_var=no
9948	  ;;
9949	*)
9950	  hardcode_direct=yes
9951	  hardcode_direct_absolute=yes
9952	  export_dynamic_flag_spec='${wl}-E'
9953
9954	  # hardcode_minus_L: Not really in the search PATH,
9955	  # but as the default location of the library.
9956	  hardcode_minus_L=yes
9957	  ;;
9958	esac
9959      fi
9960      ;;
9961
9962    irix5* | irix6* | nonstopux*)
9963      if test "$GCC" = yes; then
9964	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'
9965	# Try to use the -exported_symbol ld option, if it does not
9966	# work, assume that -exports_file does not work either and
9967	# implicitly export all symbols.
9968        save_LDFLAGS="$LDFLAGS"
9969        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9970        if test x$gcc_no_link = xyes; then
9971  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9972fi
9973cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974/* end confdefs.h.  */
9975int foo(void) {}
9976_ACEOF
9977if ac_fn_c_try_link "$LINENO"; then :
9978  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'
9979
9980fi
9981rm -f core conftest.err conftest.$ac_objext \
9982    conftest$ac_exeext conftest.$ac_ext
9983        LDFLAGS="$save_LDFLAGS"
9984      else
9985	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'
9986	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'
9987      fi
9988      archive_cmds_need_lc='no'
9989      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9990      hardcode_libdir_separator=:
9991      inherit_rpath=yes
9992      link_all_deplibs=yes
9993      ;;
9994
9995    netbsd*)
9996      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9997	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9998      else
9999	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10000      fi
10001      hardcode_libdir_flag_spec='-R$libdir'
10002      hardcode_direct=yes
10003      hardcode_shlibpath_var=no
10004      ;;
10005
10006    newsos6)
10007      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10008      hardcode_direct=yes
10009      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10010      hardcode_libdir_separator=:
10011      hardcode_shlibpath_var=no
10012      ;;
10013
10014    *nto* | *qnx*)
10015      ;;
10016
10017    openbsd*)
10018      if test -f /usr/libexec/ld.so; then
10019	hardcode_direct=yes
10020	hardcode_shlibpath_var=no
10021	hardcode_direct_absolute=yes
10022	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10023	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10024	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10025	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10026	  export_dynamic_flag_spec='${wl}-E'
10027	else
10028	  case $host_os in
10029	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10030	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10031	     hardcode_libdir_flag_spec='-R$libdir'
10032	     ;;
10033	   *)
10034	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10035	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10036	     ;;
10037	  esac
10038	fi
10039      else
10040	ld_shlibs=no
10041      fi
10042      ;;
10043
10044    os2*)
10045      hardcode_libdir_flag_spec='-L$libdir'
10046      hardcode_minus_L=yes
10047      allow_undefined_flag=unsupported
10048      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'
10049      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10050      ;;
10051
10052    osf3*)
10053      if test "$GCC" = yes; then
10054	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10055	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'
10056      else
10057	allow_undefined_flag=' -expect_unresolved \*'
10058	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'
10059      fi
10060      archive_cmds_need_lc='no'
10061      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10062      hardcode_libdir_separator=:
10063      ;;
10064
10065    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10066      if test "$GCC" = yes; then
10067	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10068	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'
10069	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10070      else
10071	allow_undefined_flag=' -expect_unresolved \*'
10072	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'
10073	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~
10074	$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'
10075
10076	# Both c and cxx compiler support -rpath directly
10077	hardcode_libdir_flag_spec='-rpath $libdir'
10078      fi
10079      archive_cmds_need_lc='no'
10080      hardcode_libdir_separator=:
10081      ;;
10082
10083    solaris*)
10084      no_undefined_flag=' -z defs'
10085      if test "$GCC" = yes; then
10086	wlarc='${wl}'
10087	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10088	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10089	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10090      else
10091	case `$CC -V 2>&1` in
10092	*"Compilers 5.0"*)
10093	  wlarc=''
10094	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10095	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10096	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10097	  ;;
10098	*)
10099	  wlarc='${wl}'
10100	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10101	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10102	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10103	  ;;
10104	esac
10105      fi
10106      hardcode_libdir_flag_spec='-R$libdir'
10107      hardcode_shlibpath_var=no
10108      case $host_os in
10109      solaris2.[0-5] | solaris2.[0-5].*) ;;
10110      *)
10111	# The compiler driver will combine and reorder linker options,
10112	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10113	# but is careful enough not to reorder.
10114	# Supported since Solaris 2.6 (maybe 2.5.1?)
10115	if test "$GCC" = yes; then
10116	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10117	else
10118	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10119	fi
10120	;;
10121      esac
10122      link_all_deplibs=yes
10123      ;;
10124
10125    sunos4*)
10126      if test "x$host_vendor" = xsequent; then
10127	# Use $CC to link under sequent, because it throws in some extra .o
10128	# files that make .init and .fini sections work.
10129	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10130      else
10131	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10132      fi
10133      hardcode_libdir_flag_spec='-L$libdir'
10134      hardcode_direct=yes
10135      hardcode_minus_L=yes
10136      hardcode_shlibpath_var=no
10137      ;;
10138
10139    sysv4)
10140      case $host_vendor in
10141	sni)
10142	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10143	  hardcode_direct=yes # is this really true???
10144	;;
10145	siemens)
10146	  ## LD is ld it makes a PLAMLIB
10147	  ## CC just makes a GrossModule.
10148	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10149	  reload_cmds='$CC -r -o $output$reload_objs'
10150	  hardcode_direct=no
10151        ;;
10152	motorola)
10153	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10154	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10155	;;
10156      esac
10157      runpath_var='LD_RUN_PATH'
10158      hardcode_shlibpath_var=no
10159      ;;
10160
10161    sysv4.3*)
10162      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10163      hardcode_shlibpath_var=no
10164      export_dynamic_flag_spec='-Bexport'
10165      ;;
10166
10167    sysv4*MP*)
10168      if test -d /usr/nec; then
10169	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10170	hardcode_shlibpath_var=no
10171	runpath_var=LD_RUN_PATH
10172	hardcode_runpath_var=yes
10173	ld_shlibs=yes
10174      fi
10175      ;;
10176
10177    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10178      no_undefined_flag='${wl}-z,text'
10179      archive_cmds_need_lc=no
10180      hardcode_shlibpath_var=no
10181      runpath_var='LD_RUN_PATH'
10182
10183      if test "$GCC" = yes; then
10184	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10185	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10186      else
10187	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10188	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10189      fi
10190      ;;
10191
10192    sysv5* | sco3.2v5* | sco5v6*)
10193      # Note: We can NOT use -z defs as we might desire, because we do not
10194      # link with -lc, and that would cause any symbols used from libc to
10195      # always be unresolved, which means just about no library would
10196      # ever link correctly.  If we're not using GNU ld we use -z text
10197      # though, which does catch some bad symbols but isn't as heavy-handed
10198      # as -z defs.
10199      no_undefined_flag='${wl}-z,text'
10200      allow_undefined_flag='${wl}-z,nodefs'
10201      archive_cmds_need_lc=no
10202      hardcode_shlibpath_var=no
10203      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10204      hardcode_libdir_separator=':'
10205      link_all_deplibs=yes
10206      export_dynamic_flag_spec='${wl}-Bexport'
10207      runpath_var='LD_RUN_PATH'
10208
10209      if test "$GCC" = yes; then
10210	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10211	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10212      else
10213	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10214	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10215      fi
10216      ;;
10217
10218    uts4*)
10219      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10220      hardcode_libdir_flag_spec='-L$libdir'
10221      hardcode_shlibpath_var=no
10222      ;;
10223
10224    *)
10225      ld_shlibs=no
10226      ;;
10227    esac
10228
10229    if test x$host_vendor = xsni; then
10230      case $host in
10231      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10232	export_dynamic_flag_spec='${wl}-Blargedynsym'
10233	;;
10234      esac
10235    fi
10236  fi
10237
10238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10239$as_echo "$ld_shlibs" >&6; }
10240test "$ld_shlibs" = no && can_build_shared=no
10241
10242with_gnu_ld=$with_gnu_ld
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258#
10259# Do we need to explicitly link libc?
10260#
10261case "x$archive_cmds_need_lc" in
10262x|xyes)
10263  # Assume -lc should be added
10264  archive_cmds_need_lc=yes
10265
10266  if test "$enable_shared" = yes && test "$GCC" = yes; then
10267    case $archive_cmds in
10268    *'~'*)
10269      # FIXME: we may have to deal with multi-command sequences.
10270      ;;
10271    '$CC '*)
10272      # Test whether the compiler implicitly links with -lc since on some
10273      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10274      # to ld, don't add -lc before -lgcc.
10275      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10276$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10277if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10278  $as_echo_n "(cached) " >&6
10279else
10280  $RM conftest*
10281	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10282
10283	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10284  (eval $ac_compile) 2>&5
10285  ac_status=$?
10286  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10287  test $ac_status = 0; } 2>conftest.err; then
10288	  soname=conftest
10289	  lib=conftest
10290	  libobjs=conftest.$ac_objext
10291	  deplibs=
10292	  wl=$lt_prog_compiler_wl
10293	  pic_flag=$lt_prog_compiler_pic
10294	  compiler_flags=-v
10295	  linker_flags=-v
10296	  verstring=
10297	  output_objdir=.
10298	  libname=conftest
10299	  lt_save_allow_undefined_flag=$allow_undefined_flag
10300	  allow_undefined_flag=
10301	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10302  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10303  ac_status=$?
10304  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10305  test $ac_status = 0; }
10306	  then
10307	    lt_cv_archive_cmds_need_lc=no
10308	  else
10309	    lt_cv_archive_cmds_need_lc=yes
10310	  fi
10311	  allow_undefined_flag=$lt_save_allow_undefined_flag
10312	else
10313	  cat conftest.err 1>&5
10314	fi
10315	$RM conftest*
10316
10317fi
10318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10319$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10320      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10321      ;;
10322    esac
10323  fi
10324  ;;
10325esac
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
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10484$as_echo_n "checking dynamic linker characteristics... " >&6; }
10485
10486if test "$GCC" = yes; then
10487  case $host_os in
10488    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10489    *) lt_awk_arg="/^libraries:/" ;;
10490  esac
10491  case $host_os in
10492    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10493    *) lt_sed_strip_eq="s,=/,/,g" ;;
10494  esac
10495  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10496  case $lt_search_path_spec in
10497  *\;*)
10498    # if the path contains ";" then we assume it to be the separator
10499    # otherwise default to the standard path separator (i.e. ":") - it is
10500    # assumed that no part of a normal pathname contains ";" but that should
10501    # okay in the real world where ";" in dirpaths is itself problematic.
10502    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10503    ;;
10504  *)
10505    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10506    ;;
10507  esac
10508  # Ok, now we have the path, separated by spaces, we can step through it
10509  # and add multilib dir if necessary.
10510  lt_tmp_lt_search_path_spec=
10511  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10512  for lt_sys_path in $lt_search_path_spec; do
10513    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10514      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10515    else
10516      test -d "$lt_sys_path" && \
10517	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10518    fi
10519  done
10520  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10521BEGIN {RS=" "; FS="/|\n";} {
10522  lt_foo="";
10523  lt_count=0;
10524  for (lt_i = NF; lt_i > 0; lt_i--) {
10525    if ($lt_i != "" && $lt_i != ".") {
10526      if ($lt_i == "..") {
10527        lt_count++;
10528      } else {
10529        if (lt_count == 0) {
10530          lt_foo="/" $lt_i lt_foo;
10531        } else {
10532          lt_count--;
10533        }
10534      }
10535    }
10536  }
10537  if (lt_foo != "") { lt_freq[lt_foo]++; }
10538  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10539}'`
10540  # AWK program above erroneously prepends '/' to C:/dos/paths
10541  # for these hosts.
10542  case $host_os in
10543    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10544      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10545  esac
10546  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10547else
10548  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10549fi
10550library_names_spec=
10551libname_spec='lib$name'
10552soname_spec=
10553shrext_cmds=".so"
10554postinstall_cmds=
10555postuninstall_cmds=
10556finish_cmds=
10557finish_eval=
10558shlibpath_var=
10559shlibpath_overrides_runpath=unknown
10560version_type=none
10561dynamic_linker="$host_os ld.so"
10562sys_lib_dlsearch_path_spec="/lib /usr/lib"
10563need_lib_prefix=unknown
10564hardcode_into_libs=no
10565
10566# when you set need_version to no, make sure it does not cause -set_version
10567# flags to be left without arguments
10568need_version=unknown
10569
10570case $host_os in
10571aix3*)
10572  version_type=linux
10573  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10574  shlibpath_var=LIBPATH
10575
10576  # AIX 3 has no versioning support, so we append a major version to the name.
10577  soname_spec='${libname}${release}${shared_ext}$major'
10578  ;;
10579
10580aix[4-9]*)
10581  version_type=linux
10582  need_lib_prefix=no
10583  need_version=no
10584  hardcode_into_libs=yes
10585  if test "$host_cpu" = ia64; then
10586    # AIX 5 supports IA64
10587    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10588    shlibpath_var=LD_LIBRARY_PATH
10589  else
10590    # With GCC up to 2.95.x, collect2 would create an import file
10591    # for dependence libraries.  The import file would start with
10592    # the line `#! .'.  This would cause the generated library to
10593    # depend on `.', always an invalid library.  This was fixed in
10594    # development snapshots of GCC prior to 3.0.
10595    case $host_os in
10596      aix4 | aix4.[01] | aix4.[01].*)
10597      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10598	   echo ' yes '
10599	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10600	:
10601      else
10602	can_build_shared=no
10603      fi
10604      ;;
10605    esac
10606    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10607    # soname into executable. Probably we can add versioning support to
10608    # collect2, so additional links can be useful in future.
10609    if test "$aix_use_runtimelinking" = yes; then
10610      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10611      # instead of lib<name>.a to let people know that these are not
10612      # typical AIX shared libraries.
10613      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10614    else
10615      # We preserve .a as extension for shared libraries through AIX4.2
10616      # and later when we are not doing run time linking.
10617      library_names_spec='${libname}${release}.a $libname.a'
10618      soname_spec='${libname}${release}${shared_ext}$major'
10619    fi
10620    shlibpath_var=LIBPATH
10621  fi
10622  ;;
10623
10624amigaos*)
10625  case $host_cpu in
10626  powerpc)
10627    # Since July 2007 AmigaOS4 officially supports .so libraries.
10628    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10629    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10630    ;;
10631  m68k)
10632    library_names_spec='$libname.ixlibrary $libname.a'
10633    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10634    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'
10635    ;;
10636  esac
10637  ;;
10638
10639beos*)
10640  library_names_spec='${libname}${shared_ext}'
10641  dynamic_linker="$host_os ld.so"
10642  shlibpath_var=LIBRARY_PATH
10643  ;;
10644
10645bsdi[45]*)
10646  version_type=linux
10647  need_version=no
10648  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10649  soname_spec='${libname}${release}${shared_ext}$major'
10650  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10651  shlibpath_var=LD_LIBRARY_PATH
10652  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10653  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10654  # the default ld.so.conf also contains /usr/contrib/lib and
10655  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10656  # libtool to hard-code these into programs
10657  ;;
10658
10659cygwin* | mingw* | pw32* | cegcc*)
10660  version_type=windows
10661  shrext_cmds=".dll"
10662  need_version=no
10663  need_lib_prefix=no
10664
10665  case $GCC,$host_os in
10666  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10667    library_names_spec='$libname.dll.a'
10668    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10669    postinstall_cmds='base_file=`basename \${file}`~
10670      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10671      dldir=$destdir/`dirname \$dlpath`~
10672      test -d \$dldir || mkdir -p \$dldir~
10673      $install_prog $dir/$dlname \$dldir/$dlname~
10674      chmod a+x \$dldir/$dlname~
10675      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10676        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10677      fi'
10678    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10679      dlpath=$dir/\$dldll~
10680       $RM \$dlpath'
10681    shlibpath_overrides_runpath=yes
10682
10683    case $host_os in
10684    cygwin*)
10685      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10686      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10687
10688      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10689      ;;
10690    mingw* | cegcc*)
10691      # MinGW DLLs use traditional 'lib' prefix
10692      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10693      ;;
10694    pw32*)
10695      # pw32 DLLs use 'pw' prefix rather than 'lib'
10696      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10697      ;;
10698    esac
10699    ;;
10700
10701  *)
10702    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10703    ;;
10704  esac
10705  dynamic_linker='Win32 ld.exe'
10706  # FIXME: first we should search . and the directory the executable is in
10707  shlibpath_var=PATH
10708  ;;
10709
10710darwin* | rhapsody*)
10711  dynamic_linker="$host_os dyld"
10712  version_type=darwin
10713  need_lib_prefix=no
10714  need_version=no
10715  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10716  soname_spec='${libname}${release}${major}$shared_ext'
10717  shlibpath_overrides_runpath=yes
10718  shlibpath_var=DYLD_LIBRARY_PATH
10719  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10720
10721  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10722  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10723  ;;
10724
10725dgux*)
10726  version_type=linux
10727  need_lib_prefix=no
10728  need_version=no
10729  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10730  soname_spec='${libname}${release}${shared_ext}$major'
10731  shlibpath_var=LD_LIBRARY_PATH
10732  ;;
10733
10734freebsd* | dragonfly*)
10735  # DragonFly does not have aout.  When/if they implement a new
10736  # versioning mechanism, adjust this.
10737  if test -x /usr/bin/objformat; then
10738    objformat=`/usr/bin/objformat`
10739  else
10740    case $host_os in
10741    freebsd[23].*) objformat=aout ;;
10742    *) objformat=elf ;;
10743    esac
10744  fi
10745  version_type=freebsd-$objformat
10746  case $version_type in
10747    freebsd-elf*)
10748      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10749      need_version=no
10750      need_lib_prefix=no
10751      ;;
10752    freebsd-*)
10753      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10754      need_version=yes
10755      ;;
10756  esac
10757  shlibpath_var=LD_LIBRARY_PATH
10758  case $host_os in
10759  freebsd2.*)
10760    shlibpath_overrides_runpath=yes
10761    ;;
10762  freebsd3.[01]* | freebsdelf3.[01]*)
10763    shlibpath_overrides_runpath=yes
10764    hardcode_into_libs=yes
10765    ;;
10766  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10767  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10768    shlibpath_overrides_runpath=no
10769    hardcode_into_libs=yes
10770    ;;
10771  *) # from 4.6 on, and DragonFly
10772    shlibpath_overrides_runpath=yes
10773    hardcode_into_libs=yes
10774    ;;
10775  esac
10776  ;;
10777
10778gnu*)
10779  version_type=linux
10780  need_lib_prefix=no
10781  need_version=no
10782  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10783  soname_spec='${libname}${release}${shared_ext}$major'
10784  shlibpath_var=LD_LIBRARY_PATH
10785  hardcode_into_libs=yes
10786  ;;
10787
10788haiku*)
10789  version_type=linux
10790  need_lib_prefix=no
10791  need_version=no
10792  dynamic_linker="$host_os runtime_loader"
10793  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10794  soname_spec='${libname}${release}${shared_ext}$major'
10795  shlibpath_var=LIBRARY_PATH
10796  shlibpath_overrides_runpath=yes
10797  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10798  hardcode_into_libs=yes
10799  ;;
10800
10801hpux9* | hpux10* | hpux11*)
10802  # Give a soname corresponding to the major version so that dld.sl refuses to
10803  # link against other versions.
10804  version_type=sunos
10805  need_lib_prefix=no
10806  need_version=no
10807  case $host_cpu in
10808  ia64*)
10809    shrext_cmds='.so'
10810    hardcode_into_libs=yes
10811    dynamic_linker="$host_os dld.so"
10812    shlibpath_var=LD_LIBRARY_PATH
10813    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10814    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10815    soname_spec='${libname}${release}${shared_ext}$major'
10816    if test "X$HPUX_IA64_MODE" = X32; then
10817      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10818    else
10819      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10820    fi
10821    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10822    ;;
10823  hppa*64*)
10824    shrext_cmds='.sl'
10825    hardcode_into_libs=yes
10826    dynamic_linker="$host_os dld.sl"
10827    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10828    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10829    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10830    soname_spec='${libname}${release}${shared_ext}$major'
10831    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10832    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10833    ;;
10834  *)
10835    shrext_cmds='.sl'
10836    dynamic_linker="$host_os dld.sl"
10837    shlibpath_var=SHLIB_PATH
10838    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10839    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10840    soname_spec='${libname}${release}${shared_ext}$major'
10841    ;;
10842  esac
10843  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10844  postinstall_cmds='chmod 555 $lib'
10845  # or fails outright, so override atomically:
10846  install_override_mode=555
10847  ;;
10848
10849interix[3-9]*)
10850  version_type=linux
10851  need_lib_prefix=no
10852  need_version=no
10853  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10854  soname_spec='${libname}${release}${shared_ext}$major'
10855  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10856  shlibpath_var=LD_LIBRARY_PATH
10857  shlibpath_overrides_runpath=no
10858  hardcode_into_libs=yes
10859  ;;
10860
10861irix5* | irix6* | nonstopux*)
10862  case $host_os in
10863    nonstopux*) version_type=nonstopux ;;
10864    *)
10865	if test "$lt_cv_prog_gnu_ld" = yes; then
10866		version_type=linux
10867	else
10868		version_type=irix
10869	fi ;;
10870  esac
10871  need_lib_prefix=no
10872  need_version=no
10873  soname_spec='${libname}${release}${shared_ext}$major'
10874  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10875  case $host_os in
10876  irix5* | nonstopux*)
10877    libsuff= shlibsuff=
10878    ;;
10879  *)
10880    case $LD in # libtool.m4 will add one of these switches to LD
10881    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10882      libsuff= shlibsuff= libmagic=32-bit;;
10883    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10884      libsuff=32 shlibsuff=N32 libmagic=N32;;
10885    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10886      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10887    *) libsuff= shlibsuff= libmagic=never-match;;
10888    esac
10889    ;;
10890  esac
10891  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10892  shlibpath_overrides_runpath=no
10893  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10894  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10895  hardcode_into_libs=yes
10896  ;;
10897
10898# No shared lib support for Linux oldld, aout, or coff.
10899linux*oldld* | linux*aout* | linux*coff*)
10900  dynamic_linker=no
10901  ;;
10902
10903# This must be Linux ELF.
10904linux* | k*bsd*-gnu | kopensolaris*-gnu)
10905  version_type=linux
10906  need_lib_prefix=no
10907  need_version=no
10908  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10909  soname_spec='${libname}${release}${shared_ext}$major'
10910  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10911  shlibpath_var=LD_LIBRARY_PATH
10912  shlibpath_overrides_runpath=no
10913
10914  # Some binutils ld are patched to set DT_RUNPATH
10915  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10916  $as_echo_n "(cached) " >&6
10917else
10918  lt_cv_shlibpath_overrides_runpath=no
10919    save_LDFLAGS=$LDFLAGS
10920    save_libdir=$libdir
10921    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10922	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10923    if test x$gcc_no_link = xyes; then
10924  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10925fi
10926cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10927/* end confdefs.h.  */
10928
10929int
10930main ()
10931{
10932
10933  ;
10934  return 0;
10935}
10936_ACEOF
10937if ac_fn_c_try_link "$LINENO"; then :
10938  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10939  lt_cv_shlibpath_overrides_runpath=yes
10940fi
10941fi
10942rm -f core conftest.err conftest.$ac_objext \
10943    conftest$ac_exeext conftest.$ac_ext
10944    LDFLAGS=$save_LDFLAGS
10945    libdir=$save_libdir
10946
10947fi
10948
10949  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10950
10951  # This implies no fast_install, which is unacceptable.
10952  # Some rework will be needed to allow for fast_install
10953  # before this can be enabled.
10954  hardcode_into_libs=yes
10955
10956  # Append ld.so.conf contents to the search path
10957  if test -f /etc/ld.so.conf; then
10958    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' ' '`
10959    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10960  fi
10961
10962  # We used to test for /lib/ld.so.1 and disable shared libraries on
10963  # powerpc, because MkLinux only supported shared libraries with the
10964  # GNU dynamic linker.  Since this was broken with cross compilers,
10965  # most powerpc-linux boxes support dynamic linking these days and
10966  # people can always --disable-shared, the test was removed, and we
10967  # assume the GNU/Linux dynamic linker is in use.
10968  dynamic_linker='GNU/Linux ld.so'
10969  ;;
10970
10971netbsd*)
10972  version_type=sunos
10973  need_lib_prefix=no
10974  need_version=no
10975  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10976    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10977    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10978    dynamic_linker='NetBSD (a.out) ld.so'
10979  else
10980    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10981    soname_spec='${libname}${release}${shared_ext}$major'
10982    dynamic_linker='NetBSD ld.elf_so'
10983  fi
10984  shlibpath_var=LD_LIBRARY_PATH
10985  shlibpath_overrides_runpath=yes
10986  hardcode_into_libs=yes
10987  ;;
10988
10989newsos6)
10990  version_type=linux
10991  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10992  shlibpath_var=LD_LIBRARY_PATH
10993  shlibpath_overrides_runpath=yes
10994  ;;
10995
10996*nto* | *qnx*)
10997  version_type=qnx
10998  need_lib_prefix=no
10999  need_version=no
11000  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11001  soname_spec='${libname}${release}${shared_ext}$major'
11002  shlibpath_var=LD_LIBRARY_PATH
11003  shlibpath_overrides_runpath=no
11004  hardcode_into_libs=yes
11005  dynamic_linker='ldqnx.so'
11006  ;;
11007
11008openbsd*)
11009  version_type=sunos
11010  sys_lib_dlsearch_path_spec="/usr/lib"
11011  need_lib_prefix=no
11012  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11013  case $host_os in
11014    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11015    *)				need_version=no  ;;
11016  esac
11017  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11018  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11019  shlibpath_var=LD_LIBRARY_PATH
11020  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11021    case $host_os in
11022      openbsd2.[89] | openbsd2.[89].*)
11023	shlibpath_overrides_runpath=no
11024	;;
11025      *)
11026	shlibpath_overrides_runpath=yes
11027	;;
11028      esac
11029  else
11030    shlibpath_overrides_runpath=yes
11031  fi
11032  ;;
11033
11034os2*)
11035  libname_spec='$name'
11036  shrext_cmds=".dll"
11037  need_lib_prefix=no
11038  library_names_spec='$libname${shared_ext} $libname.a'
11039  dynamic_linker='OS/2 ld.exe'
11040  shlibpath_var=LIBPATH
11041  ;;
11042
11043osf3* | osf4* | osf5*)
11044  version_type=osf
11045  need_lib_prefix=no
11046  need_version=no
11047  soname_spec='${libname}${release}${shared_ext}$major'
11048  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11049  shlibpath_var=LD_LIBRARY_PATH
11050  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11051  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11052  ;;
11053
11054rdos*)
11055  dynamic_linker=no
11056  ;;
11057
11058solaris*)
11059  version_type=linux
11060  need_lib_prefix=no
11061  need_version=no
11062  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11063  soname_spec='${libname}${release}${shared_ext}$major'
11064  shlibpath_var=LD_LIBRARY_PATH
11065  shlibpath_overrides_runpath=yes
11066  hardcode_into_libs=yes
11067  # ldd complains unless libraries are executable
11068  postinstall_cmds='chmod +x $lib'
11069  ;;
11070
11071sunos4*)
11072  version_type=sunos
11073  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11074  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11075  shlibpath_var=LD_LIBRARY_PATH
11076  shlibpath_overrides_runpath=yes
11077  if test "$with_gnu_ld" = yes; then
11078    need_lib_prefix=no
11079  fi
11080  need_version=yes
11081  ;;
11082
11083sysv4 | sysv4.3*)
11084  version_type=linux
11085  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11086  soname_spec='${libname}${release}${shared_ext}$major'
11087  shlibpath_var=LD_LIBRARY_PATH
11088  case $host_vendor in
11089    sni)
11090      shlibpath_overrides_runpath=no
11091      need_lib_prefix=no
11092      runpath_var=LD_RUN_PATH
11093      ;;
11094    siemens)
11095      need_lib_prefix=no
11096      ;;
11097    motorola)
11098      need_lib_prefix=no
11099      need_version=no
11100      shlibpath_overrides_runpath=no
11101      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11102      ;;
11103  esac
11104  ;;
11105
11106sysv4*MP*)
11107  if test -d /usr/nec ;then
11108    version_type=linux
11109    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11110    soname_spec='$libname${shared_ext}.$major'
11111    shlibpath_var=LD_LIBRARY_PATH
11112  fi
11113  ;;
11114
11115sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11116  version_type=freebsd-elf
11117  need_lib_prefix=no
11118  need_version=no
11119  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11120  soname_spec='${libname}${release}${shared_ext}$major'
11121  shlibpath_var=LD_LIBRARY_PATH
11122  shlibpath_overrides_runpath=yes
11123  hardcode_into_libs=yes
11124  if test "$with_gnu_ld" = yes; then
11125    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11126  else
11127    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11128    case $host_os in
11129      sco3.2v5*)
11130        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11131	;;
11132    esac
11133  fi
11134  sys_lib_dlsearch_path_spec='/usr/lib'
11135  ;;
11136
11137tpf*)
11138  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11139  version_type=linux
11140  need_lib_prefix=no
11141  need_version=no
11142  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11143  shlibpath_var=LD_LIBRARY_PATH
11144  shlibpath_overrides_runpath=no
11145  hardcode_into_libs=yes
11146  ;;
11147
11148uts4*)
11149  version_type=linux
11150  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11151  soname_spec='${libname}${release}${shared_ext}$major'
11152  shlibpath_var=LD_LIBRARY_PATH
11153  ;;
11154
11155*)
11156  dynamic_linker=no
11157  ;;
11158esac
11159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11160$as_echo "$dynamic_linker" >&6; }
11161test "$dynamic_linker" = no && can_build_shared=no
11162
11163variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11164if test "$GCC" = yes; then
11165  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11166fi
11167
11168if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11169  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11170fi
11171if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11172  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11173fi
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11267$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11268hardcode_action=
11269if test -n "$hardcode_libdir_flag_spec" ||
11270   test -n "$runpath_var" ||
11271   test "X$hardcode_automatic" = "Xyes" ; then
11272
11273  # We can hardcode non-existent directories.
11274  if test "$hardcode_direct" != no &&
11275     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11276     # have to relink, otherwise we might link with an installed library
11277     # when we should be linking with a yet-to-be-installed one
11278     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11279     test "$hardcode_minus_L" != no; then
11280    # Linking always hardcodes the temporary library directory.
11281    hardcode_action=relink
11282  else
11283    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11284    hardcode_action=immediate
11285  fi
11286else
11287  # We cannot hardcode anything, or else we can only hardcode existing
11288  # directories.
11289  hardcode_action=unsupported
11290fi
11291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11292$as_echo "$hardcode_action" >&6; }
11293
11294if test "$hardcode_action" = relink ||
11295   test "$inherit_rpath" = yes; then
11296  # Fast installation is not supported
11297  enable_fast_install=no
11298elif test "$shlibpath_overrides_runpath" = yes ||
11299     test "$enable_shared" = no; then
11300  # Fast installation is not necessary
11301  enable_fast_install=needless
11302fi
11303
11304
11305
11306
11307
11308
11309  if test "x$enable_dlopen" != xyes; then
11310  enable_dlopen=unknown
11311  enable_dlopen_self=unknown
11312  enable_dlopen_self_static=unknown
11313else
11314  lt_cv_dlopen=no
11315  lt_cv_dlopen_libs=
11316
11317  case $host_os in
11318  beos*)
11319    lt_cv_dlopen="load_add_on"
11320    lt_cv_dlopen_libs=
11321    lt_cv_dlopen_self=yes
11322    ;;
11323
11324  mingw* | pw32* | cegcc*)
11325    lt_cv_dlopen="LoadLibrary"
11326    lt_cv_dlopen_libs=
11327    ;;
11328
11329  cygwin*)
11330    lt_cv_dlopen="dlopen"
11331    lt_cv_dlopen_libs=
11332    ;;
11333
11334  darwin*)
11335  # if libdl is installed we need to link against it
11336    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11337$as_echo_n "checking for dlopen in -ldl... " >&6; }
11338if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11339  $as_echo_n "(cached) " >&6
11340else
11341  ac_check_lib_save_LIBS=$LIBS
11342LIBS="-ldl  $LIBS"
11343if test x$gcc_no_link = xyes; then
11344  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11345fi
11346cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11347/* end confdefs.h.  */
11348
11349/* Override any GCC internal prototype to avoid an error.
11350   Use char because int might match the return type of a GCC
11351   builtin and then its argument prototype would still apply.  */
11352#ifdef __cplusplus
11353extern "C"
11354#endif
11355char dlopen ();
11356int
11357main ()
11358{
11359return dlopen ();
11360  ;
11361  return 0;
11362}
11363_ACEOF
11364if ac_fn_c_try_link "$LINENO"; then :
11365  ac_cv_lib_dl_dlopen=yes
11366else
11367  ac_cv_lib_dl_dlopen=no
11368fi
11369rm -f core conftest.err conftest.$ac_objext \
11370    conftest$ac_exeext conftest.$ac_ext
11371LIBS=$ac_check_lib_save_LIBS
11372fi
11373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11374$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11375if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11376  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11377else
11378
11379    lt_cv_dlopen="dyld"
11380    lt_cv_dlopen_libs=
11381    lt_cv_dlopen_self=yes
11382
11383fi
11384
11385    ;;
11386
11387  *)
11388    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11389if test "x$ac_cv_func_shl_load" = x""yes; then :
11390  lt_cv_dlopen="shl_load"
11391else
11392  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11393$as_echo_n "checking for shl_load in -ldld... " >&6; }
11394if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11395  $as_echo_n "(cached) " >&6
11396else
11397  ac_check_lib_save_LIBS=$LIBS
11398LIBS="-ldld  $LIBS"
11399if test x$gcc_no_link = xyes; then
11400  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11401fi
11402cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403/* end confdefs.h.  */
11404
11405/* Override any GCC internal prototype to avoid an error.
11406   Use char because int might match the return type of a GCC
11407   builtin and then its argument prototype would still apply.  */
11408#ifdef __cplusplus
11409extern "C"
11410#endif
11411char shl_load ();
11412int
11413main ()
11414{
11415return shl_load ();
11416  ;
11417  return 0;
11418}
11419_ACEOF
11420if ac_fn_c_try_link "$LINENO"; then :
11421  ac_cv_lib_dld_shl_load=yes
11422else
11423  ac_cv_lib_dld_shl_load=no
11424fi
11425rm -f core conftest.err conftest.$ac_objext \
11426    conftest$ac_exeext conftest.$ac_ext
11427LIBS=$ac_check_lib_save_LIBS
11428fi
11429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11430$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11431if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11432  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11433else
11434  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11435if test "x$ac_cv_func_dlopen" = x""yes; then :
11436  lt_cv_dlopen="dlopen"
11437else
11438  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11439$as_echo_n "checking for dlopen in -ldl... " >&6; }
11440if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11441  $as_echo_n "(cached) " >&6
11442else
11443  ac_check_lib_save_LIBS=$LIBS
11444LIBS="-ldl  $LIBS"
11445if test x$gcc_no_link = xyes; then
11446  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11447fi
11448cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449/* end confdefs.h.  */
11450
11451/* Override any GCC internal prototype to avoid an error.
11452   Use char because int might match the return type of a GCC
11453   builtin and then its argument prototype would still apply.  */
11454#ifdef __cplusplus
11455extern "C"
11456#endif
11457char dlopen ();
11458int
11459main ()
11460{
11461return dlopen ();
11462  ;
11463  return 0;
11464}
11465_ACEOF
11466if ac_fn_c_try_link "$LINENO"; then :
11467  ac_cv_lib_dl_dlopen=yes
11468else
11469  ac_cv_lib_dl_dlopen=no
11470fi
11471rm -f core conftest.err conftest.$ac_objext \
11472    conftest$ac_exeext conftest.$ac_ext
11473LIBS=$ac_check_lib_save_LIBS
11474fi
11475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11476$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11477if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11478  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11479else
11480  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11481$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11482if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11483  $as_echo_n "(cached) " >&6
11484else
11485  ac_check_lib_save_LIBS=$LIBS
11486LIBS="-lsvld  $LIBS"
11487if test x$gcc_no_link = xyes; then
11488  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11489fi
11490cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11491/* end confdefs.h.  */
11492
11493/* Override any GCC internal prototype to avoid an error.
11494   Use char because int might match the return type of a GCC
11495   builtin and then its argument prototype would still apply.  */
11496#ifdef __cplusplus
11497extern "C"
11498#endif
11499char dlopen ();
11500int
11501main ()
11502{
11503return dlopen ();
11504  ;
11505  return 0;
11506}
11507_ACEOF
11508if ac_fn_c_try_link "$LINENO"; then :
11509  ac_cv_lib_svld_dlopen=yes
11510else
11511  ac_cv_lib_svld_dlopen=no
11512fi
11513rm -f core conftest.err conftest.$ac_objext \
11514    conftest$ac_exeext conftest.$ac_ext
11515LIBS=$ac_check_lib_save_LIBS
11516fi
11517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11518$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11519if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11520  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11521else
11522  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11523$as_echo_n "checking for dld_link in -ldld... " >&6; }
11524if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11525  $as_echo_n "(cached) " >&6
11526else
11527  ac_check_lib_save_LIBS=$LIBS
11528LIBS="-ldld  $LIBS"
11529if test x$gcc_no_link = xyes; then
11530  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11531fi
11532cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11533/* end confdefs.h.  */
11534
11535/* Override any GCC internal prototype to avoid an error.
11536   Use char because int might match the return type of a GCC
11537   builtin and then its argument prototype would still apply.  */
11538#ifdef __cplusplus
11539extern "C"
11540#endif
11541char dld_link ();
11542int
11543main ()
11544{
11545return dld_link ();
11546  ;
11547  return 0;
11548}
11549_ACEOF
11550if ac_fn_c_try_link "$LINENO"; then :
11551  ac_cv_lib_dld_dld_link=yes
11552else
11553  ac_cv_lib_dld_dld_link=no
11554fi
11555rm -f core conftest.err conftest.$ac_objext \
11556    conftest$ac_exeext conftest.$ac_ext
11557LIBS=$ac_check_lib_save_LIBS
11558fi
11559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11560$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11561if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11562  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11563fi
11564
11565
11566fi
11567
11568
11569fi
11570
11571
11572fi
11573
11574
11575fi
11576
11577
11578fi
11579
11580    ;;
11581  esac
11582
11583  if test "x$lt_cv_dlopen" != xno; then
11584    enable_dlopen=yes
11585  else
11586    enable_dlopen=no
11587  fi
11588
11589  case $lt_cv_dlopen in
11590  dlopen)
11591    save_CPPFLAGS="$CPPFLAGS"
11592    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11593
11594    save_LDFLAGS="$LDFLAGS"
11595    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11596
11597    save_LIBS="$LIBS"
11598    LIBS="$lt_cv_dlopen_libs $LIBS"
11599
11600    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11601$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11602if test "${lt_cv_dlopen_self+set}" = set; then :
11603  $as_echo_n "(cached) " >&6
11604else
11605  	  if test "$cross_compiling" = yes; then :
11606  lt_cv_dlopen_self=cross
11607else
11608  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11609  lt_status=$lt_dlunknown
11610  cat > conftest.$ac_ext <<_LT_EOF
11611#line 11608 "configure"
11612#include "confdefs.h"
11613
11614#if HAVE_DLFCN_H
11615#include <dlfcn.h>
11616#endif
11617
11618#include <stdio.h>
11619
11620#ifdef RTLD_GLOBAL
11621#  define LT_DLGLOBAL		RTLD_GLOBAL
11622#else
11623#  ifdef DL_GLOBAL
11624#    define LT_DLGLOBAL		DL_GLOBAL
11625#  else
11626#    define LT_DLGLOBAL		0
11627#  endif
11628#endif
11629
11630/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11631   find out it does not work in some platform. */
11632#ifndef LT_DLLAZY_OR_NOW
11633#  ifdef RTLD_LAZY
11634#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11635#  else
11636#    ifdef DL_LAZY
11637#      define LT_DLLAZY_OR_NOW		DL_LAZY
11638#    else
11639#      ifdef RTLD_NOW
11640#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11641#      else
11642#        ifdef DL_NOW
11643#          define LT_DLLAZY_OR_NOW	DL_NOW
11644#        else
11645#          define LT_DLLAZY_OR_NOW	0
11646#        endif
11647#      endif
11648#    endif
11649#  endif
11650#endif
11651
11652/* When -fvisbility=hidden is used, assume the code has been annotated
11653   correspondingly for the symbols needed.  */
11654#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11655void fnord () __attribute__((visibility("default")));
11656#endif
11657
11658void fnord () { int i=42; }
11659int main ()
11660{
11661  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11662  int status = $lt_dlunknown;
11663
11664  if (self)
11665    {
11666      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11667      else
11668        {
11669	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11670          else puts (dlerror ());
11671	}
11672      /* dlclose (self); */
11673    }
11674  else
11675    puts (dlerror ());
11676
11677  return status;
11678}
11679_LT_EOF
11680  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11681  (eval $ac_link) 2>&5
11682  ac_status=$?
11683  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11684  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11685    (./conftest; exit; ) >&5 2>/dev/null
11686    lt_status=$?
11687    case x$lt_status in
11688      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11689      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11690      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11691    esac
11692  else :
11693    # compilation failed
11694    lt_cv_dlopen_self=no
11695  fi
11696fi
11697rm -fr conftest*
11698
11699
11700fi
11701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11702$as_echo "$lt_cv_dlopen_self" >&6; }
11703
11704    if test "x$lt_cv_dlopen_self" = xyes; then
11705      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11706      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11707$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11708if test "${lt_cv_dlopen_self_static+set}" = set; then :
11709  $as_echo_n "(cached) " >&6
11710else
11711  	  if test "$cross_compiling" = yes; then :
11712  lt_cv_dlopen_self_static=cross
11713else
11714  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11715  lt_status=$lt_dlunknown
11716  cat > conftest.$ac_ext <<_LT_EOF
11717#line 11714 "configure"
11718#include "confdefs.h"
11719
11720#if HAVE_DLFCN_H
11721#include <dlfcn.h>
11722#endif
11723
11724#include <stdio.h>
11725
11726#ifdef RTLD_GLOBAL
11727#  define LT_DLGLOBAL		RTLD_GLOBAL
11728#else
11729#  ifdef DL_GLOBAL
11730#    define LT_DLGLOBAL		DL_GLOBAL
11731#  else
11732#    define LT_DLGLOBAL		0
11733#  endif
11734#endif
11735
11736/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11737   find out it does not work in some platform. */
11738#ifndef LT_DLLAZY_OR_NOW
11739#  ifdef RTLD_LAZY
11740#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11741#  else
11742#    ifdef DL_LAZY
11743#      define LT_DLLAZY_OR_NOW		DL_LAZY
11744#    else
11745#      ifdef RTLD_NOW
11746#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11747#      else
11748#        ifdef DL_NOW
11749#          define LT_DLLAZY_OR_NOW	DL_NOW
11750#        else
11751#          define LT_DLLAZY_OR_NOW	0
11752#        endif
11753#      endif
11754#    endif
11755#  endif
11756#endif
11757
11758/* When -fvisbility=hidden is used, assume the code has been annotated
11759   correspondingly for the symbols needed.  */
11760#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11761void fnord () __attribute__((visibility("default")));
11762#endif
11763
11764void fnord () { int i=42; }
11765int main ()
11766{
11767  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11768  int status = $lt_dlunknown;
11769
11770  if (self)
11771    {
11772      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11773      else
11774        {
11775	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11776          else puts (dlerror ());
11777	}
11778      /* dlclose (self); */
11779    }
11780  else
11781    puts (dlerror ());
11782
11783  return status;
11784}
11785_LT_EOF
11786  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11787  (eval $ac_link) 2>&5
11788  ac_status=$?
11789  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11790  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11791    (./conftest; exit; ) >&5 2>/dev/null
11792    lt_status=$?
11793    case x$lt_status in
11794      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11795      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11796      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11797    esac
11798  else :
11799    # compilation failed
11800    lt_cv_dlopen_self_static=no
11801  fi
11802fi
11803rm -fr conftest*
11804
11805
11806fi
11807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11808$as_echo "$lt_cv_dlopen_self_static" >&6; }
11809    fi
11810
11811    CPPFLAGS="$save_CPPFLAGS"
11812    LDFLAGS="$save_LDFLAGS"
11813    LIBS="$save_LIBS"
11814    ;;
11815  esac
11816
11817  case $lt_cv_dlopen_self in
11818  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11819  *) enable_dlopen_self=unknown ;;
11820  esac
11821
11822  case $lt_cv_dlopen_self_static in
11823  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11824  *) enable_dlopen_self_static=unknown ;;
11825  esac
11826fi
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844striplib=
11845old_striplib=
11846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11847$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11848if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11849  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11850  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11852$as_echo "yes" >&6; }
11853else
11854# FIXME - insert some real tests, host_os isn't really good enough
11855  case $host_os in
11856  darwin*)
11857    if test -n "$STRIP" ; then
11858      striplib="$STRIP -x"
11859      old_striplib="$STRIP -S"
11860      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11861$as_echo "yes" >&6; }
11862    else
11863      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11864$as_echo "no" >&6; }
11865    fi
11866    ;;
11867  *)
11868    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11869$as_echo "no" >&6; }
11870    ;;
11871  esac
11872fi
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885  # Report which library types will actually be built
11886  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11887$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11888  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11889$as_echo "$can_build_shared" >&6; }
11890
11891  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11892$as_echo_n "checking whether to build shared libraries... " >&6; }
11893  test "$can_build_shared" = "no" && enable_shared=no
11894
11895  # On AIX, shared libraries and static libraries use the same namespace, and
11896  # are all built from PIC.
11897  case $host_os in
11898  aix3*)
11899    test "$enable_shared" = yes && enable_static=no
11900    if test -n "$RANLIB"; then
11901      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11902      postinstall_cmds='$RANLIB $lib'
11903    fi
11904    ;;
11905
11906  aix[4-9]*)
11907    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11908      test "$enable_shared" = yes && enable_static=no
11909    fi
11910    ;;
11911  esac
11912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11913$as_echo "$enable_shared" >&6; }
11914
11915  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11916$as_echo_n "checking whether to build static libraries... " >&6; }
11917  # Make sure either enable_shared or enable_static is yes.
11918  test "$enable_shared" = yes || enable_static=yes
11919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11920$as_echo "$enable_static" >&6; }
11921
11922
11923
11924
11925fi
11926ac_ext=c
11927ac_cpp='$CPP $CPPFLAGS'
11928ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11929ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11930ac_compiler_gnu=$ac_cv_c_compiler_gnu
11931
11932CC="$lt_save_CC"
11933
11934      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11935    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11936    (test "X$CXX" != "Xg++"))) ; then
11937  ac_ext=cpp
11938ac_cpp='$CXXCPP $CPPFLAGS'
11939ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11940ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11941ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11943$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11944if test -z "$CXXCPP"; then
11945  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11946  $as_echo_n "(cached) " >&6
11947else
11948      # Double quotes because CXXCPP needs to be expanded
11949    for CXXCPP in "$CXX -E" "/lib/cpp"
11950    do
11951      ac_preproc_ok=false
11952for ac_cxx_preproc_warn_flag in '' yes
11953do
11954  # Use a header file that comes with gcc, so configuring glibc
11955  # with a fresh cross-compiler works.
11956  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11957  # <limits.h> exists even on freestanding compilers.
11958  # On the NeXT, cc -E runs the code through the compiler's parser,
11959  # not just through cpp. "Syntax error" is here to catch this case.
11960  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11961/* end confdefs.h.  */
11962#ifdef __STDC__
11963# include <limits.h>
11964#else
11965# include <assert.h>
11966#endif
11967		     Syntax error
11968_ACEOF
11969if ac_fn_cxx_try_cpp "$LINENO"; then :
11970
11971else
11972  # Broken: fails on valid input.
11973continue
11974fi
11975rm -f conftest.err conftest.$ac_ext
11976
11977  # OK, works on sane cases.  Now check whether nonexistent headers
11978  # can be detected and how.
11979  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11980/* end confdefs.h.  */
11981#include <ac_nonexistent.h>
11982_ACEOF
11983if ac_fn_cxx_try_cpp "$LINENO"; then :
11984  # Broken: success on invalid input.
11985continue
11986else
11987  # Passes both tests.
11988ac_preproc_ok=:
11989break
11990fi
11991rm -f conftest.err conftest.$ac_ext
11992
11993done
11994# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11995rm -f conftest.err conftest.$ac_ext
11996if $ac_preproc_ok; then :
11997  break
11998fi
11999
12000    done
12001    ac_cv_prog_CXXCPP=$CXXCPP
12002
12003fi
12004  CXXCPP=$ac_cv_prog_CXXCPP
12005else
12006  ac_cv_prog_CXXCPP=$CXXCPP
12007fi
12008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12009$as_echo "$CXXCPP" >&6; }
12010ac_preproc_ok=false
12011for ac_cxx_preproc_warn_flag in '' yes
12012do
12013  # Use a header file that comes with gcc, so configuring glibc
12014  # with a fresh cross-compiler works.
12015  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12016  # <limits.h> exists even on freestanding compilers.
12017  # On the NeXT, cc -E runs the code through the compiler's parser,
12018  # not just through cpp. "Syntax error" is here to catch this case.
12019  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12020/* end confdefs.h.  */
12021#ifdef __STDC__
12022# include <limits.h>
12023#else
12024# include <assert.h>
12025#endif
12026		     Syntax error
12027_ACEOF
12028if ac_fn_cxx_try_cpp "$LINENO"; then :
12029
12030else
12031  # Broken: fails on valid input.
12032continue
12033fi
12034rm -f conftest.err conftest.$ac_ext
12035
12036  # OK, works on sane cases.  Now check whether nonexistent headers
12037  # can be detected and how.
12038  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12039/* end confdefs.h.  */
12040#include <ac_nonexistent.h>
12041_ACEOF
12042if ac_fn_cxx_try_cpp "$LINENO"; then :
12043  # Broken: success on invalid input.
12044continue
12045else
12046  # Passes both tests.
12047ac_preproc_ok=:
12048break
12049fi
12050rm -f conftest.err conftest.$ac_ext
12051
12052done
12053# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12054rm -f conftest.err conftest.$ac_ext
12055if $ac_preproc_ok; then :
12056
12057else
12058  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12059$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12060as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12061See \`config.log' for more details." "$LINENO" 5; }
12062fi
12063
12064ac_ext=c
12065ac_cpp='$CPP $CPPFLAGS'
12066ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12067ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12068ac_compiler_gnu=$ac_cv_c_compiler_gnu
12069
12070else
12071  _lt_caught_CXX_error=yes
12072fi
12073
12074ac_ext=cpp
12075ac_cpp='$CXXCPP $CPPFLAGS'
12076ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12077ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12078ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12079
12080archive_cmds_need_lc_CXX=no
12081allow_undefined_flag_CXX=
12082always_export_symbols_CXX=no
12083archive_expsym_cmds_CXX=
12084compiler_needs_object_CXX=no
12085export_dynamic_flag_spec_CXX=
12086hardcode_direct_CXX=no
12087hardcode_direct_absolute_CXX=no
12088hardcode_libdir_flag_spec_CXX=
12089hardcode_libdir_flag_spec_ld_CXX=
12090hardcode_libdir_separator_CXX=
12091hardcode_minus_L_CXX=no
12092hardcode_shlibpath_var_CXX=unsupported
12093hardcode_automatic_CXX=no
12094inherit_rpath_CXX=no
12095module_cmds_CXX=
12096module_expsym_cmds_CXX=
12097link_all_deplibs_CXX=unknown
12098old_archive_cmds_CXX=$old_archive_cmds
12099reload_flag_CXX=$reload_flag
12100reload_cmds_CXX=$reload_cmds
12101no_undefined_flag_CXX=
12102whole_archive_flag_spec_CXX=
12103enable_shared_with_static_runtimes_CXX=no
12104
12105# Source file extension for C++ test sources.
12106ac_ext=cpp
12107
12108# Object file extension for compiled C++ test sources.
12109objext=o
12110objext_CXX=$objext
12111
12112# No sense in running all these tests if we already determined that
12113# the CXX compiler isn't working.  Some variables (like enable_shared)
12114# are currently assumed to apply to all compilers on this platform,
12115# and will be corrupted by setting them based on a non-working compiler.
12116if test "$_lt_caught_CXX_error" != yes; then
12117  # Code to be used in simple compile tests
12118  lt_simple_compile_test_code="int some_variable = 0;"
12119
12120  # Code to be used in simple link tests
12121  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12122
12123  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12124
12125
12126
12127
12128
12129
12130# If no C compiler was specified, use CC.
12131LTCC=${LTCC-"$CC"}
12132
12133# If no C compiler flags were specified, use CFLAGS.
12134LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12135
12136# Allow CC to be a program name with arguments.
12137compiler=$CC
12138
12139
12140  # save warnings/boilerplate of simple test code
12141  ac_outfile=conftest.$ac_objext
12142echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12143eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12144_lt_compiler_boilerplate=`cat conftest.err`
12145$RM conftest*
12146
12147  ac_outfile=conftest.$ac_objext
12148echo "$lt_simple_link_test_code" >conftest.$ac_ext
12149eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12150_lt_linker_boilerplate=`cat conftest.err`
12151$RM -r conftest*
12152
12153
12154  # Allow CC to be a program name with arguments.
12155  lt_save_CC=$CC
12156  lt_save_LD=$LD
12157  lt_save_GCC=$GCC
12158  GCC=$GXX
12159  lt_save_with_gnu_ld=$with_gnu_ld
12160  lt_save_path_LD=$lt_cv_path_LD
12161  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12162    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12163  else
12164    $as_unset lt_cv_prog_gnu_ld
12165  fi
12166  if test -n "${lt_cv_path_LDCXX+set}"; then
12167    lt_cv_path_LD=$lt_cv_path_LDCXX
12168  else
12169    $as_unset lt_cv_path_LD
12170  fi
12171  test -z "${LDCXX+set}" || LD=$LDCXX
12172  CC=${CXX-"c++"}
12173  compiler=$CC
12174  compiler_CXX=$CC
12175  for cc_temp in $compiler""; do
12176  case $cc_temp in
12177    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12178    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12179    \-*) ;;
12180    *) break;;
12181  esac
12182done
12183cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12184
12185
12186  if test -n "$compiler"; then
12187    # We don't want -fno-exception when compiling C++ code, so set the
12188    # no_builtin_flag separately
12189    if test "$GXX" = yes; then
12190      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12191    else
12192      lt_prog_compiler_no_builtin_flag_CXX=
12193    fi
12194
12195    if test "$GXX" = yes; then
12196      # Set up default GNU C++ configuration
12197
12198
12199
12200# Check whether --with-gnu-ld was given.
12201if test "${with_gnu_ld+set}" = set; then :
12202  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12203else
12204  with_gnu_ld=no
12205fi
12206
12207ac_prog=ld
12208if test "$GCC" = yes; then
12209  # Check if gcc -print-prog-name=ld gives a path.
12210  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12211$as_echo_n "checking for ld used by $CC... " >&6; }
12212  case $host in
12213  *-*-mingw*)
12214    # gcc leaves a trailing carriage return which upsets mingw
12215    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12216  *)
12217    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12218  esac
12219  case $ac_prog in
12220    # Accept absolute paths.
12221    [\\/]* | ?:[\\/]*)
12222      re_direlt='/[^/][^/]*/\.\./'
12223      # Canonicalize the pathname of ld
12224      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12225      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12226	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12227      done
12228      test -z "$LD" && LD="$ac_prog"
12229      ;;
12230  "")
12231    # If it fails, then pretend we aren't using GCC.
12232    ac_prog=ld
12233    ;;
12234  *)
12235    # If it is relative, then search for the first ld in PATH.
12236    with_gnu_ld=unknown
12237    ;;
12238  esac
12239elif test "$with_gnu_ld" = yes; then
12240  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12241$as_echo_n "checking for GNU ld... " >&6; }
12242else
12243  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12244$as_echo_n "checking for non-GNU ld... " >&6; }
12245fi
12246if test "${lt_cv_path_LD+set}" = set; then :
12247  $as_echo_n "(cached) " >&6
12248else
12249  if test -z "$LD"; then
12250  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12251  for ac_dir in $PATH; do
12252    IFS="$lt_save_ifs"
12253    test -z "$ac_dir" && ac_dir=.
12254    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12255      lt_cv_path_LD="$ac_dir/$ac_prog"
12256      # Check to see if the program is GNU ld.  I'd rather use --version,
12257      # but apparently some variants of GNU ld only accept -v.
12258      # Break only if it was the GNU/non-GNU ld that we prefer.
12259      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12260      *GNU* | *'with BFD'*)
12261	test "$with_gnu_ld" != no && break
12262	;;
12263      *)
12264	test "$with_gnu_ld" != yes && break
12265	;;
12266      esac
12267    fi
12268  done
12269  IFS="$lt_save_ifs"
12270else
12271  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12272fi
12273fi
12274
12275LD="$lt_cv_path_LD"
12276if test -n "$LD"; then
12277  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12278$as_echo "$LD" >&6; }
12279else
12280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12281$as_echo "no" >&6; }
12282fi
12283test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12285$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12286if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12287  $as_echo_n "(cached) " >&6
12288else
12289  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12290case `$LD -v 2>&1 </dev/null` in
12291*GNU* | *'with BFD'*)
12292  lt_cv_prog_gnu_ld=yes
12293  ;;
12294*)
12295  lt_cv_prog_gnu_ld=no
12296  ;;
12297esac
12298fi
12299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12300$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12301with_gnu_ld=$lt_cv_prog_gnu_ld
12302
12303
12304
12305
12306
12307
12308
12309      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12310      # archiving commands below assume that GNU ld is being used.
12311      if test "$with_gnu_ld" = yes; then
12312        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12313        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12314
12315        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12316        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12317
12318        # If archive_cmds runs LD, not CC, wlarc should be empty
12319        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12320        #     investigate it a little bit more. (MM)
12321        wlarc='${wl}'
12322
12323        # ancient GNU ld didn't support --whole-archive et. al.
12324        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12325	  $GREP 'no-whole-archive' > /dev/null; then
12326          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12327        else
12328          whole_archive_flag_spec_CXX=
12329        fi
12330      else
12331        with_gnu_ld=no
12332        wlarc=
12333
12334        # A generic and very simple default shared library creation
12335        # command for GNU C++ for the case where it uses the native
12336        # linker, instead of GNU ld.  If possible, this setting should
12337        # overridden to take advantage of the native linker features on
12338        # the platform it is being used on.
12339        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12340      fi
12341
12342      # Commands to make compiler produce verbose output that lists
12343      # what "hidden" libraries, object files and flags are used when
12344      # linking a shared library.
12345      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12346
12347    else
12348      GXX=no
12349      with_gnu_ld=no
12350      wlarc=
12351    fi
12352
12353    # PORTME: fill in a description of your system's C++ link characteristics
12354    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12355$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12356    ld_shlibs_CXX=yes
12357    case $host_os in
12358      aix3*)
12359        # FIXME: insert proper C++ library support
12360        ld_shlibs_CXX=no
12361        ;;
12362      aix[4-9]*)
12363        if test "$host_cpu" = ia64; then
12364          # On IA64, the linker does run time linking by default, so we don't
12365          # have to do anything special.
12366          aix_use_runtimelinking=no
12367          exp_sym_flag='-Bexport'
12368          no_entry_flag=""
12369        else
12370          aix_use_runtimelinking=no
12371
12372          # Test if we are trying to use run time linking or normal
12373          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12374          # need to do runtime linking.
12375          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12376	    for ld_flag in $LDFLAGS; do
12377	      case $ld_flag in
12378	      *-brtl*)
12379	        aix_use_runtimelinking=yes
12380	        break
12381	        ;;
12382	      esac
12383	    done
12384	    ;;
12385          esac
12386
12387          exp_sym_flag='-bexport'
12388          no_entry_flag='-bnoentry'
12389        fi
12390
12391        # When large executables or shared objects are built, AIX ld can
12392        # have problems creating the table of contents.  If linking a library
12393        # or program results in "error TOC overflow" add -mminimal-toc to
12394        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12395        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12396
12397        archive_cmds_CXX=''
12398        hardcode_direct_CXX=yes
12399        hardcode_direct_absolute_CXX=yes
12400        hardcode_libdir_separator_CXX=':'
12401        link_all_deplibs_CXX=yes
12402        file_list_spec_CXX='${wl}-f,'
12403
12404        if test "$GXX" = yes; then
12405          case $host_os in aix4.[012]|aix4.[012].*)
12406          # We only want to do this on AIX 4.2 and lower, the check
12407          # below for broken collect2 doesn't work under 4.3+
12408	  collect2name=`${CC} -print-prog-name=collect2`
12409	  if test -f "$collect2name" &&
12410	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12411	  then
12412	    # We have reworked collect2
12413	    :
12414	  else
12415	    # We have old collect2
12416	    hardcode_direct_CXX=unsupported
12417	    # It fails to find uninstalled libraries when the uninstalled
12418	    # path is not listed in the libpath.  Setting hardcode_minus_L
12419	    # to unsupported forces relinking
12420	    hardcode_minus_L_CXX=yes
12421	    hardcode_libdir_flag_spec_CXX='-L$libdir'
12422	    hardcode_libdir_separator_CXX=
12423	  fi
12424          esac
12425          shared_flag='-shared'
12426	  if test "$aix_use_runtimelinking" = yes; then
12427	    shared_flag="$shared_flag "'${wl}-G'
12428	  fi
12429        else
12430          # not using gcc
12431          if test "$host_cpu" = ia64; then
12432	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12433	  # chokes on -Wl,-G. The following line is correct:
12434	  shared_flag='-G'
12435          else
12436	    if test "$aix_use_runtimelinking" = yes; then
12437	      shared_flag='${wl}-G'
12438	    else
12439	      shared_flag='${wl}-bM:SRE'
12440	    fi
12441          fi
12442        fi
12443
12444        export_dynamic_flag_spec_CXX='${wl}-bexpall'
12445        # It seems that -bexpall does not export symbols beginning with
12446        # underscore (_), so it is better to generate a list of symbols to
12447	# export.
12448        always_export_symbols_CXX=yes
12449        if test "$aix_use_runtimelinking" = yes; then
12450          # Warning - without using the other runtime loading flags (-brtl),
12451          # -berok will link without error, but may produce a broken library.
12452          allow_undefined_flag_CXX='-berok'
12453          # Determine the default libpath from the value encoded in an empty
12454          # executable.
12455          if test x$gcc_no_link = xyes; then
12456  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12457fi
12458cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459/* end confdefs.h.  */
12460
12461int
12462main ()
12463{
12464
12465  ;
12466  return 0;
12467}
12468_ACEOF
12469if ac_fn_cxx_try_link "$LINENO"; then :
12470
12471lt_aix_libpath_sed='
12472    /Import File Strings/,/^$/ {
12473	/^0/ {
12474	    s/^0  *\(.*\)$/\1/
12475	    p
12476	}
12477    }'
12478aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12479# Check for a 64-bit object if we didn't find anything.
12480if test -z "$aix_libpath"; then
12481  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12482fi
12483fi
12484rm -f core conftest.err conftest.$ac_objext \
12485    conftest$ac_exeext conftest.$ac_ext
12486if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12487
12488          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12489
12490          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"
12491        else
12492          if test "$host_cpu" = ia64; then
12493	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12494	    allow_undefined_flag_CXX="-z nodefs"
12495	    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"
12496          else
12497	    # Determine the default libpath from the value encoded in an
12498	    # empty executable.
12499	    if test x$gcc_no_link = xyes; then
12500  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12501fi
12502cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12503/* end confdefs.h.  */
12504
12505int
12506main ()
12507{
12508
12509  ;
12510  return 0;
12511}
12512_ACEOF
12513if ac_fn_cxx_try_link "$LINENO"; then :
12514
12515lt_aix_libpath_sed='
12516    /Import File Strings/,/^$/ {
12517	/^0/ {
12518	    s/^0  *\(.*\)$/\1/
12519	    p
12520	}
12521    }'
12522aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12523# Check for a 64-bit object if we didn't find anything.
12524if test -z "$aix_libpath"; then
12525  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12526fi
12527fi
12528rm -f core conftest.err conftest.$ac_objext \
12529    conftest$ac_exeext conftest.$ac_ext
12530if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12531
12532	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12533	    # Warning - without using the other run time loading flags,
12534	    # -berok will link without error, but may produce a broken library.
12535	    no_undefined_flag_CXX=' ${wl}-bernotok'
12536	    allow_undefined_flag_CXX=' ${wl}-berok'
12537	    if test "$with_gnu_ld" = yes; then
12538	      # We only use this code for GNU lds that support --whole-archive.
12539	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12540	    else
12541	      # Exported symbols can be pulled into shared objects from archives
12542	      whole_archive_flag_spec_CXX='$convenience'
12543	    fi
12544	    archive_cmds_need_lc_CXX=yes
12545	    # This is similar to how AIX traditionally builds its shared
12546	    # libraries.
12547	    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'
12548          fi
12549        fi
12550        ;;
12551
12552      beos*)
12553	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12554	  allow_undefined_flag_CXX=unsupported
12555	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12556	  # support --undefined.  This deserves some investigation.  FIXME
12557	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12558	else
12559	  ld_shlibs_CXX=no
12560	fi
12561	;;
12562
12563      chorus*)
12564        case $cc_basename in
12565          *)
12566	  # FIXME: insert proper C++ library support
12567	  ld_shlibs_CXX=no
12568	  ;;
12569        esac
12570        ;;
12571
12572      cygwin* | mingw* | pw32* | cegcc*)
12573        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12574        # as there is no search path for DLLs.
12575        hardcode_libdir_flag_spec_CXX='-L$libdir'
12576        export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12577        allow_undefined_flag_CXX=unsupported
12578        always_export_symbols_CXX=no
12579        enable_shared_with_static_runtimes_CXX=yes
12580
12581        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12582          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'
12583          # If the export-symbols file already is a .def file (1st line
12584          # is EXPORTS), use it as is; otherwise, prepend...
12585          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12586	    cp $export_symbols $output_objdir/$soname.def;
12587          else
12588	    echo EXPORTS > $output_objdir/$soname.def;
12589	    cat $export_symbols >> $output_objdir/$soname.def;
12590          fi~
12591          $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'
12592        else
12593          ld_shlibs_CXX=no
12594        fi
12595        ;;
12596      darwin* | rhapsody*)
12597
12598
12599  archive_cmds_need_lc_CXX=no
12600  hardcode_direct_CXX=no
12601  hardcode_automatic_CXX=yes
12602  hardcode_shlibpath_var_CXX=unsupported
12603  if test "$lt_cv_ld_force_load" = "yes"; then
12604    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\"`'
12605  else
12606    whole_archive_flag_spec_CXX=''
12607  fi
12608  link_all_deplibs_CXX=yes
12609  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12610  case $cc_basename in
12611     ifort*) _lt_dar_can_shared=yes ;;
12612     *) _lt_dar_can_shared=$GCC ;;
12613  esac
12614  if test "$_lt_dar_can_shared" = "yes"; then
12615    output_verbose_link_cmd=func_echo_all
12616    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}"
12617    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12618    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}"
12619    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}"
12620       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12621      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}"
12622      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}"
12623    fi
12624
12625  else
12626  ld_shlibs_CXX=no
12627  fi
12628
12629	;;
12630
12631      dgux*)
12632        case $cc_basename in
12633          ec++*)
12634	    # FIXME: insert proper C++ library support
12635	    ld_shlibs_CXX=no
12636	    ;;
12637          ghcx*)
12638	    # Green Hills C++ Compiler
12639	    # FIXME: insert proper C++ library support
12640	    ld_shlibs_CXX=no
12641	    ;;
12642          *)
12643	    # FIXME: insert proper C++ library support
12644	    ld_shlibs_CXX=no
12645	    ;;
12646        esac
12647        ;;
12648
12649      freebsd2.*)
12650        # C++ shared libraries reported to be fairly broken before
12651	# switch to ELF
12652        ld_shlibs_CXX=no
12653        ;;
12654
12655      freebsd-elf*)
12656        archive_cmds_need_lc_CXX=no
12657        ;;
12658
12659      freebsd* | dragonfly*)
12660        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12661        # conventions
12662        ld_shlibs_CXX=yes
12663        ;;
12664
12665      gnu*)
12666        ;;
12667
12668      haiku*)
12669        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12670        link_all_deplibs_CXX=yes
12671        ;;
12672
12673      hpux9*)
12674        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12675        hardcode_libdir_separator_CXX=:
12676        export_dynamic_flag_spec_CXX='${wl}-E'
12677        hardcode_direct_CXX=yes
12678        hardcode_minus_L_CXX=yes # Not in the search PATH,
12679				             # but as the default
12680				             # location of the library.
12681
12682        case $cc_basename in
12683          CC*)
12684            # FIXME: insert proper C++ library support
12685            ld_shlibs_CXX=no
12686            ;;
12687          aCC*)
12688            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'
12689            # Commands to make compiler produce verbose output that lists
12690            # what "hidden" libraries, object files and flags are used when
12691            # linking a shared library.
12692            #
12693            # There doesn't appear to be a way to prevent this compiler from
12694            # explicitly linking system object files so we need to strip them
12695            # from the output so that they don't get included in the library
12696            # dependencies.
12697            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"'
12698            ;;
12699          *)
12700            if test "$GXX" = yes; then
12701              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'
12702            else
12703              # FIXME: insert proper C++ library support
12704              ld_shlibs_CXX=no
12705            fi
12706            ;;
12707        esac
12708        ;;
12709
12710      hpux10*|hpux11*)
12711        if test $with_gnu_ld = no; then
12712	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12713	  hardcode_libdir_separator_CXX=:
12714
12715          case $host_cpu in
12716            hppa*64*|ia64*)
12717              ;;
12718            *)
12719	      export_dynamic_flag_spec_CXX='${wl}-E'
12720              ;;
12721          esac
12722        fi
12723        case $host_cpu in
12724          hppa*64*|ia64*)
12725            hardcode_direct_CXX=no
12726            hardcode_shlibpath_var_CXX=no
12727            ;;
12728          *)
12729            hardcode_direct_CXX=yes
12730            hardcode_direct_absolute_CXX=yes
12731            hardcode_minus_L_CXX=yes # Not in the search PATH,
12732					         # but as the default
12733					         # location of the library.
12734            ;;
12735        esac
12736
12737        case $cc_basename in
12738          CC*)
12739	    # FIXME: insert proper C++ library support
12740	    ld_shlibs_CXX=no
12741	    ;;
12742          aCC*)
12743	    case $host_cpu in
12744	      hppa*64*)
12745	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12746	        ;;
12747	      ia64*)
12748	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12749	        ;;
12750	      *)
12751	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12752	        ;;
12753	    esac
12754	    # Commands to make compiler produce verbose output that lists
12755	    # what "hidden" libraries, object files and flags are used when
12756	    # linking a shared library.
12757	    #
12758	    # There doesn't appear to be a way to prevent this compiler from
12759	    # explicitly linking system object files so we need to strip them
12760	    # from the output so that they don't get included in the library
12761	    # dependencies.
12762	    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"'
12763	    ;;
12764          *)
12765	    if test "$GXX" = yes; then
12766	      if test $with_gnu_ld = no; then
12767	        case $host_cpu in
12768	          hppa*64*)
12769	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12770	            ;;
12771	          ia64*)
12772	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12773	            ;;
12774	          *)
12775	            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'
12776	            ;;
12777	        esac
12778	      fi
12779	    else
12780	      # FIXME: insert proper C++ library support
12781	      ld_shlibs_CXX=no
12782	    fi
12783	    ;;
12784        esac
12785        ;;
12786
12787      interix[3-9]*)
12788	hardcode_direct_CXX=no
12789	hardcode_shlibpath_var_CXX=no
12790	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12791	export_dynamic_flag_spec_CXX='${wl}-E'
12792	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12793	# Instead, shared libraries are loaded at an image base (0x10000000 by
12794	# default) and relocated if they conflict, which is a slow very memory
12795	# consuming and fragmenting process.  To avoid this, we pick a random,
12796	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12797	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12798	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'
12799	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'
12800	;;
12801      irix5* | irix6*)
12802        case $cc_basename in
12803          CC*)
12804	    # SGI C++
12805	    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'
12806
12807	    # Archives containing C++ object files must be created using
12808	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12809	    # necessary to make sure instantiated templates are included
12810	    # in the archive.
12811	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12812	    ;;
12813          *)
12814	    if test "$GXX" = yes; then
12815	      if test "$with_gnu_ld" = no; then
12816	        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'
12817	      else
12818	        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'
12819	      fi
12820	    fi
12821	    link_all_deplibs_CXX=yes
12822	    ;;
12823        esac
12824        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12825        hardcode_libdir_separator_CXX=:
12826        inherit_rpath_CXX=yes
12827        ;;
12828
12829      linux* | k*bsd*-gnu | kopensolaris*-gnu)
12830        case $cc_basename in
12831          KCC*)
12832	    # Kuck and Associates, Inc. (KAI) C++ Compiler
12833
12834	    # KCC will only create a shared library if the output file
12835	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
12836	    # to its proper name (with version) after linking.
12837	    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'
12838	    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'
12839	    # Commands to make compiler produce verbose output that lists
12840	    # what "hidden" libraries, object files and flags are used when
12841	    # linking a shared library.
12842	    #
12843	    # There doesn't appear to be a way to prevent this compiler from
12844	    # explicitly linking system object files so we need to strip them
12845	    # from the output so that they don't get included in the library
12846	    # dependencies.
12847	    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"'
12848
12849	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12850	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12851
12852	    # Archives containing C++ object files must be created using
12853	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12854	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12855	    ;;
12856	  icpc* | ecpc* )
12857	    # Intel C++
12858	    with_gnu_ld=yes
12859	    # version 8.0 and above of icpc choke on multiply defined symbols
12860	    # if we add $predep_objects and $postdep_objects, however 7.1 and
12861	    # earlier do not add the objects themselves.
12862	    case `$CC -V 2>&1` in
12863	      *"Version 7."*)
12864	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12865		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'
12866		;;
12867	      *)  # Version 8.0 or newer
12868	        tmp_idyn=
12869	        case $host_cpu in
12870		  ia64*) tmp_idyn=' -i_dynamic';;
12871		esac
12872	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12873		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'
12874		;;
12875	    esac
12876	    archive_cmds_need_lc_CXX=no
12877	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12878	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12879	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12880	    ;;
12881          pgCC* | pgcpp*)
12882            # Portland Group C++ compiler
12883	    case `$CC -V` in
12884	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12885	      prelink_cmds_CXX='tpldir=Template.dir~
12886		rm -rf $tpldir~
12887		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12888		compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12889	      old_archive_cmds_CXX='tpldir=Template.dir~
12890		rm -rf $tpldir~
12891		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12892		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12893		$RANLIB $oldlib'
12894	      archive_cmds_CXX='tpldir=Template.dir~
12895		rm -rf $tpldir~
12896		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12897		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12898	      archive_expsym_cmds_CXX='tpldir=Template.dir~
12899		rm -rf $tpldir~
12900		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12901		$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'
12902	      ;;
12903	    *) # Version 6 and above use weak symbols
12904	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12905	      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'
12906	      ;;
12907	    esac
12908
12909	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12910	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12911	    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'
12912            ;;
12913	  cxx*)
12914	    # Compaq C++
12915	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12916	    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'
12917
12918	    runpath_var=LD_RUN_PATH
12919	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12920	    hardcode_libdir_separator_CXX=:
12921
12922	    # Commands to make compiler produce verbose output that lists
12923	    # what "hidden" libraries, object files and flags are used when
12924	    # linking a shared library.
12925	    #
12926	    # There doesn't appear to be a way to prevent this compiler from
12927	    # explicitly linking system object files so we need to strip them
12928	    # from the output so that they don't get included in the library
12929	    # dependencies.
12930	    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'
12931	    ;;
12932	  xl* | mpixl* | bgxl*)
12933	    # IBM XL 8.0 on PPC, with GNU ld
12934	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12935	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12936	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12937	    if test "x$supports_anon_versioning" = xyes; then
12938	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12939		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12940		echo "local: *; };" >> $output_objdir/$libname.ver~
12941		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12942	    fi
12943	    ;;
12944	  *)
12945	    case `$CC -V 2>&1 | sed 5q` in
12946	    *Sun\ C*)
12947	      # Sun C++ 5.9
12948	      no_undefined_flag_CXX=' -zdefs'
12949	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12950	      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'
12951	      hardcode_libdir_flag_spec_CXX='-R$libdir'
12952	      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'
12953	      compiler_needs_object_CXX=yes
12954
12955	      # Not sure whether something based on
12956	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12957	      # would be better.
12958	      output_verbose_link_cmd='func_echo_all'
12959
12960	      # Archives containing C++ object files must be created using
12961	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12962	      # necessary to make sure instantiated templates are included
12963	      # in the archive.
12964	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12965	      ;;
12966	    esac
12967	    ;;
12968	esac
12969	;;
12970
12971      lynxos*)
12972        # FIXME: insert proper C++ library support
12973	ld_shlibs_CXX=no
12974	;;
12975
12976      m88k*)
12977        # FIXME: insert proper C++ library support
12978        ld_shlibs_CXX=no
12979	;;
12980
12981      mvs*)
12982        case $cc_basename in
12983          cxx*)
12984	    # FIXME: insert proper C++ library support
12985	    ld_shlibs_CXX=no
12986	    ;;
12987	  *)
12988	    # FIXME: insert proper C++ library support
12989	    ld_shlibs_CXX=no
12990	    ;;
12991	esac
12992	;;
12993
12994      netbsd*)
12995        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12996	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12997	  wlarc=
12998	  hardcode_libdir_flag_spec_CXX='-R$libdir'
12999	  hardcode_direct_CXX=yes
13000	  hardcode_shlibpath_var_CXX=no
13001	fi
13002	# Workaround some broken pre-1.5 toolchains
13003	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13004	;;
13005
13006      *nto* | *qnx*)
13007        ld_shlibs_CXX=yes
13008	;;
13009
13010      openbsd2*)
13011        # C++ shared libraries are fairly broken
13012	ld_shlibs_CXX=no
13013	;;
13014
13015      openbsd*)
13016	if test -f /usr/libexec/ld.so; then
13017	  hardcode_direct_CXX=yes
13018	  hardcode_shlibpath_var_CXX=no
13019	  hardcode_direct_absolute_CXX=yes
13020	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13021	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13022	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13023	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13024	    export_dynamic_flag_spec_CXX='${wl}-E'
13025	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13026	  fi
13027	  output_verbose_link_cmd=func_echo_all
13028	else
13029	  ld_shlibs_CXX=no
13030	fi
13031	;;
13032
13033      osf3* | osf4* | osf5*)
13034        case $cc_basename in
13035          KCC*)
13036	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13037
13038	    # KCC will only create a shared library if the output file
13039	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13040	    # to its proper name (with version) after linking.
13041	    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'
13042
13043	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13044	    hardcode_libdir_separator_CXX=:
13045
13046	    # Archives containing C++ object files must be created using
13047	    # the KAI C++ compiler.
13048	    case $host in
13049	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13050	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13051	    esac
13052	    ;;
13053          RCC*)
13054	    # Rational C++ 2.4.1
13055	    # FIXME: insert proper C++ library support
13056	    ld_shlibs_CXX=no
13057	    ;;
13058          cxx*)
13059	    case $host in
13060	      osf3*)
13061	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13062	        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'
13063	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13064		;;
13065	      *)
13066	        allow_undefined_flag_CXX=' -expect_unresolved \*'
13067	        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'
13068	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13069	          echo "-hidden">> $lib.exp~
13070	          $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~
13071	          $RM $lib.exp'
13072	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13073		;;
13074	    esac
13075
13076	    hardcode_libdir_separator_CXX=:
13077
13078	    # Commands to make compiler produce verbose output that lists
13079	    # what "hidden" libraries, object files and flags are used when
13080	    # linking a shared library.
13081	    #
13082	    # There doesn't appear to be a way to prevent this compiler from
13083	    # explicitly linking system object files so we need to strip them
13084	    # from the output so that they don't get included in the library
13085	    # dependencies.
13086	    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"'
13087	    ;;
13088	  *)
13089	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13090	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13091	      case $host in
13092	        osf3*)
13093	          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'
13094		  ;;
13095	        *)
13096	          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'
13097		  ;;
13098	      esac
13099
13100	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13101	      hardcode_libdir_separator_CXX=:
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 -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13107
13108	    else
13109	      # FIXME: insert proper C++ library support
13110	      ld_shlibs_CXX=no
13111	    fi
13112	    ;;
13113        esac
13114        ;;
13115
13116      psos*)
13117        # FIXME: insert proper C++ library support
13118        ld_shlibs_CXX=no
13119        ;;
13120
13121      sunos4*)
13122        case $cc_basename in
13123          CC*)
13124	    # Sun C++ 4.x
13125	    # FIXME: insert proper C++ library support
13126	    ld_shlibs_CXX=no
13127	    ;;
13128          lcc*)
13129	    # Lucid
13130	    # FIXME: insert proper C++ library support
13131	    ld_shlibs_CXX=no
13132	    ;;
13133          *)
13134	    # FIXME: insert proper C++ library support
13135	    ld_shlibs_CXX=no
13136	    ;;
13137        esac
13138        ;;
13139
13140      solaris*)
13141        case $cc_basename in
13142          CC*)
13143	    # Sun C++ 4.2, 5.x and Centerline C++
13144            archive_cmds_need_lc_CXX=yes
13145	    no_undefined_flag_CXX=' -zdefs'
13146	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13147	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13148	      $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'
13149
13150	    hardcode_libdir_flag_spec_CXX='-R$libdir'
13151	    hardcode_shlibpath_var_CXX=no
13152	    case $host_os in
13153	      solaris2.[0-5] | solaris2.[0-5].*) ;;
13154	      *)
13155		# The compiler driver will combine and reorder linker options,
13156		# but understands `-z linker_flag'.
13157	        # Supported since Solaris 2.6 (maybe 2.5.1?)
13158		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13159	        ;;
13160	    esac
13161	    link_all_deplibs_CXX=yes
13162
13163	    output_verbose_link_cmd='func_echo_all'
13164
13165	    # Archives containing C++ object files must be created using
13166	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13167	    # necessary to make sure instantiated templates are included
13168	    # in the archive.
13169	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13170	    ;;
13171          gcx*)
13172	    # Green Hills C++ Compiler
13173	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13174
13175	    # The C++ compiler must be used to create the archive.
13176	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13177	    ;;
13178          *)
13179	    # GNU C++ compiler with Solaris linker
13180	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13181	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13182	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13183	        archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13184	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13185		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13186
13187	        # Commands to make compiler produce verbose output that lists
13188	        # what "hidden" libraries, object files and flags are used when
13189	        # linking a shared library.
13190	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13191	      else
13192	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
13193	        # platform.
13194	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13195	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13196		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13197
13198	        # Commands to make compiler produce verbose output that lists
13199	        # what "hidden" libraries, object files and flags are used when
13200	        # linking a shared library.
13201	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13202	      fi
13203
13204	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13205	      case $host_os in
13206		solaris2.[0-5] | solaris2.[0-5].*) ;;
13207		*)
13208		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13209		  ;;
13210	      esac
13211	    fi
13212	    ;;
13213        esac
13214        ;;
13215
13216    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13217      no_undefined_flag_CXX='${wl}-z,text'
13218      archive_cmds_need_lc_CXX=no
13219      hardcode_shlibpath_var_CXX=no
13220      runpath_var='LD_RUN_PATH'
13221
13222      case $cc_basename in
13223        CC*)
13224	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13225	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13226	  ;;
13227	*)
13228	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13229	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13230	  ;;
13231      esac
13232      ;;
13233
13234      sysv5* | sco3.2v5* | sco5v6*)
13235	# Note: We can NOT use -z defs as we might desire, because we do not
13236	# link with -lc, and that would cause any symbols used from libc to
13237	# always be unresolved, which means just about no library would
13238	# ever link correctly.  If we're not using GNU ld we use -z text
13239	# though, which does catch some bad symbols but isn't as heavy-handed
13240	# as -z defs.
13241	no_undefined_flag_CXX='${wl}-z,text'
13242	allow_undefined_flag_CXX='${wl}-z,nodefs'
13243	archive_cmds_need_lc_CXX=no
13244	hardcode_shlibpath_var_CXX=no
13245	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13246	hardcode_libdir_separator_CXX=':'
13247	link_all_deplibs_CXX=yes
13248	export_dynamic_flag_spec_CXX='${wl}-Bexport'
13249	runpath_var='LD_RUN_PATH'
13250
13251	case $cc_basename in
13252          CC*)
13253	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13254	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13255	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13256	      '"$old_archive_cmds_CXX"
13257	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13258	      '"$reload_cmds_CXX"
13259	    ;;
13260	  *)
13261	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13262	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13263	    ;;
13264	esac
13265      ;;
13266
13267      tandem*)
13268        case $cc_basename in
13269          NCC*)
13270	    # NonStop-UX NCC 3.20
13271	    # FIXME: insert proper C++ library support
13272	    ld_shlibs_CXX=no
13273	    ;;
13274          *)
13275	    # FIXME: insert proper C++ library support
13276	    ld_shlibs_CXX=no
13277	    ;;
13278        esac
13279        ;;
13280
13281      vxworks*)
13282        # FIXME: insert proper C++ library support
13283        ld_shlibs_CXX=no
13284        ;;
13285
13286      *)
13287        # FIXME: insert proper C++ library support
13288        ld_shlibs_CXX=no
13289        ;;
13290    esac
13291
13292    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13293$as_echo "$ld_shlibs_CXX" >&6; }
13294    test "$ld_shlibs_CXX" = no && can_build_shared=no
13295
13296    GCC_CXX="$GXX"
13297    LD_CXX="$LD"
13298
13299    ## CAVEAT EMPTOR:
13300    ## There is no encapsulation within the following macros, do not change
13301    ## the running order or otherwise move them around unless you know exactly
13302    ## what you are doing...
13303    # Dependencies to place before and after the object being linked:
13304predep_objects_CXX=
13305postdep_objects_CXX=
13306predeps_CXX=
13307postdeps_CXX=
13308compiler_lib_search_path_CXX=
13309
13310cat > conftest.$ac_ext <<_LT_EOF
13311class Foo
13312{
13313public:
13314  Foo (void) { a = 0; }
13315private:
13316  int a;
13317};
13318_LT_EOF
13319
13320if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13321  (eval $ac_compile) 2>&5
13322  ac_status=$?
13323  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13324  test $ac_status = 0; }; then
13325  # Parse the compiler output and extract the necessary
13326  # objects, libraries and library flags.
13327
13328  # Sentinel used to keep track of whether or not we are before
13329  # the conftest object file.
13330  pre_test_object_deps_done=no
13331
13332  for p in `eval "$output_verbose_link_cmd"`; do
13333    case $p in
13334
13335    -L* | -R* | -l*)
13336       # Some compilers place space between "-{L,R}" and the path.
13337       # Remove the space.
13338       if test $p = "-L" ||
13339          test $p = "-R"; then
13340	 prev=$p
13341	 continue
13342       else
13343	 prev=
13344       fi
13345
13346       if test "$pre_test_object_deps_done" = no; then
13347	 case $p in
13348	 -L* | -R*)
13349	   # Internal compiler library paths should come after those
13350	   # provided the user.  The postdeps already come after the
13351	   # user supplied libs so there is no need to process them.
13352	   if test -z "$compiler_lib_search_path_CXX"; then
13353	     compiler_lib_search_path_CXX="${prev}${p}"
13354	   else
13355	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13356	   fi
13357	   ;;
13358	 # The "-l" case would never come before the object being
13359	 # linked, so don't bother handling this case.
13360	 esac
13361       else
13362	 if test -z "$postdeps_CXX"; then
13363	   postdeps_CXX="${prev}${p}"
13364	 else
13365	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13366	 fi
13367       fi
13368       ;;
13369
13370    *.$objext)
13371       # This assumes that the test object file only shows up
13372       # once in the compiler output.
13373       if test "$p" = "conftest.$objext"; then
13374	 pre_test_object_deps_done=yes
13375	 continue
13376       fi
13377
13378       if test "$pre_test_object_deps_done" = no; then
13379	 if test -z "$predep_objects_CXX"; then
13380	   predep_objects_CXX="$p"
13381	 else
13382	   predep_objects_CXX="$predep_objects_CXX $p"
13383	 fi
13384       else
13385	 if test -z "$postdep_objects_CXX"; then
13386	   postdep_objects_CXX="$p"
13387	 else
13388	   postdep_objects_CXX="$postdep_objects_CXX $p"
13389	 fi
13390       fi
13391       ;;
13392
13393    *) ;; # Ignore the rest.
13394
13395    esac
13396  done
13397
13398  # Clean up.
13399  rm -f a.out a.exe
13400else
13401  echo "libtool.m4: error: problem compiling CXX test program"
13402fi
13403
13404$RM -f confest.$objext
13405
13406# PORTME: override above test on systems where it is broken
13407case $host_os in
13408interix[3-9]*)
13409  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13410  # hack all around it, let's just trust "g++" to DTRT.
13411  predep_objects_CXX=
13412  postdep_objects_CXX=
13413  postdeps_CXX=
13414  ;;
13415
13416linux*)
13417  case `$CC -V 2>&1 | sed 5q` in
13418  *Sun\ C*)
13419    # Sun C++ 5.9
13420
13421    # The more standards-conforming stlport4 library is
13422    # incompatible with the Cstd library. Avoid specifying
13423    # it if it's in CXXFLAGS. Ignore libCrun as
13424    # -library=stlport4 depends on it.
13425    case " $CXX $CXXFLAGS " in
13426    *" -library=stlport4 "*)
13427      solaris_use_stlport4=yes
13428      ;;
13429    esac
13430
13431    if test "$solaris_use_stlport4" != yes; then
13432      postdeps_CXX='-library=Cstd -library=Crun'
13433    fi
13434    ;;
13435  esac
13436  ;;
13437
13438solaris*)
13439  case $cc_basename in
13440  CC*)
13441    # The more standards-conforming stlport4 library is
13442    # incompatible with the Cstd library. Avoid specifying
13443    # it if it's in CXXFLAGS. Ignore libCrun as
13444    # -library=stlport4 depends on it.
13445    case " $CXX $CXXFLAGS " in
13446    *" -library=stlport4 "*)
13447      solaris_use_stlport4=yes
13448      ;;
13449    esac
13450
13451    # Adding this requires a known-good setup of shared libraries for
13452    # Sun compiler versions before 5.6, else PIC objects from an old
13453    # archive will be linked into the output, leading to subtle bugs.
13454    if test "$solaris_use_stlport4" != yes; then
13455      postdeps_CXX='-library=Cstd -library=Crun'
13456    fi
13457    ;;
13458  esac
13459  ;;
13460esac
13461
13462
13463case " $postdeps_CXX " in
13464*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13465esac
13466 compiler_lib_search_dirs_CXX=
13467if test -n "${compiler_lib_search_path_CXX}"; then
13468 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13469fi
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501    lt_prog_compiler_wl_CXX=
13502lt_prog_compiler_pic_CXX=
13503lt_prog_compiler_static_CXX=
13504
13505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13506$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13507
13508  # C++ specific cases for pic, static, wl, etc.
13509  if test "$GXX" = yes; then
13510    lt_prog_compiler_wl_CXX='-Wl,'
13511    lt_prog_compiler_static_CXX='-static'
13512
13513    case $host_os in
13514    aix*)
13515      # All AIX code is PIC.
13516      if test "$host_cpu" = ia64; then
13517	# AIX 5 now supports IA64 processor
13518	lt_prog_compiler_static_CXX='-Bstatic'
13519      fi
13520      lt_prog_compiler_pic_CXX='-fPIC'
13521      ;;
13522
13523    amigaos*)
13524      case $host_cpu in
13525      powerpc)
13526            # see comment about AmigaOS4 .so support
13527            lt_prog_compiler_pic_CXX='-fPIC'
13528        ;;
13529      m68k)
13530            # FIXME: we need at least 68020 code to build shared libraries, but
13531            # adding the `-m68020' flag to GCC prevents building anything better,
13532            # like `-m68040'.
13533            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13534        ;;
13535      esac
13536      ;;
13537
13538    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13539      # PIC is the default for these OSes.
13540      ;;
13541    mingw* | cygwin* | os2* | pw32* | cegcc*)
13542      # This hack is so that the source file can tell whether it is being
13543      # built for inclusion in a dll (and should export symbols for example).
13544      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13545      # (--disable-auto-import) libraries
13546      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13547      ;;
13548    darwin* | rhapsody*)
13549      # PIC is the default on this platform
13550      # Common symbols not allowed in MH_DYLIB files
13551      lt_prog_compiler_pic_CXX='-fno-common'
13552      ;;
13553    *djgpp*)
13554      # DJGPP does not support shared libraries at all
13555      lt_prog_compiler_pic_CXX=
13556      ;;
13557    haiku*)
13558      # PIC is the default for Haiku.
13559      # The "-static" flag exists, but is broken.
13560      lt_prog_compiler_static_CXX=
13561      ;;
13562    interix[3-9]*)
13563      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13564      # Instead, we relocate shared libraries at runtime.
13565      ;;
13566    sysv4*MP*)
13567      if test -d /usr/nec; then
13568	lt_prog_compiler_pic_CXX=-Kconform_pic
13569      fi
13570      ;;
13571    hpux*)
13572      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13573      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13574      # sets the default TLS model and affects inlining.
13575      case $host_cpu in
13576      hppa*64*)
13577	;;
13578      *)
13579	lt_prog_compiler_pic_CXX='-fPIC'
13580	;;
13581      esac
13582      ;;
13583    *qnx* | *nto*)
13584      # QNX uses GNU C++, but need to define -shared option too, otherwise
13585      # it will coredump.
13586      lt_prog_compiler_pic_CXX='-fPIC -shared'
13587      ;;
13588    *)
13589      lt_prog_compiler_pic_CXX='-fPIC'
13590      ;;
13591    esac
13592  else
13593    case $host_os in
13594      aix[4-9]*)
13595	# All AIX code is PIC.
13596	if test "$host_cpu" = ia64; then
13597	  # AIX 5 now supports IA64 processor
13598	  lt_prog_compiler_static_CXX='-Bstatic'
13599	else
13600	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13601	fi
13602	;;
13603      chorus*)
13604	case $cc_basename in
13605	cxch68*)
13606	  # Green Hills C++ Compiler
13607	  # _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"
13608	  ;;
13609	esac
13610	;;
13611      dgux*)
13612	case $cc_basename in
13613	  ec++*)
13614	    lt_prog_compiler_pic_CXX='-KPIC'
13615	    ;;
13616	  ghcx*)
13617	    # Green Hills C++ Compiler
13618	    lt_prog_compiler_pic_CXX='-pic'
13619	    ;;
13620	  *)
13621	    ;;
13622	esac
13623	;;
13624      freebsd* | dragonfly*)
13625	# FreeBSD uses GNU C++
13626	;;
13627      hpux9* | hpux10* | hpux11*)
13628	case $cc_basename in
13629	  CC*)
13630	    lt_prog_compiler_wl_CXX='-Wl,'
13631	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13632	    if test "$host_cpu" != ia64; then
13633	      lt_prog_compiler_pic_CXX='+Z'
13634	    fi
13635	    ;;
13636	  aCC*)
13637	    lt_prog_compiler_wl_CXX='-Wl,'
13638	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13639	    case $host_cpu in
13640	    hppa*64*|ia64*)
13641	      # +Z the default
13642	      ;;
13643	    *)
13644	      lt_prog_compiler_pic_CXX='+Z'
13645	      ;;
13646	    esac
13647	    ;;
13648	  *)
13649	    ;;
13650	esac
13651	;;
13652      interix*)
13653	# This is c89, which is MS Visual C++ (no shared libs)
13654	# Anyone wants to do a port?
13655	;;
13656      irix5* | irix6* | nonstopux*)
13657	case $cc_basename in
13658	  CC*)
13659	    lt_prog_compiler_wl_CXX='-Wl,'
13660	    lt_prog_compiler_static_CXX='-non_shared'
13661	    # CC pic flag -KPIC is the default.
13662	    ;;
13663	  *)
13664	    ;;
13665	esac
13666	;;
13667      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13668	case $cc_basename in
13669	  KCC*)
13670	    # KAI C++ Compiler
13671	    lt_prog_compiler_wl_CXX='--backend -Wl,'
13672	    lt_prog_compiler_pic_CXX='-fPIC'
13673	    ;;
13674	  ecpc* )
13675	    # old Intel C++ for x86_64 which still supported -KPIC.
13676	    lt_prog_compiler_wl_CXX='-Wl,'
13677	    lt_prog_compiler_pic_CXX='-KPIC'
13678	    lt_prog_compiler_static_CXX='-static'
13679	    ;;
13680	  icpc* )
13681	    # Intel C++, used to be incompatible with GCC.
13682	    # ICC 10 doesn't accept -KPIC any more.
13683	    lt_prog_compiler_wl_CXX='-Wl,'
13684	    lt_prog_compiler_pic_CXX='-fPIC'
13685	    lt_prog_compiler_static_CXX='-static'
13686	    ;;
13687	  pgCC* | pgcpp*)
13688	    # Portland Group C++ compiler
13689	    lt_prog_compiler_wl_CXX='-Wl,'
13690	    lt_prog_compiler_pic_CXX='-fpic'
13691	    lt_prog_compiler_static_CXX='-Bstatic'
13692	    ;;
13693	  cxx*)
13694	    # Compaq C++
13695	    # Make sure the PIC flag is empty.  It appears that all Alpha
13696	    # Linux and Compaq Tru64 Unix objects are PIC.
13697	    lt_prog_compiler_pic_CXX=
13698	    lt_prog_compiler_static_CXX='-non_shared'
13699	    ;;
13700	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13701	    # IBM XL 8.0, 9.0 on PPC and BlueGene
13702	    lt_prog_compiler_wl_CXX='-Wl,'
13703	    lt_prog_compiler_pic_CXX='-qpic'
13704	    lt_prog_compiler_static_CXX='-qstaticlink'
13705	    ;;
13706	  *)
13707	    case `$CC -V 2>&1 | sed 5q` in
13708	    *Sun\ C*)
13709	      # Sun C++ 5.9
13710	      lt_prog_compiler_pic_CXX='-KPIC'
13711	      lt_prog_compiler_static_CXX='-Bstatic'
13712	      lt_prog_compiler_wl_CXX='-Qoption ld '
13713	      ;;
13714	    esac
13715	    ;;
13716	esac
13717	;;
13718      lynxos*)
13719	;;
13720      m88k*)
13721	;;
13722      mvs*)
13723	case $cc_basename in
13724	  cxx*)
13725	    lt_prog_compiler_pic_CXX='-W c,exportall'
13726	    ;;
13727	  *)
13728	    ;;
13729	esac
13730	;;
13731      netbsd*)
13732	;;
13733      *qnx* | *nto*)
13734        # QNX uses GNU C++, but need to define -shared option too, otherwise
13735        # it will coredump.
13736        lt_prog_compiler_pic_CXX='-fPIC -shared'
13737        ;;
13738      osf3* | osf4* | osf5*)
13739	case $cc_basename in
13740	  KCC*)
13741	    lt_prog_compiler_wl_CXX='--backend -Wl,'
13742	    ;;
13743	  RCC*)
13744	    # Rational C++ 2.4.1
13745	    lt_prog_compiler_pic_CXX='-pic'
13746	    ;;
13747	  cxx*)
13748	    # Digital/Compaq C++
13749	    lt_prog_compiler_wl_CXX='-Wl,'
13750	    # Make sure the PIC flag is empty.  It appears that all Alpha
13751	    # Linux and Compaq Tru64 Unix objects are PIC.
13752	    lt_prog_compiler_pic_CXX=
13753	    lt_prog_compiler_static_CXX='-non_shared'
13754	    ;;
13755	  *)
13756	    ;;
13757	esac
13758	;;
13759      psos*)
13760	;;
13761      solaris*)
13762	case $cc_basename in
13763	  CC*)
13764	    # Sun C++ 4.2, 5.x and Centerline C++
13765	    lt_prog_compiler_pic_CXX='-KPIC'
13766	    lt_prog_compiler_static_CXX='-Bstatic'
13767	    lt_prog_compiler_wl_CXX='-Qoption ld '
13768	    ;;
13769	  gcx*)
13770	    # Green Hills C++ Compiler
13771	    lt_prog_compiler_pic_CXX='-PIC'
13772	    ;;
13773	  *)
13774	    ;;
13775	esac
13776	;;
13777      sunos4*)
13778	case $cc_basename in
13779	  CC*)
13780	    # Sun C++ 4.x
13781	    lt_prog_compiler_pic_CXX='-pic'
13782	    lt_prog_compiler_static_CXX='-Bstatic'
13783	    ;;
13784	  lcc*)
13785	    # Lucid
13786	    lt_prog_compiler_pic_CXX='-pic'
13787	    ;;
13788	  *)
13789	    ;;
13790	esac
13791	;;
13792      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13793	case $cc_basename in
13794	  CC*)
13795	    lt_prog_compiler_wl_CXX='-Wl,'
13796	    lt_prog_compiler_pic_CXX='-KPIC'
13797	    lt_prog_compiler_static_CXX='-Bstatic'
13798	    ;;
13799	esac
13800	;;
13801      tandem*)
13802	case $cc_basename in
13803	  NCC*)
13804	    # NonStop-UX NCC 3.20
13805	    lt_prog_compiler_pic_CXX='-KPIC'
13806	    ;;
13807	  *)
13808	    ;;
13809	esac
13810	;;
13811      vxworks*)
13812	;;
13813      *)
13814	lt_prog_compiler_can_build_shared_CXX=no
13815	;;
13816    esac
13817  fi
13818
13819case $host_os in
13820  # For platforms which do not support PIC, -DPIC is meaningless:
13821  *djgpp*)
13822    lt_prog_compiler_pic_CXX=
13823    ;;
13824  *)
13825    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13826    ;;
13827esac
13828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13829$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13830
13831
13832
13833#
13834# Check to make sure the PIC flag actually works.
13835#
13836if test -n "$lt_prog_compiler_pic_CXX"; then
13837  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13838$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13839if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13840  $as_echo_n "(cached) " >&6
13841else
13842  lt_cv_prog_compiler_pic_works_CXX=no
13843   ac_outfile=conftest.$ac_objext
13844   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13845   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13846   # Insert the option either (1) after the last *FLAGS variable, or
13847   # (2) before a word containing "conftest.", or (3) at the end.
13848   # Note that $ac_compile itself does not contain backslashes and begins
13849   # with a dollar sign (not a hyphen), so the echo should work correctly.
13850   # The option is referenced via a variable to avoid confusing sed.
13851   lt_compile=`echo "$ac_compile" | $SED \
13852   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13853   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13854   -e 's:$: $lt_compiler_flag:'`
13855   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13856   (eval "$lt_compile" 2>conftest.err)
13857   ac_status=$?
13858   cat conftest.err >&5
13859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860   if (exit $ac_status) && test -s "$ac_outfile"; then
13861     # The compiler can only warn and ignore the option if not recognized
13862     # So say no if there are warnings other than the usual output.
13863     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13864     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13865     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13866       lt_cv_prog_compiler_pic_works_CXX=yes
13867     fi
13868   fi
13869   $RM conftest*
13870
13871fi
13872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13873$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13874
13875if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13876    case $lt_prog_compiler_pic_CXX in
13877     "" | " "*) ;;
13878     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13879     esac
13880else
13881    lt_prog_compiler_pic_CXX=
13882     lt_prog_compiler_can_build_shared_CXX=no
13883fi
13884
13885fi
13886
13887
13888
13889#
13890# Check to make sure the static flag actually works.
13891#
13892wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13894$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13895if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13896  $as_echo_n "(cached) " >&6
13897else
13898  lt_cv_prog_compiler_static_works_CXX=no
13899   save_LDFLAGS="$LDFLAGS"
13900   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13901   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13902   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13903     # The linker can only warn and ignore the option if not recognized
13904     # So say no if there are warnings
13905     if test -s conftest.err; then
13906       # Append any errors to the config.log.
13907       cat conftest.err 1>&5
13908       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13909       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13910       if diff conftest.exp conftest.er2 >/dev/null; then
13911         lt_cv_prog_compiler_static_works_CXX=yes
13912       fi
13913     else
13914       lt_cv_prog_compiler_static_works_CXX=yes
13915     fi
13916   fi
13917   $RM -r conftest*
13918   LDFLAGS="$save_LDFLAGS"
13919
13920fi
13921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13922$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13923
13924if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13925    :
13926else
13927    lt_prog_compiler_static_CXX=
13928fi
13929
13930
13931
13932
13933    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13934$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13935if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13936  $as_echo_n "(cached) " >&6
13937else
13938  lt_cv_prog_compiler_c_o_CXX=no
13939   $RM -r conftest 2>/dev/null
13940   mkdir conftest
13941   cd conftest
13942   mkdir out
13943   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13944
13945   lt_compiler_flag="-o out/conftest2.$ac_objext"
13946   # Insert the option either (1) after the last *FLAGS variable, or
13947   # (2) before a word containing "conftest.", or (3) at the end.
13948   # Note that $ac_compile itself does not contain backslashes and begins
13949   # with a dollar sign (not a hyphen), so the echo should work correctly.
13950   lt_compile=`echo "$ac_compile" | $SED \
13951   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13952   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13953   -e 's:$: $lt_compiler_flag:'`
13954   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13955   (eval "$lt_compile" 2>out/conftest.err)
13956   ac_status=$?
13957   cat out/conftest.err >&5
13958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13960   then
13961     # The compiler can only warn and ignore the option if not recognized
13962     # So say no if there are warnings
13963     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13964     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13965     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13966       lt_cv_prog_compiler_c_o_CXX=yes
13967     fi
13968   fi
13969   chmod u+w . 2>&5
13970   $RM conftest*
13971   # SGI C++ compiler will create directory out/ii_files/ for
13972   # template instantiation
13973   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13974   $RM out/* && rmdir out
13975   cd ..
13976   $RM -r conftest
13977   $RM conftest*
13978
13979fi
13980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13981$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13982
13983
13984
13985    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13986$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13987if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13988  $as_echo_n "(cached) " >&6
13989else
13990  lt_cv_prog_compiler_c_o_CXX=no
13991   $RM -r conftest 2>/dev/null
13992   mkdir conftest
13993   cd conftest
13994   mkdir out
13995   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13996
13997   lt_compiler_flag="-o out/conftest2.$ac_objext"
13998   # Insert the option either (1) after the last *FLAGS variable, or
13999   # (2) before a word containing "conftest.", or (3) at the end.
14000   # Note that $ac_compile itself does not contain backslashes and begins
14001   # with a dollar sign (not a hyphen), so the echo should work correctly.
14002   lt_compile=`echo "$ac_compile" | $SED \
14003   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14004   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14005   -e 's:$: $lt_compiler_flag:'`
14006   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14007   (eval "$lt_compile" 2>out/conftest.err)
14008   ac_status=$?
14009   cat out/conftest.err >&5
14010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14012   then
14013     # The compiler can only warn and ignore the option if not recognized
14014     # So say no if there are warnings
14015     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14016     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14017     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14018       lt_cv_prog_compiler_c_o_CXX=yes
14019     fi
14020   fi
14021   chmod u+w . 2>&5
14022   $RM conftest*
14023   # SGI C++ compiler will create directory out/ii_files/ for
14024   # template instantiation
14025   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14026   $RM out/* && rmdir out
14027   cd ..
14028   $RM -r conftest
14029   $RM conftest*
14030
14031fi
14032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14033$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14034
14035
14036
14037
14038hard_links="nottested"
14039if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14040  # do not overwrite the value of need_locks provided by the user
14041  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14042$as_echo_n "checking if we can lock with hard links... " >&6; }
14043  hard_links=yes
14044  $RM conftest*
14045  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14046  touch conftest.a
14047  ln conftest.a conftest.b 2>&5 || hard_links=no
14048  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14050$as_echo "$hard_links" >&6; }
14051  if test "$hard_links" = no; then
14052    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14053$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14054    need_locks=warn
14055  fi
14056else
14057  need_locks=no
14058fi
14059
14060
14061
14062    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14063$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14064
14065  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14066  case $host_os in
14067  aix[4-9]*)
14068    # If we're using GNU nm, then we don't want the "-C" option.
14069    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14070    # Also, AIX nm treats weak defined symbols like other global defined
14071    # symbols, whereas GNU nm marks them as "W".
14072    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14073      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'
14074    else
14075      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14076    fi
14077    ;;
14078  pw32*)
14079    export_symbols_cmds_CXX="$ltdll_cmds"
14080  ;;
14081  cygwin* | mingw* | cegcc*)
14082    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'
14083  ;;
14084  *)
14085    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14086  ;;
14087  esac
14088  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14089
14090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14091$as_echo "$ld_shlibs_CXX" >&6; }
14092test "$ld_shlibs_CXX" = no && can_build_shared=no
14093
14094with_gnu_ld_CXX=$with_gnu_ld
14095
14096
14097
14098
14099
14100
14101#
14102# Do we need to explicitly link libc?
14103#
14104case "x$archive_cmds_need_lc_CXX" in
14105x|xyes)
14106  # Assume -lc should be added
14107  archive_cmds_need_lc_CXX=yes
14108
14109  if test "$enable_shared" = yes && test "$GCC" = yes; then
14110    case $archive_cmds_CXX in
14111    *'~'*)
14112      # FIXME: we may have to deal with multi-command sequences.
14113      ;;
14114    '$CC '*)
14115      # Test whether the compiler implicitly links with -lc since on some
14116      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14117      # to ld, don't add -lc before -lgcc.
14118      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14119$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14120if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14121  $as_echo_n "(cached) " >&6
14122else
14123  $RM conftest*
14124	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14125
14126	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14127  (eval $ac_compile) 2>&5
14128  ac_status=$?
14129  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14130  test $ac_status = 0; } 2>conftest.err; then
14131	  soname=conftest
14132	  lib=conftest
14133	  libobjs=conftest.$ac_objext
14134	  deplibs=
14135	  wl=$lt_prog_compiler_wl_CXX
14136	  pic_flag=$lt_prog_compiler_pic_CXX
14137	  compiler_flags=-v
14138	  linker_flags=-v
14139	  verstring=
14140	  output_objdir=.
14141	  libname=conftest
14142	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14143	  allow_undefined_flag_CXX=
14144	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14145  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14146  ac_status=$?
14147  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14148  test $ac_status = 0; }
14149	  then
14150	    lt_cv_archive_cmds_need_lc_CXX=no
14151	  else
14152	    lt_cv_archive_cmds_need_lc_CXX=yes
14153	  fi
14154	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14155	else
14156	  cat conftest.err 1>&5
14157	fi
14158	$RM conftest*
14159
14160fi
14161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14162$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14163      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14164      ;;
14165    esac
14166  fi
14167  ;;
14168esac
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14234$as_echo_n "checking dynamic linker characteristics... " >&6; }
14235
14236library_names_spec=
14237libname_spec='lib$name'
14238soname_spec=
14239shrext_cmds=".so"
14240postinstall_cmds=
14241postuninstall_cmds=
14242finish_cmds=
14243finish_eval=
14244shlibpath_var=
14245shlibpath_overrides_runpath=unknown
14246version_type=none
14247dynamic_linker="$host_os ld.so"
14248sys_lib_dlsearch_path_spec="/lib /usr/lib"
14249need_lib_prefix=unknown
14250hardcode_into_libs=no
14251
14252# when you set need_version to no, make sure it does not cause -set_version
14253# flags to be left without arguments
14254need_version=unknown
14255
14256case $host_os in
14257aix3*)
14258  version_type=linux
14259  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14260  shlibpath_var=LIBPATH
14261
14262  # AIX 3 has no versioning support, so we append a major version to the name.
14263  soname_spec='${libname}${release}${shared_ext}$major'
14264  ;;
14265
14266aix[4-9]*)
14267  version_type=linux
14268  need_lib_prefix=no
14269  need_version=no
14270  hardcode_into_libs=yes
14271  if test "$host_cpu" = ia64; then
14272    # AIX 5 supports IA64
14273    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14274    shlibpath_var=LD_LIBRARY_PATH
14275  else
14276    # With GCC up to 2.95.x, collect2 would create an import file
14277    # for dependence libraries.  The import file would start with
14278    # the line `#! .'.  This would cause the generated library to
14279    # depend on `.', always an invalid library.  This was fixed in
14280    # development snapshots of GCC prior to 3.0.
14281    case $host_os in
14282      aix4 | aix4.[01] | aix4.[01].*)
14283      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14284	   echo ' yes '
14285	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14286	:
14287      else
14288	can_build_shared=no
14289      fi
14290      ;;
14291    esac
14292    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14293    # soname into executable. Probably we can add versioning support to
14294    # collect2, so additional links can be useful in future.
14295    if test "$aix_use_runtimelinking" = yes; then
14296      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14297      # instead of lib<name>.a to let people know that these are not
14298      # typical AIX shared libraries.
14299      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14300    else
14301      # We preserve .a as extension for shared libraries through AIX4.2
14302      # and later when we are not doing run time linking.
14303      library_names_spec='${libname}${release}.a $libname.a'
14304      soname_spec='${libname}${release}${shared_ext}$major'
14305    fi
14306    shlibpath_var=LIBPATH
14307  fi
14308  ;;
14309
14310amigaos*)
14311  case $host_cpu in
14312  powerpc)
14313    # Since July 2007 AmigaOS4 officially supports .so libraries.
14314    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14315    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14316    ;;
14317  m68k)
14318    library_names_spec='$libname.ixlibrary $libname.a'
14319    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14320    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'
14321    ;;
14322  esac
14323  ;;
14324
14325beos*)
14326  library_names_spec='${libname}${shared_ext}'
14327  dynamic_linker="$host_os ld.so"
14328  shlibpath_var=LIBRARY_PATH
14329  ;;
14330
14331bsdi[45]*)
14332  version_type=linux
14333  need_version=no
14334  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14335  soname_spec='${libname}${release}${shared_ext}$major'
14336  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14337  shlibpath_var=LD_LIBRARY_PATH
14338  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14339  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14340  # the default ld.so.conf also contains /usr/contrib/lib and
14341  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14342  # libtool to hard-code these into programs
14343  ;;
14344
14345cygwin* | mingw* | pw32* | cegcc*)
14346  version_type=windows
14347  shrext_cmds=".dll"
14348  need_version=no
14349  need_lib_prefix=no
14350
14351  case $GCC,$host_os in
14352  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14353    library_names_spec='$libname.dll.a'
14354    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14355    postinstall_cmds='base_file=`basename \${file}`~
14356      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14357      dldir=$destdir/`dirname \$dlpath`~
14358      test -d \$dldir || mkdir -p \$dldir~
14359      $install_prog $dir/$dlname \$dldir/$dlname~
14360      chmod a+x \$dldir/$dlname~
14361      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14362        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14363      fi'
14364    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14365      dlpath=$dir/\$dldll~
14366       $RM \$dlpath'
14367    shlibpath_overrides_runpath=yes
14368
14369    case $host_os in
14370    cygwin*)
14371      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14372      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14373
14374      ;;
14375    mingw* | cegcc*)
14376      # MinGW DLLs use traditional 'lib' prefix
14377      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14378      ;;
14379    pw32*)
14380      # pw32 DLLs use 'pw' prefix rather than 'lib'
14381      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14382      ;;
14383    esac
14384    ;;
14385
14386  *)
14387    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14388    ;;
14389  esac
14390  dynamic_linker='Win32 ld.exe'
14391  # FIXME: first we should search . and the directory the executable is in
14392  shlibpath_var=PATH
14393  ;;
14394
14395darwin* | rhapsody*)
14396  dynamic_linker="$host_os dyld"
14397  version_type=darwin
14398  need_lib_prefix=no
14399  need_version=no
14400  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14401  soname_spec='${libname}${release}${major}$shared_ext'
14402  shlibpath_overrides_runpath=yes
14403  shlibpath_var=DYLD_LIBRARY_PATH
14404  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14405
14406  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14407  ;;
14408
14409dgux*)
14410  version_type=linux
14411  need_lib_prefix=no
14412  need_version=no
14413  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14414  soname_spec='${libname}${release}${shared_ext}$major'
14415  shlibpath_var=LD_LIBRARY_PATH
14416  ;;
14417
14418freebsd* | dragonfly*)
14419  # DragonFly does not have aout.  When/if they implement a new
14420  # versioning mechanism, adjust this.
14421  if test -x /usr/bin/objformat; then
14422    objformat=`/usr/bin/objformat`
14423  else
14424    case $host_os in
14425    freebsd[23].*) objformat=aout ;;
14426    *) objformat=elf ;;
14427    esac
14428  fi
14429  version_type=freebsd-$objformat
14430  case $version_type in
14431    freebsd-elf*)
14432      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14433      need_version=no
14434      need_lib_prefix=no
14435      ;;
14436    freebsd-*)
14437      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14438      need_version=yes
14439      ;;
14440  esac
14441  shlibpath_var=LD_LIBRARY_PATH
14442  case $host_os in
14443  freebsd2.*)
14444    shlibpath_overrides_runpath=yes
14445    ;;
14446  freebsd3.[01]* | freebsdelf3.[01]*)
14447    shlibpath_overrides_runpath=yes
14448    hardcode_into_libs=yes
14449    ;;
14450  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14451  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14452    shlibpath_overrides_runpath=no
14453    hardcode_into_libs=yes
14454    ;;
14455  *) # from 4.6 on, and DragonFly
14456    shlibpath_overrides_runpath=yes
14457    hardcode_into_libs=yes
14458    ;;
14459  esac
14460  ;;
14461
14462gnu*)
14463  version_type=linux
14464  need_lib_prefix=no
14465  need_version=no
14466  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14467  soname_spec='${libname}${release}${shared_ext}$major'
14468  shlibpath_var=LD_LIBRARY_PATH
14469  hardcode_into_libs=yes
14470  ;;
14471
14472haiku*)
14473  version_type=linux
14474  need_lib_prefix=no
14475  need_version=no
14476  dynamic_linker="$host_os runtime_loader"
14477  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14478  soname_spec='${libname}${release}${shared_ext}$major'
14479  shlibpath_var=LIBRARY_PATH
14480  shlibpath_overrides_runpath=yes
14481  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14482  hardcode_into_libs=yes
14483  ;;
14484
14485hpux9* | hpux10* | hpux11*)
14486  # Give a soname corresponding to the major version so that dld.sl refuses to
14487  # link against other versions.
14488  version_type=sunos
14489  need_lib_prefix=no
14490  need_version=no
14491  case $host_cpu in
14492  ia64*)
14493    shrext_cmds='.so'
14494    hardcode_into_libs=yes
14495    dynamic_linker="$host_os dld.so"
14496    shlibpath_var=LD_LIBRARY_PATH
14497    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14498    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14499    soname_spec='${libname}${release}${shared_ext}$major'
14500    if test "X$HPUX_IA64_MODE" = X32; then
14501      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14502    else
14503      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14504    fi
14505    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14506    ;;
14507  hppa*64*)
14508    shrext_cmds='.sl'
14509    hardcode_into_libs=yes
14510    dynamic_linker="$host_os dld.sl"
14511    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14512    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14513    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14514    soname_spec='${libname}${release}${shared_ext}$major'
14515    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14516    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14517    ;;
14518  *)
14519    shrext_cmds='.sl'
14520    dynamic_linker="$host_os dld.sl"
14521    shlibpath_var=SHLIB_PATH
14522    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14523    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14524    soname_spec='${libname}${release}${shared_ext}$major'
14525    ;;
14526  esac
14527  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14528  postinstall_cmds='chmod 555 $lib'
14529  # or fails outright, so override atomically:
14530  install_override_mode=555
14531  ;;
14532
14533interix[3-9]*)
14534  version_type=linux
14535  need_lib_prefix=no
14536  need_version=no
14537  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14538  soname_spec='${libname}${release}${shared_ext}$major'
14539  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14540  shlibpath_var=LD_LIBRARY_PATH
14541  shlibpath_overrides_runpath=no
14542  hardcode_into_libs=yes
14543  ;;
14544
14545irix5* | irix6* | nonstopux*)
14546  case $host_os in
14547    nonstopux*) version_type=nonstopux ;;
14548    *)
14549	if test "$lt_cv_prog_gnu_ld" = yes; then
14550		version_type=linux
14551	else
14552		version_type=irix
14553	fi ;;
14554  esac
14555  need_lib_prefix=no
14556  need_version=no
14557  soname_spec='${libname}${release}${shared_ext}$major'
14558  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14559  case $host_os in
14560  irix5* | nonstopux*)
14561    libsuff= shlibsuff=
14562    ;;
14563  *)
14564    case $LD in # libtool.m4 will add one of these switches to LD
14565    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14566      libsuff= shlibsuff= libmagic=32-bit;;
14567    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14568      libsuff=32 shlibsuff=N32 libmagic=N32;;
14569    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14570      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14571    *) libsuff= shlibsuff= libmagic=never-match;;
14572    esac
14573    ;;
14574  esac
14575  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14576  shlibpath_overrides_runpath=no
14577  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14578  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14579  hardcode_into_libs=yes
14580  ;;
14581
14582# No shared lib support for Linux oldld, aout, or coff.
14583linux*oldld* | linux*aout* | linux*coff*)
14584  dynamic_linker=no
14585  ;;
14586
14587# This must be Linux ELF.
14588linux* | k*bsd*-gnu | kopensolaris*-gnu)
14589  version_type=linux
14590  need_lib_prefix=no
14591  need_version=no
14592  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14593  soname_spec='${libname}${release}${shared_ext}$major'
14594  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14595  shlibpath_var=LD_LIBRARY_PATH
14596  shlibpath_overrides_runpath=no
14597
14598  # Some binutils ld are patched to set DT_RUNPATH
14599  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14600  $as_echo_n "(cached) " >&6
14601else
14602  lt_cv_shlibpath_overrides_runpath=no
14603    save_LDFLAGS=$LDFLAGS
14604    save_libdir=$libdir
14605    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14606	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14607    if test x$gcc_no_link = xyes; then
14608  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14609fi
14610cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14611/* end confdefs.h.  */
14612
14613int
14614main ()
14615{
14616
14617  ;
14618  return 0;
14619}
14620_ACEOF
14621if ac_fn_cxx_try_link "$LINENO"; then :
14622  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14623  lt_cv_shlibpath_overrides_runpath=yes
14624fi
14625fi
14626rm -f core conftest.err conftest.$ac_objext \
14627    conftest$ac_exeext conftest.$ac_ext
14628    LDFLAGS=$save_LDFLAGS
14629    libdir=$save_libdir
14630
14631fi
14632
14633  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14634
14635  # This implies no fast_install, which is unacceptable.
14636  # Some rework will be needed to allow for fast_install
14637  # before this can be enabled.
14638  hardcode_into_libs=yes
14639
14640  # Append ld.so.conf contents to the search path
14641  if test -f /etc/ld.so.conf; then
14642    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' ' '`
14643    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14644  fi
14645
14646  # We used to test for /lib/ld.so.1 and disable shared libraries on
14647  # powerpc, because MkLinux only supported shared libraries with the
14648  # GNU dynamic linker.  Since this was broken with cross compilers,
14649  # most powerpc-linux boxes support dynamic linking these days and
14650  # people can always --disable-shared, the test was removed, and we
14651  # assume the GNU/Linux dynamic linker is in use.
14652  dynamic_linker='GNU/Linux ld.so'
14653  ;;
14654
14655netbsd*)
14656  version_type=sunos
14657  need_lib_prefix=no
14658  need_version=no
14659  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14660    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14661    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14662    dynamic_linker='NetBSD (a.out) ld.so'
14663  else
14664    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14665    soname_spec='${libname}${release}${shared_ext}$major'
14666    dynamic_linker='NetBSD ld.elf_so'
14667  fi
14668  shlibpath_var=LD_LIBRARY_PATH
14669  shlibpath_overrides_runpath=yes
14670  hardcode_into_libs=yes
14671  ;;
14672
14673newsos6)
14674  version_type=linux
14675  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14676  shlibpath_var=LD_LIBRARY_PATH
14677  shlibpath_overrides_runpath=yes
14678  ;;
14679
14680*nto* | *qnx*)
14681  version_type=qnx
14682  need_lib_prefix=no
14683  need_version=no
14684  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14685  soname_spec='${libname}${release}${shared_ext}$major'
14686  shlibpath_var=LD_LIBRARY_PATH
14687  shlibpath_overrides_runpath=no
14688  hardcode_into_libs=yes
14689  dynamic_linker='ldqnx.so'
14690  ;;
14691
14692openbsd*)
14693  version_type=sunos
14694  sys_lib_dlsearch_path_spec="/usr/lib"
14695  need_lib_prefix=no
14696  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14697  case $host_os in
14698    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
14699    *)				need_version=no  ;;
14700  esac
14701  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14702  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14703  shlibpath_var=LD_LIBRARY_PATH
14704  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14705    case $host_os in
14706      openbsd2.[89] | openbsd2.[89].*)
14707	shlibpath_overrides_runpath=no
14708	;;
14709      *)
14710	shlibpath_overrides_runpath=yes
14711	;;
14712      esac
14713  else
14714    shlibpath_overrides_runpath=yes
14715  fi
14716  ;;
14717
14718os2*)
14719  libname_spec='$name'
14720  shrext_cmds=".dll"
14721  need_lib_prefix=no
14722  library_names_spec='$libname${shared_ext} $libname.a'
14723  dynamic_linker='OS/2 ld.exe'
14724  shlibpath_var=LIBPATH
14725  ;;
14726
14727osf3* | osf4* | osf5*)
14728  version_type=osf
14729  need_lib_prefix=no
14730  need_version=no
14731  soname_spec='${libname}${release}${shared_ext}$major'
14732  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14733  shlibpath_var=LD_LIBRARY_PATH
14734  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14735  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14736  ;;
14737
14738rdos*)
14739  dynamic_linker=no
14740  ;;
14741
14742solaris*)
14743  version_type=linux
14744  need_lib_prefix=no
14745  need_version=no
14746  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14747  soname_spec='${libname}${release}${shared_ext}$major'
14748  shlibpath_var=LD_LIBRARY_PATH
14749  shlibpath_overrides_runpath=yes
14750  hardcode_into_libs=yes
14751  # ldd complains unless libraries are executable
14752  postinstall_cmds='chmod +x $lib'
14753  ;;
14754
14755sunos4*)
14756  version_type=sunos
14757  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14758  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14759  shlibpath_var=LD_LIBRARY_PATH
14760  shlibpath_overrides_runpath=yes
14761  if test "$with_gnu_ld" = yes; then
14762    need_lib_prefix=no
14763  fi
14764  need_version=yes
14765  ;;
14766
14767sysv4 | sysv4.3*)
14768  version_type=linux
14769  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14770  soname_spec='${libname}${release}${shared_ext}$major'
14771  shlibpath_var=LD_LIBRARY_PATH
14772  case $host_vendor in
14773    sni)
14774      shlibpath_overrides_runpath=no
14775      need_lib_prefix=no
14776      runpath_var=LD_RUN_PATH
14777      ;;
14778    siemens)
14779      need_lib_prefix=no
14780      ;;
14781    motorola)
14782      need_lib_prefix=no
14783      need_version=no
14784      shlibpath_overrides_runpath=no
14785      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14786      ;;
14787  esac
14788  ;;
14789
14790sysv4*MP*)
14791  if test -d /usr/nec ;then
14792    version_type=linux
14793    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14794    soname_spec='$libname${shared_ext}.$major'
14795    shlibpath_var=LD_LIBRARY_PATH
14796  fi
14797  ;;
14798
14799sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14800  version_type=freebsd-elf
14801  need_lib_prefix=no
14802  need_version=no
14803  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14804  soname_spec='${libname}${release}${shared_ext}$major'
14805  shlibpath_var=LD_LIBRARY_PATH
14806  shlibpath_overrides_runpath=yes
14807  hardcode_into_libs=yes
14808  if test "$with_gnu_ld" = yes; then
14809    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14810  else
14811    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14812    case $host_os in
14813      sco3.2v5*)
14814        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14815	;;
14816    esac
14817  fi
14818  sys_lib_dlsearch_path_spec='/usr/lib'
14819  ;;
14820
14821tpf*)
14822  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14823  version_type=linux
14824  need_lib_prefix=no
14825  need_version=no
14826  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14827  shlibpath_var=LD_LIBRARY_PATH
14828  shlibpath_overrides_runpath=no
14829  hardcode_into_libs=yes
14830  ;;
14831
14832uts4*)
14833  version_type=linux
14834  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14835  soname_spec='${libname}${release}${shared_ext}$major'
14836  shlibpath_var=LD_LIBRARY_PATH
14837  ;;
14838
14839*)
14840  dynamic_linker=no
14841  ;;
14842esac
14843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14844$as_echo "$dynamic_linker" >&6; }
14845test "$dynamic_linker" = no && can_build_shared=no
14846
14847variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14848if test "$GCC" = yes; then
14849  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14850fi
14851
14852if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14853  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14854fi
14855if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14856  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14857fi
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14897$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14898hardcode_action_CXX=
14899if test -n "$hardcode_libdir_flag_spec_CXX" ||
14900   test -n "$runpath_var_CXX" ||
14901   test "X$hardcode_automatic_CXX" = "Xyes" ; then
14902
14903  # We can hardcode non-existent directories.
14904  if test "$hardcode_direct_CXX" != no &&
14905     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14906     # have to relink, otherwise we might link with an installed library
14907     # when we should be linking with a yet-to-be-installed one
14908     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14909     test "$hardcode_minus_L_CXX" != no; then
14910    # Linking always hardcodes the temporary library directory.
14911    hardcode_action_CXX=relink
14912  else
14913    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14914    hardcode_action_CXX=immediate
14915  fi
14916else
14917  # We cannot hardcode anything, or else we can only hardcode existing
14918  # directories.
14919  hardcode_action_CXX=unsupported
14920fi
14921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14922$as_echo "$hardcode_action_CXX" >&6; }
14923
14924if test "$hardcode_action_CXX" = relink ||
14925   test "$inherit_rpath_CXX" = yes; then
14926  # Fast installation is not supported
14927  enable_fast_install=no
14928elif test "$shlibpath_overrides_runpath" = yes ||
14929     test "$enable_shared" = no; then
14930  # Fast installation is not necessary
14931  enable_fast_install=needless
14932fi
14933
14934
14935
14936
14937
14938
14939
14940  fi # test -n "$compiler"
14941
14942  CC=$lt_save_CC
14943  LDCXX=$LD
14944  LD=$lt_save_LD
14945  GCC=$lt_save_GCC
14946  with_gnu_ld=$lt_save_with_gnu_ld
14947  lt_cv_path_LDCXX=$lt_cv_path_LD
14948  lt_cv_path_LD=$lt_save_path_LD
14949  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14950  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14951fi # test "$_lt_caught_CXX_error" != yes
14952
14953ac_ext=c
14954ac_cpp='$CPP $CPPFLAGS'
14955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14957ac_compiler_gnu=$ac_cv_c_compiler_gnu
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971        ac_config_commands="$ac_config_commands libtool"
14972
14973
14974
14975
14976# Only expand once:
14977
14978
14979
14980
14981
14982case $host in
14983  *-cygwin* | *-mingw*)
14984    # 'host' will be top-level target in the case of a target lib,
14985    # we must compare to with_cross_host to decide if this is a native
14986    # or cross-compiler and select where to install dlls appropriately.
14987    if test -n "$with_cross_host" &&
14988	test x"$with_cross_host" != x"no"; then
14989      lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14990    else
14991      lt_host_flags='-no-undefined -bindir "$(bindir)"';
14992    fi
14993    ;;
14994  *)
14995    lt_host_flags=
14996    ;;
14997esac
14998
14999
15000
15001
15002
15003
15004if test "$enable_vtable_verify" = yes; then
15005  predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15006  postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15007fi
15008
15009
15010# libtool variables for C++ shared and position-independent compiles.
15011#
15012# Use glibcxx_lt_pic_flag to designate the automake variable
15013# used to encapsulate the default libtool approach to creating objects
15014# with position-independent code. Default: -prefer-pic.
15015#
15016# Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15017# creating shared objects. Default: -D_GLIBCXX_SHARED.
15018#
15019# Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15020# creating position-independent objects. This varies with the target
15021# hardware and operating system, but is often: -DPIC -fPIC.
15022if test "$enable_shared" = yes; then
15023  glibcxx_lt_pic_flag="-prefer-pic"
15024  glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15025  glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15026
15027else
15028  glibcxx_lt_pic_flag=
15029  glibcxx_compiler_pic_flag=
15030  glibcxx_compiler_shared_flag=
15031fi
15032
15033
15034
15035
15036# Override the libtool's pic_flag and pic_mode.
15037# Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15038# NB: this impacts --with-pic and --without-pic.
15039lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15040pic_mode='default'
15041
15042# Eliminate -lstdc++ addition to postdeps for cross compiles.
15043postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15044
15045# Possibly disable most of the library.
15046## TODO: Consider skipping unncessary tests altogether in this case, rather
15047## than just ignoring the results.  Faster /and/ more correct, win win.
15048
15049  # Check whether --enable-hosted-libstdcxx was given.
15050if test "${enable_hosted_libstdcxx+set}" = set; then :
15051  enableval=$enable_hosted_libstdcxx;
15052else
15053  case "$host" in
15054	arm*-*-symbianelf*)
15055	    enable_hosted_libstdcxx=no
15056	    ;;
15057	*)
15058	    enable_hosted_libstdcxx=yes
15059	    ;;
15060     esac
15061fi
15062
15063  if test "$enable_hosted_libstdcxx" = no; then
15064    { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15065$as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15066    is_hosted=no
15067    hosted_define=0
15068    enable_abi_check=no
15069    enable_libstdcxx_pch=no
15070  else
15071    is_hosted=yes
15072    hosted_define=1
15073  fi
15074
15075
15076cat >>confdefs.h <<_ACEOF
15077#define _GLIBCXX_HOSTED $hosted_define
15078_ACEOF
15079
15080
15081
15082# Enable descriptive messages to standard output on termination.
15083
15084  # Check whether --enable-libstdcxx-verbose was given.
15085if test "${enable_libstdcxx_verbose+set}" = set; then :
15086  enableval=$enable_libstdcxx_verbose;
15087else
15088  enable_libstdcxx_verbose=yes
15089fi
15090
15091  if test x"$enable_libstdcxx_verbose" = xyes; then
15092    verbose_define=1
15093  else
15094    { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15095$as_echo "$as_me: verbose termination messages are disabled" >&6;}
15096    verbose_define=0
15097  fi
15098
15099cat >>confdefs.h <<_ACEOF
15100#define _GLIBCXX_VERBOSE $verbose_define
15101_ACEOF
15102
15103
15104
15105# Enable compiler support that doesn't require linking.
15106
15107   # Check whether --enable-libstdcxx-pch was given.
15108if test "${enable_libstdcxx_pch+set}" = set; then :
15109  enableval=$enable_libstdcxx_pch;
15110      case "$enableval" in
15111       yes|no) ;;
15112       *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15113      esac
15114
15115else
15116  enable_libstdcxx_pch=$is_hosted
15117fi
15118
15119
15120  if test $enable_libstdcxx_pch = yes; then
15121    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15122$as_echo_n "checking for compiler with PCH support... " >&6; }
15123if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15124  $as_echo_n "(cached) " >&6
15125else
15126  ac_save_CXXFLAGS="$CXXFLAGS"
15127       CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15128
15129       ac_ext=cpp
15130ac_cpp='$CXXCPP $CPPFLAGS'
15131ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15132ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15133ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15134
15135       echo '#include <math.h>' > conftest.h
15136       if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15137			  -o conftest.h.gch 1>&5 2>&1 &&
15138		echo '#error "pch failed"' > conftest.h &&
15139	  echo '#include "conftest.h"' > conftest.cc &&
15140	       $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15141       then
15142	 glibcxx_cv_prog_CXX_pch=yes
15143       else
15144	 glibcxx_cv_prog_CXX_pch=no
15145       fi
15146       rm -f conftest*
15147       CXXFLAGS=$ac_save_CXXFLAGS
15148       ac_ext=c
15149ac_cpp='$CPP $CPPFLAGS'
15150ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15151ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15152ac_compiler_gnu=$ac_cv_c_compiler_gnu
15153
15154
15155fi
15156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15157$as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15158    enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15159  fi
15160
15161  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15162$as_echo_n "checking for enabled PCH... " >&6; }
15163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15164$as_echo "$enable_libstdcxx_pch" >&6; }
15165
15166
15167  if test $enable_libstdcxx_pch = yes; then
15168    glibcxx_PCHFLAGS="-include bits/stdc++.h"
15169  else
15170    glibcxx_PCHFLAGS=""
15171  fi
15172
15173
15174
15175  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15176$as_echo_n "checking for thread model used by GCC... " >&6; }
15177  target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15179$as_echo "$target_thread_file" >&6; }
15180
15181case $target_thread_file in
15182    aix)	thread_header=config/rs6000/gthr-aix.h ;;
15183    dce)	thread_header=config/pa/gthr-dce.h ;;
15184    lynx)	thread_header=config/gthr-lynx.h ;;
15185    mipssde)	thread_header=config/mips/gthr-mipssde.h ;;
15186    posix)	thread_header=gthr-posix.h ;;
15187    rtems)	thread_header=config/gthr-rtems.h ;;
15188    single)	thread_header=gthr-single.h ;;
15189    tpf)	thread_header=config/s390/gthr-tpf.h ;;
15190    vxworks)	thread_header=config/gthr-vxworks.h ;;
15191    win32)	thread_header=config/i386/gthr-win32.h ;;
15192esac
15193
15194
15195
15196
15197
15198  ac_ext=cpp
15199ac_cpp='$CXXCPP $CPPFLAGS'
15200ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15201ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15202ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15203
15204  old_CXXFLAGS="$CXXFLAGS"
15205
15206  # Do link tests if possible, instead asm tests, limited to some platforms
15207  # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15208  # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15209  atomic_builtins_link_tests=no
15210  if test x$gcc_no_link != xyes; then
15211    # Can do link tests. Limit to some tested platforms
15212    case "$host" in
15213      *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15214	atomic_builtins_link_tests=yes
15215	;;
15216    esac
15217  fi
15218
15219  if test x$atomic_builtins_link_tests = xyes; then
15220
15221  # Do link tests.
15222
15223  CXXFLAGS="$CXXFLAGS -fno-exceptions"
15224
15225  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15226$as_echo_n "checking for atomic builtins for bool... " >&6; }
15227  if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15228  $as_echo_n "(cached) " >&6
15229else
15230
15231    if test x$gcc_no_link = xyes; then
15232  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15233fi
15234cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235/* end confdefs.h.  */
15236
15237int
15238main ()
15239{
15240typedef bool atomic_type;
15241       atomic_type c1;
15242       atomic_type c2;
15243       atomic_type c3(0);
15244       // N.B. __atomic_fetch_add is not supported for bool.
15245       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15246				   __ATOMIC_RELAXED);
15247       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15248       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15249
15250  ;
15251  return 0;
15252}
15253_ACEOF
15254if ac_fn_cxx_try_link "$LINENO"; then :
15255  glibcxx_cv_atomic_bool=yes
15256else
15257  glibcxx_cv_atomic_bool=no
15258fi
15259rm -f core conftest.err conftest.$ac_objext \
15260    conftest$ac_exeext conftest.$ac_ext
15261
15262fi
15263
15264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15265$as_echo "$glibcxx_cv_atomic_bool" >&6; }
15266
15267  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15268$as_echo_n "checking for atomic builtins for short... " >&6; }
15269  if test "${glibcxx_cv_atomic_short+set}" = set; then :
15270  $as_echo_n "(cached) " >&6
15271else
15272
15273    if test x$gcc_no_link = xyes; then
15274  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15275fi
15276cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15277/* end confdefs.h.  */
15278
15279int
15280main ()
15281{
15282typedef short atomic_type;
15283       atomic_type c1;
15284       atomic_type c2;
15285       atomic_type c3(0);
15286       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15287       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15288				   __ATOMIC_RELAXED);
15289       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15290       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15291
15292  ;
15293  return 0;
15294}
15295_ACEOF
15296if ac_fn_cxx_try_link "$LINENO"; then :
15297  glibcxx_cv_atomic_short=yes
15298else
15299  glibcxx_cv_atomic_short=no
15300fi
15301rm -f core conftest.err conftest.$ac_objext \
15302    conftest$ac_exeext conftest.$ac_ext
15303
15304fi
15305
15306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15307$as_echo "$glibcxx_cv_atomic_short" >&6; }
15308
15309  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15310$as_echo_n "checking for atomic builtins for int... " >&6; }
15311  if test "${glibcxx_cv_atomic_int+set}" = set; then :
15312  $as_echo_n "(cached) " >&6
15313else
15314
15315    if test x$gcc_no_link = xyes; then
15316  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15317fi
15318cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15319/* end confdefs.h.  */
15320
15321int
15322main ()
15323{
15324typedef int atomic_type;
15325       atomic_type c1;
15326       atomic_type c2;
15327       atomic_type c3(0);
15328       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15329       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15330				   __ATOMIC_RELAXED);
15331       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15332       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15333
15334  ;
15335  return 0;
15336}
15337_ACEOF
15338if ac_fn_cxx_try_link "$LINENO"; then :
15339  glibcxx_cv_atomic_int=yes
15340else
15341  glibcxx_cv_atomic_int=no
15342fi
15343rm -f core conftest.err conftest.$ac_objext \
15344    conftest$ac_exeext conftest.$ac_ext
15345
15346fi
15347
15348  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15349$as_echo "$glibcxx_cv_atomic_int" >&6; }
15350
15351  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15352$as_echo_n "checking for atomic builtins for long long... " >&6; }
15353  if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15354  $as_echo_n "(cached) " >&6
15355else
15356
15357    if test x$gcc_no_link = xyes; then
15358  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15359fi
15360cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15361/* end confdefs.h.  */
15362
15363int
15364main ()
15365{
15366typedef long long atomic_type;
15367       atomic_type c1;
15368       atomic_type c2;
15369       atomic_type c3(0);
15370       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15371       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15372				   __ATOMIC_RELAXED);
15373       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15374       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15375
15376  ;
15377  return 0;
15378}
15379_ACEOF
15380if ac_fn_cxx_try_link "$LINENO"; then :
15381  glibcxx_cv_atomic_long_long=yes
15382else
15383  glibcxx_cv_atomic_long_long=no
15384fi
15385rm -f core conftest.err conftest.$ac_objext \
15386    conftest$ac_exeext conftest.$ac_ext
15387
15388fi
15389
15390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15391$as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15392
15393  else
15394
15395  # Do asm tests.
15396
15397  # Compile unoptimized.
15398  CXXFLAGS='-O0 -S'
15399
15400  # Fake what AC_TRY_COMPILE does.
15401
15402    cat > conftest.$ac_ext << EOF
15403#line 15400 "configure"
15404int main()
15405{
15406  typedef bool atomic_type;
15407  atomic_type c1;
15408  atomic_type c2;
15409  atomic_type c3(0);
15410  // N.B. __atomic_fetch_add is not supported for bool.
15411  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15412			      __ATOMIC_RELAXED);
15413  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15414  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15415
15416  return 0;
15417}
15418EOF
15419
15420    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15421$as_echo_n "checking for atomic builtins for bool... " >&6; }
15422    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15423  (eval $ac_compile) 2>&5
15424  ac_status=$?
15425  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15426  test $ac_status = 0; }; then
15427      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15428	glibcxx_cv_atomic_bool=no
15429      else
15430	glibcxx_cv_atomic_bool=yes
15431      fi
15432    fi
15433    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15434$as_echo "$glibcxx_cv_atomic_bool" >&6; }
15435    rm -f conftest*
15436
15437    cat > conftest.$ac_ext << EOF
15438#line 15435 "configure"
15439int main()
15440{
15441  typedef short atomic_type;
15442  atomic_type c1;
15443  atomic_type c2;
15444  atomic_type c3(0);
15445  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15446  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15447			      __ATOMIC_RELAXED);
15448  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15449  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15450
15451  return 0;
15452}
15453EOF
15454
15455    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15456$as_echo_n "checking for atomic builtins for short... " >&6; }
15457    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15458  (eval $ac_compile) 2>&5
15459  ac_status=$?
15460  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15461  test $ac_status = 0; }; then
15462      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15463	glibcxx_cv_atomic_short=no
15464      else
15465	glibcxx_cv_atomic_short=yes
15466      fi
15467    fi
15468    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15469$as_echo "$glibcxx_cv_atomic_short" >&6; }
15470    rm -f conftest*
15471
15472    cat > conftest.$ac_ext << EOF
15473#line 15470 "configure"
15474int main()
15475{
15476  // NB: _Atomic_word not necessarily int.
15477  typedef int atomic_type;
15478  atomic_type c1;
15479  atomic_type c2;
15480  atomic_type c3(0);
15481  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15482  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15483			      __ATOMIC_RELAXED);
15484  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15485  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15486
15487  return 0;
15488}
15489EOF
15490
15491    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15492$as_echo_n "checking for atomic builtins for int... " >&6; }
15493    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15494  (eval $ac_compile) 2>&5
15495  ac_status=$?
15496  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15497  test $ac_status = 0; }; then
15498      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15499	glibcxx_cv_atomic_int=no
15500      else
15501	glibcxx_cv_atomic_int=yes
15502      fi
15503    fi
15504    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15505$as_echo "$glibcxx_cv_atomic_int" >&6; }
15506    rm -f conftest*
15507
15508    cat > conftest.$ac_ext << EOF
15509#line 15506 "configure"
15510int main()
15511{
15512  typedef long long atomic_type;
15513  atomic_type c1;
15514  atomic_type c2;
15515  atomic_type c3(0);
15516  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15517  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15518			      __ATOMIC_RELAXED);
15519  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15520  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15521
15522  return 0;
15523}
15524EOF
15525
15526    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15527$as_echo_n "checking for atomic builtins for long long... " >&6; }
15528    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15529  (eval $ac_compile) 2>&5
15530  ac_status=$?
15531  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15532  test $ac_status = 0; }; then
15533      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15534	glibcxx_cv_atomic_long_long=no
15535      else
15536	glibcxx_cv_atomic_long_long=yes
15537      fi
15538    fi
15539    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15540$as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15541    rm -f conftest*
15542
15543  fi
15544
15545  CXXFLAGS="$old_CXXFLAGS"
15546  ac_ext=c
15547ac_cpp='$CPP $CPPFLAGS'
15548ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15549ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15550ac_compiler_gnu=$ac_cv_c_compiler_gnu
15551
15552
15553  # Set atomicity_dir to builtins if all but the long long test above passes,
15554  # or if the builtins were already chosen (e.g. by configure.host).
15555  if { test "$glibcxx_cv_atomic_bool" = yes \
15556     && test "$glibcxx_cv_atomic_short" = yes \
15557     && test "$glibcxx_cv_atomic_int" = yes; } \
15558     || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15559
15560$as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15561
15562    atomicity_dir=cpu/generic/atomicity_builtins
15563  fi
15564
15565  # If still generic, set to mutex.
15566  if test $atomicity_dir = "cpu/generic" ; then
15567    atomicity_dir=cpu/generic/atomicity_mutex
15568    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15569$as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15570      if test "x$target_thread_file" = xsingle; then
15571	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15572$as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15573	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15574$as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15575      else
15576	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15577$as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15578	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15579$as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15580      fi
15581  fi
15582
15583
15584
15585
15586  # Fake what AC_TRY_COMPILE does, without linking as this is
15587  # unnecessary for this test.
15588
15589    cat > conftest.$ac_ext << EOF
15590#line 15587 "configure"
15591int main()
15592{
15593  _Decimal32 d1;
15594  _Decimal64 d2;
15595  _Decimal128 d3;
15596  return 0;
15597}
15598EOF
15599
15600    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15601$as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15602    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15603  (eval $ac_compile) 2>&5
15604  ac_status=$?
15605  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15606  test $ac_status = 0; }; then
15607
15608$as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15609
15610      enable_dfp=yes
15611    else
15612      enable_dfp=no
15613    fi
15614    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15615$as_echo "$enable_dfp" >&6; }
15616    rm -f conftest*
15617
15618
15619
15620
15621  ac_ext=cpp
15622ac_cpp='$CXXCPP $CPPFLAGS'
15623ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15624ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15625ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15626
15627
15628  # Fake what AC_TRY_COMPILE does, without linking as this is
15629  # unnecessary for this test.
15630
15631    cat > conftest.$ac_ext << EOF
15632#line 15629 "configure"
15633template<typename T1, typename T2>
15634  struct same
15635  { typedef T2 type; };
15636
15637template<typename T>
15638  struct same<T, T>;
15639
15640int main()
15641{
15642  typename same<long, __int128>::type                i1;
15643  typename same<long long, __int128>::type           i2;
15644}
15645EOF
15646
15647    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15648$as_echo_n "checking for __int128... " >&6; }
15649    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15650  (eval $ac_compile) 2>&5
15651  ac_status=$?
15652  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15653  test $ac_status = 0; }; then
15654
15655$as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15656
15657      enable_int128=yes
15658    else
15659      enable_int128=no
15660    fi
15661    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15662$as_echo "$enable_int128" >&6; }
15663    rm -f conftest*
15664
15665    cat > conftest.$ac_ext << EOF
15666#line 15663 "configure"
15667template<typename T1, typename T2>
15668  struct same
15669  { typedef T2 type; };
15670
15671template<typename T>
15672  struct same<T, T>;
15673
15674int main()
15675{
15676  typename same<double, __float128>::type      f1;
15677  typename same<long double, __float128>::type f2;
15678}
15679EOF
15680
15681    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15682$as_echo_n "checking for __float128... " >&6; }
15683    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15684  (eval $ac_compile) 2>&5
15685  ac_status=$?
15686  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15687  test $ac_status = 0; }; then
15688      enable_float128=yes
15689    else
15690      enable_float128=no
15691    fi
15692    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15693$as_echo "$enable_float128" >&6; }
15694
15695    rm -f conftest*
15696
15697  ac_ext=c
15698ac_cpp='$CPP $CPPFLAGS'
15699ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15700ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15701ac_compiler_gnu=$ac_cv_c_compiler_gnu
15702
15703
15704if test "$enable_float128" = yes; then
15705  port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15706fi
15707
15708# Checks for compiler support that doesn't require linking.
15709
15710  # All these tests are for C++; save the language and the compiler flags.
15711  # The CXXFLAGS thing is suspicious, but based on similar bits previously
15712  # found in GLIBCXX_CONFIGURE.
15713
15714  ac_ext=cpp
15715ac_cpp='$CXXCPP $CPPFLAGS'
15716ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15717ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15718ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15719
15720  ac_test_CXXFLAGS="${CXXFLAGS+set}"
15721  ac_save_CXXFLAGS="$CXXFLAGS"
15722
15723  # Check for maintainer-mode bits.
15724  if test x"$USE_MAINTAINER_MODE" = xno; then
15725    WERROR=''
15726  else
15727    WERROR='-Werror'
15728  fi
15729
15730  # Check for -ffunction-sections -fdata-sections
15731  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15732$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15733  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15734  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15735/* end confdefs.h.  */
15736int foo; void bar() { };
15737int
15738main ()
15739{
15740
15741  ;
15742  return 0;
15743}
15744_ACEOF
15745if ac_fn_cxx_try_compile "$LINENO"; then :
15746  ac_fdsections=yes
15747else
15748  ac_fdsections=no
15749fi
15750rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15751  if test "$ac_test_CXXFLAGS" = set; then
15752    CXXFLAGS="$ac_save_CXXFLAGS"
15753  else
15754    # this is the suspicious part
15755    CXXFLAGS=''
15756  fi
15757  if test x"$ac_fdsections" = x"yes"; then
15758    SECTION_FLAGS='-ffunction-sections -fdata-sections'
15759  fi
15760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15761$as_echo "$ac_fdsections" >&6; }
15762
15763  ac_ext=c
15764ac_cpp='$CPP $CPPFLAGS'
15765ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15766ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15767ac_compiler_gnu=$ac_cv_c_compiler_gnu
15768
15769
15770
15771
15772
15773# Enable all the variable C++ runtime options that don't require linking.
15774
15775  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15776$as_echo_n "checking for underlying I/O to use... " >&6; }
15777   # Check whether --enable-cstdio was given.
15778if test "${enable_cstdio+set}" = set; then :
15779  enableval=$enable_cstdio;
15780      case "$enableval" in
15781       stdio) ;;
15782       *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15783	  	        esac
15784
15785else
15786  enable_cstdio=stdio
15787fi
15788
15789
15790
15791  # Now that libio has been removed, you can have any color you want as long
15792  # as it's black.  This is one big no-op until other packages are added, but
15793  # showing the framework never hurts.
15794  case ${enable_cstdio} in
15795    stdio)
15796      CSTDIO_H=config/io/c_io_stdio.h
15797      BASIC_FILE_H=config/io/basic_file_stdio.h
15798      BASIC_FILE_CC=config/io/basic_file_stdio.cc
15799      { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15800$as_echo "stdio" >&6; }
15801      ;;
15802  esac
15803
15804
15805
15806
15807
15808
15809   # Check whether --enable-clocale was given.
15810if test "${enable_clocale+set}" = set; then :
15811  enableval=$enable_clocale;
15812      case "$enableval" in
15813       generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15814       *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15815	  	        esac
15816
15817else
15818  enable_clocale=auto
15819fi
15820
15821
15822
15823  # Deal with gettext issues.  Default to not using it (=no) until we detect
15824  # support for it later.  Let the user turn it off via --e/d, but let that
15825  # default to on for easier handling.
15826  USE_NLS=no
15827  # Check whether --enable-nls was given.
15828if test "${enable_nls+set}" = set; then :
15829  enableval=$enable_nls;
15830else
15831  enable_nls=yes
15832fi
15833
15834
15835  # Either a known package, or "auto"
15836  if test $enable_clocale = no || test $enable_clocale = yes; then
15837     enable_clocale=auto
15838  fi
15839  enable_clocale_flag=$enable_clocale
15840
15841  # Probe for locale model to use if none specified.
15842  # Default to "generic".
15843  if test $enable_clocale_flag = auto; then
15844    case ${target_os} in
15845      linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15846	enable_clocale_flag=gnu
15847	;;
15848      darwin*)
15849	enable_clocale_flag=darwin
15850	;;
15851      dragonfly* | freebsd* | netbsd*)
15852	enable_clocale_flag=dragonfly
15853	;;
15854      openbsd*)
15855	enable_clocale_flag=newlib
15856	;;
15857      *)
15858	if test x"$with_newlib" = x"yes"; then
15859	  enable_clocale_flag=newlib
15860	else
15861	  enable_clocale_flag=generic
15862	fi
15863	;;
15864    esac
15865  fi
15866
15867  # Sanity check model, and test for special functionality.
15868  if test $enable_clocale_flag = gnu; then
15869    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870/* end confdefs.h.  */
15871
15872    #include <features.h>
15873    #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15874      _GLIBCXX_ok
15875    #endif
15876
15877_ACEOF
15878if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15879  $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15880  enable_clocale_flag=gnu
15881else
15882  enable_clocale_flag=generic
15883fi
15884rm -f conftest*
15885
15886
15887    # Set it to scream when it hurts.
15888    ac_save_CFLAGS="$CFLAGS"
15889    CFLAGS="-Wimplicit-function-declaration -Werror"
15890
15891    # Use strxfrm_l if available.
15892    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893/* end confdefs.h.  */
15894#define _GNU_SOURCE 1
15895     		    #include <string.h>
15896		    #include <locale.h>
15897int
15898main ()
15899{
15900char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15901  ;
15902  return 0;
15903}
15904_ACEOF
15905if ac_fn_c_try_compile "$LINENO"; then :
15906
15907$as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15908
15909fi
15910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15911
15912    # Use strerror_l if available.
15913    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15914/* end confdefs.h.  */
15915#define _GNU_SOURCE 1
15916		    #include <string.h>
15917		    #include <locale.h>
15918int
15919main ()
15920{
15921__locale_t loc; strerror_l(5, loc);
15922  ;
15923  return 0;
15924}
15925_ACEOF
15926if ac_fn_c_try_compile "$LINENO"; then :
15927
15928$as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15929
15930fi
15931rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15932
15933    CFLAGS="$ac_save_CFLAGS"
15934  fi
15935
15936  # Perhaps use strerror_r if available, and strerror_l isn't.
15937  ac_save_CFLAGS="$CFLAGS"
15938  CFLAGS="-Wimplicit-function-declaration -Werror"
15939  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15940/* end confdefs.h.  */
15941#define _GNU_SOURCE 1
15942	     	  #include <string.h>
15943		  #include <locale.h>
15944int
15945main ()
15946{
15947char s[128]; strerror_r(5, s, 128);
15948  ;
15949  return 0;
15950}
15951_ACEOF
15952if ac_fn_c_try_compile "$LINENO"; then :
15953
15954$as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15955
15956fi
15957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15958  CFLAGS="$ac_save_CFLAGS"
15959
15960  # Set configure bits for specified locale package
15961  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15962$as_echo_n "checking for C locale to use... " >&6; }
15963  case ${enable_clocale_flag} in
15964    generic)
15965      { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15966$as_echo "generic" >&6; }
15967
15968      CLOCALE_H=config/locale/generic/c_locale.h
15969      CLOCALE_CC=config/locale/generic/c_locale.cc
15970      CCODECVT_CC=config/locale/generic/codecvt_members.cc
15971      CCOLLATE_CC=config/locale/generic/collate_members.cc
15972      CCTYPE_CC=config/locale/generic/ctype_members.cc
15973      CMESSAGES_H=config/locale/generic/messages_members.h
15974      CMESSAGES_CC=config/locale/generic/messages_members.cc
15975      CMONEY_CC=config/locale/generic/monetary_members.cc
15976      CNUMERIC_CC=config/locale/generic/numeric_members.cc
15977      CTIME_H=config/locale/generic/time_members.h
15978      CTIME_CC=config/locale/generic/time_members.cc
15979      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15980      ;;
15981    darwin)
15982      { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15983$as_echo "darwin" >&6; }
15984
15985      CLOCALE_H=config/locale/generic/c_locale.h
15986      CLOCALE_CC=config/locale/generic/c_locale.cc
15987      CCODECVT_CC=config/locale/generic/codecvt_members.cc
15988      CCOLLATE_CC=config/locale/generic/collate_members.cc
15989      CCTYPE_CC=config/locale/darwin/ctype_members.cc
15990      CMESSAGES_H=config/locale/generic/messages_members.h
15991      CMESSAGES_CC=config/locale/generic/messages_members.cc
15992      CMONEY_CC=config/locale/generic/monetary_members.cc
15993      CNUMERIC_CC=config/locale/generic/numeric_members.cc
15994      CTIME_H=config/locale/generic/time_members.h
15995      CTIME_CC=config/locale/generic/time_members.cc
15996      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15997      ;;
15998
15999    dragonfly)
16000      { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd or netbsd" >&5
16001$as_echo "dragonfly or freebsd or netbsd" >&6; }
16002
16003      CLOCALE_H=config/locale/dragonfly/c_locale.h
16004      CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16005      CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16006      CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16007      CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16008      CMESSAGES_H=config/locale/generic/messages_members.h
16009      CMESSAGES_CC=config/locale/generic/messages_members.cc
16010      CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16011      CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16012      CTIME_H=config/locale/dragonfly/time_members.h
16013      CTIME_CC=config/locale/dragonfly/time_members.cc
16014      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16015      ;;
16016
16017    gnu)
16018      { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16019$as_echo "gnu" >&6; }
16020
16021      # Declare intention to use gettext, and add support for specific
16022      # languages.
16023      # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16024      ALL_LINGUAS="de fr"
16025
16026      # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16027      # Extract the first word of "msgfmt", so it can be a program name with args.
16028set dummy msgfmt; ac_word=$2
16029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16030$as_echo_n "checking for $ac_word... " >&6; }
16031if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16032  $as_echo_n "(cached) " >&6
16033else
16034  if test -n "$check_msgfmt"; then
16035  ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16036else
16037as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16038for as_dir in $PATH
16039do
16040  IFS=$as_save_IFS
16041  test -z "$as_dir" && as_dir=.
16042    for ac_exec_ext in '' $ac_executable_extensions; do
16043  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16044    ac_cv_prog_check_msgfmt="yes"
16045    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16046    break 2
16047  fi
16048done
16049  done
16050IFS=$as_save_IFS
16051
16052  test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16053fi
16054fi
16055check_msgfmt=$ac_cv_prog_check_msgfmt
16056if test -n "$check_msgfmt"; then
16057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16058$as_echo "$check_msgfmt" >&6; }
16059else
16060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16061$as_echo "no" >&6; }
16062fi
16063
16064
16065      if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16066	USE_NLS=yes
16067      fi
16068      # Export the build objects.
16069      for ling in $ALL_LINGUAS; do \
16070	glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16071	glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16072      done
16073
16074
16075
16076      CLOCALE_H=config/locale/gnu/c_locale.h
16077      CLOCALE_CC=config/locale/gnu/c_locale.cc
16078      CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16079      CCOLLATE_CC=config/locale/gnu/collate_members.cc
16080      CCTYPE_CC=config/locale/gnu/ctype_members.cc
16081      CMESSAGES_H=config/locale/gnu/messages_members.h
16082      CMESSAGES_CC=config/locale/gnu/messages_members.cc
16083      CMONEY_CC=config/locale/gnu/monetary_members.cc
16084      CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16085      CTIME_H=config/locale/gnu/time_members.h
16086      CTIME_CC=config/locale/gnu/time_members.cc
16087      CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16088      ;;
16089    ieee_1003.1-2001)
16090      { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16091$as_echo "IEEE 1003.1" >&6; }
16092
16093      CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16094      CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16095      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16096      CCOLLATE_CC=config/locale/generic/collate_members.cc
16097      CCTYPE_CC=config/locale/generic/ctype_members.cc
16098      CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16099      CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16100      CMONEY_CC=config/locale/generic/monetary_members.cc
16101      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16102      CTIME_H=config/locale/generic/time_members.h
16103      CTIME_CC=config/locale/generic/time_members.cc
16104      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16105      ;;
16106    newlib)
16107      { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16108$as_echo "newlib" >&6; }
16109
16110      CLOCALE_H=config/locale/generic/c_locale.h
16111      CLOCALE_CC=config/locale/generic/c_locale.cc
16112      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16113      CCOLLATE_CC=config/locale/generic/collate_members.cc
16114      CCTYPE_CC=config/locale/newlib/ctype_members.cc
16115      CMESSAGES_H=config/locale/generic/messages_members.h
16116      CMESSAGES_CC=config/locale/generic/messages_members.cc
16117      CMONEY_CC=config/locale/generic/monetary_members.cc
16118      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16119      CTIME_H=config/locale/generic/time_members.h
16120      CTIME_CC=config/locale/generic/time_members.cc
16121      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16122      ;;
16123  esac
16124
16125  # This is where the testsuite looks for locale catalogs, using the
16126  # -DLOCALEDIR define during testsuite compilation.
16127  glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16128
16129
16130  # A standalone libintl (e.g., GNU libintl) may be in use.
16131  if test $USE_NLS = yes; then
16132    for ac_header in libintl.h
16133do :
16134  ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16135if test "x$ac_cv_header_libintl_h" = x""yes; then :
16136  cat >>confdefs.h <<_ACEOF
16137#define HAVE_LIBINTL_H 1
16138_ACEOF
16139
16140else
16141  USE_NLS=no
16142fi
16143
16144done
16145
16146    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16147$as_echo_n "checking for library containing gettext... " >&6; }
16148if test "${ac_cv_search_gettext+set}" = set; then :
16149  $as_echo_n "(cached) " >&6
16150else
16151  ac_func_search_save_LIBS=$LIBS
16152cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16153/* end confdefs.h.  */
16154
16155/* Override any GCC internal prototype to avoid an error.
16156   Use char because int might match the return type of a GCC
16157   builtin and then its argument prototype would still apply.  */
16158#ifdef __cplusplus
16159extern "C"
16160#endif
16161char gettext ();
16162int
16163main ()
16164{
16165return gettext ();
16166  ;
16167  return 0;
16168}
16169_ACEOF
16170for ac_lib in '' intl; do
16171  if test -z "$ac_lib"; then
16172    ac_res="none required"
16173  else
16174    ac_res=-l$ac_lib
16175    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16176  fi
16177  if test x$gcc_no_link = xyes; then
16178  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16179fi
16180if ac_fn_c_try_link "$LINENO"; then :
16181  ac_cv_search_gettext=$ac_res
16182fi
16183rm -f core conftest.err conftest.$ac_objext \
16184    conftest$ac_exeext
16185  if test "${ac_cv_search_gettext+set}" = set; then :
16186  break
16187fi
16188done
16189if test "${ac_cv_search_gettext+set}" = set; then :
16190
16191else
16192  ac_cv_search_gettext=no
16193fi
16194rm conftest.$ac_ext
16195LIBS=$ac_func_search_save_LIBS
16196fi
16197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16198$as_echo "$ac_cv_search_gettext" >&6; }
16199ac_res=$ac_cv_search_gettext
16200if test "$ac_res" != no; then :
16201  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16202
16203else
16204  USE_NLS=no
16205fi
16206
16207  fi
16208  if test $USE_NLS = yes; then
16209
16210$as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16211
16212  fi
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16230$as_echo_n "checking for std::allocator base class... " >&6; }
16231   # Check whether --enable-libstdcxx-allocator was given.
16232if test "${enable_libstdcxx_allocator+set}" = set; then :
16233  enableval=$enable_libstdcxx_allocator;
16234      case "$enableval" in
16235       new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16236       *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16237	  	        esac
16238
16239else
16240  enable_libstdcxx_allocator=auto
16241fi
16242
16243
16244
16245  # If they didn't use this option switch, or if they specified --enable
16246  # with no specific model, we'll have to look for one.  If they
16247  # specified --disable (???), do likewise.
16248  if test $enable_libstdcxx_allocator = no ||
16249     test $enable_libstdcxx_allocator = yes;
16250  then
16251     enable_libstdcxx_allocator=auto
16252  fi
16253
16254  # Either a known package, or "auto". Auto implies the default choice
16255  # for a particular platform.
16256  enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16257
16258  # Probe for host-specific support if no specific model is specified.
16259  # Default to "new".
16260  if test $enable_libstdcxx_allocator_flag = auto; then
16261    case ${target_os} in
16262      linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16263	enable_libstdcxx_allocator_flag=new
16264	;;
16265      *)
16266	enable_libstdcxx_allocator_flag=new
16267	;;
16268    esac
16269  fi
16270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16271$as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16272
16273
16274  # Set configure bits for specified locale package
16275  case ${enable_libstdcxx_allocator_flag} in
16276    bitmap)
16277      ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16278      ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16279      ;;
16280    malloc)
16281      ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16282      ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16283      ;;
16284    mt)
16285      ALLOCATOR_H=config/allocator/mt_allocator_base.h
16286      ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16287      ;;
16288    new)
16289      ALLOCATOR_H=config/allocator/new_allocator_base.h
16290      ALLOCATOR_NAME=__gnu_cxx::new_allocator
16291      ;;
16292    pool)
16293      ALLOCATOR_H=config/allocator/pool_allocator_base.h
16294      ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16295      ;;
16296  esac
16297
16298
16299
16300
16301
16302
16303   # Check whether --enable-cheaders was given.
16304if test "${enable_cheaders+set}" = set; then :
16305  enableval=$enable_cheaders;
16306      case "$enableval" in
16307       c|c_std|c_global) ;;
16308       *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16309	  	        esac
16310
16311else
16312  enable_cheaders=$c_model
16313fi
16314
16315
16316  { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16317$as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16318
16319  C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16320
16321  # Allow overrides to configure.host here.
16322  if test $enable_cheaders = c_global; then
16323     c_compatibility=yes
16324  fi
16325
16326
16327
16328
16329
16330
16331
16332   # Check whether --enable-long-long was given.
16333if test "${enable_long_long+set}" = set; then :
16334  enableval=$enable_long_long;
16335      case "$enableval" in
16336       yes|no) ;;
16337       *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16338      esac
16339
16340else
16341  enable_long_long=yes
16342fi
16343
16344
16345  if test $enable_long_long = yes; then
16346
16347$as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16348
16349  fi
16350  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16351$as_echo_n "checking for enabled long long specializations... " >&6; }
16352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16353$as_echo "$enable_long_long" >&6; }
16354
16355
16356   # Check whether --enable-wchar_t was given.
16357if test "${enable_wchar_t+set}" = set; then :
16358  enableval=$enable_wchar_t;
16359      case "$enableval" in
16360       yes|no) ;;
16361       *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16362      esac
16363
16364else
16365  enable_wchar_t=yes
16366fi
16367
16368
16369
16370  # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16371  for ac_header in wchar.h
16372do :
16373  ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16374if test "x$ac_cv_header_wchar_h" = x""yes; then :
16375  cat >>confdefs.h <<_ACEOF
16376#define HAVE_WCHAR_H 1
16377_ACEOF
16378 ac_has_wchar_h=yes
16379else
16380  ac_has_wchar_h=no
16381fi
16382
16383done
16384
16385  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16386$as_echo_n "checking for mbstate_t... " >&6; }
16387  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16388/* end confdefs.h.  */
16389#include <wchar.h>
16390int
16391main ()
16392{
16393mbstate_t teststate;
16394  ;
16395  return 0;
16396}
16397_ACEOF
16398if ac_fn_c_try_compile "$LINENO"; then :
16399  have_mbstate_t=yes
16400else
16401  have_mbstate_t=no
16402fi
16403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16405$as_echo "$have_mbstate_t" >&6; }
16406  if test x"$have_mbstate_t" = xyes; then
16407
16408$as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16409
16410  fi
16411
16412  # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16413  # ac_has_wchar_h.
16414  for ac_header in wctype.h
16415do :
16416  ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16417if test "x$ac_cv_header_wctype_h" = x""yes; then :
16418  cat >>confdefs.h <<_ACEOF
16419#define HAVE_WCTYPE_H 1
16420_ACEOF
16421 ac_has_wctype_h=yes
16422else
16423  ac_has_wctype_h=no
16424fi
16425
16426done
16427
16428
16429  if test x"$enable_wchar_t" = x"yes"; then
16430
16431
16432    ac_ext=cpp
16433ac_cpp='$CXXCPP $CPPFLAGS'
16434ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16435ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16436ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16437
16438
16439    if test x"$ac_has_wchar_h" = xyes &&
16440       test x"$ac_has_wctype_h" = xyes; then
16441      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16442/* end confdefs.h.  */
16443#include <wchar.h>
16444		      #include <stddef.h>
16445		      wint_t i;
16446		      long l = WEOF;
16447		      long j = WCHAR_MIN;
16448		      long k = WCHAR_MAX;
16449		      namespace test
16450		      {
16451			using ::btowc;
16452			using ::fgetwc;
16453			using ::fgetws;
16454			using ::fputwc;
16455			using ::fputws;
16456			using ::fwide;
16457			using ::fwprintf;
16458			using ::fwscanf;
16459			using ::getwc;
16460			using ::getwchar;
16461 			using ::mbrlen;
16462			using ::mbrtowc;
16463			using ::mbsinit;
16464			using ::mbsrtowcs;
16465			using ::putwc;
16466			using ::putwchar;
16467			using ::swprintf;
16468			using ::swscanf;
16469			using ::ungetwc;
16470			using ::vfwprintf;
16471			using ::vswprintf;
16472			using ::vwprintf;
16473			using ::wcrtomb;
16474			using ::wcscat;
16475			using ::wcschr;
16476			using ::wcscmp;
16477			using ::wcscoll;
16478			using ::wcscpy;
16479			using ::wcscspn;
16480			using ::wcsftime;
16481			using ::wcslen;
16482			using ::wcsncat;
16483			using ::wcsncmp;
16484			using ::wcsncpy;
16485			using ::wcspbrk;
16486			using ::wcsrchr;
16487			using ::wcsrtombs;
16488			using ::wcsspn;
16489			using ::wcsstr;
16490			using ::wcstod;
16491			using ::wcstok;
16492			using ::wcstol;
16493			using ::wcstoul;
16494			using ::wcsxfrm;
16495			using ::wctob;
16496			using ::wmemchr;
16497			using ::wmemcmp;
16498			using ::wmemcpy;
16499			using ::wmemmove;
16500			using ::wmemset;
16501			using ::wprintf;
16502			using ::wscanf;
16503		      }
16504
16505int
16506main ()
16507{
16508
16509  ;
16510  return 0;
16511}
16512_ACEOF
16513if ac_fn_cxx_try_compile "$LINENO"; then :
16514
16515else
16516  enable_wchar_t=no
16517fi
16518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16519    else
16520      enable_wchar_t=no
16521    fi
16522
16523    ac_ext=c
16524ac_cpp='$CPP $CPPFLAGS'
16525ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16526ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16527ac_compiler_gnu=$ac_cv_c_compiler_gnu
16528
16529  fi
16530
16531  if test x"$enable_wchar_t" = x"yes"; then
16532
16533$as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16534
16535  fi
16536
16537  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16538$as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16540$as_echo "$enable_wchar_t" >&6; }
16541
16542
16543
16544   # Check whether --enable-c99 was given.
16545if test "${enable_c99+set}" = set; then :
16546  enableval=$enable_c99;
16547      case "$enableval" in
16548       yes|no) ;;
16549       *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16550      esac
16551
16552else
16553  enable_c99=yes
16554fi
16555
16556
16557
16558  if test x"$enable_c99" = x"yes"; then
16559
16560    ac_ext=cpp
16561ac_cpp='$CXXCPP $CPPFLAGS'
16562ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16563ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16564ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16565
16566
16567    # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16568    # undefined may cause fake C99 facilities, like pre-standard snprintf,
16569    # to be spuriously enabled.
16570    ac_save_CXXFLAGS="$CXXFLAGS"
16571    CXXFLAGS="$CXXFLAGS -std=c++98"
16572    ac_save_LIBS="$LIBS"
16573    ac_save_gcc_no_link="$gcc_no_link"
16574
16575    if test x$gcc_no_link != xyes; then
16576      # Use -fno-exceptions to that the C driver can link these tests without
16577      # hitting undefined references to personality routines.
16578      CXXFLAGS="$CXXFLAGS -fno-exceptions"
16579      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16580$as_echo_n "checking for sin in -lm... " >&6; }
16581if test "${ac_cv_lib_m_sin+set}" = set; then :
16582  $as_echo_n "(cached) " >&6
16583else
16584  ac_check_lib_save_LIBS=$LIBS
16585LIBS="-lm  $LIBS"
16586if test x$gcc_no_link = xyes; then
16587  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16588fi
16589cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16590/* end confdefs.h.  */
16591
16592/* Override any GCC internal prototype to avoid an error.
16593   Use char because int might match the return type of a GCC
16594   builtin and then its argument prototype would still apply.  */
16595#ifdef __cplusplus
16596extern "C"
16597#endif
16598char sin ();
16599int
16600main ()
16601{
16602return sin ();
16603  ;
16604  return 0;
16605}
16606_ACEOF
16607if ac_fn_cxx_try_link "$LINENO"; then :
16608  ac_cv_lib_m_sin=yes
16609else
16610  ac_cv_lib_m_sin=no
16611fi
16612rm -f core conftest.err conftest.$ac_objext \
16613    conftest$ac_exeext conftest.$ac_ext
16614LIBS=$ac_check_lib_save_LIBS
16615fi
16616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16617$as_echo "$ac_cv_lib_m_sin" >&6; }
16618if test "x$ac_cv_lib_m_sin" = x""yes; then :
16619  LIBS="$LIBS -lm"
16620else
16621
16622        # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16623        gcc_no_link=yes
16624
16625fi
16626
16627    fi
16628
16629    # Check for the existence of <math.h> functions used if C99 is enabled.
16630    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16631$as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16632    if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16633  $as_echo_n "(cached) " >&6
16634else
16635
16636      if test x$gcc_no_link = xyes; then
16637  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16638/* end confdefs.h.  */
16639#include <math.h>
16640         volatile double d1, d2;
16641         volatile int i;
16642int
16643main ()
16644{
16645i = fpclassify(d1);
16646         i = isfinite(d1);
16647         i = isinf(d1);
16648         i = isnan(d1);
16649         i = isnormal(d1);
16650         i = signbit(d1);
16651         i = isgreater(d1, d2);
16652         i = isgreaterequal(d1, d2);
16653         i = isless(d1, d2);
16654         i = islessequal(d1, d2);
16655         i = islessgreater(d1, d2);
16656         i = islessgreater(d1, d2);
16657         i = isunordered(d1, d2);
16658
16659  ;
16660  return 0;
16661}
16662_ACEOF
16663if ac_fn_cxx_try_compile "$LINENO"; then :
16664  glibcxx_cv_c99_math_cxx98=yes
16665else
16666  glibcxx_cv_c99_math_cxx98=no
16667fi
16668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16669else
16670  if test x$gcc_no_link = xyes; then
16671  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16672fi
16673cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16674/* end confdefs.h.  */
16675#include <math.h>
16676         volatile double d1, d2;
16677         volatile int i;
16678int
16679main ()
16680{
16681i = fpclassify(d1);
16682         i = isfinite(d1);
16683         i = isinf(d1);
16684         i = isnan(d1);
16685         i = isnormal(d1);
16686         i = signbit(d1);
16687         i = isgreater(d1, d2);
16688         i = isgreaterequal(d1, d2);
16689         i = isless(d1, d2);
16690         i = islessequal(d1, d2);
16691         i = islessgreater(d1, d2);
16692         i = islessgreater(d1, d2);
16693         i = isunordered(d1, d2);
16694
16695  ;
16696  return 0;
16697}
16698_ACEOF
16699if ac_fn_cxx_try_link "$LINENO"; then :
16700  glibcxx_cv_c99_math_cxx98=yes
16701else
16702  glibcxx_cv_c99_math_cxx98=no
16703fi
16704rm -f core conftest.err conftest.$ac_objext \
16705    conftest$ac_exeext conftest.$ac_ext
16706fi
16707
16708fi
16709
16710    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16711$as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16712    if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16713
16714$as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16715
16716    fi
16717
16718    # Check for the existence of <complex.h> complex math functions.
16719    # This is necessary even though libstdc++ uses the builtin versions
16720    # of these functions, because if the builtin cannot be used, a reference
16721    # to the library function is emitted.
16722    for ac_header in tgmath.h
16723do :
16724  ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16725if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16726  cat >>confdefs.h <<_ACEOF
16727#define HAVE_TGMATH_H 1
16728_ACEOF
16729 ac_has_tgmath_h=yes
16730else
16731  ac_has_tgmath_h=no
16732fi
16733
16734done
16735
16736    for ac_header in complex.h
16737do :
16738  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16739if test "x$ac_cv_header_complex_h" = x""yes; then :
16740  cat >>confdefs.h <<_ACEOF
16741#define HAVE_COMPLEX_H 1
16742_ACEOF
16743 ac_has_complex_h=yes
16744else
16745  ac_has_complex_h=no
16746fi
16747
16748done
16749
16750    if test x"$ac_has_complex_h" = x"yes"; then
16751      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16752$as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16753      if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16754  $as_echo_n "(cached) " >&6
16755else
16756
16757        if test x$gcc_no_link = xyes; then
16758  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16759/* end confdefs.h.  */
16760#include <complex.h>
16761           typedef __complex__ float float_type;
16762           typedef __complex__ double double_type;
16763           typedef __complex__ long double ld_type;
16764           volatile float_type tmpf;
16765           volatile double_type tmpd;
16766           volatile ld_type tmpld;
16767           volatile float f;
16768           volatile double d;
16769           volatile long double ld;
16770int
16771main ()
16772{
16773f = cabsf(tmpf);
16774           f = cargf(tmpf);
16775           tmpf = ccosf(tmpf);
16776           tmpf = ccoshf(tmpf);
16777           tmpf = cexpf(tmpf);
16778           tmpf = clogf(tmpf);
16779           tmpf = csinf(tmpf);
16780           tmpf = csinhf(tmpf);
16781           tmpf = csqrtf(tmpf);
16782           tmpf = ctanf(tmpf);
16783           tmpf = ctanhf(tmpf);
16784           tmpf = cpowf(tmpf, tmpf);
16785           tmpf = cprojf(tmpf);
16786           d = cabs(tmpd);
16787           d = carg(tmpd);
16788           tmpd = ccos(tmpd);
16789           tmpd = ccosh(tmpd);
16790           tmpd = cexp(tmpd);
16791           tmpd = clog(tmpd);
16792           tmpd = csin(tmpd);
16793           tmpd = csinh(tmpd);
16794           tmpd = csqrt(tmpd);
16795           tmpd = ctan(tmpd);
16796           tmpd = ctanh(tmpd);
16797           tmpd = cpow(tmpd, tmpd);
16798           tmpd = cproj(tmpd);
16799           ld = cabsl(tmpld);
16800           ld = cargl(tmpld);
16801           tmpld = ccosl(tmpld);
16802           tmpld = ccoshl(tmpld);
16803           tmpld = cexpl(tmpld);
16804           tmpld = clogl(tmpld);
16805           tmpld = csinl(tmpld);
16806           tmpld = csinhl(tmpld);
16807           tmpld = csqrtl(tmpld);
16808           tmpld = ctanl(tmpld);
16809           tmpld = ctanhl(tmpld);
16810           tmpld = cpowl(tmpld, tmpld);
16811           tmpld = cprojl(tmpld);
16812
16813  ;
16814  return 0;
16815}
16816_ACEOF
16817if ac_fn_cxx_try_compile "$LINENO"; then :
16818  glibcxx_cv_c99_complex_cxx98=yes
16819else
16820  glibcxx_cv_c99_complex_cxx98=no
16821fi
16822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16823else
16824  if test x$gcc_no_link = xyes; then
16825  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16826fi
16827cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16828/* end confdefs.h.  */
16829#include <complex.h>
16830           typedef __complex__ float float_type;
16831           typedef __complex__ double double_type;
16832           typedef __complex__ long double ld_type;
16833           volatile float_type tmpf;
16834           volatile double_type tmpd;
16835           volatile ld_type tmpld;
16836           volatile float f;
16837           volatile double d;
16838           volatile long double ld;
16839int
16840main ()
16841{
16842f = cabsf(tmpf);
16843           f = cargf(tmpf);
16844           tmpf = ccosf(tmpf);
16845           tmpf = ccoshf(tmpf);
16846           tmpf = cexpf(tmpf);
16847           tmpf = clogf(tmpf);
16848           tmpf = csinf(tmpf);
16849           tmpf = csinhf(tmpf);
16850           tmpf = csqrtf(tmpf);
16851           tmpf = ctanf(tmpf);
16852           tmpf = ctanhf(tmpf);
16853           tmpf = cpowf(tmpf, tmpf);
16854           tmpf = cprojf(tmpf);
16855           d = cabs(tmpd);
16856           d = carg(tmpd);
16857           tmpd = ccos(tmpd);
16858           tmpd = ccosh(tmpd);
16859           tmpd = cexp(tmpd);
16860           tmpd = clog(tmpd);
16861           tmpd = csin(tmpd);
16862           tmpd = csinh(tmpd);
16863           tmpd = csqrt(tmpd);
16864           tmpd = ctan(tmpd);
16865           tmpd = ctanh(tmpd);
16866           tmpd = cpow(tmpd, tmpd);
16867           tmpd = cproj(tmpd);
16868           ld = cabsl(tmpld);
16869           ld = cargl(tmpld);
16870           tmpld = ccosl(tmpld);
16871           tmpld = ccoshl(tmpld);
16872           tmpld = cexpl(tmpld);
16873           tmpld = clogl(tmpld);
16874           tmpld = csinl(tmpld);
16875           tmpld = csinhl(tmpld);
16876           tmpld = csqrtl(tmpld);
16877           tmpld = ctanl(tmpld);
16878           tmpld = ctanhl(tmpld);
16879           tmpld = cpowl(tmpld, tmpld);
16880           tmpld = cprojl(tmpld);
16881
16882  ;
16883  return 0;
16884}
16885_ACEOF
16886if ac_fn_cxx_try_link "$LINENO"; then :
16887  glibcxx_cv_c99_complex_cxx98=yes
16888else
16889  glibcxx_cv_c99_complex_cxx98=no
16890fi
16891rm -f core conftest.err conftest.$ac_objext \
16892    conftest$ac_exeext conftest.$ac_ext
16893fi
16894
16895fi
16896
16897    fi
16898    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16899$as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16900    if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16901
16902$as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16903
16904    fi
16905
16906    # Check for the existence in <stdio.h> of vscanf, et. al.
16907    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16908$as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16909    if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16910  $as_echo_n "(cached) " >&6
16911else
16912
16913      if test x$gcc_no_link = xyes; then
16914  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16915/* end confdefs.h.  */
16916#include <stdio.h>
16917         #include <stdarg.h>
16918         void foo(char* fmt, ...)
16919         {
16920           va_list args; va_start(args, fmt);
16921           vfscanf(stderr, "%i", args);
16922           vscanf("%i", args);
16923           vsnprintf(fmt, 0, "%i", args);
16924           vsscanf(fmt, "%i", args);
16925           snprintf(fmt, 0, "%i");
16926         }
16927int
16928main ()
16929{
16930
16931  ;
16932  return 0;
16933}
16934_ACEOF
16935if ac_fn_cxx_try_compile "$LINENO"; then :
16936  glibcxx_cv_c99_stdio_cxx98=yes
16937else
16938  glibcxx_cv_c99_stdio_cxx98=no
16939fi
16940rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16941else
16942  if test x$gcc_no_link = xyes; then
16943  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16944fi
16945cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16946/* end confdefs.h.  */
16947#include <stdio.h>
16948         #include <stdarg.h>
16949         void foo(char* fmt, ...)
16950         {
16951           va_list args; va_start(args, fmt);
16952           vfscanf(stderr, "%i", args);
16953           vscanf("%i", args);
16954           vsnprintf(fmt, 0, "%i", args);
16955           vsscanf(fmt, "%i", args);
16956           snprintf(fmt, 0, "%i");
16957         }
16958int
16959main ()
16960{
16961
16962  ;
16963  return 0;
16964}
16965_ACEOF
16966if ac_fn_cxx_try_link "$LINENO"; then :
16967  glibcxx_cv_c99_stdio_cxx98=yes
16968else
16969  glibcxx_cv_c99_stdio_cxx98=no
16970fi
16971rm -f core conftest.err conftest.$ac_objext \
16972    conftest$ac_exeext conftest.$ac_ext
16973fi
16974
16975fi
16976
16977    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16978$as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16979    if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16980
16981$as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16982
16983    fi
16984
16985    # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16986    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16987$as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16988    if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16989  $as_echo_n "(cached) " >&6
16990else
16991
16992      if test x$gcc_no_link = xyes; then
16993  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16994/* end confdefs.h.  */
16995#include <stdlib.h>
16996         volatile float f;
16997         volatile long double ld;
16998         volatile unsigned long long ll;
16999         lldiv_t mydivt;
17000int
17001main ()
17002{
17003char* tmp;
17004         f = strtof("gnu", &tmp);
17005         ld = strtold("gnu", &tmp);
17006         ll = strtoll("gnu", &tmp, 10);
17007         ll = strtoull("gnu", &tmp, 10);
17008         ll = llabs(10);
17009         mydivt = lldiv(10,1);
17010         ll = mydivt.quot;
17011         ll = mydivt.rem;
17012         ll = atoll("10");
17013         _Exit(0);
17014
17015  ;
17016  return 0;
17017}
17018_ACEOF
17019if ac_fn_cxx_try_compile "$LINENO"; then :
17020  glibcxx_cv_c99_stdlib_cxx98=yes
17021else
17022  glibcxx_cv_c99_stdlib_cxx98=no
17023fi
17024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17025else
17026  if test x$gcc_no_link = xyes; then
17027  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17028fi
17029cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17030/* end confdefs.h.  */
17031#include <stdlib.h>
17032         volatile float f;
17033         volatile long double ld;
17034         volatile unsigned long long ll;
17035         lldiv_t mydivt;
17036int
17037main ()
17038{
17039char* tmp;
17040         f = strtof("gnu", &tmp);
17041         ld = strtold("gnu", &tmp);
17042         ll = strtoll("gnu", &tmp, 10);
17043         ll = strtoull("gnu", &tmp, 10);
17044         ll = llabs(10);
17045         mydivt = lldiv(10,1);
17046         ll = mydivt.quot;
17047         ll = mydivt.rem;
17048         ll = atoll("10");
17049         _Exit(0);
17050
17051  ;
17052  return 0;
17053}
17054_ACEOF
17055if ac_fn_cxx_try_link "$LINENO"; then :
17056  glibcxx_cv_c99_stdlib_cxx98=yes
17057else
17058  glibcxx_cv_c99_stdlib_cxx98=no
17059fi
17060rm -f core conftest.err conftest.$ac_objext \
17061    conftest$ac_exeext conftest.$ac_ext
17062fi
17063
17064fi
17065
17066    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17067$as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17068    if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17069
17070$as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17071
17072    fi
17073
17074    # Check for the existence in <wchar.h> of wcstold, etc.
17075    if test x"$ac_has_wchar_h" = xyes &&
17076       test x"$ac_has_wctype_h" = xyes; then
17077      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17078$as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17079      if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17080  $as_echo_n "(cached) " >&6
17081else
17082
17083        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084/* end confdefs.h.  */
17085#include <wchar.h>
17086          namespace test
17087          {
17088            using ::wcstold;
17089            using ::wcstoll;
17090            using ::wcstoull;
17091          }
17092
17093int
17094main ()
17095{
17096
17097  ;
17098  return 0;
17099}
17100_ACEOF
17101if ac_fn_cxx_try_compile "$LINENO"; then :
17102  glibcxx_cv_c99_wchar_cxx98=yes
17103else
17104  glibcxx_cv_c99_wchar_cxx98=no
17105fi
17106rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17107
17108fi
17109
17110
17111      # Checks for wide character functions that may not be present.
17112      # Injection of these is wrapped with guard macros.
17113      # NB: only put functions here, instead of immediately above, if
17114      # absolutely necessary.
17115      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17116/* end confdefs.h.  */
17117#include <wchar.h>
17118        namespace test { using ::vfwscanf; }
17119int
17120main ()
17121{
17122
17123  ;
17124  return 0;
17125}
17126_ACEOF
17127if ac_fn_cxx_try_compile "$LINENO"; then :
17128
17129$as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17130
17131fi
17132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17133
17134      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17135/* end confdefs.h.  */
17136#include <wchar.h>
17137        namespace test { using ::vswscanf; }
17138int
17139main ()
17140{
17141
17142  ;
17143  return 0;
17144}
17145_ACEOF
17146if ac_fn_cxx_try_compile "$LINENO"; then :
17147
17148$as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17149
17150fi
17151rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17152
17153      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17154/* end confdefs.h.  */
17155#include <wchar.h>
17156        namespace test { using ::vwscanf; }
17157int
17158main ()
17159{
17160
17161  ;
17162  return 0;
17163}
17164_ACEOF
17165if ac_fn_cxx_try_compile "$LINENO"; then :
17166
17167$as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17168
17169fi
17170rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17171
17172      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17173/* end confdefs.h.  */
17174#include <wchar.h>
17175        namespace test { using ::wcstof; }
17176int
17177main ()
17178{
17179
17180  ;
17181  return 0;
17182}
17183_ACEOF
17184if ac_fn_cxx_try_compile "$LINENO"; then :
17185
17186$as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17187
17188fi
17189rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17190
17191      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17192/* end confdefs.h.  */
17193#include <wctype.h>
17194int
17195main ()
17196{
17197wint_t t; int i = iswblank(t);
17198  ;
17199  return 0;
17200}
17201_ACEOF
17202if ac_fn_cxx_try_compile "$LINENO"; then :
17203
17204$as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17205
17206fi
17207rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17208
17209      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17210$as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17211      if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17212
17213$as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17214
17215      fi
17216    fi
17217
17218    # Option parsed, now set things appropriately.
17219    if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17220       test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17221       test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17222       test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17223       test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17224      enable_c99=no;
17225    else
17226
17227$as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17228
17229    fi
17230
17231    gcc_no_link="$ac_save_gcc_no_link"
17232    LIBS="$ac_save_LIBS"
17233    CXXFLAGS="$ac_save_CXXFLAGS"
17234    ac_ext=c
17235ac_cpp='$CPP $CPPFLAGS'
17236ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17237ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17238ac_compiler_gnu=$ac_cv_c_compiler_gnu
17239
17240
17241
17242    ac_ext=cpp
17243ac_cpp='$CXXCPP $CPPFLAGS'
17244ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17245ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17246ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17247
17248
17249    # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17250    # For the reasons given above we use -std=c++11 not -std=gnu++11.
17251    ac_save_CXXFLAGS="$CXXFLAGS"
17252    CXXFLAGS="$CXXFLAGS -std=c++11"
17253    ac_save_LIBS="$LIBS"
17254    ac_save_gcc_no_link="$gcc_no_link"
17255
17256    if test x$gcc_no_link != xyes; then
17257      # Use -fno-exceptions to that the C driver can link these tests without
17258      # hitting undefined references to personality routines.
17259      CXXFLAGS="$CXXFLAGS -fno-exceptions"
17260      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17261$as_echo_n "checking for sin in -lm... " >&6; }
17262if test "${ac_cv_lib_m_sin+set}" = set; then :
17263  $as_echo_n "(cached) " >&6
17264else
17265  ac_check_lib_save_LIBS=$LIBS
17266LIBS="-lm  $LIBS"
17267if test x$gcc_no_link = xyes; then
17268  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17269fi
17270cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17271/* end confdefs.h.  */
17272
17273/* Override any GCC internal prototype to avoid an error.
17274   Use char because int might match the return type of a GCC
17275   builtin and then its argument prototype would still apply.  */
17276#ifdef __cplusplus
17277extern "C"
17278#endif
17279char sin ();
17280int
17281main ()
17282{
17283return sin ();
17284  ;
17285  return 0;
17286}
17287_ACEOF
17288if ac_fn_cxx_try_link "$LINENO"; then :
17289  ac_cv_lib_m_sin=yes
17290else
17291  ac_cv_lib_m_sin=no
17292fi
17293rm -f core conftest.err conftest.$ac_objext \
17294    conftest$ac_exeext conftest.$ac_ext
17295LIBS=$ac_check_lib_save_LIBS
17296fi
17297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17298$as_echo "$ac_cv_lib_m_sin" >&6; }
17299if test "x$ac_cv_lib_m_sin" = x""yes; then :
17300  LIBS="$LIBS -lm"
17301else
17302
17303        # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17304        gcc_no_link=yes
17305
17306fi
17307
17308    fi
17309
17310    # Check for the existence of <math.h> functions used if C99 is enabled.
17311    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17312$as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17313    if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17314  $as_echo_n "(cached) " >&6
17315else
17316
17317      if test x$gcc_no_link = xyes; then
17318  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17319/* end confdefs.h.  */
17320#include <math.h>
17321         volatile double d1, d2;
17322         volatile int i;
17323int
17324main ()
17325{
17326i = fpclassify(d1);
17327         i = isfinite(d1);
17328         i = isinf(d1);
17329         i = isnan(d1);
17330         i = isnormal(d1);
17331         i = signbit(d1);
17332         i = isgreater(d1, d2);
17333         i = isgreaterequal(d1, d2);
17334         i = isless(d1, d2);
17335         i = islessequal(d1, d2);
17336         i = islessgreater(d1, d2);
17337         i = islessgreater(d1, d2);
17338         i = isunordered(d1, d2);
17339
17340  ;
17341  return 0;
17342}
17343_ACEOF
17344if ac_fn_cxx_try_compile "$LINENO"; then :
17345  glibcxx_cv_c99_math_cxx11=yes
17346else
17347  glibcxx_cv_c99_math_cxx11=no
17348fi
17349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17350else
17351  if test x$gcc_no_link = xyes; then
17352  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17353fi
17354cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17355/* end confdefs.h.  */
17356#include <math.h>
17357         volatile double d1, d2;
17358         volatile int i;
17359int
17360main ()
17361{
17362i = fpclassify(d1);
17363         i = isfinite(d1);
17364         i = isinf(d1);
17365         i = isnan(d1);
17366         i = isnormal(d1);
17367         i = signbit(d1);
17368         i = isgreater(d1, d2);
17369         i = isgreaterequal(d1, d2);
17370         i = isless(d1, d2);
17371         i = islessequal(d1, d2);
17372         i = islessgreater(d1, d2);
17373         i = islessgreater(d1, d2);
17374         i = isunordered(d1, d2);
17375
17376  ;
17377  return 0;
17378}
17379_ACEOF
17380if ac_fn_cxx_try_link "$LINENO"; then :
17381  glibcxx_cv_c99_math_cxx11=yes
17382else
17383  glibcxx_cv_c99_math_cxx11=no
17384fi
17385rm -f core conftest.err conftest.$ac_objext \
17386    conftest$ac_exeext conftest.$ac_ext
17387fi
17388
17389fi
17390
17391    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17392$as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17393    if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17394
17395$as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17396
17397    fi
17398
17399    # Check for the existence of <complex.h> complex math functions.
17400    # This is necessary even though libstdc++ uses the builtin versions
17401    # of these functions, because if the builtin cannot be used, a reference
17402    # to the library function is emitted.
17403    for ac_header in tgmath.h
17404do :
17405  ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17406if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17407  cat >>confdefs.h <<_ACEOF
17408#define HAVE_TGMATH_H 1
17409_ACEOF
17410 ac_has_tgmath_h=yes
17411else
17412  ac_has_tgmath_h=no
17413fi
17414
17415done
17416
17417    for ac_header in complex.h
17418do :
17419  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17420if test "x$ac_cv_header_complex_h" = x""yes; then :
17421  cat >>confdefs.h <<_ACEOF
17422#define HAVE_COMPLEX_H 1
17423_ACEOF
17424 ac_has_complex_h=yes
17425else
17426  ac_has_complex_h=no
17427fi
17428
17429done
17430
17431    if test x"$ac_has_complex_h" = x"yes"; then
17432      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17433$as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17434      if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17435  $as_echo_n "(cached) " >&6
17436else
17437
17438        if test x$gcc_no_link = xyes; then
17439  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17440/* end confdefs.h.  */
17441#include <complex.h>
17442           typedef __complex__ float float_type;
17443           typedef __complex__ double double_type;
17444           typedef __complex__ long double ld_type;
17445           volatile float_type tmpf;
17446           volatile double_type tmpd;
17447           volatile ld_type tmpld;
17448           volatile float f;
17449           volatile double d;
17450           volatile long double ld;
17451int
17452main ()
17453{
17454f = cabsf(tmpf);
17455           f = cargf(tmpf);
17456           tmpf = ccosf(tmpf);
17457           tmpf = ccoshf(tmpf);
17458           tmpf = cexpf(tmpf);
17459           tmpf = clogf(tmpf);
17460           tmpf = csinf(tmpf);
17461           tmpf = csinhf(tmpf);
17462           tmpf = csqrtf(tmpf);
17463           tmpf = ctanf(tmpf);
17464           tmpf = ctanhf(tmpf);
17465           tmpf = cpowf(tmpf, tmpf);
17466           tmpf = cprojf(tmpf);
17467           d = cabs(tmpd);
17468           d = carg(tmpd);
17469           tmpd = ccos(tmpd);
17470           tmpd = ccosh(tmpd);
17471           tmpd = cexp(tmpd);
17472           tmpd = clog(tmpd);
17473           tmpd = csin(tmpd);
17474           tmpd = csinh(tmpd);
17475           tmpd = csqrt(tmpd);
17476           tmpd = ctan(tmpd);
17477           tmpd = ctanh(tmpd);
17478           tmpd = cpow(tmpd, tmpd);
17479           tmpd = cproj(tmpd);
17480           ld = cabsl(tmpld);
17481           ld = cargl(tmpld);
17482           tmpld = ccosl(tmpld);
17483           tmpld = ccoshl(tmpld);
17484           tmpld = cexpl(tmpld);
17485           tmpld = clogl(tmpld);
17486           tmpld = csinl(tmpld);
17487           tmpld = csinhl(tmpld);
17488           tmpld = csqrtl(tmpld);
17489           tmpld = ctanl(tmpld);
17490           tmpld = ctanhl(tmpld);
17491           tmpld = cpowl(tmpld, tmpld);
17492           tmpld = cprojl(tmpld);
17493
17494  ;
17495  return 0;
17496}
17497_ACEOF
17498if ac_fn_cxx_try_compile "$LINENO"; then :
17499  glibcxx_cv_c99_complex_cxx11=yes
17500else
17501  glibcxx_cv_c99_complex_cxx11=no
17502fi
17503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17504else
17505  if test x$gcc_no_link = xyes; then
17506  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17507fi
17508cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509/* end confdefs.h.  */
17510#include <complex.h>
17511           typedef __complex__ float float_type;
17512           typedef __complex__ double double_type;
17513           typedef __complex__ long double ld_type;
17514           volatile float_type tmpf;
17515           volatile double_type tmpd;
17516           volatile ld_type tmpld;
17517           volatile float f;
17518           volatile double d;
17519           volatile long double ld;
17520int
17521main ()
17522{
17523f = cabsf(tmpf);
17524           f = cargf(tmpf);
17525           tmpf = ccosf(tmpf);
17526           tmpf = ccoshf(tmpf);
17527           tmpf = cexpf(tmpf);
17528           tmpf = clogf(tmpf);
17529           tmpf = csinf(tmpf);
17530           tmpf = csinhf(tmpf);
17531           tmpf = csqrtf(tmpf);
17532           tmpf = ctanf(tmpf);
17533           tmpf = ctanhf(tmpf);
17534           tmpf = cpowf(tmpf, tmpf);
17535           tmpf = cprojf(tmpf);
17536           d = cabs(tmpd);
17537           d = carg(tmpd);
17538           tmpd = ccos(tmpd);
17539           tmpd = ccosh(tmpd);
17540           tmpd = cexp(tmpd);
17541           tmpd = clog(tmpd);
17542           tmpd = csin(tmpd);
17543           tmpd = csinh(tmpd);
17544           tmpd = csqrt(tmpd);
17545           tmpd = ctan(tmpd);
17546           tmpd = ctanh(tmpd);
17547           tmpd = cpow(tmpd, tmpd);
17548           tmpd = cproj(tmpd);
17549           ld = cabsl(tmpld);
17550           ld = cargl(tmpld);
17551           tmpld = ccosl(tmpld);
17552           tmpld = ccoshl(tmpld);
17553           tmpld = cexpl(tmpld);
17554           tmpld = clogl(tmpld);
17555           tmpld = csinl(tmpld);
17556           tmpld = csinhl(tmpld);
17557           tmpld = csqrtl(tmpld);
17558           tmpld = ctanl(tmpld);
17559           tmpld = ctanhl(tmpld);
17560           tmpld = cpowl(tmpld, tmpld);
17561           tmpld = cprojl(tmpld);
17562
17563  ;
17564  return 0;
17565}
17566_ACEOF
17567if ac_fn_cxx_try_link "$LINENO"; then :
17568  glibcxx_cv_c99_complex_cxx11=yes
17569else
17570  glibcxx_cv_c99_complex_cxx11=no
17571fi
17572rm -f core conftest.err conftest.$ac_objext \
17573    conftest$ac_exeext conftest.$ac_ext
17574fi
17575
17576fi
17577
17578    fi
17579    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17580$as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17581    if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17582
17583$as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17584
17585    fi
17586
17587    # Check for the existence in <stdio.h> of vscanf, et. al.
17588    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17589$as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17590    if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17591  $as_echo_n "(cached) " >&6
17592else
17593
17594      if test x$gcc_no_link = xyes; then
17595  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17596/* end confdefs.h.  */
17597#include <stdio.h>
17598         #include <stdarg.h>
17599         void foo(char* fmt, ...)
17600         {
17601           va_list args; va_start(args, fmt);
17602           vfscanf(stderr, "%i", args);
17603           vscanf("%i", args);
17604           vsnprintf(fmt, 0, "%i", args);
17605           vsscanf(fmt, "%i", args);
17606           snprintf(fmt, 0, "%i");
17607         }
17608int
17609main ()
17610{
17611
17612  ;
17613  return 0;
17614}
17615_ACEOF
17616if ac_fn_cxx_try_compile "$LINENO"; then :
17617  glibcxx_cv_c99_stdio_cxx11=yes
17618else
17619  glibcxx_cv_c99_stdio_cxx11=no
17620fi
17621rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17622else
17623  if test x$gcc_no_link = xyes; then
17624  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17625fi
17626cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17627/* end confdefs.h.  */
17628#include <stdio.h>
17629         #include <stdarg.h>
17630         void foo(char* fmt, ...)
17631         {
17632           va_list args; va_start(args, fmt);
17633           vfscanf(stderr, "%i", args);
17634           vscanf("%i", args);
17635           vsnprintf(fmt, 0, "%i", args);
17636           vsscanf(fmt, "%i", args);
17637           snprintf(fmt, 0, "%i");
17638         }
17639int
17640main ()
17641{
17642
17643  ;
17644  return 0;
17645}
17646_ACEOF
17647if ac_fn_cxx_try_link "$LINENO"; then :
17648  glibcxx_cv_c99_stdio_cxx11=yes
17649else
17650  glibcxx_cv_c99_stdio_cxx11=no
17651fi
17652rm -f core conftest.err conftest.$ac_objext \
17653    conftest$ac_exeext conftest.$ac_ext
17654fi
17655
17656fi
17657
17658    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17659$as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17660    if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17661
17662$as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17663
17664    fi
17665
17666    # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17667    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17668$as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17669    if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17670  $as_echo_n "(cached) " >&6
17671else
17672
17673      if test x$gcc_no_link = xyes; then
17674  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17675/* end confdefs.h.  */
17676#include <stdlib.h>
17677         volatile float f;
17678         volatile long double ld;
17679         volatile unsigned long long ll;
17680         lldiv_t mydivt;
17681int
17682main ()
17683{
17684char* tmp;
17685         f = strtof("gnu", &tmp);
17686         ld = strtold("gnu", &tmp);
17687         ll = strtoll("gnu", &tmp, 10);
17688         ll = strtoull("gnu", &tmp, 10);
17689         ll = llabs(10);
17690         mydivt = lldiv(10,1);
17691         ll = mydivt.quot;
17692         ll = mydivt.rem;
17693         ll = atoll("10");
17694         _Exit(0);
17695
17696  ;
17697  return 0;
17698}
17699_ACEOF
17700if ac_fn_cxx_try_compile "$LINENO"; then :
17701  glibcxx_cv_c99_stdlib_cxx11=yes
17702else
17703  glibcxx_cv_c99_stdlib_cxx11=no
17704fi
17705rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17706else
17707  if test x$gcc_no_link = xyes; then
17708  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17709fi
17710cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17711/* end confdefs.h.  */
17712#include <stdlib.h>
17713         volatile float f;
17714         volatile long double ld;
17715         volatile unsigned long long ll;
17716         lldiv_t mydivt;
17717int
17718main ()
17719{
17720char* tmp;
17721         f = strtof("gnu", &tmp);
17722         ld = strtold("gnu", &tmp);
17723         ll = strtoll("gnu", &tmp, 10);
17724         ll = strtoull("gnu", &tmp, 10);
17725         ll = llabs(10);
17726         mydivt = lldiv(10,1);
17727         ll = mydivt.quot;
17728         ll = mydivt.rem;
17729         ll = atoll("10");
17730         _Exit(0);
17731
17732  ;
17733  return 0;
17734}
17735_ACEOF
17736if ac_fn_cxx_try_link "$LINENO"; then :
17737  glibcxx_cv_c99_stdlib_cxx11=yes
17738else
17739  glibcxx_cv_c99_stdlib_cxx11=no
17740fi
17741rm -f core conftest.err conftest.$ac_objext \
17742    conftest$ac_exeext conftest.$ac_ext
17743fi
17744
17745fi
17746
17747    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17748$as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17749    if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17750
17751$as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17752
17753    fi
17754
17755    # Check for the existence in <wchar.h> of wcstold, etc.
17756    if test x"$ac_has_wchar_h" = xyes &&
17757       test x"$ac_has_wctype_h" = xyes; then
17758      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17759$as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17760      if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17761  $as_echo_n "(cached) " >&6
17762else
17763
17764        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17765/* end confdefs.h.  */
17766#include <wchar.h>
17767          namespace test
17768          {
17769            using ::wcstold;
17770            using ::wcstoll;
17771            using ::wcstoull;
17772          }
17773
17774int
17775main ()
17776{
17777
17778  ;
17779  return 0;
17780}
17781_ACEOF
17782if ac_fn_cxx_try_compile "$LINENO"; then :
17783  glibcxx_cv_c99_wchar_cxx11=yes
17784else
17785  glibcxx_cv_c99_wchar_cxx11=no
17786fi
17787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17788
17789fi
17790
17791
17792      # Checks for wide character functions that may not be present.
17793      # Injection of these is wrapped with guard macros.
17794      # NB: only put functions here, instead of immediately above, if
17795      # absolutely necessary.
17796      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17797/* end confdefs.h.  */
17798#include <wchar.h>
17799        namespace test { using ::vfwscanf; }
17800int
17801main ()
17802{
17803
17804  ;
17805  return 0;
17806}
17807_ACEOF
17808if ac_fn_cxx_try_compile "$LINENO"; then :
17809
17810$as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17811
17812fi
17813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17814
17815      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17816/* end confdefs.h.  */
17817#include <wchar.h>
17818        namespace test { using ::vswscanf; }
17819int
17820main ()
17821{
17822
17823  ;
17824  return 0;
17825}
17826_ACEOF
17827if ac_fn_cxx_try_compile "$LINENO"; then :
17828
17829$as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17830
17831fi
17832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17833
17834      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17835/* end confdefs.h.  */
17836#include <wchar.h>
17837        namespace test { using ::vwscanf; }
17838int
17839main ()
17840{
17841
17842  ;
17843  return 0;
17844}
17845_ACEOF
17846if ac_fn_cxx_try_compile "$LINENO"; then :
17847
17848$as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17849
17850fi
17851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17852
17853      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854/* end confdefs.h.  */
17855#include <wchar.h>
17856        namespace test { using ::wcstof; }
17857int
17858main ()
17859{
17860
17861  ;
17862  return 0;
17863}
17864_ACEOF
17865if ac_fn_cxx_try_compile "$LINENO"; then :
17866
17867$as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17868
17869fi
17870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17871
17872      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17873/* end confdefs.h.  */
17874#include <wctype.h>
17875int
17876main ()
17877{
17878wint_t t; int i = iswblank(t);
17879  ;
17880  return 0;
17881}
17882_ACEOF
17883if ac_fn_cxx_try_compile "$LINENO"; then :
17884
17885$as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17886
17887fi
17888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17889
17890      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17891$as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17892      if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17893
17894$as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17895
17896      fi
17897    fi
17898
17899    gcc_no_link="$ac_save_gcc_no_link"
17900    LIBS="$ac_save_LIBS"
17901    CXXFLAGS="$ac_save_CXXFLAGS"
17902    ac_ext=c
17903ac_cpp='$CPP $CPPFLAGS'
17904ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17905ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17906ac_compiler_gnu=$ac_cv_c_compiler_gnu
17907
17908  fi
17909
17910  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17911$as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17913$as_echo "$enable_c99" >&6; }
17914
17915
17916   # Check whether --enable-concept-checks was given.
17917if test "${enable_concept_checks+set}" = set; then :
17918  enableval=$enable_concept_checks;
17919      case "$enableval" in
17920       yes|no) ;;
17921       *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17922      esac
17923
17924else
17925  enable_concept_checks=no
17926fi
17927
17928
17929  if test $enable_concept_checks = yes; then
17930
17931$as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17932
17933  fi
17934
17935
17936   # Check whether --enable-libstdcxx-debug-flags was given.
17937if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17938  enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17939      xno | x)    enable_libstdcxx_debug_flags= ;;
17940      x-*)        ;;
17941      *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17942     esac
17943else
17944  enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17945fi
17946
17947
17948
17949  # Option parsed, now set things appropriately
17950  DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17951
17952
17953  { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17954$as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17955
17956
17957  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17958$as_echo_n "checking for additional debug build... " >&6; }
17959   # Check whether --enable-libstdcxx-debug was given.
17960if test "${enable_libstdcxx_debug+set}" = set; then :
17961  enableval=$enable_libstdcxx_debug;
17962      case "$enableval" in
17963       yes|no) ;;
17964       *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17965      esac
17966
17967else
17968  enable_libstdcxx_debug=no
17969fi
17970
17971
17972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17973$as_echo "$enable_libstdcxx_debug" >&6; }
17974
17975
17976
17977
17978  enable_parallel=no;
17979
17980  # See if configured libgomp/omp.h exists. (libgomp may be in
17981  # noconfigdirs but not explicitly disabled.)
17982  if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17983    enable_parallel=yes;
17984  else
17985    { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17986$as_echo "$as_me: target-libgomp not built" >&6;}
17987  fi
17988
17989  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17990$as_echo_n "checking for parallel mode support... " >&6; }
17991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17992$as_echo "$enable_parallel" >&6; }
17993
17994  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17995$as_echo_n "checking for extra compiler flags for building... " >&6; }
17996   # Check whether --enable-cxx-flags was given.
17997if test "${enable_cxx_flags+set}" = set; then :
17998  enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17999      xno | x)   enable_cxx_flags= ;;
18000      x-*)       ;;
18001      *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18002     esac
18003else
18004  enable_cxx_flags=
18005fi
18006
18007
18008
18009  # Run through flags (either default or command-line) and set anything
18010  # extra (e.g., #defines) that must accompany particular g++ options.
18011  if test -n "$enable_cxx_flags"; then
18012    for f in $enable_cxx_flags; do
18013      case "$f" in
18014	-fhonor-std)  ;;
18015	-*)  ;;
18016	*)   # and we're trying to pass /what/ exactly?
18017	     as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18018      esac
18019    done
18020  fi
18021
18022  EXTRA_CXX_FLAGS="$enable_cxx_flags"
18023  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18024$as_echo "$EXTRA_CXX_FLAGS" >&6; }
18025
18026
18027
18028   # Check whether --enable-fully-dynamic-string was given.
18029if test "${enable_fully_dynamic_string+set}" = set; then :
18030  enableval=$enable_fully_dynamic_string;
18031      case "$enableval" in
18032       yes|no) ;;
18033       *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18034      esac
18035
18036else
18037  enable_fully_dynamic_string=no
18038fi
18039
18040
18041  if test $enable_fully_dynamic_string = yes; then
18042    enable_fully_dynamic_string_def=1
18043  else
18044    enable_fully_dynamic_string_def=0
18045  fi
18046
18047cat >>confdefs.h <<_ACEOF
18048#define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18049_ACEOF
18050
18051
18052
18053
18054   # Check whether --enable-extern-template was given.
18055if test "${enable_extern_template+set}" = set; then :
18056  enableval=$enable_extern_template;
18057      case "$enableval" in
18058       yes|no) ;;
18059       *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18060      esac
18061
18062else
18063  enable_extern_template=yes
18064fi
18065
18066
18067
18068  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18069$as_echo_n "checking for extern template support... " >&6; }
18070  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18071$as_echo "$enable_extern_template" >&6; }
18072
18073
18074
18075
18076
18077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18078$as_echo_n "checking for custom python install directory... " >&6; }
18079
18080# Check whether --with-python-dir was given.
18081if test "${with_python_dir+set}" = set; then :
18082  withval=$with_python_dir; with_python_dir=$withval
18083else
18084  with_python_dir="no"
18085fi
18086
18087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18088$as_echo "${with_python_dir}" >&6; }
18089
18090# Needed for installing Python modules during make install.
18091python_mod_dir="${with_python_dir}"
18092
18093
18094
18095
18096  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18097$as_echo_n "checking for -Werror... " >&6; }
18098   # Check whether --enable-werror was given.
18099if test "${enable_werror+set}" = set; then :
18100  enableval=$enable_werror;
18101      case "$enableval" in
18102       yes|no) ;;
18103       *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18104      esac
18105
18106else
18107  enable_werror=yes
18108fi
18109
18110
18111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18112$as_echo "$enable_werror" >&6; }
18113
18114
18115
18116
18117   # Check whether --enable-vtable-verify was given.
18118if test "${enable_vtable_verify+set}" = set; then :
18119  enableval=$enable_vtable_verify;
18120      case "$enableval" in
18121       yes|no) ;;
18122       *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18123      esac
18124
18125else
18126  enable_vtable_verify=no
18127fi
18128
18129
18130
18131  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18132$as_echo_n "checking for vtable verify support... " >&6; }
18133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18134$as_echo "$enable_vtable_verify" >&6; }
18135
18136  vtv_cygmin=no
18137  if test $enable_vtable_verify = yes; then
18138    case ${target_os} in
18139      cygwin*|mingw32*)
18140        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18141        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18142        vtv_cygmin=yes
18143        ;;
18144      darwin*)
18145        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18146        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18147        ;;
18148      solaris2*)
18149        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18150        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18151        ;;
18152      *)
18153        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18154        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18155        ;;
18156    esac
18157    VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18158  else
18159    VTV_CXXFLAGS=
18160    VTV_PCH_CXXFLAGS=
18161    VTV_CXXLINKFLAGS=
18162  fi
18163
18164
18165
18166
18167   if test x$vtv_cygmin = xyes; then
18168  VTV_CYGMIN_TRUE=
18169  VTV_CYGMIN_FALSE='#'
18170else
18171  VTV_CYGMIN_TRUE='#'
18172  VTV_CYGMIN_FALSE=
18173fi
18174
18175
18176
18177
18178# Checks for operating systems support that doesn't require linking.
18179
18180
18181
18182  ac_ext=cpp
18183ac_cpp='$CXXCPP $CPPFLAGS'
18184ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18185ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18186ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18187
18188  # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18189  # and we don't need a declaration for C++14 anyway.
18190  ac_save_CXXFLAGS="$CXXFLAGS"
18191  CXXFLAGS="$CXXFLAGS -std=gnu++11"
18192
18193  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18194$as_echo_n "checking for gets declaration... " >&6; }
18195  if test "${glibcxx_cv_gets+set}" = set; then :
18196  $as_echo_n "(cached) " >&6
18197else
18198
18199  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18200/* end confdefs.h.  */
18201#include <stdio.h>
18202	   namespace test
18203	   {
18204              using ::gets;
18205	   }
18206
18207_ACEOF
18208if ac_fn_cxx_try_compile "$LINENO"; then :
18209  glibcxx_cv_gets=yes
18210else
18211  glibcxx_cv_gets=no
18212
18213fi
18214rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18215fi
18216
18217
18218  if test $glibcxx_cv_gets = yes; then
18219
18220$as_echo "#define HAVE_GETS 1" >>confdefs.h
18221
18222  fi
18223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18224$as_echo "$glibcxx_cv_gets" >&6; }
18225
18226  CXXFLAGS="$ac_save_CXXFLAGS"
18227  ac_ext=c
18228ac_cpp='$CPP $CPPFLAGS'
18229ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18230ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18231ac_compiler_gnu=$ac_cv_c_compiler_gnu
18232
18233
18234
18235
18236
18237  ac_ext=cpp
18238ac_cpp='$CXXCPP $CPPFLAGS'
18239ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18240ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18241ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18242
18243  ac_save_CXXFLAGS="$CXXFLAGS"
18244  CXXFLAGS="$CXXFLAGS -std=c++11"
18245
18246  case "$host" in
18247    *-*-solaris2.*)
18248      # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18249      # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18250      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18251$as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18252      if test "${glibcxx_cv_math11_fp_overload+set}" = set; then :
18253  $as_echo_n "(cached) " >&6
18254else
18255
18256	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18257/* end confdefs.h.  */
18258#include <math.h>
18259	   #undef isfinite
18260	   namespace std {
18261	     inline bool isfinite(float __x)
18262	     { return __builtin_isfinite(__x); }
18263	   }
18264
18265_ACEOF
18266if ac_fn_cxx_try_compile "$LINENO"; then :
18267  glibcxx_cv_math11_fp_overload=no
18268else
18269  glibcxx_cv_math11_fp_overload=yes
18270
18271fi
18272rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18273fi
18274
18275
18276      # autoheader cannot handle indented templates.
18277
18278
18279      if test $glibcxx_cv_math11_fp_overload = yes; then
18280        $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18281
18282      fi
18283      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18284$as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18285
18286      # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18287      # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18288      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18289$as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18290      if test "${glibcxx_cv_math11_int_overload+set}" = set; then :
18291  $as_echo_n "(cached) " >&6
18292else
18293
18294	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18295/* end confdefs.h.  */
18296#include <math.h>
18297	   namespace std {
18298	     template<typename _Tp>
18299	       struct __is_integer;
18300	     template<>
18301	       struct __is_integer<int>
18302	       {
18303	         enum { __value = 1 };
18304	       };
18305	   }
18306	   namespace __gnu_cxx {
18307	     template<bool, typename>
18308	       struct __enable_if;
18309	     template<typename _Tp>
18310	       struct __enable_if<true, _Tp>
18311	       { typedef _Tp __type; };
18312	   }
18313	   namespace std {
18314	     template<typename _Tp>
18315	       constexpr typename __gnu_cxx::__enable_if
18316	       		 <__is_integer<_Tp>::__value, double>::__type
18317	       log2(_Tp __x)
18318	       { return __builtin_log2(__x); }
18319	   }
18320	   int
18321	   main (void)
18322	   {
18323	     int i = 1000;
18324	     return std::log2(i);
18325	   }
18326
18327_ACEOF
18328if ac_fn_cxx_try_compile "$LINENO"; then :
18329  glibcxx_cv_math11_int_overload=no
18330else
18331  glibcxx_cv_math11_int_overload=yes
18332
18333fi
18334rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18335fi
18336
18337
18338      # autoheader cannot handle indented templates.
18339
18340
18341      if test $glibcxx_cv_math11_int_overload = yes; then
18342        $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18343
18344      fi
18345      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18346$as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18347      ;;
18348    *)
18349      # If <math.h> defines the obsolete isinf(double) and isnan(double)
18350      # functions (instead of or as well as the C99 generic macros) then we
18351      # can't define std::isinf(double) and std::isnan(double) in <cmath>
18352      # and must use the ones from <math.h> instead.
18353      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18354$as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18355        if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18356  $as_echo_n "(cached) " >&6
18357else
18358
18359          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18360/* end confdefs.h.  */
18361#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18362             #include <math.h>
18363             #undef isinf
18364             namespace std {
18365               using ::isinf;
18366               bool isinf(float);
18367               bool isinf(long double);
18368             }
18369             using std::isinf;
18370             bool b = isinf(0.0);
18371
18372_ACEOF
18373if ac_fn_cxx_try_compile "$LINENO"; then :
18374  glibcxx_cv_obsolete_isinf=yes
18375else
18376  glibcxx_cv_obsolete_isinf=no
18377
18378fi
18379rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18380fi
18381
18382      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18383$as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18384      if test $glibcxx_cv_obsolete_isinf = yes; then
18385
18386$as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18387
18388      fi
18389
18390      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18391$as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18392        if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18393  $as_echo_n "(cached) " >&6
18394else
18395
18396          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18397/* end confdefs.h.  */
18398#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18399             #include <math.h>
18400             #undef isnan
18401             namespace std {
18402               using ::isnan;
18403               bool isnan(float);
18404               bool isnan(long double);
18405             }
18406             using std::isnan;
18407             bool b = isnan(0.0);
18408
18409_ACEOF
18410if ac_fn_cxx_try_compile "$LINENO"; then :
18411  glibcxx_cv_obsolete_isnan=yes
18412else
18413  glibcxx_cv_obsolete_isnan=no
18414
18415fi
18416rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18417fi
18418
18419      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18420$as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18421      if test $glibcxx_cv_obsolete_isnan = yes; then
18422
18423$as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18424
18425      fi
18426      ;;
18427  esac
18428
18429  CXXFLAGS="$ac_save_CXXFLAGS"
18430  ac_ext=c
18431ac_cpp='$CPP $CPPFLAGS'
18432ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18433ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18434ac_compiler_gnu=$ac_cv_c_compiler_gnu
18435
18436
18437
18438
18439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18440$as_echo_n "checking for EOWNERDEAD... " >&6; }
18441if test "${glibcxx_cv_system_error1+set}" = set; then :
18442  $as_echo_n "(cached) " >&6
18443else
18444
18445cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18446/* end confdefs.h.  */
18447#include <errno.h>
18448int
18449main ()
18450{
18451int i = EOWNERDEAD;
18452  ;
18453  return 0;
18454}
18455_ACEOF
18456if ac_fn_c_try_compile "$LINENO"; then :
18457  glibcxx_cv_system_error1=yes
18458else
18459  glibcxx_cv_system_error1=no
18460fi
18461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18462
18463fi
18464
18465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18466$as_echo "$glibcxx_cv_system_error1" >&6; }
18467if test x"$glibcxx_cv_system_error1" = x"yes"; then
18468
18469$as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18470
18471fi
18472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18473$as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18474if test "${glibcxx_cv_system_error2+set}" = set; then :
18475  $as_echo_n "(cached) " >&6
18476else
18477
18478cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18479/* end confdefs.h.  */
18480#include <errno.h>
18481int
18482main ()
18483{
18484int i = ENOTRECOVERABLE;
18485  ;
18486  return 0;
18487}
18488_ACEOF
18489if ac_fn_c_try_compile "$LINENO"; then :
18490  glibcxx_cv_system_error2=yes
18491else
18492  glibcxx_cv_system_error2=no
18493fi
18494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18495
18496fi
18497
18498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18499$as_echo "$glibcxx_cv_system_error2" >&6; }
18500if test x"$glibcxx_cv_system_error2" = x"yes"; then
18501
18502$as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18503
18504fi
18505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18506$as_echo_n "checking for ENOLINK... " >&6; }
18507if test "${glibcxx_cv_system_error3+set}" = set; then :
18508  $as_echo_n "(cached) " >&6
18509else
18510
18511cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18512/* end confdefs.h.  */
18513#include <errno.h>
18514int
18515main ()
18516{
18517int i = ENOLINK;
18518  ;
18519  return 0;
18520}
18521_ACEOF
18522if ac_fn_c_try_compile "$LINENO"; then :
18523  glibcxx_cv_system_error3=yes
18524else
18525  glibcxx_cv_system_error3=no
18526fi
18527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18528
18529fi
18530
18531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18532$as_echo "$glibcxx_cv_system_error3" >&6; }
18533if test x"$glibcxx_cv_system_error3" = x"yes"; then
18534
18535$as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18536
18537fi
18538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18539$as_echo_n "checking for EPROTO... " >&6; }
18540if test "${glibcxx_cv_system_error4+set}" = set; then :
18541  $as_echo_n "(cached) " >&6
18542else
18543
18544cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18545/* end confdefs.h.  */
18546#include <errno.h>
18547int
18548main ()
18549{
18550int i = EPROTO;
18551  ;
18552  return 0;
18553}
18554_ACEOF
18555if ac_fn_c_try_compile "$LINENO"; then :
18556  glibcxx_cv_system_error4=yes
18557else
18558  glibcxx_cv_system_error4=no
18559fi
18560rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18561
18562fi
18563
18564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18565$as_echo "$glibcxx_cv_system_error4" >&6; }
18566if test x"$glibcxx_cv_system_error4" = x"yes"; then
18567
18568$as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18569
18570fi
18571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18572$as_echo_n "checking for ENODATA... " >&6; }
18573if test "${glibcxx_cv_system_error5+set}" = set; then :
18574  $as_echo_n "(cached) " >&6
18575else
18576
18577cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18578/* end confdefs.h.  */
18579#include <errno.h>
18580int
18581main ()
18582{
18583int i = ENODATA;
18584  ;
18585  return 0;
18586}
18587_ACEOF
18588if ac_fn_c_try_compile "$LINENO"; then :
18589  glibcxx_cv_system_error5=yes
18590else
18591  glibcxx_cv_system_error5=no
18592fi
18593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18594
18595fi
18596
18597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18598$as_echo "$glibcxx_cv_system_error5" >&6; }
18599if test x"$glibcxx_cv_system_error5" = x"yes"; then
18600
18601$as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18602
18603fi
18604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18605$as_echo_n "checking for ENOSR... " >&6; }
18606if test "${glibcxx_cv_system_error6+set}" = set; then :
18607  $as_echo_n "(cached) " >&6
18608else
18609
18610cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18611/* end confdefs.h.  */
18612#include <errno.h>
18613int
18614main ()
18615{
18616int i = ENOSR;
18617  ;
18618  return 0;
18619}
18620_ACEOF
18621if ac_fn_c_try_compile "$LINENO"; then :
18622  glibcxx_cv_system_error6=yes
18623else
18624  glibcxx_cv_system_error6=no
18625fi
18626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18627
18628fi
18629
18630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18631$as_echo "$glibcxx_cv_system_error6" >&6; }
18632if test x"$glibcxx_cv_system_error6" = x"yes"; then
18633
18634$as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18635
18636fi
18637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18638$as_echo_n "checking for ENOSTR... " >&6; }
18639if test "${glibcxx_cv_system_error7+set}" = set; then :
18640  $as_echo_n "(cached) " >&6
18641else
18642
18643cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18644/* end confdefs.h.  */
18645#include <errno.h>
18646int
18647main ()
18648{
18649int i = ENOSTR;
18650  ;
18651  return 0;
18652}
18653_ACEOF
18654if ac_fn_c_try_compile "$LINENO"; then :
18655  glibcxx_cv_system_error7=yes
18656else
18657  glibcxx_cv_system_error7=no
18658fi
18659rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18660
18661fi
18662
18663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18664$as_echo "$glibcxx_cv_system_error7" >&6; }
18665if test x"$glibcxx_cv_system_error7" = x"yes"; then
18666
18667$as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18668
18669fi
18670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18671$as_echo_n "checking for ETIME... " >&6; }
18672if test "${glibcxx_cv_system_error8+set}" = set; then :
18673  $as_echo_n "(cached) " >&6
18674else
18675
18676cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18677/* end confdefs.h.  */
18678#include <errno.h>
18679int
18680main ()
18681{
18682int i = ETIME;
18683  ;
18684  return 0;
18685}
18686_ACEOF
18687if ac_fn_c_try_compile "$LINENO"; then :
18688  glibcxx_cv_system_error8=yes
18689else
18690  glibcxx_cv_system_error8=no
18691fi
18692rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18693
18694fi
18695
18696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18697$as_echo "$glibcxx_cv_system_error8" >&6; }
18698if test x"$glibcxx_cv_system_error8" = x"yes"; then
18699
18700$as_echo "#define HAVE_ETIME 1" >>confdefs.h
18701
18702fi
18703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18704$as_echo_n "checking for EBADMSG... " >&6; }
18705if test "${glibcxx_cv_system_error9+set}" = set; then :
18706  $as_echo_n "(cached) " >&6
18707else
18708
18709cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18710/* end confdefs.h.  */
18711#include <errno.h>
18712int
18713main ()
18714{
18715int i = EBADMSG;
18716  ;
18717  return 0;
18718}
18719_ACEOF
18720if ac_fn_c_try_compile "$LINENO"; then :
18721  glibcxx_cv_system_error9=yes
18722else
18723  glibcxx_cv_system_error9=no
18724fi
18725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18726
18727fi
18728
18729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18730$as_echo "$glibcxx_cv_system_error9" >&6; }
18731if test x"$glibcxx_cv_system_error9" = x"yes"; then
18732
18733$as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18734
18735fi
18736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18737$as_echo_n "checking for ECANCELED... " >&6; }
18738if test "${glibcxx_cv_system_error10+set}" = set; then :
18739  $as_echo_n "(cached) " >&6
18740else
18741
18742cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18743/* end confdefs.h.  */
18744#include <errno.h>
18745int
18746main ()
18747{
18748int i = ECANCELED;
18749  ;
18750  return 0;
18751}
18752_ACEOF
18753if ac_fn_c_try_compile "$LINENO"; then :
18754  glibcxx_cv_system_error10=yes
18755else
18756  glibcxx_cv_system_error10=no
18757fi
18758rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18759
18760fi
18761
18762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18763$as_echo "$glibcxx_cv_system_error10" >&6; }
18764if test x"$glibcxx_cv_system_error10" = x"yes"; then
18765
18766$as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18767
18768fi
18769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18770$as_echo_n "checking for EOVERFLOW... " >&6; }
18771if test "${glibcxx_cv_system_error11+set}" = set; then :
18772  $as_echo_n "(cached) " >&6
18773else
18774
18775cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18776/* end confdefs.h.  */
18777#include <errno.h>
18778int
18779main ()
18780{
18781int i = EOVERFLOW;
18782  ;
18783  return 0;
18784}
18785_ACEOF
18786if ac_fn_c_try_compile "$LINENO"; then :
18787  glibcxx_cv_system_error11=yes
18788else
18789  glibcxx_cv_system_error11=no
18790fi
18791rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18792
18793fi
18794
18795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18796$as_echo "$glibcxx_cv_system_error11" >&6; }
18797if test x"$glibcxx_cv_system_error11" = x"yes"; then
18798
18799$as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18800
18801fi
18802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18803$as_echo_n "checking for ENOTSUP... " >&6; }
18804if test "${glibcxx_cv_system_error12+set}" = set; then :
18805  $as_echo_n "(cached) " >&6
18806else
18807
18808cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18809/* end confdefs.h.  */
18810#include <errno.h>
18811int
18812main ()
18813{
18814int i = ENOTSUP;
18815  ;
18816  return 0;
18817}
18818_ACEOF
18819if ac_fn_c_try_compile "$LINENO"; then :
18820  glibcxx_cv_system_error12=yes
18821else
18822  glibcxx_cv_system_error12=no
18823fi
18824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18825
18826fi
18827
18828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18829$as_echo "$glibcxx_cv_system_error12" >&6; }
18830if test x"$glibcxx_cv_system_error12" = x"yes"; then
18831
18832$as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18833
18834fi
18835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18836$as_echo_n "checking for EIDRM... " >&6; }
18837if test "${glibcxx_cv_system_error13+set}" = set; then :
18838  $as_echo_n "(cached) " >&6
18839else
18840
18841cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18842/* end confdefs.h.  */
18843#include <errno.h>
18844int
18845main ()
18846{
18847int i = EIDRM;
18848  ;
18849  return 0;
18850}
18851_ACEOF
18852if ac_fn_c_try_compile "$LINENO"; then :
18853  glibcxx_cv_system_error13=yes
18854else
18855  glibcxx_cv_system_error13=no
18856fi
18857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18858
18859fi
18860
18861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18862$as_echo "$glibcxx_cv_system_error13" >&6; }
18863if test x"$glibcxx_cv_system_error13" = x"yes"; then
18864
18865$as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18866
18867fi
18868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18869$as_echo_n "checking for ETXTBSY... " >&6; }
18870if test "${glibcxx_cv_system_error14+set}" = set; then :
18871  $as_echo_n "(cached) " >&6
18872else
18873
18874cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18875/* end confdefs.h.  */
18876#include <errno.h>
18877int
18878main ()
18879{
18880int i = ETXTBSY;
18881  ;
18882  return 0;
18883}
18884_ACEOF
18885if ac_fn_c_try_compile "$LINENO"; then :
18886  glibcxx_cv_system_error14=yes
18887else
18888  glibcxx_cv_system_error14=no
18889fi
18890rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18891
18892fi
18893
18894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18895$as_echo "$glibcxx_cv_system_error14" >&6; }
18896if test x"$glibcxx_cv_system_error14" = x"yes"; then
18897
18898$as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18899
18900fi
18901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18902$as_echo_n "checking for ECHILD... " >&6; }
18903if test "${glibcxx_cv_system_error15+set}" = set; then :
18904  $as_echo_n "(cached) " >&6
18905else
18906
18907cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18908/* end confdefs.h.  */
18909#include <errno.h>
18910int
18911main ()
18912{
18913int i = ECHILD;
18914  ;
18915  return 0;
18916}
18917_ACEOF
18918if ac_fn_c_try_compile "$LINENO"; then :
18919  glibcxx_cv_system_error15=yes
18920else
18921  glibcxx_cv_system_error15=no
18922fi
18923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18924
18925fi
18926
18927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18928$as_echo "$glibcxx_cv_system_error15" >&6; }
18929if test x"$glibcxx_cv_system_error15" = x"yes"; then
18930
18931$as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18932
18933fi
18934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18935$as_echo_n "checking for ENOSPC... " >&6; }
18936if test "${glibcxx_cv_system_error16+set}" = set; then :
18937  $as_echo_n "(cached) " >&6
18938else
18939
18940cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18941/* end confdefs.h.  */
18942#include <errno.h>
18943int
18944main ()
18945{
18946int i = ENOSPC;
18947  ;
18948  return 0;
18949}
18950_ACEOF
18951if ac_fn_c_try_compile "$LINENO"; then :
18952  glibcxx_cv_system_error16=yes
18953else
18954  glibcxx_cv_system_error16=no
18955fi
18956rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18957
18958fi
18959
18960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18961$as_echo "$glibcxx_cv_system_error16" >&6; }
18962if test x"$glibcxx_cv_system_error16" = x"yes"; then
18963
18964$as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18965
18966fi
18967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18968$as_echo_n "checking for EPERM... " >&6; }
18969if test "${glibcxx_cv_system_error17+set}" = set; then :
18970  $as_echo_n "(cached) " >&6
18971else
18972
18973cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18974/* end confdefs.h.  */
18975#include <errno.h>
18976int
18977main ()
18978{
18979int i = EPERM;
18980  ;
18981  return 0;
18982}
18983_ACEOF
18984if ac_fn_c_try_compile "$LINENO"; then :
18985  glibcxx_cv_system_error17=yes
18986else
18987  glibcxx_cv_system_error17=no
18988fi
18989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18990
18991fi
18992
18993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18994$as_echo "$glibcxx_cv_system_error17" >&6; }
18995if test x"$glibcxx_cv_system_error17" = x"yes"; then
18996
18997$as_echo "#define HAVE_EPERM 1" >>confdefs.h
18998
18999fi
19000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19001$as_echo_n "checking for ETIMEDOUT... " >&6; }
19002if test "${glibcxx_cv_system_error18+set}" = set; then :
19003  $as_echo_n "(cached) " >&6
19004else
19005
19006cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19007/* end confdefs.h.  */
19008#include <errno.h>
19009int
19010main ()
19011{
19012int i = ETIMEDOUT;
19013  ;
19014  return 0;
19015}
19016_ACEOF
19017if ac_fn_c_try_compile "$LINENO"; then :
19018  glibcxx_cv_system_error18=yes
19019else
19020  glibcxx_cv_system_error18=no
19021fi
19022rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19023
19024fi
19025
19026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19027$as_echo "$glibcxx_cv_system_error18" >&6; }
19028if test x"$glibcxx_cv_system_error18" = x"yes"; then
19029
19030$as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19031
19032fi
19033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19034$as_echo_n "checking for EWOULDBLOCK... " >&6; }
19035if test "${glibcxx_cv_system_error19+set}" = set; then :
19036  $as_echo_n "(cached) " >&6
19037else
19038
19039cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19040/* end confdefs.h.  */
19041#include <errno.h>
19042int
19043main ()
19044{
19045int i = EWOULDBLOCK;
19046  ;
19047  return 0;
19048}
19049_ACEOF
19050if ac_fn_c_try_compile "$LINENO"; then :
19051  glibcxx_cv_system_error19=yes
19052else
19053  glibcxx_cv_system_error19=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_system_error19" >&5
19060$as_echo "$glibcxx_cv_system_error19" >&6; }
19061if test x"$glibcxx_cv_system_error19" = x"yes"; then
19062
19063$as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19064
19065fi
19066
19067
19068
19069
19070  # Test uchar.h.
19071  for ac_header in uchar.h
19072do :
19073  ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19074if test "x$ac_cv_header_uchar_h" = x""yes; then :
19075  cat >>confdefs.h <<_ACEOF
19076#define HAVE_UCHAR_H 1
19077_ACEOF
19078 ac_has_uchar_h=yes
19079else
19080  ac_has_uchar_h=no
19081fi
19082
19083done
19084
19085
19086
19087  ac_ext=cpp
19088ac_cpp='$CXXCPP $CPPFLAGS'
19089ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19090ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19091ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19092
19093  ac_save_CXXFLAGS="$CXXFLAGS"
19094  CXXFLAGS="$CXXFLAGS -std=c++11"
19095
19096  if test x"$ac_has_uchar_h" = x"yes"; then
19097    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19098$as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19099    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19100/* end confdefs.h.  */
19101#include <uchar.h>
19102		    #ifdef __STDC_UTF_16__
19103		    long i = __STDC_UTF_16__;
19104		    #endif
19105		    #ifdef __STDC_UTF_32__
19106		    long j = __STDC_UTF_32__;
19107		    #endif
19108		    namespace test
19109		    {
19110		      using ::c16rtomb;
19111		      using ::c32rtomb;
19112		      using ::mbrtoc16;
19113		      using ::mbrtoc32;
19114		    }
19115
19116int
19117main ()
19118{
19119
19120  ;
19121  return 0;
19122}
19123_ACEOF
19124if ac_fn_cxx_try_compile "$LINENO"; then :
19125  ac_c11_uchar_cxx11=yes
19126else
19127  ac_c11_uchar_cxx11=no
19128fi
19129rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19130  else
19131    ac_c11_uchar_cxx11=no
19132  fi
19133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19134$as_echo "$ac_c11_uchar_cxx11" >&6; }
19135  if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19136
19137$as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19138
19139  fi
19140
19141  CXXFLAGS="$ac_save_CXXFLAGS"
19142  ac_ext=c
19143ac_cpp='$CPP $CPPFLAGS'
19144ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19145ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19146ac_compiler_gnu=$ac_cv_c_compiler_gnu
19147
19148
19149
19150# For the streamoff typedef.
19151
19152
19153
19154  ac_ext=cpp
19155ac_cpp='$CXXCPP $CPPFLAGS'
19156ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19157ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19158ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19159
19160
19161  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19162$as_echo_n "checking for int64_t... " >&6; }
19163  if test "${glibcxx_cv_INT64_T+set}" = set; then :
19164  $as_echo_n "(cached) " >&6
19165else
19166
19167    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19168/* end confdefs.h.  */
19169#include <stdint.h>
19170int
19171main ()
19172{
19173int64_t var;
19174  ;
19175  return 0;
19176}
19177_ACEOF
19178if ac_fn_cxx_try_compile "$LINENO"; then :
19179  glibcxx_cv_INT64_T=yes
19180else
19181  glibcxx_cv_INT64_T=no
19182fi
19183rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19184
19185fi
19186
19187
19188  if test $glibcxx_cv_INT64_T = yes; then
19189
19190$as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19191
19192    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19193$as_echo "$glibcxx_cv_INT64_T" >&6; }
19194
19195    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19196$as_echo_n "checking for int64_t as long... " >&6; }
19197    if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19198  $as_echo_n "(cached) " >&6
19199else
19200
19201      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19202/* end confdefs.h.  */
19203#include <stdint.h>
19204	template<typename, typename> struct same { enum { value = -1 }; };
19205	template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19206	int array[same<int64_t, long>::value];
19207int
19208main ()
19209{
19210
19211  ;
19212  return 0;
19213}
19214_ACEOF
19215if ac_fn_cxx_try_compile "$LINENO"; then :
19216  glibcxx_cv_int64_t_long=yes
19217else
19218  glibcxx_cv_int64_t_long=no
19219fi
19220rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19221
19222fi
19223
19224
19225    if test $glibcxx_cv_int64_t_long = yes; then
19226
19227$as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19228
19229      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19230$as_echo "$glibcxx_cv_int64_t_long" >&6; }
19231    fi
19232
19233    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19234$as_echo_n "checking for int64_t as long long... " >&6; }
19235    if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19236  $as_echo_n "(cached) " >&6
19237else
19238
19239      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19240/* end confdefs.h.  */
19241#include <stdint.h>
19242	template<typename, typename> struct same { enum { value = -1 }; };
19243	template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19244	int array[same<int64_t, long long>::value];
19245int
19246main ()
19247{
19248
19249  ;
19250  return 0;
19251}
19252_ACEOF
19253if ac_fn_cxx_try_compile "$LINENO"; then :
19254  glibcxx_cv_int64_t_long_long=yes
19255else
19256  glibcxx_cv_int64_t_long_long=no
19257fi
19258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19259
19260fi
19261
19262
19263    if test $glibcxx_cv_int64_t_long_long = yes; then
19264
19265$as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19266
19267      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19268$as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19269    fi
19270  fi
19271
19272  ac_ext=c
19273ac_cpp='$CPP $CPPFLAGS'
19274ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19275ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19276ac_compiler_gnu=$ac_cv_c_compiler_gnu
19277
19278
19279
19280# For LFS support.
19281
19282
19283  ac_ext=cpp
19284ac_cpp='$CXXCPP $CPPFLAGS'
19285ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19286ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19287ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19288
19289  ac_save_CXXFLAGS="$CXXFLAGS"
19290  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19291  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19292$as_echo_n "checking for LFS support... " >&6; }
19293  if test "${glibcxx_cv_LFS+set}" = set; then :
19294  $as_echo_n "(cached) " >&6
19295else
19296
19297    if test x$gcc_no_link = xyes; then
19298  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19299/* end confdefs.h.  */
19300#include <unistd.h>
19301       #include <stdio.h>
19302       #include <sys/stat.h>
19303
19304int
19305main ()
19306{
19307FILE* fp;
19308       fopen64("t", "w");
19309       fseeko64(fp, 0, SEEK_CUR);
19310       ftello64(fp);
19311       lseek64(1, 0, SEEK_CUR);
19312       struct stat64 buf;
19313       fstat64(1, &buf);
19314  ;
19315  return 0;
19316}
19317_ACEOF
19318if ac_fn_cxx_try_compile "$LINENO"; then :
19319  glibcxx_cv_LFS=yes
19320else
19321  glibcxx_cv_LFS=no
19322fi
19323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19324else
19325  if test x$gcc_no_link = xyes; then
19326  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19327fi
19328cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19329/* end confdefs.h.  */
19330#include <unistd.h>
19331       #include <stdio.h>
19332       #include <sys/stat.h>
19333
19334int
19335main ()
19336{
19337FILE* fp;
19338       fopen64("t", "w");
19339       fseeko64(fp, 0, SEEK_CUR);
19340       ftello64(fp);
19341       lseek64(1, 0, SEEK_CUR);
19342       struct stat64 buf;
19343       fstat64(1, &buf);
19344  ;
19345  return 0;
19346}
19347_ACEOF
19348if ac_fn_cxx_try_link "$LINENO"; then :
19349  glibcxx_cv_LFS=yes
19350else
19351  glibcxx_cv_LFS=no
19352fi
19353rm -f core conftest.err conftest.$ac_objext \
19354    conftest$ac_exeext conftest.$ac_ext
19355fi
19356
19357fi
19358
19359  if test $glibcxx_cv_LFS = yes; then
19360
19361$as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19362
19363  fi
19364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19365$as_echo "$glibcxx_cv_LFS" >&6; }
19366  CXXFLAGS="$ac_save_CXXFLAGS"
19367  ac_ext=c
19368ac_cpp='$CPP $CPPFLAGS'
19369ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19370ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19371ac_compiler_gnu=$ac_cv_c_compiler_gnu
19372
19373
19374
19375# For showmanyc_helper().
19376for ac_header in sys/ioctl.h sys/filio.h
19377do :
19378  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19379ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19380eval as_val=\$$as_ac_Header
19381   if test "x$as_val" = x""yes; then :
19382  cat >>confdefs.h <<_ACEOF
19383#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19384_ACEOF
19385
19386fi
19387
19388done
19389
19390
19391
19392
19393  ac_ext=cpp
19394ac_cpp='$CXXCPP $CPPFLAGS'
19395ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19396ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19397ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19398
19399  ac_save_CXXFLAGS="$CXXFLAGS"
19400  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19401
19402  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19403$as_echo_n "checking for poll... " >&6; }
19404  if test "${glibcxx_cv_POLL+set}" = set; then :
19405  $as_echo_n "(cached) " >&6
19406else
19407
19408    if test x$gcc_no_link = xyes; then
19409  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19410/* end confdefs.h.  */
19411#include <poll.h>
19412int
19413main ()
19414{
19415struct pollfd pfd[1];
19416       pfd[0].events = POLLIN;
19417       poll(pfd, 1, 0);
19418  ;
19419  return 0;
19420}
19421_ACEOF
19422if ac_fn_cxx_try_compile "$LINENO"; then :
19423  glibcxx_cv_POLL=yes
19424else
19425  glibcxx_cv_POLL=no
19426fi
19427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19428else
19429  if test x$gcc_no_link = xyes; then
19430  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19431fi
19432cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19433/* end confdefs.h.  */
19434#include <poll.h>
19435int
19436main ()
19437{
19438struct pollfd pfd[1];
19439       pfd[0].events = POLLIN;
19440       poll(pfd, 1, 0);
19441  ;
19442  return 0;
19443}
19444_ACEOF
19445if ac_fn_cxx_try_link "$LINENO"; then :
19446  glibcxx_cv_POLL=yes
19447else
19448  glibcxx_cv_POLL=no
19449fi
19450rm -f core conftest.err conftest.$ac_objext \
19451    conftest$ac_exeext conftest.$ac_ext
19452fi
19453
19454fi
19455
19456  if test $glibcxx_cv_POLL = yes; then
19457
19458$as_echo "#define HAVE_POLL 1" >>confdefs.h
19459
19460  fi
19461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19462$as_echo "$glibcxx_cv_POLL" >&6; }
19463
19464  CXXFLAGS="$ac_save_CXXFLAGS"
19465  ac_ext=c
19466ac_cpp='$CPP $CPPFLAGS'
19467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19468ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19469ac_compiler_gnu=$ac_cv_c_compiler_gnu
19470
19471
19472
19473
19474
19475  ac_ext=cpp
19476ac_cpp='$CXXCPP $CPPFLAGS'
19477ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19478ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19479ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19480
19481  ac_save_CXXFLAGS="$CXXFLAGS"
19482  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19483
19484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19485$as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19486  if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19487  $as_echo_n "(cached) " >&6
19488else
19489
19490    if test x$gcc_no_link = xyes; then
19491  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19492/* end confdefs.h.  */
19493#include <sys/stat.h>
19494int
19495main ()
19496{
19497struct stat buffer;
19498       fstat(0, &buffer);
19499       S_ISREG(buffer.st_mode);
19500  ;
19501  return 0;
19502}
19503_ACEOF
19504if ac_fn_cxx_try_compile "$LINENO"; then :
19505  glibcxx_cv_S_ISREG=yes
19506else
19507  glibcxx_cv_S_ISREG=no
19508fi
19509rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19510else
19511  if test x$gcc_no_link = xyes; then
19512  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19513fi
19514cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19515/* end confdefs.h.  */
19516#include <sys/stat.h>
19517int
19518main ()
19519{
19520struct stat buffer;
19521       fstat(0, &buffer);
19522       S_ISREG(buffer.st_mode);
19523  ;
19524  return 0;
19525}
19526_ACEOF
19527if ac_fn_cxx_try_link "$LINENO"; then :
19528  glibcxx_cv_S_ISREG=yes
19529else
19530  glibcxx_cv_S_ISREG=no
19531fi
19532rm -f core conftest.err conftest.$ac_objext \
19533    conftest$ac_exeext conftest.$ac_ext
19534fi
19535
19536fi
19537
19538  if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19539  $as_echo_n "(cached) " >&6
19540else
19541
19542    if test x$gcc_no_link = xyes; then
19543  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19544/* end confdefs.h.  */
19545#include <sys/stat.h>
19546int
19547main ()
19548{
19549struct stat buffer;
19550       fstat(0, &buffer);
19551       S_IFREG & buffer.st_mode;
19552  ;
19553  return 0;
19554}
19555_ACEOF
19556if ac_fn_cxx_try_compile "$LINENO"; then :
19557  glibcxx_cv_S_IFREG=yes
19558else
19559  glibcxx_cv_S_IFREG=no
19560fi
19561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19562else
19563  if test x$gcc_no_link = xyes; then
19564  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19565fi
19566cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19567/* end confdefs.h.  */
19568#include <sys/stat.h>
19569int
19570main ()
19571{
19572struct stat buffer;
19573       fstat(0, &buffer);
19574       S_IFREG & buffer.st_mode;
19575  ;
19576  return 0;
19577}
19578_ACEOF
19579if ac_fn_cxx_try_link "$LINENO"; then :
19580  glibcxx_cv_S_IFREG=yes
19581else
19582  glibcxx_cv_S_IFREG=no
19583fi
19584rm -f core conftest.err conftest.$ac_objext \
19585    conftest$ac_exeext conftest.$ac_ext
19586fi
19587
19588fi
19589
19590  res=no
19591  if test $glibcxx_cv_S_ISREG = yes; then
19592
19593$as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19594
19595    res=S_ISREG
19596  elif test $glibcxx_cv_S_IFREG = yes; then
19597
19598$as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19599
19600    res=S_IFREG
19601  fi
19602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19603$as_echo "$res" >&6; }
19604
19605  CXXFLAGS="$ac_save_CXXFLAGS"
19606  ac_ext=c
19607ac_cpp='$CPP $CPPFLAGS'
19608ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19609ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19610ac_compiler_gnu=$ac_cv_c_compiler_gnu
19611
19612
19613
19614# For xsputn_2().
19615for ac_header in sys/uio.h
19616do :
19617  ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19618if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19619  cat >>confdefs.h <<_ACEOF
19620#define HAVE_SYS_UIO_H 1
19621_ACEOF
19622
19623fi
19624
19625done
19626
19627
19628
19629
19630  ac_ext=cpp
19631ac_cpp='$CXXCPP $CPPFLAGS'
19632ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19633ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19634ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19635
19636  ac_save_CXXFLAGS="$CXXFLAGS"
19637  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19638
19639  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19640$as_echo_n "checking for writev... " >&6; }
19641  if test "${glibcxx_cv_WRITEV+set}" = set; then :
19642  $as_echo_n "(cached) " >&6
19643else
19644
19645    if test x$gcc_no_link = xyes; then
19646  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647/* end confdefs.h.  */
19648#include <sys/uio.h>
19649int
19650main ()
19651{
19652struct iovec iov[2];
19653       writev(0, iov, 0);
19654  ;
19655  return 0;
19656}
19657_ACEOF
19658if ac_fn_cxx_try_compile "$LINENO"; then :
19659  glibcxx_cv_WRITEV=yes
19660else
19661  glibcxx_cv_WRITEV=no
19662fi
19663rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19664else
19665  if test x$gcc_no_link = xyes; then
19666  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19667fi
19668cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19669/* end confdefs.h.  */
19670#include <sys/uio.h>
19671int
19672main ()
19673{
19674struct iovec iov[2];
19675       writev(0, iov, 0);
19676  ;
19677  return 0;
19678}
19679_ACEOF
19680if ac_fn_cxx_try_link "$LINENO"; then :
19681  glibcxx_cv_WRITEV=yes
19682else
19683  glibcxx_cv_WRITEV=no
19684fi
19685rm -f core conftest.err conftest.$ac_objext \
19686    conftest$ac_exeext conftest.$ac_ext
19687fi
19688
19689fi
19690
19691  if test $glibcxx_cv_WRITEV = yes; then
19692
19693$as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19694
19695  fi
19696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19697$as_echo "$glibcxx_cv_WRITEV" >&6; }
19698
19699  CXXFLAGS="$ac_save_CXXFLAGS"
19700  ac_ext=c
19701ac_cpp='$CPP $CPPFLAGS'
19702ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19703ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19704ac_compiler_gnu=$ac_cv_c_compiler_gnu
19705
19706
19707
19708# Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19709# so that the check is done with the C compiler (not C++).
19710# Checking with C++ can break a canadian cross build if either
19711# file does not exist in C but does in C++.
19712for ac_header in fenv.h complex.h
19713do :
19714  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19715ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19716eval as_val=\$$as_ac_Header
19717   if test "x$as_val" = x""yes; then :
19718  cat >>confdefs.h <<_ACEOF
19719#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19720_ACEOF
19721
19722fi
19723
19724done
19725
19726
19727# For C99 support to TR1.
19728
19729
19730
19731  ac_ext=cpp
19732ac_cpp='$CXXCPP $CPPFLAGS'
19733ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19734ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19735ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19736
19737
19738  # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19739  # undefined and fake C99 facilities may be spuriously enabled.
19740  ac_save_CXXFLAGS="$CXXFLAGS"
19741  CXXFLAGS="$CXXFLAGS -std=c++98"
19742
19743  # Check for the existence of <complex.h> complex math functions used
19744  # by tr1/complex.
19745  for ac_header in complex.h
19746do :
19747  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19748if test "x$ac_cv_header_complex_h" = x""yes; then :
19749  cat >>confdefs.h <<_ACEOF
19750#define HAVE_COMPLEX_H 1
19751_ACEOF
19752 ac_has_complex_h=yes
19753else
19754  ac_has_complex_h=no
19755fi
19756
19757done
19758
19759  ac_c99_complex_tr1=no;
19760  if test x"$ac_has_complex_h" = x"yes"; then
19761    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19762$as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19763    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19764/* end confdefs.h.  */
19765#include <complex.h>
19766int
19767main ()
19768{
19769typedef __complex__ float float_type; float_type tmpf;
19770		    cacosf(tmpf);
19771		    casinf(tmpf);
19772		    catanf(tmpf);
19773		    cacoshf(tmpf);
19774		    casinhf(tmpf);
19775		    catanhf(tmpf);
19776		    typedef __complex__ double double_type; double_type tmpd;
19777		    cacos(tmpd);
19778		    casin(tmpd);
19779		    catan(tmpd);
19780		    cacosh(tmpd);
19781		    casinh(tmpd);
19782		    catanh(tmpd);
19783		    typedef __complex__ long double ld_type; ld_type tmpld;
19784		    cacosl(tmpld);
19785		    casinl(tmpld);
19786		    catanl(tmpld);
19787		    cacoshl(tmpld);
19788		    casinhl(tmpld);
19789		    catanhl(tmpld);
19790
19791  ;
19792  return 0;
19793}
19794_ACEOF
19795if ac_fn_cxx_try_compile "$LINENO"; then :
19796  ac_c99_complex_tr1=yes
19797else
19798  ac_c99_complex_tr1=no
19799fi
19800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19801  fi
19802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19803$as_echo "$ac_c99_complex_tr1" >&6; }
19804  if test x"$ac_c99_complex_tr1" = x"yes"; then
19805
19806$as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19807
19808  fi
19809
19810  # Check for the existence of <ctype.h> functions.
19811  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19812$as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19813  if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19814  $as_echo_n "(cached) " >&6
19815else
19816
19817  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19818/* end confdefs.h.  */
19819#include <ctype.h>
19820int
19821main ()
19822{
19823int ch;
19824		  int ret;
19825		  ret = isblank(ch);
19826
19827  ;
19828  return 0;
19829}
19830_ACEOF
19831if ac_fn_cxx_try_compile "$LINENO"; then :
19832  glibcxx_cv_c99_ctype_tr1=yes
19833else
19834  glibcxx_cv_c99_ctype_tr1=no
19835fi
19836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19837
19838fi
19839
19840  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19841$as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19842  if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19843
19844$as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19845
19846  fi
19847
19848  # Check for the existence of <fenv.h> functions.
19849  for ac_header in fenv.h
19850do :
19851  ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19852if test "x$ac_cv_header_fenv_h" = x""yes; then :
19853  cat >>confdefs.h <<_ACEOF
19854#define HAVE_FENV_H 1
19855_ACEOF
19856 ac_has_fenv_h=yes
19857else
19858  ac_has_fenv_h=no
19859fi
19860
19861done
19862
19863  ac_c99_fenv_tr1=no;
19864  if test x"$ac_has_fenv_h" = x"yes"; then
19865    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19866$as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19867    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19868/* end confdefs.h.  */
19869#include <fenv.h>
19870int
19871main ()
19872{
19873int except, mode;
19874		    fexcept_t* pflag;
19875		    fenv_t* penv;
19876		    int ret;
19877		    ret = feclearexcept(except);
19878		    ret = fegetexceptflag(pflag, except);
19879		    ret = feraiseexcept(except);
19880		    ret = fesetexceptflag(pflag, except);
19881		    ret = fetestexcept(except);
19882		    ret = fegetround();
19883		    ret = fesetround(mode);
19884		    ret = fegetenv(penv);
19885		    ret = feholdexcept(penv);
19886		    ret = fesetenv(penv);
19887		    ret = feupdateenv(penv);
19888
19889  ;
19890  return 0;
19891}
19892_ACEOF
19893if ac_fn_cxx_try_compile "$LINENO"; then :
19894  ac_c99_fenv_tr1=yes
19895else
19896  ac_c99_fenv_tr1=no
19897fi
19898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19899  fi
19900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19901$as_echo "$ac_c99_fenv_tr1" >&6; }
19902  if test x"$ac_c99_fenv_tr1" = x"yes"; then
19903
19904$as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19905
19906  fi
19907
19908  # Check for the existence of <stdint.h> types.
19909  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19910$as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19911  if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19912  $as_echo_n "(cached) " >&6
19913else
19914
19915  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19916/* end confdefs.h.  */
19917#define __STDC_LIMIT_MACROS
19918		  #define __STDC_CONSTANT_MACROS
19919		  #include <stdint.h>
19920int
19921main ()
19922{
19923typedef int8_t          my_int8_t;
19924		  my_int8_t               i8 = INT8_MIN;
19925		  i8 = INT8_MAX;
19926		  typedef int16_t         my_int16_t;
19927		  my_int16_t              i16 = INT16_MIN;
19928		  i16 = INT16_MAX;
19929		  typedef int32_t         my_int32_t;
19930		  my_int32_t              i32 = INT32_MIN;
19931		  i32 = INT32_MAX;
19932		  typedef int64_t         my_int64_t;
19933		  my_int64_t              i64 = INT64_MIN;
19934		  i64 = INT64_MAX;
19935		  typedef int_fast8_t     my_int_fast8_t;
19936		  my_int_fast8_t          if8 = INT_FAST8_MIN;
19937		  if8 = INT_FAST8_MAX;
19938		  typedef int_fast16_t    my_int_fast16_t;
19939		  my_int_fast16_t         if16 = INT_FAST16_MIN;
19940		  if16 = INT_FAST16_MAX;
19941		  typedef int_fast32_t    my_int_fast32_t;
19942		  my_int_fast32_t         if32 = INT_FAST32_MIN;
19943		  if32 = INT_FAST32_MAX;
19944		  typedef int_fast64_t    my_int_fast64_t;
19945		  my_int_fast64_t         if64 = INT_FAST64_MIN;
19946		  if64 = INT_FAST64_MAX;
19947		  typedef int_least8_t    my_int_least8_t;
19948		  my_int_least8_t         il8 = INT_LEAST8_MIN;
19949		  il8 = INT_LEAST8_MAX;
19950		  typedef int_least16_t   my_int_least16_t;
19951		  my_int_least16_t        il16 = INT_LEAST16_MIN;
19952		  il16 = INT_LEAST16_MAX;
19953		  typedef int_least32_t   my_int_least32_t;
19954		  my_int_least32_t        il32 = INT_LEAST32_MIN;
19955		  il32 = INT_LEAST32_MAX;
19956		  typedef int_least64_t   my_int_least64_t;
19957		  my_int_least64_t        il64 = INT_LEAST64_MIN;
19958		  il64 = INT_LEAST64_MAX;
19959		  typedef intmax_t        my_intmax_t;
19960		  my_intmax_t             im = INTMAX_MAX;
19961		  im = INTMAX_MIN;
19962		  typedef intptr_t        my_intptr_t;
19963		  my_intptr_t             ip = INTPTR_MAX;
19964		  ip = INTPTR_MIN;
19965		  typedef uint8_t         my_uint8_t;
19966		  my_uint8_t              ui8 = UINT8_MAX;
19967		  ui8 = UINT8_MAX;
19968		  typedef uint16_t        my_uint16_t;
19969		  my_uint16_t             ui16 = UINT16_MAX;
19970		  ui16 = UINT16_MAX;
19971		  typedef uint32_t        my_uint32_t;
19972		  my_uint32_t             ui32 = UINT32_MAX;
19973		  ui32 = UINT32_MAX;
19974		  typedef uint64_t        my_uint64_t;
19975		  my_uint64_t             ui64 = UINT64_MAX;
19976		  ui64 = UINT64_MAX;
19977		  typedef uint_fast8_t    my_uint_fast8_t;
19978		  my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
19979		  uif8 = UINT_FAST8_MAX;
19980		  typedef uint_fast16_t   my_uint_fast16_t;
19981		  my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
19982		  uif16 = UINT_FAST16_MAX;
19983		  typedef uint_fast32_t   my_uint_fast32_t;
19984		  my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
19985		  uif32 = UINT_FAST32_MAX;
19986		  typedef uint_fast64_t   my_uint_fast64_t;
19987		  my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
19988		  uif64 = UINT_FAST64_MAX;
19989		  typedef uint_least8_t   my_uint_least8_t;
19990		  my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
19991		  uil8 = UINT_LEAST8_MAX;
19992		  typedef uint_least16_t  my_uint_least16_t;
19993		  my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
19994		  uil16 = UINT_LEAST16_MAX;
19995		  typedef uint_least32_t  my_uint_least32_t;
19996		  my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
19997		  uil32 = UINT_LEAST32_MAX;
19998		  typedef uint_least64_t  my_uint_least64_t;
19999		  my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
20000		  uil64 = UINT_LEAST64_MAX;
20001		  typedef uintmax_t       my_uintmax_t;
20002		  my_uintmax_t            uim = UINTMAX_MAX;
20003		  uim = UINTMAX_MAX;
20004		  typedef uintptr_t       my_uintptr_t;
20005		  my_uintptr_t            uip = UINTPTR_MAX;
20006		  uip = UINTPTR_MAX;
20007
20008  ;
20009  return 0;
20010}
20011_ACEOF
20012if ac_fn_cxx_try_compile "$LINENO"; then :
20013  glibcxx_cv_c99_stdint_tr1=yes
20014else
20015  glibcxx_cv_c99_stdint_tr1=no
20016fi
20017rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20018
20019fi
20020
20021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20022$as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20023  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20024
20025$as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20026
20027  fi
20028
20029  # Check for the existence of <math.h> functions.
20030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20031$as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20032  if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
20033  $as_echo_n "(cached) " >&6
20034else
20035
20036  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20037/* end confdefs.h.  */
20038#include <math.h>
20039int
20040main ()
20041{
20042typedef double_t  my_double_t;
20043		  typedef float_t   my_float_t;
20044		  acosh(0.0);
20045		  acoshf(0.0f);
20046		  acoshl(0.0l);
20047		  asinh(0.0);
20048		  asinhf(0.0f);
20049		  asinhl(0.0l);
20050		  atanh(0.0);
20051		  atanhf(0.0f);
20052		  atanhl(0.0l);
20053		  cbrt(0.0);
20054		  cbrtf(0.0f);
20055		  cbrtl(0.0l);
20056		  copysign(0.0, 0.0);
20057		  copysignf(0.0f, 0.0f);
20058		  copysignl(0.0l, 0.0l);
20059		  erf(0.0);
20060		  erff(0.0f);
20061		  erfl(0.0l);
20062		  erfc(0.0);
20063		  erfcf(0.0f);
20064		  erfcl(0.0l);
20065		  exp2(0.0);
20066		  exp2f(0.0f);
20067		  exp2l(0.0l);
20068		  expm1(0.0);
20069		  expm1f(0.0f);
20070		  expm1l(0.0l);
20071		  fdim(0.0, 0.0);
20072		  fdimf(0.0f, 0.0f);
20073		  fdiml(0.0l, 0.0l);
20074		  fma(0.0, 0.0, 0.0);
20075		  fmaf(0.0f, 0.0f, 0.0f);
20076		  fmal(0.0l, 0.0l, 0.0l);
20077		  fmax(0.0, 0.0);
20078		  fmaxf(0.0f, 0.0f);
20079		  fmaxl(0.0l, 0.0l);
20080		  fmin(0.0, 0.0);
20081		  fminf(0.0f, 0.0f);
20082		  fminl(0.0l, 0.0l);
20083		  hypot(0.0, 0.0);
20084		  hypotf(0.0f, 0.0f);
20085		  hypotl(0.0l, 0.0l);
20086		  ilogb(0.0);
20087		  ilogbf(0.0f);
20088		  ilogbl(0.0l);
20089		  lgamma(0.0);
20090		  lgammaf(0.0f);
20091		  lgammal(0.0l);
20092		  #ifndef __APPLE__ /* see below */
20093		  llrint(0.0);
20094		  llrintf(0.0f);
20095		  llrintl(0.0l);
20096		  llround(0.0);
20097		  llroundf(0.0f);
20098		  llroundl(0.0l);
20099		  #endif
20100		  log1p(0.0);
20101		  log1pf(0.0f);
20102		  log1pl(0.0l);
20103		  log2(0.0);
20104		  log2f(0.0f);
20105		  log2l(0.0l);
20106		  logb(0.0);
20107		  logbf(0.0f);
20108		  logbl(0.0l);
20109		  lrint(0.0);
20110		  lrintf(0.0f);
20111		  lrintl(0.0l);
20112		  lround(0.0);
20113		  lroundf(0.0f);
20114		  lroundl(0.0l);
20115		  nan(0);
20116		  nanf(0);
20117		  nanl(0);
20118		  nearbyint(0.0);
20119		  nearbyintf(0.0f);
20120		  nearbyintl(0.0l);
20121		  nextafter(0.0, 0.0);
20122		  nextafterf(0.0f, 0.0f);
20123		  nextafterl(0.0l, 0.0l);
20124		  nexttoward(0.0, 0.0);
20125		  nexttowardf(0.0f, 0.0f);
20126		  nexttowardl(0.0l, 0.0l);
20127		  remainder(0.0, 0.0);
20128		  remainderf(0.0f, 0.0f);
20129		  remainderl(0.0l, 0.0l);
20130		  remquo(0.0, 0.0, 0);
20131		  remquof(0.0f, 0.0f, 0);
20132		  remquol(0.0l, 0.0l, 0);
20133		  rint(0.0);
20134		  rintf(0.0f);
20135		  rintl(0.0l);
20136		  round(0.0);
20137		  roundf(0.0f);
20138		  roundl(0.0l);
20139		  scalbln(0.0, 0l);
20140		  scalblnf(0.0f, 0l);
20141		  scalblnl(0.0l, 0l);
20142		  scalbn(0.0, 0);
20143		  scalbnf(0.0f, 0);
20144		  scalbnl(0.0l, 0);
20145		  tgamma(0.0);
20146		  tgammaf(0.0f);
20147		  tgammal(0.0l);
20148		  trunc(0.0);
20149		  truncf(0.0f);
20150		  truncl(0.0l);
20151
20152  ;
20153  return 0;
20154}
20155_ACEOF
20156if ac_fn_cxx_try_compile "$LINENO"; then :
20157  glibcxx_cv_c99_math_tr1=yes
20158else
20159  glibcxx_cv_c99_math_tr1=no
20160fi
20161rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20162
20163fi
20164
20165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20166$as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20167  if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20168
20169$as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20170
20171
20172    case "${target_os}" in
20173      darwin*)
20174        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20175$as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20176        if test "${glibcxx_cv_c99_math_llround+set}" = set; then :
20177  $as_echo_n "(cached) " >&6
20178else
20179
20180          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20181/* end confdefs.h.  */
20182#include <math.h>
20183int
20184main ()
20185{
20186llrint(0.0);
20187		  llrintf(0.0f);
20188		  llrintl(0.0l);
20189		  llround(0.0);
20190		  llroundf(0.0f);
20191		  llroundl(0.0l);
20192
20193  ;
20194  return 0;
20195}
20196_ACEOF
20197if ac_fn_cxx_try_compile "$LINENO"; then :
20198  glibcxx_cv_c99_math_llround=yes
20199else
20200  glibcxx_cv_c99_math_llround=no
20201fi
20202rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20203
20204fi
20205
20206	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20207$as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20208        ;;
20209    esac
20210    if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20211
20212$as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20213
20214    fi
20215  fi
20216
20217  # Check for the existence of <inttypes.h> functions (NB: doesn't make
20218  # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20219  ac_c99_inttypes_tr1=no;
20220  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20221    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20222$as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20223    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20224/* end confdefs.h.  */
20225#include <inttypes.h>
20226int
20227main ()
20228{
20229intmax_t i, numer, denom, base;
20230		    const char* s;
20231		    char** endptr;
20232		    intmax_t ret = imaxabs(i);
20233		    imaxdiv_t dret = imaxdiv(numer, denom);
20234		    ret = strtoimax(s, endptr, base);
20235		    uintmax_t uret = strtoumax(s, endptr, base);
20236
20237  ;
20238  return 0;
20239}
20240_ACEOF
20241if ac_fn_cxx_try_compile "$LINENO"; then :
20242  ac_c99_inttypes_tr1=yes
20243else
20244  ac_c99_inttypes_tr1=no
20245fi
20246rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20247  fi
20248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20249$as_echo "$ac_c99_inttypes_tr1" >&6; }
20250  if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20251
20252$as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20253
20254  fi
20255
20256  # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20257  # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20258  ac_c99_inttypes_wchar_t_tr1=no;
20259  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20260    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20261$as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20262    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20263/* end confdefs.h.  */
20264#include <inttypes.h>
20265int
20266main ()
20267{
20268intmax_t base;
20269		    const wchar_t* s;
20270		    wchar_t** endptr;
20271		    intmax_t ret = wcstoimax(s, endptr, base);
20272		    uintmax_t uret = wcstoumax(s, endptr, base);
20273
20274  ;
20275  return 0;
20276}
20277_ACEOF
20278if ac_fn_cxx_try_compile "$LINENO"; then :
20279  ac_c99_inttypes_wchar_t_tr1=yes
20280else
20281  ac_c99_inttypes_wchar_t_tr1=no
20282fi
20283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20284  fi
20285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20286$as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20287  if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20288
20289$as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20290
20291  fi
20292
20293  # Check for the existence of the <stdbool.h> header.
20294  for ac_header in stdbool.h
20295do :
20296  ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20297if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20298  cat >>confdefs.h <<_ACEOF
20299#define HAVE_STDBOOL_H 1
20300_ACEOF
20301
20302fi
20303
20304done
20305
20306
20307  # Check for the existence of the <stdalign.h> header.
20308  for ac_header in stdalign.h
20309do :
20310  ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20311if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20312  cat >>confdefs.h <<_ACEOF
20313#define HAVE_STDALIGN_H 1
20314_ACEOF
20315
20316fi
20317
20318done
20319
20320
20321  CXXFLAGS="$ac_save_CXXFLAGS"
20322  ac_ext=c
20323ac_cpp='$CPP $CPPFLAGS'
20324ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20325ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20326ac_compiler_gnu=$ac_cv_c_compiler_gnu
20327
20328
20329
20330# For the EOF, SEEK_CUR, and SEEK_END integer constants.
20331
20332
20333  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20334$as_echo_n "checking for the value of EOF... " >&6; }
20335if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20336  $as_echo_n "(cached) " >&6
20337else
20338
20339  if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
20340
20341else
20342  as_fn_error "computing EOF failed" "$LINENO" 5
20343fi
20344
20345
20346fi
20347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20348$as_echo "$glibcxx_cv_stdio_eof" >&6; }
20349
20350cat >>confdefs.h <<_ACEOF
20351#define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20352_ACEOF
20353
20354
20355  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20356$as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20357if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20358  $as_echo_n "(cached) " >&6
20359else
20360
20361  if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
20362
20363else
20364  as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20365fi
20366
20367
20368fi
20369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20370$as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20371
20372cat >>confdefs.h <<_ACEOF
20373#define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20374_ACEOF
20375
20376
20377  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20378$as_echo_n "checking for the value of SEEK_END... " >&6; }
20379if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20380  $as_echo_n "(cached) " >&6
20381else
20382
20383  if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
20384
20385else
20386  as_fn_error "computing SEEK_END failed" "$LINENO" 5
20387fi
20388
20389
20390fi
20391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20392$as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20393
20394cat >>confdefs.h <<_ACEOF
20395#define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20396_ACEOF
20397
20398
20399
20400# For gettimeofday support.
20401
20402
20403  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20404$as_echo_n "checking for gettimeofday... " >&6; }
20405
20406
20407  ac_ext=cpp
20408ac_cpp='$CXXCPP $CPPFLAGS'
20409ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20410ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20411ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20412
20413  ac_save_CXXFLAGS="$CXXFLAGS"
20414  CXXFLAGS="$CXXFLAGS -fno-exceptions"
20415
20416  ac_has_gettimeofday=no;
20417  for ac_header in sys/time.h
20418do :
20419  ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20420if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20421  cat >>confdefs.h <<_ACEOF
20422#define HAVE_SYS_TIME_H 1
20423_ACEOF
20424 ac_has_sys_time_h=yes
20425else
20426  ac_has_sys_time_h=no
20427fi
20428
20429done
20430
20431  if test x"$ac_has_sys_time_h" = x"yes"; then
20432    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20433$as_echo_n "checking for gettimeofday... " >&6; }
20434    if test x$gcc_no_link = xyes; then
20435  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20436/* end confdefs.h.  */
20437#include <sys/time.h>
20438int
20439main ()
20440{
20441timeval tv; gettimeofday(&tv, 0);
20442  ;
20443  return 0;
20444}
20445_ACEOF
20446if ac_fn_cxx_try_compile "$LINENO"; then :
20447  ac_has_gettimeofday=yes
20448else
20449  ac_has_gettimeofday=no
20450fi
20451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20452else
20453  if test x$gcc_no_link = xyes; then
20454  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20455fi
20456cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20457/* end confdefs.h.  */
20458#include <sys/time.h>
20459int
20460main ()
20461{
20462timeval tv; gettimeofday(&tv, 0);
20463  ;
20464  return 0;
20465}
20466_ACEOF
20467if ac_fn_cxx_try_link "$LINENO"; then :
20468  ac_has_gettimeofday=yes
20469else
20470  ac_has_gettimeofday=no
20471fi
20472rm -f core conftest.err conftest.$ac_objext \
20473    conftest$ac_exeext conftest.$ac_ext
20474fi
20475
20476    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20477$as_echo "$ac_has_gettimeofday" >&6; }
20478  fi
20479
20480  if test x"$ac_has_gettimeofday" = x"yes"; then
20481
20482$as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20483
20484  fi
20485
20486  CXXFLAGS="$ac_save_CXXFLAGS"
20487  ac_ext=c
20488ac_cpp='$CPP $CPPFLAGS'
20489ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20490ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20491ac_compiler_gnu=$ac_cv_c_compiler_gnu
20492
20493
20494
20495# For clock_gettime, nanosleep and sched_yield support.
20496
20497
20498   # Check whether --enable-libstdcxx-time was given.
20499if test "${enable_libstdcxx_time+set}" = set; then :
20500  enableval=$enable_libstdcxx_time;
20501      case "$enableval" in
20502       yes|no|rt) ;;
20503       *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20504	  	        esac
20505
20506else
20507  enable_libstdcxx_time=auto
20508fi
20509
20510
20511
20512
20513  ac_ext=cpp
20514ac_cpp='$CXXCPP $CPPFLAGS'
20515ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20516ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20517ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20518
20519  ac_save_CXXFLAGS="$CXXFLAGS"
20520  CXXFLAGS="$CXXFLAGS -fno-exceptions"
20521  ac_save_LIBS="$LIBS"
20522
20523  ac_has_clock_monotonic=no
20524  ac_has_clock_realtime=no
20525  ac_has_nanosleep=no
20526  ac_has_sched_yield=no
20527
20528  if test x"$enable_libstdcxx_time" = x"auto"; then
20529
20530    case "${target_os}" in
20531      cygwin*)
20532        ac_has_nanosleep=yes
20533        ;;
20534      darwin*)
20535        ac_has_nanosleep=yes
20536        ac_has_sched_yield=yes
20537        ;;
20538      gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20539        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20540$as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20541        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20542/* end confdefs.h.  */
20543#include <features.h>
20544int
20545main ()
20546{
20547
20548          #if ! __GLIBC_PREREQ(2, 17)
20549          #error
20550          #endif
20551
20552  ;
20553  return 0;
20554}
20555_ACEOF
20556if ac_fn_cxx_try_compile "$LINENO"; then :
20557  glibcxx_glibc217=yes
20558else
20559  glibcxx_glibc217=no
20560fi
20561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20562        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20563$as_echo "$glibcxx_glibc217" >&6; }
20564
20565        if test x"$glibcxx_glibc217" = x"yes"; then
20566          ac_has_clock_monotonic=yes
20567          ac_has_clock_realtime=yes
20568        fi
20569        ac_has_nanosleep=yes
20570        ac_has_sched_yield=yes
20571        ;;
20572      freebsd*|netbsd*|dragonfly*)
20573        ac_has_clock_monotonic=yes
20574        ac_has_clock_realtime=yes
20575        ac_has_nanosleep=yes
20576        ac_has_sched_yield=yes
20577        ;;
20578      openbsd*)
20579        ac_has_clock_monotonic=yes
20580        ac_has_clock_realtime=yes
20581        ac_has_nanosleep=yes
20582        ;;
20583      solaris*)
20584        GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20585        ac_has_clock_monotonic=yes
20586        ac_has_clock_realtime=yes
20587        ac_has_nanosleep=yes
20588        ac_has_sched_yield=yes
20589        ;;
20590    esac
20591
20592  elif test x"$enable_libstdcxx_time" != x"no"; then
20593
20594    if test x"$enable_libstdcxx_time" = x"rt"; then
20595      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20596$as_echo_n "checking for library containing clock_gettime... " >&6; }
20597if test "${ac_cv_search_clock_gettime+set}" = set; then :
20598  $as_echo_n "(cached) " >&6
20599else
20600  ac_func_search_save_LIBS=$LIBS
20601cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20602/* end confdefs.h.  */
20603
20604/* Override any GCC internal prototype to avoid an error.
20605   Use char because int might match the return type of a GCC
20606   builtin and then its argument prototype would still apply.  */
20607#ifdef __cplusplus
20608extern "C"
20609#endif
20610char clock_gettime ();
20611int
20612main ()
20613{
20614return clock_gettime ();
20615  ;
20616  return 0;
20617}
20618_ACEOF
20619for ac_lib in '' rt posix4; do
20620  if test -z "$ac_lib"; then
20621    ac_res="none required"
20622  else
20623    ac_res=-l$ac_lib
20624    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20625  fi
20626  if test x$gcc_no_link = xyes; then
20627  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20628fi
20629if ac_fn_cxx_try_link "$LINENO"; then :
20630  ac_cv_search_clock_gettime=$ac_res
20631fi
20632rm -f core conftest.err conftest.$ac_objext \
20633    conftest$ac_exeext
20634  if test "${ac_cv_search_clock_gettime+set}" = set; then :
20635  break
20636fi
20637done
20638if test "${ac_cv_search_clock_gettime+set}" = set; then :
20639
20640else
20641  ac_cv_search_clock_gettime=no
20642fi
20643rm conftest.$ac_ext
20644LIBS=$ac_func_search_save_LIBS
20645fi
20646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20647$as_echo "$ac_cv_search_clock_gettime" >&6; }
20648ac_res=$ac_cv_search_clock_gettime
20649if test "$ac_res" != no; then :
20650  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20651
20652fi
20653
20654      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20655$as_echo_n "checking for library containing nanosleep... " >&6; }
20656if test "${ac_cv_search_nanosleep+set}" = set; then :
20657  $as_echo_n "(cached) " >&6
20658else
20659  ac_func_search_save_LIBS=$LIBS
20660cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20661/* end confdefs.h.  */
20662
20663/* Override any GCC internal prototype to avoid an error.
20664   Use char because int might match the return type of a GCC
20665   builtin and then its argument prototype would still apply.  */
20666#ifdef __cplusplus
20667extern "C"
20668#endif
20669char nanosleep ();
20670int
20671main ()
20672{
20673return nanosleep ();
20674  ;
20675  return 0;
20676}
20677_ACEOF
20678for ac_lib in '' rt posix4; do
20679  if test -z "$ac_lib"; then
20680    ac_res="none required"
20681  else
20682    ac_res=-l$ac_lib
20683    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20684  fi
20685  if test x$gcc_no_link = xyes; then
20686  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20687fi
20688if ac_fn_cxx_try_link "$LINENO"; then :
20689  ac_cv_search_nanosleep=$ac_res
20690fi
20691rm -f core conftest.err conftest.$ac_objext \
20692    conftest$ac_exeext
20693  if test "${ac_cv_search_nanosleep+set}" = set; then :
20694  break
20695fi
20696done
20697if test "${ac_cv_search_nanosleep+set}" = set; then :
20698
20699else
20700  ac_cv_search_nanosleep=no
20701fi
20702rm conftest.$ac_ext
20703LIBS=$ac_func_search_save_LIBS
20704fi
20705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20706$as_echo "$ac_cv_search_nanosleep" >&6; }
20707ac_res=$ac_cv_search_nanosleep
20708if test "$ac_res" != no; then :
20709  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20710
20711fi
20712
20713    else
20714      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20715$as_echo_n "checking for library containing clock_gettime... " >&6; }
20716if test "${ac_cv_search_clock_gettime+set}" = set; then :
20717  $as_echo_n "(cached) " >&6
20718else
20719  ac_func_search_save_LIBS=$LIBS
20720cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20721/* end confdefs.h.  */
20722
20723/* Override any GCC internal prototype to avoid an error.
20724   Use char because int might match the return type of a GCC
20725   builtin and then its argument prototype would still apply.  */
20726#ifdef __cplusplus
20727extern "C"
20728#endif
20729char clock_gettime ();
20730int
20731main ()
20732{
20733return clock_gettime ();
20734  ;
20735  return 0;
20736}
20737_ACEOF
20738for ac_lib in '' posix4; do
20739  if test -z "$ac_lib"; then
20740    ac_res="none required"
20741  else
20742    ac_res=-l$ac_lib
20743    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20744  fi
20745  if test x$gcc_no_link = xyes; then
20746  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20747fi
20748if ac_fn_cxx_try_link "$LINENO"; then :
20749  ac_cv_search_clock_gettime=$ac_res
20750fi
20751rm -f core conftest.err conftest.$ac_objext \
20752    conftest$ac_exeext
20753  if test "${ac_cv_search_clock_gettime+set}" = set; then :
20754  break
20755fi
20756done
20757if test "${ac_cv_search_clock_gettime+set}" = set; then :
20758
20759else
20760  ac_cv_search_clock_gettime=no
20761fi
20762rm conftest.$ac_ext
20763LIBS=$ac_func_search_save_LIBS
20764fi
20765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20766$as_echo "$ac_cv_search_clock_gettime" >&6; }
20767ac_res=$ac_cv_search_clock_gettime
20768if test "$ac_res" != no; then :
20769  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20770
20771fi
20772
20773      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20774$as_echo_n "checking for library containing nanosleep... " >&6; }
20775if test "${ac_cv_search_nanosleep+set}" = set; then :
20776  $as_echo_n "(cached) " >&6
20777else
20778  ac_func_search_save_LIBS=$LIBS
20779cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20780/* end confdefs.h.  */
20781
20782/* Override any GCC internal prototype to avoid an error.
20783   Use char because int might match the return type of a GCC
20784   builtin and then its argument prototype would still apply.  */
20785#ifdef __cplusplus
20786extern "C"
20787#endif
20788char nanosleep ();
20789int
20790main ()
20791{
20792return nanosleep ();
20793  ;
20794  return 0;
20795}
20796_ACEOF
20797for ac_lib in '' posix4; do
20798  if test -z "$ac_lib"; then
20799    ac_res="none required"
20800  else
20801    ac_res=-l$ac_lib
20802    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20803  fi
20804  if test x$gcc_no_link = xyes; then
20805  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20806fi
20807if ac_fn_cxx_try_link "$LINENO"; then :
20808  ac_cv_search_nanosleep=$ac_res
20809fi
20810rm -f core conftest.err conftest.$ac_objext \
20811    conftest$ac_exeext
20812  if test "${ac_cv_search_nanosleep+set}" = set; then :
20813  break
20814fi
20815done
20816if test "${ac_cv_search_nanosleep+set}" = set; then :
20817
20818else
20819  ac_cv_search_nanosleep=no
20820fi
20821rm conftest.$ac_ext
20822LIBS=$ac_func_search_save_LIBS
20823fi
20824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20825$as_echo "$ac_cv_search_nanosleep" >&6; }
20826ac_res=$ac_cv_search_nanosleep
20827if test "$ac_res" != no; then :
20828  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20829
20830fi
20831
20832    fi
20833
20834    case "$ac_cv_search_clock_gettime" in
20835      -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20836      ;;
20837    esac
20838    case "$ac_cv_search_nanosleep" in
20839      -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20840      ;;
20841    esac
20842
20843    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20844$as_echo_n "checking for library containing sched_yield... " >&6; }
20845if test "${ac_cv_search_sched_yield+set}" = set; then :
20846  $as_echo_n "(cached) " >&6
20847else
20848  ac_func_search_save_LIBS=$LIBS
20849cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20850/* end confdefs.h.  */
20851
20852/* Override any GCC internal prototype to avoid an error.
20853   Use char because int might match the return type of a GCC
20854   builtin and then its argument prototype would still apply.  */
20855#ifdef __cplusplus
20856extern "C"
20857#endif
20858char sched_yield ();
20859int
20860main ()
20861{
20862return sched_yield ();
20863  ;
20864  return 0;
20865}
20866_ACEOF
20867for ac_lib in '' rt posix4; do
20868  if test -z "$ac_lib"; then
20869    ac_res="none required"
20870  else
20871    ac_res=-l$ac_lib
20872    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20873  fi
20874  if test x$gcc_no_link = xyes; then
20875  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20876fi
20877if ac_fn_cxx_try_link "$LINENO"; then :
20878  ac_cv_search_sched_yield=$ac_res
20879fi
20880rm -f core conftest.err conftest.$ac_objext \
20881    conftest$ac_exeext
20882  if test "${ac_cv_search_sched_yield+set}" = set; then :
20883  break
20884fi
20885done
20886if test "${ac_cv_search_sched_yield+set}" = set; then :
20887
20888else
20889  ac_cv_search_sched_yield=no
20890fi
20891rm conftest.$ac_ext
20892LIBS=$ac_func_search_save_LIBS
20893fi
20894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20895$as_echo "$ac_cv_search_sched_yield" >&6; }
20896ac_res=$ac_cv_search_sched_yield
20897if test "$ac_res" != no; then :
20898  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20899
20900fi
20901
20902
20903    case "$ac_cv_search_sched_yield" in
20904      -lposix4*)
20905      GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20906      ac_has_sched_yield=yes
20907      ;;
20908      -lrt*)
20909      if test x"$enable_libstdcxx_time" = x"rt"; then
20910	GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20911        ac_has_sched_yield=yes
20912      fi
20913      ;;
20914      *)
20915      ac_has_sched_yield=yes
20916      ;;
20917    esac
20918
20919    for ac_header in unistd.h
20920do :
20921  ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20922if test "x$ac_cv_header_unistd_h" = x""yes; then :
20923  cat >>confdefs.h <<_ACEOF
20924#define HAVE_UNISTD_H 1
20925_ACEOF
20926 ac_has_unistd_h=yes
20927else
20928  ac_has_unistd_h=no
20929fi
20930
20931done
20932
20933
20934    if test x"$ac_has_unistd_h" = x"yes"; then
20935      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20936$as_echo_n "checking for monotonic clock... " >&6; }
20937      if test x$gcc_no_link = xyes; then
20938  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20939fi
20940cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20941/* end confdefs.h.  */
20942#include <unistd.h>
20943	 #include <time.h>
20944
20945int
20946main ()
20947{
20948#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20949	  timespec tp;
20950	 #endif
20951	  clock_gettime(CLOCK_MONOTONIC, &tp);
20952
20953  ;
20954  return 0;
20955}
20956_ACEOF
20957if ac_fn_cxx_try_link "$LINENO"; then :
20958  ac_has_clock_monotonic=yes
20959else
20960  ac_has_clock_monotonic=no
20961fi
20962rm -f core conftest.err conftest.$ac_objext \
20963    conftest$ac_exeext conftest.$ac_ext
20964
20965      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20966$as_echo "$ac_has_clock_monotonic" >&6; }
20967
20968      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20969$as_echo_n "checking for realtime clock... " >&6; }
20970      if test x$gcc_no_link = xyes; then
20971  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20972fi
20973cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20974/* end confdefs.h.  */
20975#include <unistd.h>
20976	 #include <time.h>
20977
20978int
20979main ()
20980{
20981#if _POSIX_TIMERS > 0
20982	  timespec tp;
20983	 #endif
20984	  clock_gettime(CLOCK_REALTIME, &tp);
20985
20986  ;
20987  return 0;
20988}
20989_ACEOF
20990if ac_fn_cxx_try_link "$LINENO"; then :
20991  ac_has_clock_realtime=yes
20992else
20993  ac_has_clock_realtime=no
20994fi
20995rm -f core conftest.err conftest.$ac_objext \
20996    conftest$ac_exeext conftest.$ac_ext
20997
20998      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20999$as_echo "$ac_has_clock_realtime" >&6; }
21000
21001      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21002$as_echo_n "checking for nanosleep... " >&6; }
21003      if test x$gcc_no_link = xyes; then
21004  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21005fi
21006cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21007/* end confdefs.h.  */
21008#include <unistd.h>
21009	 #include <time.h>
21010
21011int
21012main ()
21013{
21014#if _POSIX_TIMERS > 0
21015	  timespec tp;
21016	 #endif
21017	  nanosleep(&tp, 0);
21018
21019  ;
21020  return 0;
21021}
21022_ACEOF
21023if ac_fn_cxx_try_link "$LINENO"; then :
21024  ac_has_nanosleep=yes
21025else
21026  ac_has_nanosleep=no
21027fi
21028rm -f core conftest.err conftest.$ac_objext \
21029    conftest$ac_exeext conftest.$ac_ext
21030
21031      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21032$as_echo "$ac_has_nanosleep" >&6; }
21033    fi
21034  fi
21035
21036  if test x"$ac_has_clock_monotonic" != x"yes"; then
21037    case ${target_os} in
21038      linux*)
21039	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21040$as_echo_n "checking for clock_gettime syscall... " >&6; }
21041	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21042/* end confdefs.h.  */
21043#include <unistd.h>
21044	   #include <time.h>
21045	   #include <sys/syscall.h>
21046
21047int
21048main ()
21049{
21050#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21051	    timespec tp;
21052	   #endif
21053	   syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21054	   syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21055
21056  ;
21057  return 0;
21058}
21059_ACEOF
21060if ac_fn_cxx_try_compile "$LINENO"; then :
21061  ac_has_clock_monotonic_syscall=yes
21062else
21063  ac_has_clock_monotonic_syscall=no
21064fi
21065rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21066	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21067$as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21068	if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21069
21070$as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21071
21072	  ac_has_clock_monotonic=yes
21073	  ac_has_clock_realtime=yes
21074	fi;;
21075    esac
21076  fi
21077
21078  if test x"$ac_has_clock_monotonic" = x"yes"; then
21079
21080$as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21081
21082  fi
21083
21084  if test x"$ac_has_clock_realtime" = x"yes"; then
21085
21086$as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21087
21088  fi
21089
21090  if test x"$ac_has_sched_yield" = x"yes"; then
21091
21092$as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21093
21094  fi
21095
21096  if test x"$ac_has_nanosleep" = x"yes"; then
21097
21098$as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21099
21100  else
21101      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21102$as_echo_n "checking for sleep... " >&6; }
21103      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21104/* end confdefs.h.  */
21105#include <unistd.h>
21106int
21107main ()
21108{
21109sleep(1)
21110  ;
21111  return 0;
21112}
21113_ACEOF
21114if ac_fn_cxx_try_compile "$LINENO"; then :
21115  ac_has_sleep=yes
21116else
21117  ac_has_sleep=no
21118fi
21119rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21120      if test x"$ac_has_sleep" = x"yes"; then
21121
21122$as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21123
21124      fi
21125      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21126$as_echo "$ac_has_sleep" >&6; }
21127      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21128$as_echo_n "checking for usleep... " >&6; }
21129      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21130/* end confdefs.h.  */
21131#include <unistd.h>
21132int
21133main ()
21134{
21135sleep(1);
21136                      usleep(100);
21137  ;
21138  return 0;
21139}
21140_ACEOF
21141if ac_fn_cxx_try_compile "$LINENO"; then :
21142  ac_has_usleep=yes
21143else
21144  ac_has_usleep=no
21145fi
21146rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21147      if test x"$ac_has_usleep" = x"yes"; then
21148
21149$as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21150
21151      fi
21152      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21153$as_echo "$ac_has_usleep" >&6; }
21154  fi
21155
21156  if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21157      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21158$as_echo_n "checking for Sleep... " >&6; }
21159      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21160/* end confdefs.h.  */
21161#include <windows.h>
21162int
21163main ()
21164{
21165Sleep(1)
21166  ;
21167  return 0;
21168}
21169_ACEOF
21170if ac_fn_cxx_try_compile "$LINENO"; then :
21171  ac_has_win32_sleep=yes
21172else
21173  ac_has_win32_sleep=no
21174fi
21175rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21176      if test x"$ac_has_win32_sleep" = x"yes"; then
21177
21178$as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21179
21180      fi
21181      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21182$as_echo "$ac_has_win32_sleep" >&6; }
21183  fi
21184
21185
21186
21187  CXXFLAGS="$ac_save_CXXFLAGS"
21188  LIBS="$ac_save_LIBS"
21189  ac_ext=c
21190ac_cpp='$CPP $CPPFLAGS'
21191ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21192ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21193ac_compiler_gnu=$ac_cv_c_compiler_gnu
21194
21195
21196
21197# Check for tmpnam which is obsolescent in POSIX.1-2008
21198
21199  ac_ext=cpp
21200ac_cpp='$CXXCPP $CPPFLAGS'
21201ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21202ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21203ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21204
21205  ac_save_CXXFLAGS="$CXXFLAGS"
21206  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21207  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21208$as_echo_n "checking for tmpnam... " >&6; }
21209  if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21210  $as_echo_n "(cached) " >&6
21211else
21212      if test x$gcc_no_link = xyes; then
21213  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21214/* end confdefs.h.  */
21215#include <stdio.h>
21216int
21217main ()
21218{
21219char *tmp = tmpnam(NULL);
21220  ;
21221  return 0;
21222}
21223_ACEOF
21224if ac_fn_cxx_try_compile "$LINENO"; then :
21225  glibcxx_cv_TMPNAM=yes
21226else
21227  glibcxx_cv_TMPNAM=no
21228fi
21229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21230else
21231  if test x$gcc_no_link = xyes; then
21232  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21233fi
21234cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21235/* end confdefs.h.  */
21236#include <stdio.h>
21237int
21238main ()
21239{
21240char *tmp = tmpnam(NULL);
21241  ;
21242  return 0;
21243}
21244_ACEOF
21245if ac_fn_cxx_try_link "$LINENO"; then :
21246  glibcxx_cv_TMPNAM=yes
21247else
21248  glibcxx_cv_TMPNAM=no
21249fi
21250rm -f core conftest.err conftest.$ac_objext \
21251    conftest$ac_exeext conftest.$ac_ext
21252fi
21253
21254fi
21255
21256  if test $glibcxx_cv_TMPNAM = yes; then
21257
21258$as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21259
21260  fi
21261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21262$as_echo "$glibcxx_cv_TMPNAM" >&6; }
21263  CXXFLAGS="$ac_save_CXXFLAGS"
21264  ac_ext=c
21265ac_cpp='$CPP $CPPFLAGS'
21266ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21267ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21268ac_compiler_gnu=$ac_cv_c_compiler_gnu
21269
21270
21271
21272
21273  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21274if test "x$ac_cv_header_locale_h" = x""yes; then :
21275
21276    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21277$as_echo_n "checking for LC_MESSAGES... " >&6; }
21278if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21279  $as_echo_n "(cached) " >&6
21280else
21281  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21282/* end confdefs.h.  */
21283#include <locale.h>
21284int
21285main ()
21286{
21287return LC_MESSAGES
21288  ;
21289  return 0;
21290}
21291_ACEOF
21292if ac_fn_c_try_compile "$LINENO"; then :
21293  ac_cv_val_LC_MESSAGES=yes
21294else
21295  ac_cv_val_LC_MESSAGES=no
21296fi
21297rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21298fi
21299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21300$as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21301    if test $ac_cv_val_LC_MESSAGES = yes; then
21302
21303$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21304
21305    fi
21306
21307fi
21308
21309
21310
21311
21312# For hardware_concurrency
21313for ac_header in sys/sysinfo.h
21314do :
21315  ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21316if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21317  cat >>confdefs.h <<_ACEOF
21318#define HAVE_SYS_SYSINFO_H 1
21319_ACEOF
21320
21321fi
21322
21323done
21324
21325
21326
21327
21328  ac_ext=cpp
21329ac_cpp='$CXXCPP $CPPFLAGS'
21330ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21331ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21332ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21333
21334  ac_save_CXXFLAGS="$CXXFLAGS"
21335  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21336
21337  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21338$as_echo_n "checking for get_nprocs... " >&6; }
21339  if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21340  $as_echo_n "(cached) " >&6
21341else
21342
21343    if test x$gcc_no_link = xyes; then
21344  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21345/* end confdefs.h.  */
21346#include <sys/sysinfo.h>
21347int
21348main ()
21349{
21350int n = get_nprocs();
21351  ;
21352  return 0;
21353}
21354_ACEOF
21355if ac_fn_cxx_try_compile "$LINENO"; then :
21356  glibcxx_cv_GET_NPROCS=yes
21357else
21358  glibcxx_cv_GET_NPROCS=no
21359fi
21360rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21361else
21362  if test x$gcc_no_link = xyes; then
21363  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21364fi
21365cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21366/* end confdefs.h.  */
21367#include <sys/sysinfo.h>
21368int
21369main ()
21370{
21371int n = get_nprocs();
21372  ;
21373  return 0;
21374}
21375_ACEOF
21376if ac_fn_cxx_try_link "$LINENO"; then :
21377  glibcxx_cv_GET_NPROCS=yes
21378else
21379  glibcxx_cv_GET_NPROCS=no
21380fi
21381rm -f core conftest.err conftest.$ac_objext \
21382    conftest$ac_exeext conftest.$ac_ext
21383fi
21384
21385fi
21386
21387  if test $glibcxx_cv_GET_NPROCS = yes; then
21388
21389$as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21390
21391  fi
21392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21393$as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21394
21395  CXXFLAGS="$ac_save_CXXFLAGS"
21396  ac_ext=c
21397ac_cpp='$CPP $CPPFLAGS'
21398ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21399ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21400ac_compiler_gnu=$ac_cv_c_compiler_gnu
21401
21402
21403for ac_header in unistd.h
21404do :
21405  ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21406if test "x$ac_cv_header_unistd_h" = x""yes; then :
21407  cat >>confdefs.h <<_ACEOF
21408#define HAVE_UNISTD_H 1
21409_ACEOF
21410
21411fi
21412
21413done
21414
21415
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  ac_save_CXXFLAGS="$CXXFLAGS"
21425  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21426
21427  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21428$as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21429  if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21430  $as_echo_n "(cached) " >&6
21431else
21432
21433    if test x$gcc_no_link = xyes; then
21434  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21435/* end confdefs.h.  */
21436#include <unistd.h>
21437int
21438main ()
21439{
21440int n = sysconf(_SC_NPROCESSORS_ONLN);
21441  ;
21442  return 0;
21443}
21444_ACEOF
21445if ac_fn_cxx_try_compile "$LINENO"; then :
21446  glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21447else
21448  glibcxx_cv_SC_NPROCESSORS_ONLN=no
21449fi
21450rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21451else
21452  if test x$gcc_no_link = xyes; then
21453  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21454fi
21455cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21456/* end confdefs.h.  */
21457#include <unistd.h>
21458int
21459main ()
21460{
21461int n = sysconf(_SC_NPROCESSORS_ONLN);
21462  ;
21463  return 0;
21464}
21465_ACEOF
21466if ac_fn_cxx_try_link "$LINENO"; then :
21467  glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21468else
21469  glibcxx_cv_SC_NPROCESSORS_ONLN=no
21470fi
21471rm -f core conftest.err conftest.$ac_objext \
21472    conftest$ac_exeext conftest.$ac_ext
21473fi
21474
21475fi
21476
21477  if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21478
21479$as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21480
21481  fi
21482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21483$as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21484
21485  CXXFLAGS="$ac_save_CXXFLAGS"
21486  ac_ext=c
21487ac_cpp='$CPP $CPPFLAGS'
21488ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21489ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21490ac_compiler_gnu=$ac_cv_c_compiler_gnu
21491
21492
21493
21494
21495
21496  ac_ext=cpp
21497ac_cpp='$CXXCPP $CPPFLAGS'
21498ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21499ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21500ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21501
21502  ac_save_CXXFLAGS="$CXXFLAGS"
21503  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21504
21505  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21506$as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21507  if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21508  $as_echo_n "(cached) " >&6
21509else
21510
21511    if test x$gcc_no_link = xyes; then
21512  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21513/* end confdefs.h.  */
21514#include <unistd.h>
21515int
21516main ()
21517{
21518int n = sysconf(_SC_NPROC_ONLN);
21519  ;
21520  return 0;
21521}
21522_ACEOF
21523if ac_fn_cxx_try_compile "$LINENO"; then :
21524  glibcxx_cv_SC_NPROC_ONLN=yes
21525else
21526  glibcxx_cv_SC_NPROC_ONLN=no
21527fi
21528rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21529else
21530  if test x$gcc_no_link = xyes; then
21531  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21532fi
21533cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21534/* end confdefs.h.  */
21535#include <unistd.h>
21536int
21537main ()
21538{
21539int n = sysconf(_SC_NPROC_ONLN);
21540  ;
21541  return 0;
21542}
21543_ACEOF
21544if ac_fn_cxx_try_link "$LINENO"; then :
21545  glibcxx_cv_SC_NPROC_ONLN=yes
21546else
21547  glibcxx_cv_SC_NPROC_ONLN=no
21548fi
21549rm -f core conftest.err conftest.$ac_objext \
21550    conftest$ac_exeext conftest.$ac_ext
21551fi
21552
21553fi
21554
21555  if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21556
21557$as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21558
21559  fi
21560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21561$as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21562
21563  CXXFLAGS="$ac_save_CXXFLAGS"
21564  ac_ext=c
21565ac_cpp='$CPP $CPPFLAGS'
21566ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21567ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21568ac_compiler_gnu=$ac_cv_c_compiler_gnu
21569
21570
21571
21572
21573
21574  ac_ext=cpp
21575ac_cpp='$CXXCPP $CPPFLAGS'
21576ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21577ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21578ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21579
21580  ac_save_CXXFLAGS="$CXXFLAGS"
21581  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21582
21583  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21584$as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21585  if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21586  $as_echo_n "(cached) " >&6
21587else
21588
21589    if test x$gcc_no_link = xyes; then
21590  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21591/* end confdefs.h.  */
21592#include <pthread.h>
21593int
21594main ()
21595{
21596int n = pthread_num_processors_np();
21597  ;
21598  return 0;
21599}
21600_ACEOF
21601if ac_fn_cxx_try_compile "$LINENO"; then :
21602  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21603else
21604  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21605fi
21606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21607else
21608  if test x$gcc_no_link = xyes; then
21609  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21610fi
21611cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21612/* end confdefs.h.  */
21613#include <pthread.h>
21614int
21615main ()
21616{
21617int n = pthread_num_processors_np();
21618  ;
21619  return 0;
21620}
21621_ACEOF
21622if ac_fn_cxx_try_link "$LINENO"; then :
21623  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21624else
21625  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21626fi
21627rm -f core conftest.err conftest.$ac_objext \
21628    conftest$ac_exeext conftest.$ac_ext
21629fi
21630
21631fi
21632
21633  if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21634
21635$as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21636
21637  fi
21638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21639$as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21640
21641  CXXFLAGS="$ac_save_CXXFLAGS"
21642  ac_ext=c
21643ac_cpp='$CPP $CPPFLAGS'
21644ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21645ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21646ac_compiler_gnu=$ac_cv_c_compiler_gnu
21647
21648
21649
21650
21651
21652  ac_ext=cpp
21653ac_cpp='$CXXCPP $CPPFLAGS'
21654ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21655ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21656ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21657
21658  ac_save_CXXFLAGS="$CXXFLAGS"
21659  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21660
21661  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21662$as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21663  if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21664  $as_echo_n "(cached) " >&6
21665else
21666
21667    if test x$gcc_no_link = xyes; then
21668  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21669/* end confdefs.h.  */
21670
21671       #include <stddef.h>
21672       #include <sys/sysctl.h>
21673
21674int
21675main ()
21676{
21677
21678       int count;
21679       size_t size = sizeof(count);
21680       int mib[] = { CTL_HW, HW_NCPU };
21681       sysctl(mib, 2, &count, &size, NULL, 0);
21682
21683  ;
21684  return 0;
21685}
21686_ACEOF
21687if ac_fn_cxx_try_compile "$LINENO"; then :
21688  glibcxx_cv_SYSCTL_HW_NCPU=yes
21689else
21690  glibcxx_cv_SYSCTL_HW_NCPU=no
21691fi
21692rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21693else
21694  if test x$gcc_no_link = xyes; then
21695  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21696fi
21697cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21698/* end confdefs.h.  */
21699
21700       #include <stddef.h>
21701       #include <sys/sysctl.h>
21702
21703int
21704main ()
21705{
21706
21707       int count;
21708       size_t size = sizeof(count);
21709       int mib[] = { CTL_HW, HW_NCPU };
21710       sysctl(mib, 2, &count, &size, NULL, 0);
21711
21712  ;
21713  return 0;
21714}
21715_ACEOF
21716if ac_fn_cxx_try_link "$LINENO"; then :
21717  glibcxx_cv_SYSCTL_HW_NCPU=yes
21718else
21719  glibcxx_cv_SYSCTL_HW_NCPU=no
21720fi
21721rm -f core conftest.err conftest.$ac_objext \
21722    conftest$ac_exeext conftest.$ac_ext
21723fi
21724
21725fi
21726
21727  if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21728
21729$as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21730
21731  fi
21732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21733$as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21734
21735  CXXFLAGS="$ac_save_CXXFLAGS"
21736  ac_ext=c
21737ac_cpp='$CPP $CPPFLAGS'
21738ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21739ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21740ac_compiler_gnu=$ac_cv_c_compiler_gnu
21741
21742
21743
21744  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21745$as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21746  # Note that this test has to be run with the C language.
21747  # Otherwise, sdt.h will try to include some headers from
21748  # libstdc++ itself.
21749
21750  ac_ext=c
21751ac_cpp='$CPP $CPPFLAGS'
21752ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21753ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21754ac_compiler_gnu=$ac_cv_c_compiler_gnu
21755
21756  if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21757  $as_echo_n "(cached) " >&6
21758else
21759
21760    # Because we have to run the test in C, we use grep rather
21761    # than the compiler to check for the bug.  The bug is that
21762    # were strings without trailing whitespace, causing g++
21763    # to look for operator"".  The pattern searches for the fixed
21764    # output.
21765    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21766/* end confdefs.h.  */
21767
21768      #include <sys/sdt.h>
21769      int f() { STAP_PROBE(hi, bob); }
21770
21771_ACEOF
21772if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21773  $EGREP " \",\" " >/dev/null 2>&1; then :
21774  glibcxx_cv_sys_sdt_h=yes
21775else
21776  glibcxx_cv_sys_sdt_h=no
21777fi
21778rm -f conftest*
21779
21780
21781fi
21782
21783  ac_ext=c
21784ac_cpp='$CPP $CPPFLAGS'
21785ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21786ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21787ac_compiler_gnu=$ac_cv_c_compiler_gnu
21788
21789  if test $glibcxx_cv_sys_sdt_h = yes; then
21790
21791$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21792
21793  fi
21794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21795$as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21796
21797
21798# Check for available headers.
21799for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21800locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21801strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21802sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21803wchar.h wctype.h
21804do :
21805  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21806ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21807eval as_val=\$$as_ac_Header
21808   if test "x$as_val" = x""yes; then :
21809  cat >>confdefs.h <<_ACEOF
21810#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21811_ACEOF
21812
21813fi
21814
21815done
21816
21817
21818# Only do link tests if native. Else, hardcode.
21819if $GLIBCXX_IS_NATIVE; then
21820
21821  # We can do more elaborate tests that assume a working linker.
21822  CANADIAN=no
21823
21824
21825
21826# Check whether --with-gnu-ld was given.
21827if test "${with_gnu_ld+set}" = set; then :
21828  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21829else
21830  with_gnu_ld=no
21831fi
21832
21833ac_prog=ld
21834if test "$GCC" = yes; then
21835  # Check if gcc -print-prog-name=ld gives a path.
21836  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21837$as_echo_n "checking for ld used by $CC... " >&6; }
21838  case $host in
21839  *-*-mingw*)
21840    # gcc leaves a trailing carriage return which upsets mingw
21841    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21842  *)
21843    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21844  esac
21845  case $ac_prog in
21846    # Accept absolute paths.
21847    [\\/]* | ?:[\\/]*)
21848      re_direlt='/[^/][^/]*/\.\./'
21849      # Canonicalize the pathname of ld
21850      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21851      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21852	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21853      done
21854      test -z "$LD" && LD="$ac_prog"
21855      ;;
21856  "")
21857    # If it fails, then pretend we aren't using GCC.
21858    ac_prog=ld
21859    ;;
21860  *)
21861    # If it is relative, then search for the first ld in PATH.
21862    with_gnu_ld=unknown
21863    ;;
21864  esac
21865elif test "$with_gnu_ld" = yes; then
21866  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21867$as_echo_n "checking for GNU ld... " >&6; }
21868else
21869  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21870$as_echo_n "checking for non-GNU ld... " >&6; }
21871fi
21872if test "${lt_cv_path_LD+set}" = set; then :
21873  $as_echo_n "(cached) " >&6
21874else
21875  if test -z "$LD"; then
21876  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21877  for ac_dir in $PATH; do
21878    IFS="$lt_save_ifs"
21879    test -z "$ac_dir" && ac_dir=.
21880    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21881      lt_cv_path_LD="$ac_dir/$ac_prog"
21882      # Check to see if the program is GNU ld.  I'd rather use --version,
21883      # but apparently some variants of GNU ld only accept -v.
21884      # Break only if it was the GNU/non-GNU ld that we prefer.
21885      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21886      *GNU* | *'with BFD'*)
21887	test "$with_gnu_ld" != no && break
21888	;;
21889      *)
21890	test "$with_gnu_ld" != yes && break
21891	;;
21892      esac
21893    fi
21894  done
21895  IFS="$lt_save_ifs"
21896else
21897  lt_cv_path_LD="$LD" # Let the user override the test with a path.
21898fi
21899fi
21900
21901LD="$lt_cv_path_LD"
21902if test -n "$LD"; then
21903  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21904$as_echo "$LD" >&6; }
21905else
21906  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21907$as_echo "no" >&6; }
21908fi
21909test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21911$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21912if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21913  $as_echo_n "(cached) " >&6
21914else
21915  # I'd rather use --version here, but apparently some GNU lds only accept -v.
21916case `$LD -v 2>&1 </dev/null` in
21917*GNU* | *'with BFD'*)
21918  lt_cv_prog_gnu_ld=yes
21919  ;;
21920*)
21921  lt_cv_prog_gnu_ld=no
21922  ;;
21923esac
21924fi
21925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21926$as_echo "$lt_cv_prog_gnu_ld" >&6; }
21927with_gnu_ld=$lt_cv_prog_gnu_ld
21928
21929
21930
21931
21932
21933
21934
21935  # If we're not using GNU ld, then there's no point in even trying these
21936  # tests.  Check for that first.  We should have already tested for gld
21937  # by now (in libtool), but require it now just to be safe...
21938  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21939  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21940
21941
21942
21943  # The name set by libtool depends on the version of libtool.  Shame on us
21944  # for depending on an impl detail, but c'est la vie.  Older versions used
21945  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21946  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21947  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
21948  # set (hence we're using an older libtool), then set it.
21949  if test x${with_gnu_ld+set} != xset; then
21950    if test x${ac_cv_prog_gnu_ld+set} != xset; then
21951      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
21952      with_gnu_ld=no
21953    else
21954      with_gnu_ld=$ac_cv_prog_gnu_ld
21955    fi
21956  fi
21957
21958  # Start by getting the version number.  I think the libtool test already
21959  # does some of this, but throws away the result.
21960  glibcxx_ld_is_gold=no
21961  if test x"$with_gnu_ld" = x"yes"; then
21962    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21963$as_echo_n "checking for ld version... " >&6; }
21964
21965    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21966      glibcxx_ld_is_gold=yes
21967    fi
21968    ldver=`$LD --version 2>/dev/null |
21969	   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'`
21970
21971    glibcxx_gnu_ld_version=`echo $ldver | \
21972	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21973    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21974$as_echo "$glibcxx_gnu_ld_version" >&6; }
21975  fi
21976
21977  # Set --gc-sections.
21978  glibcxx_have_gc_sections=no
21979  if test "$glibcxx_ld_is_gold" = "yes"; then
21980    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21981      glibcxx_have_gc_sections=yes
21982    fi
21983  else
21984    glibcxx_gcsections_min_ld=21602
21985    if test x"$with_gnu_ld" = x"yes" &&
21986	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21987      glibcxx_have_gc_sections=yes
21988    fi
21989  fi
21990  if test "$glibcxx_have_gc_sections" = "yes"; then
21991    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
21992    # NB: This flag only works reliably after 2.16.1. Configure tests
21993    # for this are difficult, so hard wire a value that should work.
21994
21995    ac_test_CFLAGS="${CFLAGS+set}"
21996    ac_save_CFLAGS="$CFLAGS"
21997    CFLAGS='-Wl,--gc-sections'
21998
21999    # Check for -Wl,--gc-sections
22000    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22001$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22002    if test x$gcc_no_link = xyes; then
22003  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22004fi
22005cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22006/* end confdefs.h.  */
22007 int one(void) { return 1; }
22008     int two(void) { return 2; }
22009
22010int
22011main ()
22012{
22013 two();
22014  ;
22015  return 0;
22016}
22017_ACEOF
22018if ac_fn_c_try_link "$LINENO"; then :
22019  ac_gcsections=yes
22020else
22021  ac_gcsections=no
22022fi
22023rm -f core conftest.err conftest.$ac_objext \
22024    conftest$ac_exeext conftest.$ac_ext
22025    if test "$ac_gcsections" = "yes"; then
22026      rm -f conftest.c
22027      touch conftest.c
22028      if $CC -c conftest.c; then
22029	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22030	   grep "Warning: gc-sections option ignored" > /dev/null; then
22031	  ac_gcsections=no
22032	fi
22033      fi
22034      rm -f conftest.c conftest.o conftest
22035    fi
22036    if test "$ac_gcsections" = "yes"; then
22037      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22038    fi
22039    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22040$as_echo "$ac_gcsections" >&6; }
22041
22042    if test "$ac_test_CFLAGS" = set; then
22043      CFLAGS="$ac_save_CFLAGS"
22044    else
22045      # this is the suspicious part
22046      CFLAGS=''
22047    fi
22048  fi
22049
22050  # Set -z,relro.
22051  # Note this is only for shared objects.
22052  ac_ld_relro=no
22053  if test x"$with_gnu_ld" = x"yes"; then
22054    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22055$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22056    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22057    if test -n "$cxx_z_relo"; then
22058      OPT_LDFLAGS="-Wl,-z,relro"
22059      ac_ld_relro=yes
22060    fi
22061    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22062$as_echo "$ac_ld_relro" >&6; }
22063  fi
22064
22065  # Set linker optimization flags.
22066  if test x"$with_gnu_ld" = x"yes"; then
22067    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22068  fi
22069
22070
22071
22072
22073
22074  ac_test_CXXFLAGS="${CXXFLAGS+set}"
22075  ac_save_CXXFLAGS="$CXXFLAGS"
22076  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22077
22078    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22079$as_echo_n "checking for sin in -lm... " >&6; }
22080if test "${ac_cv_lib_m_sin+set}" = set; then :
22081  $as_echo_n "(cached) " >&6
22082else
22083  ac_check_lib_save_LIBS=$LIBS
22084LIBS="-lm  $LIBS"
22085if test x$gcc_no_link = xyes; then
22086  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22087fi
22088cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22089/* end confdefs.h.  */
22090
22091/* Override any GCC internal prototype to avoid an error.
22092   Use char because int might match the return type of a GCC
22093   builtin and then its argument prototype would still apply.  */
22094#ifdef __cplusplus
22095extern "C"
22096#endif
22097char sin ();
22098int
22099main ()
22100{
22101return sin ();
22102  ;
22103  return 0;
22104}
22105_ACEOF
22106if ac_fn_c_try_link "$LINENO"; then :
22107  ac_cv_lib_m_sin=yes
22108else
22109  ac_cv_lib_m_sin=no
22110fi
22111rm -f core conftest.err conftest.$ac_objext \
22112    conftest$ac_exeext conftest.$ac_ext
22113LIBS=$ac_check_lib_save_LIBS
22114fi
22115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22116$as_echo "$ac_cv_lib_m_sin" >&6; }
22117if test "x$ac_cv_lib_m_sin" = x""yes; then :
22118  libm="-lm"
22119fi
22120
22121  ac_save_LIBS="$LIBS"
22122  LIBS="$LIBS $libm"
22123
22124
22125
22126  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22127$as_echo_n "checking for isinf declaration... " >&6; }
22128  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22129    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22130  $as_echo_n "(cached) " >&6
22131else
22132
22133
22134      ac_ext=cpp
22135ac_cpp='$CXXCPP $CPPFLAGS'
22136ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22137ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22138ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22139
22140      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22141/* end confdefs.h.  */
22142#include <math.h>
22143		      #ifdef HAVE_IEEEFP_H
22144		      #include <ieeefp.h>
22145		      #endif
22146
22147int
22148main ()
22149{
22150 isinf(0);
22151  ;
22152  return 0;
22153}
22154_ACEOF
22155if ac_fn_cxx_try_compile "$LINENO"; then :
22156  glibcxx_cv_func_isinf_use=yes
22157else
22158  glibcxx_cv_func_isinf_use=no
22159fi
22160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22161      ac_ext=c
22162ac_cpp='$CPP $CPPFLAGS'
22163ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22164ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22165ac_compiler_gnu=$ac_cv_c_compiler_gnu
22166
22167
22168fi
22169
22170  fi
22171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22172$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22173
22174  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22175    for ac_func in isinf
22176do :
22177  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22178if test "x$ac_cv_func_isinf" = x""yes; then :
22179  cat >>confdefs.h <<_ACEOF
22180#define HAVE_ISINF 1
22181_ACEOF
22182
22183fi
22184done
22185
22186  else
22187
22188  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22189$as_echo_n "checking for _isinf declaration... " >&6; }
22190  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22191    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22192  $as_echo_n "(cached) " >&6
22193else
22194
22195
22196      ac_ext=cpp
22197ac_cpp='$CXXCPP $CPPFLAGS'
22198ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22199ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22200ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22201
22202      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22203/* end confdefs.h.  */
22204#include <math.h>
22205		      #ifdef HAVE_IEEEFP_H
22206		      #include <ieeefp.h>
22207		      #endif
22208
22209int
22210main ()
22211{
22212 _isinf(0);
22213  ;
22214  return 0;
22215}
22216_ACEOF
22217if ac_fn_cxx_try_compile "$LINENO"; then :
22218  glibcxx_cv_func__isinf_use=yes
22219else
22220  glibcxx_cv_func__isinf_use=no
22221fi
22222rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22223      ac_ext=c
22224ac_cpp='$CPP $CPPFLAGS'
22225ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22226ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22227ac_compiler_gnu=$ac_cv_c_compiler_gnu
22228
22229
22230fi
22231
22232  fi
22233  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22234$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22235
22236    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22237      for ac_func in _isinf
22238do :
22239  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22240if test "x$ac_cv_func__isinf" = x""yes; then :
22241  cat >>confdefs.h <<_ACEOF
22242#define HAVE__ISINF 1
22243_ACEOF
22244
22245fi
22246done
22247
22248    fi
22249  fi
22250
22251
22252
22253
22254
22255  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22256$as_echo_n "checking for isnan declaration... " >&6; }
22257  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22258    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22259  $as_echo_n "(cached) " >&6
22260else
22261
22262
22263      ac_ext=cpp
22264ac_cpp='$CXXCPP $CPPFLAGS'
22265ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22266ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22267ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22268
22269      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22270/* end confdefs.h.  */
22271#include <math.h>
22272		      #ifdef HAVE_IEEEFP_H
22273		      #include <ieeefp.h>
22274		      #endif
22275
22276int
22277main ()
22278{
22279 isnan(0);
22280  ;
22281  return 0;
22282}
22283_ACEOF
22284if ac_fn_cxx_try_compile "$LINENO"; then :
22285  glibcxx_cv_func_isnan_use=yes
22286else
22287  glibcxx_cv_func_isnan_use=no
22288fi
22289rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22290      ac_ext=c
22291ac_cpp='$CPP $CPPFLAGS'
22292ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22293ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22294ac_compiler_gnu=$ac_cv_c_compiler_gnu
22295
22296
22297fi
22298
22299  fi
22300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22301$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22302
22303  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22304    for ac_func in isnan
22305do :
22306  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22307if test "x$ac_cv_func_isnan" = x""yes; then :
22308  cat >>confdefs.h <<_ACEOF
22309#define HAVE_ISNAN 1
22310_ACEOF
22311
22312fi
22313done
22314
22315  else
22316
22317  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22318$as_echo_n "checking for _isnan declaration... " >&6; }
22319  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22320    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22321  $as_echo_n "(cached) " >&6
22322else
22323
22324
22325      ac_ext=cpp
22326ac_cpp='$CXXCPP $CPPFLAGS'
22327ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22328ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22329ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22330
22331      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22332/* end confdefs.h.  */
22333#include <math.h>
22334		      #ifdef HAVE_IEEEFP_H
22335		      #include <ieeefp.h>
22336		      #endif
22337
22338int
22339main ()
22340{
22341 _isnan(0);
22342  ;
22343  return 0;
22344}
22345_ACEOF
22346if ac_fn_cxx_try_compile "$LINENO"; then :
22347  glibcxx_cv_func__isnan_use=yes
22348else
22349  glibcxx_cv_func__isnan_use=no
22350fi
22351rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22352      ac_ext=c
22353ac_cpp='$CPP $CPPFLAGS'
22354ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22355ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22356ac_compiler_gnu=$ac_cv_c_compiler_gnu
22357
22358
22359fi
22360
22361  fi
22362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22363$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22364
22365    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22366      for ac_func in _isnan
22367do :
22368  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22369if test "x$ac_cv_func__isnan" = x""yes; then :
22370  cat >>confdefs.h <<_ACEOF
22371#define HAVE__ISNAN 1
22372_ACEOF
22373
22374fi
22375done
22376
22377    fi
22378  fi
22379
22380
22381
22382
22383
22384  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22385$as_echo_n "checking for finite declaration... " >&6; }
22386  if test x${glibcxx_cv_func_finite_use+set} != xset; then
22387    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22388  $as_echo_n "(cached) " >&6
22389else
22390
22391
22392      ac_ext=cpp
22393ac_cpp='$CXXCPP $CPPFLAGS'
22394ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22395ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22396ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22397
22398      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22399/* end confdefs.h.  */
22400#include <math.h>
22401		      #ifdef HAVE_IEEEFP_H
22402		      #include <ieeefp.h>
22403		      #endif
22404
22405int
22406main ()
22407{
22408 finite(0);
22409  ;
22410  return 0;
22411}
22412_ACEOF
22413if ac_fn_cxx_try_compile "$LINENO"; then :
22414  glibcxx_cv_func_finite_use=yes
22415else
22416  glibcxx_cv_func_finite_use=no
22417fi
22418rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22419      ac_ext=c
22420ac_cpp='$CPP $CPPFLAGS'
22421ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22422ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22423ac_compiler_gnu=$ac_cv_c_compiler_gnu
22424
22425
22426fi
22427
22428  fi
22429  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22430$as_echo "$glibcxx_cv_func_finite_use" >&6; }
22431
22432  if test x$glibcxx_cv_func_finite_use = x"yes"; then
22433    for ac_func in finite
22434do :
22435  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22436if test "x$ac_cv_func_finite" = x""yes; then :
22437  cat >>confdefs.h <<_ACEOF
22438#define HAVE_FINITE 1
22439_ACEOF
22440
22441fi
22442done
22443
22444  else
22445
22446  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22447$as_echo_n "checking for _finite declaration... " >&6; }
22448  if test x${glibcxx_cv_func__finite_use+set} != xset; then
22449    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22450  $as_echo_n "(cached) " >&6
22451else
22452
22453
22454      ac_ext=cpp
22455ac_cpp='$CXXCPP $CPPFLAGS'
22456ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22457ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22458ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22459
22460      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22461/* end confdefs.h.  */
22462#include <math.h>
22463		      #ifdef HAVE_IEEEFP_H
22464		      #include <ieeefp.h>
22465		      #endif
22466
22467int
22468main ()
22469{
22470 _finite(0);
22471  ;
22472  return 0;
22473}
22474_ACEOF
22475if ac_fn_cxx_try_compile "$LINENO"; then :
22476  glibcxx_cv_func__finite_use=yes
22477else
22478  glibcxx_cv_func__finite_use=no
22479fi
22480rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22481      ac_ext=c
22482ac_cpp='$CPP $CPPFLAGS'
22483ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22484ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22485ac_compiler_gnu=$ac_cv_c_compiler_gnu
22486
22487
22488fi
22489
22490  fi
22491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22492$as_echo "$glibcxx_cv_func__finite_use" >&6; }
22493
22494    if test x$glibcxx_cv_func__finite_use = x"yes"; then
22495      for ac_func in _finite
22496do :
22497  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22498if test "x$ac_cv_func__finite" = x""yes; then :
22499  cat >>confdefs.h <<_ACEOF
22500#define HAVE__FINITE 1
22501_ACEOF
22502
22503fi
22504done
22505
22506    fi
22507  fi
22508
22509
22510
22511
22512
22513  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22514$as_echo_n "checking for sincos declaration... " >&6; }
22515  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22516    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22517  $as_echo_n "(cached) " >&6
22518else
22519
22520
22521      ac_ext=cpp
22522ac_cpp='$CXXCPP $CPPFLAGS'
22523ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22524ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22525ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22526
22527      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22528/* end confdefs.h.  */
22529#include <math.h>
22530int
22531main ()
22532{
22533 sincos(0, 0, 0);
22534  ;
22535  return 0;
22536}
22537_ACEOF
22538if ac_fn_cxx_try_compile "$LINENO"; then :
22539  glibcxx_cv_func_sincos_use=yes
22540else
22541  glibcxx_cv_func_sincos_use=no
22542fi
22543rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22544      ac_ext=c
22545ac_cpp='$CPP $CPPFLAGS'
22546ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22547ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22548ac_compiler_gnu=$ac_cv_c_compiler_gnu
22549
22550
22551fi
22552
22553  fi
22554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22555$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22556
22557  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22558    for ac_func in sincos
22559do :
22560  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22561if test "x$ac_cv_func_sincos" = x""yes; then :
22562  cat >>confdefs.h <<_ACEOF
22563#define HAVE_SINCOS 1
22564_ACEOF
22565
22566fi
22567done
22568
22569  else
22570
22571  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22572$as_echo_n "checking for _sincos declaration... " >&6; }
22573  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22574    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22575  $as_echo_n "(cached) " >&6
22576else
22577
22578
22579      ac_ext=cpp
22580ac_cpp='$CXXCPP $CPPFLAGS'
22581ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22582ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22583ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22584
22585      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22586/* end confdefs.h.  */
22587#include <math.h>
22588int
22589main ()
22590{
22591 _sincos(0, 0, 0);
22592  ;
22593  return 0;
22594}
22595_ACEOF
22596if ac_fn_cxx_try_compile "$LINENO"; then :
22597  glibcxx_cv_func__sincos_use=yes
22598else
22599  glibcxx_cv_func__sincos_use=no
22600fi
22601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22602      ac_ext=c
22603ac_cpp='$CPP $CPPFLAGS'
22604ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22605ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22606ac_compiler_gnu=$ac_cv_c_compiler_gnu
22607
22608
22609fi
22610
22611  fi
22612  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22613$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22614
22615    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22616      for ac_func in _sincos
22617do :
22618  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22619if test "x$ac_cv_func__sincos" = x""yes; then :
22620  cat >>confdefs.h <<_ACEOF
22621#define HAVE__SINCOS 1
22622_ACEOF
22623
22624fi
22625done
22626
22627    fi
22628  fi
22629
22630
22631
22632
22633
22634  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22635$as_echo_n "checking for fpclass declaration... " >&6; }
22636  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22637    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22638  $as_echo_n "(cached) " >&6
22639else
22640
22641
22642      ac_ext=cpp
22643ac_cpp='$CXXCPP $CPPFLAGS'
22644ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22645ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22646ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22647
22648      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22649/* end confdefs.h.  */
22650#include <math.h>
22651		      #ifdef HAVE_IEEEFP_H
22652		      #include <ieeefp.h>
22653		      #endif
22654
22655int
22656main ()
22657{
22658 fpclass(0);
22659  ;
22660  return 0;
22661}
22662_ACEOF
22663if ac_fn_cxx_try_compile "$LINENO"; then :
22664  glibcxx_cv_func_fpclass_use=yes
22665else
22666  glibcxx_cv_func_fpclass_use=no
22667fi
22668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22669      ac_ext=c
22670ac_cpp='$CPP $CPPFLAGS'
22671ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22672ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22673ac_compiler_gnu=$ac_cv_c_compiler_gnu
22674
22675
22676fi
22677
22678  fi
22679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22680$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22681
22682  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22683    for ac_func in fpclass
22684do :
22685  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22686if test "x$ac_cv_func_fpclass" = x""yes; then :
22687  cat >>confdefs.h <<_ACEOF
22688#define HAVE_FPCLASS 1
22689_ACEOF
22690
22691fi
22692done
22693
22694  else
22695
22696  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22697$as_echo_n "checking for _fpclass declaration... " >&6; }
22698  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22699    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22700  $as_echo_n "(cached) " >&6
22701else
22702
22703
22704      ac_ext=cpp
22705ac_cpp='$CXXCPP $CPPFLAGS'
22706ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22707ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22708ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22709
22710      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22711/* end confdefs.h.  */
22712#include <math.h>
22713		      #ifdef HAVE_IEEEFP_H
22714		      #include <ieeefp.h>
22715		      #endif
22716
22717int
22718main ()
22719{
22720 _fpclass(0);
22721  ;
22722  return 0;
22723}
22724_ACEOF
22725if ac_fn_cxx_try_compile "$LINENO"; then :
22726  glibcxx_cv_func__fpclass_use=yes
22727else
22728  glibcxx_cv_func__fpclass_use=no
22729fi
22730rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22731      ac_ext=c
22732ac_cpp='$CPP $CPPFLAGS'
22733ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22734ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22735ac_compiler_gnu=$ac_cv_c_compiler_gnu
22736
22737
22738fi
22739
22740  fi
22741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22742$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22743
22744    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22745      for ac_func in _fpclass
22746do :
22747  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22748if test "x$ac_cv_func__fpclass" = x""yes; then :
22749  cat >>confdefs.h <<_ACEOF
22750#define HAVE__FPCLASS 1
22751_ACEOF
22752
22753fi
22754done
22755
22756    fi
22757  fi
22758
22759
22760
22761
22762
22763  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22764$as_echo_n "checking for qfpclass declaration... " >&6; }
22765  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22766    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22767  $as_echo_n "(cached) " >&6
22768else
22769
22770
22771      ac_ext=cpp
22772ac_cpp='$CXXCPP $CPPFLAGS'
22773ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22774ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22775ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22776
22777      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22778/* end confdefs.h.  */
22779#include <math.h>
22780		      #ifdef HAVE_IEEEFP_H
22781		      #include <ieeefp.h>
22782		      #endif
22783
22784int
22785main ()
22786{
22787 qfpclass(0);
22788  ;
22789  return 0;
22790}
22791_ACEOF
22792if ac_fn_cxx_try_compile "$LINENO"; then :
22793  glibcxx_cv_func_qfpclass_use=yes
22794else
22795  glibcxx_cv_func_qfpclass_use=no
22796fi
22797rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22798      ac_ext=c
22799ac_cpp='$CPP $CPPFLAGS'
22800ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22801ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22802ac_compiler_gnu=$ac_cv_c_compiler_gnu
22803
22804
22805fi
22806
22807  fi
22808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22809$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22810
22811  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22812    for ac_func in qfpclass
22813do :
22814  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22815if test "x$ac_cv_func_qfpclass" = x""yes; then :
22816  cat >>confdefs.h <<_ACEOF
22817#define HAVE_QFPCLASS 1
22818_ACEOF
22819
22820fi
22821done
22822
22823  else
22824
22825  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22826$as_echo_n "checking for _qfpclass declaration... " >&6; }
22827  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22828    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22829  $as_echo_n "(cached) " >&6
22830else
22831
22832
22833      ac_ext=cpp
22834ac_cpp='$CXXCPP $CPPFLAGS'
22835ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22836ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22837ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22838
22839      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22840/* end confdefs.h.  */
22841#include <math.h>
22842		      #ifdef HAVE_IEEEFP_H
22843		      #include <ieeefp.h>
22844		      #endif
22845
22846int
22847main ()
22848{
22849 _qfpclass(0);
22850  ;
22851  return 0;
22852}
22853_ACEOF
22854if ac_fn_cxx_try_compile "$LINENO"; then :
22855  glibcxx_cv_func__qfpclass_use=yes
22856else
22857  glibcxx_cv_func__qfpclass_use=no
22858fi
22859rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22860      ac_ext=c
22861ac_cpp='$CPP $CPPFLAGS'
22862ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22863ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22864ac_compiler_gnu=$ac_cv_c_compiler_gnu
22865
22866
22867fi
22868
22869  fi
22870  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22871$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22872
22873    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22874      for ac_func in _qfpclass
22875do :
22876  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22877if test "x$ac_cv_func__qfpclass" = x""yes; then :
22878  cat >>confdefs.h <<_ACEOF
22879#define HAVE__QFPCLASS 1
22880_ACEOF
22881
22882fi
22883done
22884
22885    fi
22886  fi
22887
22888
22889
22890
22891
22892  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22893$as_echo_n "checking for hypot declaration... " >&6; }
22894  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22895    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22896  $as_echo_n "(cached) " >&6
22897else
22898
22899
22900      ac_ext=cpp
22901ac_cpp='$CXXCPP $CPPFLAGS'
22902ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22903ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22904ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22905
22906      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22907/* end confdefs.h.  */
22908#include <math.h>
22909int
22910main ()
22911{
22912 hypot(0, 0);
22913  ;
22914  return 0;
22915}
22916_ACEOF
22917if ac_fn_cxx_try_compile "$LINENO"; then :
22918  glibcxx_cv_func_hypot_use=yes
22919else
22920  glibcxx_cv_func_hypot_use=no
22921fi
22922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22923      ac_ext=c
22924ac_cpp='$CPP $CPPFLAGS'
22925ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22926ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22927ac_compiler_gnu=$ac_cv_c_compiler_gnu
22928
22929
22930fi
22931
22932  fi
22933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22934$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22935
22936  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22937    for ac_func in hypot
22938do :
22939  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22940if test "x$ac_cv_func_hypot" = x""yes; then :
22941  cat >>confdefs.h <<_ACEOF
22942#define HAVE_HYPOT 1
22943_ACEOF
22944
22945fi
22946done
22947
22948  else
22949
22950  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22951$as_echo_n "checking for _hypot declaration... " >&6; }
22952  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22953    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22954  $as_echo_n "(cached) " >&6
22955else
22956
22957
22958      ac_ext=cpp
22959ac_cpp='$CXXCPP $CPPFLAGS'
22960ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22961ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22962ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22963
22964      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22965/* end confdefs.h.  */
22966#include <math.h>
22967int
22968main ()
22969{
22970 _hypot(0, 0);
22971  ;
22972  return 0;
22973}
22974_ACEOF
22975if ac_fn_cxx_try_compile "$LINENO"; then :
22976  glibcxx_cv_func__hypot_use=yes
22977else
22978  glibcxx_cv_func__hypot_use=no
22979fi
22980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22981      ac_ext=c
22982ac_cpp='$CPP $CPPFLAGS'
22983ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22984ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22985ac_compiler_gnu=$ac_cv_c_compiler_gnu
22986
22987
22988fi
22989
22990  fi
22991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22992$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22993
22994    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22995      for ac_func in _hypot
22996do :
22997  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22998if test "x$ac_cv_func__hypot" = x""yes; then :
22999  cat >>confdefs.h <<_ACEOF
23000#define HAVE__HYPOT 1
23001_ACEOF
23002
23003fi
23004done
23005
23006    fi
23007  fi
23008
23009
23010
23011
23012
23013    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23014$as_echo_n "checking for float trig functions... " >&6; }
23015  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
23016  $as_echo_n "(cached) " >&6
23017else
23018
23019
23020    ac_ext=cpp
23021ac_cpp='$CXXCPP $CPPFLAGS'
23022ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23023ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23024ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23025
23026    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23027/* end confdefs.h.  */
23028#include <math.h>
23029int
23030main ()
23031{
23032acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23033  ;
23034  return 0;
23035}
23036_ACEOF
23037if ac_fn_cxx_try_compile "$LINENO"; then :
23038  glibcxx_cv_func_float_trig_use=yes
23039else
23040  glibcxx_cv_func_float_trig_use=no
23041fi
23042rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23043    ac_ext=c
23044ac_cpp='$CPP $CPPFLAGS'
23045ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23046ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23047ac_compiler_gnu=$ac_cv_c_compiler_gnu
23048
23049fi
23050
23051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23052$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23053  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23054    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23055do :
23056  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23057ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23058eval as_val=\$$as_ac_var
23059   if test "x$as_val" = x""yes; then :
23060  cat >>confdefs.h <<_ACEOF
23061#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23062_ACEOF
23063
23064fi
23065done
23066
23067  else
23068    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23069$as_echo_n "checking for _float trig functions... " >&6; }
23070    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
23071  $as_echo_n "(cached) " >&6
23072else
23073
23074
23075      ac_ext=cpp
23076ac_cpp='$CXXCPP $CPPFLAGS'
23077ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23078ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23079ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23080
23081      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23082/* end confdefs.h.  */
23083#include <math.h>
23084int
23085main ()
23086{
23087_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23088  ;
23089  return 0;
23090}
23091_ACEOF
23092if ac_fn_cxx_try_compile "$LINENO"; then :
23093  glibcxx_cv_func__float_trig_use=yes
23094else
23095  glibcxx_cv_func__float_trig_use=no
23096fi
23097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23098      ac_ext=c
23099ac_cpp='$CPP $CPPFLAGS'
23100ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23101ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23102ac_compiler_gnu=$ac_cv_c_compiler_gnu
23103
23104fi
23105
23106    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23107$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23108    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23109      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23110do :
23111  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23112ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23113eval as_val=\$$as_ac_var
23114   if test "x$as_val" = x""yes; then :
23115  cat >>confdefs.h <<_ACEOF
23116#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23117_ACEOF
23118
23119fi
23120done
23121
23122    fi
23123  fi
23124
23125
23126
23127
23128
23129    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23130$as_echo_n "checking for float round functions... " >&6; }
23131  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23132  $as_echo_n "(cached) " >&6
23133else
23134
23135
23136    ac_ext=cpp
23137ac_cpp='$CXXCPP $CPPFLAGS'
23138ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23139ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23140ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23141
23142    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23143/* end confdefs.h.  */
23144#include <math.h>
23145int
23146main ()
23147{
23148ceilf (0); floorf (0);
23149  ;
23150  return 0;
23151}
23152_ACEOF
23153if ac_fn_cxx_try_compile "$LINENO"; then :
23154  glibcxx_cv_func_float_round_use=yes
23155else
23156  glibcxx_cv_func_float_round_use=no
23157fi
23158rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23159    ac_ext=c
23160ac_cpp='$CPP $CPPFLAGS'
23161ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23162ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23163ac_compiler_gnu=$ac_cv_c_compiler_gnu
23164
23165fi
23166
23167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23168$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23169  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23170    for ac_func in ceilf floorf
23171do :
23172  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23173ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23174eval as_val=\$$as_ac_var
23175   if test "x$as_val" = x""yes; then :
23176  cat >>confdefs.h <<_ACEOF
23177#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23178_ACEOF
23179
23180fi
23181done
23182
23183  else
23184    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23185$as_echo_n "checking for _float round functions... " >&6; }
23186    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23187  $as_echo_n "(cached) " >&6
23188else
23189
23190
23191      ac_ext=cpp
23192ac_cpp='$CXXCPP $CPPFLAGS'
23193ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23194ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23195ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23196
23197      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23198/* end confdefs.h.  */
23199#include <math.h>
23200int
23201main ()
23202{
23203_ceilf (0); _floorf (0);
23204  ;
23205  return 0;
23206}
23207_ACEOF
23208if ac_fn_cxx_try_compile "$LINENO"; then :
23209  glibcxx_cv_func__float_round_use=yes
23210else
23211  glibcxx_cv_func__float_round_use=no
23212fi
23213rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23214      ac_ext=c
23215ac_cpp='$CPP $CPPFLAGS'
23216ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23217ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23218ac_compiler_gnu=$ac_cv_c_compiler_gnu
23219
23220fi
23221
23222    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23223$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23224    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23225      for ac_func in _ceilf _floorf
23226do :
23227  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23228ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23229eval as_val=\$$as_ac_var
23230   if test "x$as_val" = x""yes; then :
23231  cat >>confdefs.h <<_ACEOF
23232#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23233_ACEOF
23234
23235fi
23236done
23237
23238    fi
23239  fi
23240
23241
23242
23243
23244
23245
23246  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23247$as_echo_n "checking for expf declaration... " >&6; }
23248  if test x${glibcxx_cv_func_expf_use+set} != xset; then
23249    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23250  $as_echo_n "(cached) " >&6
23251else
23252
23253
23254      ac_ext=cpp
23255ac_cpp='$CXXCPP $CPPFLAGS'
23256ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23257ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23258ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23259
23260      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23261/* end confdefs.h.  */
23262#include <math.h>
23263		      #ifdef HAVE_IEEEFP_H
23264		      #include <ieeefp.h>
23265		      #endif
23266
23267int
23268main ()
23269{
23270 expf(0);
23271  ;
23272  return 0;
23273}
23274_ACEOF
23275if ac_fn_cxx_try_compile "$LINENO"; then :
23276  glibcxx_cv_func_expf_use=yes
23277else
23278  glibcxx_cv_func_expf_use=no
23279fi
23280rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23281      ac_ext=c
23282ac_cpp='$CPP $CPPFLAGS'
23283ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23284ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23285ac_compiler_gnu=$ac_cv_c_compiler_gnu
23286
23287
23288fi
23289
23290  fi
23291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23292$as_echo "$glibcxx_cv_func_expf_use" >&6; }
23293
23294  if test x$glibcxx_cv_func_expf_use = x"yes"; then
23295    for ac_func in expf
23296do :
23297  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23298if test "x$ac_cv_func_expf" = x""yes; then :
23299  cat >>confdefs.h <<_ACEOF
23300#define HAVE_EXPF 1
23301_ACEOF
23302
23303fi
23304done
23305
23306  else
23307
23308  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23309$as_echo_n "checking for _expf declaration... " >&6; }
23310  if test x${glibcxx_cv_func__expf_use+set} != xset; then
23311    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23312  $as_echo_n "(cached) " >&6
23313else
23314
23315
23316      ac_ext=cpp
23317ac_cpp='$CXXCPP $CPPFLAGS'
23318ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23319ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23320ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23321
23322      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23323/* end confdefs.h.  */
23324#include <math.h>
23325		      #ifdef HAVE_IEEEFP_H
23326		      #include <ieeefp.h>
23327		      #endif
23328
23329int
23330main ()
23331{
23332 _expf(0);
23333  ;
23334  return 0;
23335}
23336_ACEOF
23337if ac_fn_cxx_try_compile "$LINENO"; then :
23338  glibcxx_cv_func__expf_use=yes
23339else
23340  glibcxx_cv_func__expf_use=no
23341fi
23342rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23343      ac_ext=c
23344ac_cpp='$CPP $CPPFLAGS'
23345ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23346ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23347ac_compiler_gnu=$ac_cv_c_compiler_gnu
23348
23349
23350fi
23351
23352  fi
23353  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23354$as_echo "$glibcxx_cv_func__expf_use" >&6; }
23355
23356    if test x$glibcxx_cv_func__expf_use = x"yes"; then
23357      for ac_func in _expf
23358do :
23359  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23360if test "x$ac_cv_func__expf" = x""yes; then :
23361  cat >>confdefs.h <<_ACEOF
23362#define HAVE__EXPF 1
23363_ACEOF
23364
23365fi
23366done
23367
23368    fi
23369  fi
23370
23371
23372
23373
23374
23375  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23376$as_echo_n "checking for isnanf declaration... " >&6; }
23377  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23378    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23379  $as_echo_n "(cached) " >&6
23380else
23381
23382
23383      ac_ext=cpp
23384ac_cpp='$CXXCPP $CPPFLAGS'
23385ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23386ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23387ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23388
23389      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23390/* end confdefs.h.  */
23391#include <math.h>
23392		      #ifdef HAVE_IEEEFP_H
23393		      #include <ieeefp.h>
23394		      #endif
23395
23396int
23397main ()
23398{
23399 isnanf(0);
23400  ;
23401  return 0;
23402}
23403_ACEOF
23404if ac_fn_cxx_try_compile "$LINENO"; then :
23405  glibcxx_cv_func_isnanf_use=yes
23406else
23407  glibcxx_cv_func_isnanf_use=no
23408fi
23409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23410      ac_ext=c
23411ac_cpp='$CPP $CPPFLAGS'
23412ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23413ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23414ac_compiler_gnu=$ac_cv_c_compiler_gnu
23415
23416
23417fi
23418
23419  fi
23420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23421$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23422
23423  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23424    for ac_func in isnanf
23425do :
23426  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23427if test "x$ac_cv_func_isnanf" = x""yes; then :
23428  cat >>confdefs.h <<_ACEOF
23429#define HAVE_ISNANF 1
23430_ACEOF
23431
23432fi
23433done
23434
23435  else
23436
23437  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23438$as_echo_n "checking for _isnanf declaration... " >&6; }
23439  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23440    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23441  $as_echo_n "(cached) " >&6
23442else
23443
23444
23445      ac_ext=cpp
23446ac_cpp='$CXXCPP $CPPFLAGS'
23447ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23448ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23449ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23450
23451      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23452/* end confdefs.h.  */
23453#include <math.h>
23454		      #ifdef HAVE_IEEEFP_H
23455		      #include <ieeefp.h>
23456		      #endif
23457
23458int
23459main ()
23460{
23461 _isnanf(0);
23462  ;
23463  return 0;
23464}
23465_ACEOF
23466if ac_fn_cxx_try_compile "$LINENO"; then :
23467  glibcxx_cv_func__isnanf_use=yes
23468else
23469  glibcxx_cv_func__isnanf_use=no
23470fi
23471rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23472      ac_ext=c
23473ac_cpp='$CPP $CPPFLAGS'
23474ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23475ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23476ac_compiler_gnu=$ac_cv_c_compiler_gnu
23477
23478
23479fi
23480
23481  fi
23482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23483$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23484
23485    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23486      for ac_func in _isnanf
23487do :
23488  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23489if test "x$ac_cv_func__isnanf" = x""yes; then :
23490  cat >>confdefs.h <<_ACEOF
23491#define HAVE__ISNANF 1
23492_ACEOF
23493
23494fi
23495done
23496
23497    fi
23498  fi
23499
23500
23501
23502
23503
23504  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23505$as_echo_n "checking for isinff declaration... " >&6; }
23506  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23507    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23508  $as_echo_n "(cached) " >&6
23509else
23510
23511
23512      ac_ext=cpp
23513ac_cpp='$CXXCPP $CPPFLAGS'
23514ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23515ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23516ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23517
23518      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23519/* end confdefs.h.  */
23520#include <math.h>
23521		      #ifdef HAVE_IEEEFP_H
23522		      #include <ieeefp.h>
23523		      #endif
23524
23525int
23526main ()
23527{
23528 isinff(0);
23529  ;
23530  return 0;
23531}
23532_ACEOF
23533if ac_fn_cxx_try_compile "$LINENO"; then :
23534  glibcxx_cv_func_isinff_use=yes
23535else
23536  glibcxx_cv_func_isinff_use=no
23537fi
23538rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23539      ac_ext=c
23540ac_cpp='$CPP $CPPFLAGS'
23541ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23542ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23543ac_compiler_gnu=$ac_cv_c_compiler_gnu
23544
23545
23546fi
23547
23548  fi
23549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23550$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23551
23552  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23553    for ac_func in isinff
23554do :
23555  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23556if test "x$ac_cv_func_isinff" = x""yes; then :
23557  cat >>confdefs.h <<_ACEOF
23558#define HAVE_ISINFF 1
23559_ACEOF
23560
23561fi
23562done
23563
23564  else
23565
23566  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23567$as_echo_n "checking for _isinff declaration... " >&6; }
23568  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23569    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23570  $as_echo_n "(cached) " >&6
23571else
23572
23573
23574      ac_ext=cpp
23575ac_cpp='$CXXCPP $CPPFLAGS'
23576ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23577ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23578ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23579
23580      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23581/* end confdefs.h.  */
23582#include <math.h>
23583		      #ifdef HAVE_IEEEFP_H
23584		      #include <ieeefp.h>
23585		      #endif
23586
23587int
23588main ()
23589{
23590 _isinff(0);
23591  ;
23592  return 0;
23593}
23594_ACEOF
23595if ac_fn_cxx_try_compile "$LINENO"; then :
23596  glibcxx_cv_func__isinff_use=yes
23597else
23598  glibcxx_cv_func__isinff_use=no
23599fi
23600rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23601      ac_ext=c
23602ac_cpp='$CPP $CPPFLAGS'
23603ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23604ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23605ac_compiler_gnu=$ac_cv_c_compiler_gnu
23606
23607
23608fi
23609
23610  fi
23611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23612$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23613
23614    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23615      for ac_func in _isinff
23616do :
23617  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23618if test "x$ac_cv_func__isinff" = x""yes; then :
23619  cat >>confdefs.h <<_ACEOF
23620#define HAVE__ISINFF 1
23621_ACEOF
23622
23623fi
23624done
23625
23626    fi
23627  fi
23628
23629
23630
23631
23632
23633  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23634$as_echo_n "checking for atan2f declaration... " >&6; }
23635  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23636    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23637  $as_echo_n "(cached) " >&6
23638else
23639
23640
23641      ac_ext=cpp
23642ac_cpp='$CXXCPP $CPPFLAGS'
23643ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23644ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23645ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23646
23647      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23648/* end confdefs.h.  */
23649#include <math.h>
23650int
23651main ()
23652{
23653 atan2f(0, 0);
23654  ;
23655  return 0;
23656}
23657_ACEOF
23658if ac_fn_cxx_try_compile "$LINENO"; then :
23659  glibcxx_cv_func_atan2f_use=yes
23660else
23661  glibcxx_cv_func_atan2f_use=no
23662fi
23663rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23664      ac_ext=c
23665ac_cpp='$CPP $CPPFLAGS'
23666ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23667ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23668ac_compiler_gnu=$ac_cv_c_compiler_gnu
23669
23670
23671fi
23672
23673  fi
23674  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23675$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23676
23677  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23678    for ac_func in atan2f
23679do :
23680  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23681if test "x$ac_cv_func_atan2f" = x""yes; then :
23682  cat >>confdefs.h <<_ACEOF
23683#define HAVE_ATAN2F 1
23684_ACEOF
23685
23686fi
23687done
23688
23689  else
23690
23691  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23692$as_echo_n "checking for _atan2f declaration... " >&6; }
23693  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23694    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23695  $as_echo_n "(cached) " >&6
23696else
23697
23698
23699      ac_ext=cpp
23700ac_cpp='$CXXCPP $CPPFLAGS'
23701ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23702ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23703ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23704
23705      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23706/* end confdefs.h.  */
23707#include <math.h>
23708int
23709main ()
23710{
23711 _atan2f(0, 0);
23712  ;
23713  return 0;
23714}
23715_ACEOF
23716if ac_fn_cxx_try_compile "$LINENO"; then :
23717  glibcxx_cv_func__atan2f_use=yes
23718else
23719  glibcxx_cv_func__atan2f_use=no
23720fi
23721rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23722      ac_ext=c
23723ac_cpp='$CPP $CPPFLAGS'
23724ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23725ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23726ac_compiler_gnu=$ac_cv_c_compiler_gnu
23727
23728
23729fi
23730
23731  fi
23732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23733$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23734
23735    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23736      for ac_func in _atan2f
23737do :
23738  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23739if test "x$ac_cv_func__atan2f" = x""yes; then :
23740  cat >>confdefs.h <<_ACEOF
23741#define HAVE__ATAN2F 1
23742_ACEOF
23743
23744fi
23745done
23746
23747    fi
23748  fi
23749
23750
23751
23752
23753
23754  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23755$as_echo_n "checking for fabsf declaration... " >&6; }
23756  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23757    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23758  $as_echo_n "(cached) " >&6
23759else
23760
23761
23762      ac_ext=cpp
23763ac_cpp='$CXXCPP $CPPFLAGS'
23764ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23765ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23766ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23767
23768      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23769/* end confdefs.h.  */
23770#include <math.h>
23771		      #ifdef HAVE_IEEEFP_H
23772		      #include <ieeefp.h>
23773		      #endif
23774
23775int
23776main ()
23777{
23778 fabsf(0);
23779  ;
23780  return 0;
23781}
23782_ACEOF
23783if ac_fn_cxx_try_compile "$LINENO"; then :
23784  glibcxx_cv_func_fabsf_use=yes
23785else
23786  glibcxx_cv_func_fabsf_use=no
23787fi
23788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23789      ac_ext=c
23790ac_cpp='$CPP $CPPFLAGS'
23791ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23792ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23793ac_compiler_gnu=$ac_cv_c_compiler_gnu
23794
23795
23796fi
23797
23798  fi
23799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23800$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23801
23802  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23803    for ac_func in fabsf
23804do :
23805  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23806if test "x$ac_cv_func_fabsf" = x""yes; then :
23807  cat >>confdefs.h <<_ACEOF
23808#define HAVE_FABSF 1
23809_ACEOF
23810
23811fi
23812done
23813
23814  else
23815
23816  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23817$as_echo_n "checking for _fabsf declaration... " >&6; }
23818  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23819    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23820  $as_echo_n "(cached) " >&6
23821else
23822
23823
23824      ac_ext=cpp
23825ac_cpp='$CXXCPP $CPPFLAGS'
23826ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23827ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23828ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23829
23830      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23831/* end confdefs.h.  */
23832#include <math.h>
23833		      #ifdef HAVE_IEEEFP_H
23834		      #include <ieeefp.h>
23835		      #endif
23836
23837int
23838main ()
23839{
23840 _fabsf(0);
23841  ;
23842  return 0;
23843}
23844_ACEOF
23845if ac_fn_cxx_try_compile "$LINENO"; then :
23846  glibcxx_cv_func__fabsf_use=yes
23847else
23848  glibcxx_cv_func__fabsf_use=no
23849fi
23850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23851      ac_ext=c
23852ac_cpp='$CPP $CPPFLAGS'
23853ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23854ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23855ac_compiler_gnu=$ac_cv_c_compiler_gnu
23856
23857
23858fi
23859
23860  fi
23861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23862$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23863
23864    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23865      for ac_func in _fabsf
23866do :
23867  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23868if test "x$ac_cv_func__fabsf" = x""yes; then :
23869  cat >>confdefs.h <<_ACEOF
23870#define HAVE__FABSF 1
23871_ACEOF
23872
23873fi
23874done
23875
23876    fi
23877  fi
23878
23879
23880
23881
23882
23883  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23884$as_echo_n "checking for fmodf declaration... " >&6; }
23885  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23886    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23887  $as_echo_n "(cached) " >&6
23888else
23889
23890
23891      ac_ext=cpp
23892ac_cpp='$CXXCPP $CPPFLAGS'
23893ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23894ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23895ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23896
23897      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23898/* end confdefs.h.  */
23899#include <math.h>
23900int
23901main ()
23902{
23903 fmodf(0, 0);
23904  ;
23905  return 0;
23906}
23907_ACEOF
23908if ac_fn_cxx_try_compile "$LINENO"; then :
23909  glibcxx_cv_func_fmodf_use=yes
23910else
23911  glibcxx_cv_func_fmodf_use=no
23912fi
23913rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23914      ac_ext=c
23915ac_cpp='$CPP $CPPFLAGS'
23916ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23917ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23918ac_compiler_gnu=$ac_cv_c_compiler_gnu
23919
23920
23921fi
23922
23923  fi
23924  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23925$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23926
23927  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23928    for ac_func in fmodf
23929do :
23930  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23931if test "x$ac_cv_func_fmodf" = x""yes; then :
23932  cat >>confdefs.h <<_ACEOF
23933#define HAVE_FMODF 1
23934_ACEOF
23935
23936fi
23937done
23938
23939  else
23940
23941  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23942$as_echo_n "checking for _fmodf declaration... " >&6; }
23943  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23944    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23945  $as_echo_n "(cached) " >&6
23946else
23947
23948
23949      ac_ext=cpp
23950ac_cpp='$CXXCPP $CPPFLAGS'
23951ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23952ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23953ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23954
23955      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23956/* end confdefs.h.  */
23957#include <math.h>
23958int
23959main ()
23960{
23961 _fmodf(0, 0);
23962  ;
23963  return 0;
23964}
23965_ACEOF
23966if ac_fn_cxx_try_compile "$LINENO"; then :
23967  glibcxx_cv_func__fmodf_use=yes
23968else
23969  glibcxx_cv_func__fmodf_use=no
23970fi
23971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23972      ac_ext=c
23973ac_cpp='$CPP $CPPFLAGS'
23974ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23975ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23976ac_compiler_gnu=$ac_cv_c_compiler_gnu
23977
23978
23979fi
23980
23981  fi
23982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23983$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23984
23985    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23986      for ac_func in _fmodf
23987do :
23988  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23989if test "x$ac_cv_func__fmodf" = x""yes; then :
23990  cat >>confdefs.h <<_ACEOF
23991#define HAVE__FMODF 1
23992_ACEOF
23993
23994fi
23995done
23996
23997    fi
23998  fi
23999
24000
24001
24002
24003
24004  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24005$as_echo_n "checking for frexpf declaration... " >&6; }
24006  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24007    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
24008  $as_echo_n "(cached) " >&6
24009else
24010
24011
24012      ac_ext=cpp
24013ac_cpp='$CXXCPP $CPPFLAGS'
24014ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24015ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24016ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24017
24018      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24019/* end confdefs.h.  */
24020#include <math.h>
24021int
24022main ()
24023{
24024 frexpf(0, 0);
24025  ;
24026  return 0;
24027}
24028_ACEOF
24029if ac_fn_cxx_try_compile "$LINENO"; then :
24030  glibcxx_cv_func_frexpf_use=yes
24031else
24032  glibcxx_cv_func_frexpf_use=no
24033fi
24034rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24035      ac_ext=c
24036ac_cpp='$CPP $CPPFLAGS'
24037ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24038ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24039ac_compiler_gnu=$ac_cv_c_compiler_gnu
24040
24041
24042fi
24043
24044  fi
24045  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24046$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24047
24048  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24049    for ac_func in frexpf
24050do :
24051  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24052if test "x$ac_cv_func_frexpf" = x""yes; then :
24053  cat >>confdefs.h <<_ACEOF
24054#define HAVE_FREXPF 1
24055_ACEOF
24056
24057fi
24058done
24059
24060  else
24061
24062  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24063$as_echo_n "checking for _frexpf declaration... " >&6; }
24064  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24065    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
24066  $as_echo_n "(cached) " >&6
24067else
24068
24069
24070      ac_ext=cpp
24071ac_cpp='$CXXCPP $CPPFLAGS'
24072ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24073ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24074ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24075
24076      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24077/* end confdefs.h.  */
24078#include <math.h>
24079int
24080main ()
24081{
24082 _frexpf(0, 0);
24083  ;
24084  return 0;
24085}
24086_ACEOF
24087if ac_fn_cxx_try_compile "$LINENO"; then :
24088  glibcxx_cv_func__frexpf_use=yes
24089else
24090  glibcxx_cv_func__frexpf_use=no
24091fi
24092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24093      ac_ext=c
24094ac_cpp='$CPP $CPPFLAGS'
24095ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24096ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24097ac_compiler_gnu=$ac_cv_c_compiler_gnu
24098
24099
24100fi
24101
24102  fi
24103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24104$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24105
24106    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24107      for ac_func in _frexpf
24108do :
24109  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24110if test "x$ac_cv_func__frexpf" = x""yes; then :
24111  cat >>confdefs.h <<_ACEOF
24112#define HAVE__FREXPF 1
24113_ACEOF
24114
24115fi
24116done
24117
24118    fi
24119  fi
24120
24121
24122
24123
24124
24125  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24126$as_echo_n "checking for hypotf declaration... " >&6; }
24127  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24128    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24129  $as_echo_n "(cached) " >&6
24130else
24131
24132
24133      ac_ext=cpp
24134ac_cpp='$CXXCPP $CPPFLAGS'
24135ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24136ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24137ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24138
24139      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24140/* end confdefs.h.  */
24141#include <math.h>
24142int
24143main ()
24144{
24145 hypotf(0, 0);
24146  ;
24147  return 0;
24148}
24149_ACEOF
24150if ac_fn_cxx_try_compile "$LINENO"; then :
24151  glibcxx_cv_func_hypotf_use=yes
24152else
24153  glibcxx_cv_func_hypotf_use=no
24154fi
24155rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24156      ac_ext=c
24157ac_cpp='$CPP $CPPFLAGS'
24158ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24159ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24160ac_compiler_gnu=$ac_cv_c_compiler_gnu
24161
24162
24163fi
24164
24165  fi
24166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24167$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24168
24169  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24170    for ac_func in hypotf
24171do :
24172  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24173if test "x$ac_cv_func_hypotf" = x""yes; then :
24174  cat >>confdefs.h <<_ACEOF
24175#define HAVE_HYPOTF 1
24176_ACEOF
24177
24178fi
24179done
24180
24181  else
24182
24183  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24184$as_echo_n "checking for _hypotf declaration... " >&6; }
24185  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24186    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24187  $as_echo_n "(cached) " >&6
24188else
24189
24190
24191      ac_ext=cpp
24192ac_cpp='$CXXCPP $CPPFLAGS'
24193ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24194ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24195ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24196
24197      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24198/* end confdefs.h.  */
24199#include <math.h>
24200int
24201main ()
24202{
24203 _hypotf(0, 0);
24204  ;
24205  return 0;
24206}
24207_ACEOF
24208if ac_fn_cxx_try_compile "$LINENO"; then :
24209  glibcxx_cv_func__hypotf_use=yes
24210else
24211  glibcxx_cv_func__hypotf_use=no
24212fi
24213rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24214      ac_ext=c
24215ac_cpp='$CPP $CPPFLAGS'
24216ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24217ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24218ac_compiler_gnu=$ac_cv_c_compiler_gnu
24219
24220
24221fi
24222
24223  fi
24224  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24225$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24226
24227    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24228      for ac_func in _hypotf
24229do :
24230  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24231if test "x$ac_cv_func__hypotf" = x""yes; then :
24232  cat >>confdefs.h <<_ACEOF
24233#define HAVE__HYPOTF 1
24234_ACEOF
24235
24236fi
24237done
24238
24239    fi
24240  fi
24241
24242
24243
24244
24245
24246  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24247$as_echo_n "checking for ldexpf declaration... " >&6; }
24248  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24249    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24250  $as_echo_n "(cached) " >&6
24251else
24252
24253
24254      ac_ext=cpp
24255ac_cpp='$CXXCPP $CPPFLAGS'
24256ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24257ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24258ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24259
24260      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24261/* end confdefs.h.  */
24262#include <math.h>
24263int
24264main ()
24265{
24266 ldexpf(0, 0);
24267  ;
24268  return 0;
24269}
24270_ACEOF
24271if ac_fn_cxx_try_compile "$LINENO"; then :
24272  glibcxx_cv_func_ldexpf_use=yes
24273else
24274  glibcxx_cv_func_ldexpf_use=no
24275fi
24276rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24277      ac_ext=c
24278ac_cpp='$CPP $CPPFLAGS'
24279ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24280ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24281ac_compiler_gnu=$ac_cv_c_compiler_gnu
24282
24283
24284fi
24285
24286  fi
24287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24288$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24289
24290  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24291    for ac_func in ldexpf
24292do :
24293  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24294if test "x$ac_cv_func_ldexpf" = x""yes; then :
24295  cat >>confdefs.h <<_ACEOF
24296#define HAVE_LDEXPF 1
24297_ACEOF
24298
24299fi
24300done
24301
24302  else
24303
24304  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24305$as_echo_n "checking for _ldexpf declaration... " >&6; }
24306  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24307    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24308  $as_echo_n "(cached) " >&6
24309else
24310
24311
24312      ac_ext=cpp
24313ac_cpp='$CXXCPP $CPPFLAGS'
24314ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24315ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24316ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24317
24318      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24319/* end confdefs.h.  */
24320#include <math.h>
24321int
24322main ()
24323{
24324 _ldexpf(0, 0);
24325  ;
24326  return 0;
24327}
24328_ACEOF
24329if ac_fn_cxx_try_compile "$LINENO"; then :
24330  glibcxx_cv_func__ldexpf_use=yes
24331else
24332  glibcxx_cv_func__ldexpf_use=no
24333fi
24334rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24335      ac_ext=c
24336ac_cpp='$CPP $CPPFLAGS'
24337ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24338ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24339ac_compiler_gnu=$ac_cv_c_compiler_gnu
24340
24341
24342fi
24343
24344  fi
24345  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24346$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24347
24348    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24349      for ac_func in _ldexpf
24350do :
24351  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24352if test "x$ac_cv_func__ldexpf" = x""yes; then :
24353  cat >>confdefs.h <<_ACEOF
24354#define HAVE__LDEXPF 1
24355_ACEOF
24356
24357fi
24358done
24359
24360    fi
24361  fi
24362
24363
24364
24365
24366
24367  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24368$as_echo_n "checking for logf declaration... " >&6; }
24369  if test x${glibcxx_cv_func_logf_use+set} != xset; then
24370    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24371  $as_echo_n "(cached) " >&6
24372else
24373
24374
24375      ac_ext=cpp
24376ac_cpp='$CXXCPP $CPPFLAGS'
24377ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24378ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24379ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24380
24381      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24382/* end confdefs.h.  */
24383#include <math.h>
24384		      #ifdef HAVE_IEEEFP_H
24385		      #include <ieeefp.h>
24386		      #endif
24387
24388int
24389main ()
24390{
24391 logf(0);
24392  ;
24393  return 0;
24394}
24395_ACEOF
24396if ac_fn_cxx_try_compile "$LINENO"; then :
24397  glibcxx_cv_func_logf_use=yes
24398else
24399  glibcxx_cv_func_logf_use=no
24400fi
24401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24402      ac_ext=c
24403ac_cpp='$CPP $CPPFLAGS'
24404ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24405ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24406ac_compiler_gnu=$ac_cv_c_compiler_gnu
24407
24408
24409fi
24410
24411  fi
24412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24413$as_echo "$glibcxx_cv_func_logf_use" >&6; }
24414
24415  if test x$glibcxx_cv_func_logf_use = x"yes"; then
24416    for ac_func in logf
24417do :
24418  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24419if test "x$ac_cv_func_logf" = x""yes; then :
24420  cat >>confdefs.h <<_ACEOF
24421#define HAVE_LOGF 1
24422_ACEOF
24423
24424fi
24425done
24426
24427  else
24428
24429  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24430$as_echo_n "checking for _logf declaration... " >&6; }
24431  if test x${glibcxx_cv_func__logf_use+set} != xset; then
24432    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24433  $as_echo_n "(cached) " >&6
24434else
24435
24436
24437      ac_ext=cpp
24438ac_cpp='$CXXCPP $CPPFLAGS'
24439ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24440ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24441ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24442
24443      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24444/* end confdefs.h.  */
24445#include <math.h>
24446		      #ifdef HAVE_IEEEFP_H
24447		      #include <ieeefp.h>
24448		      #endif
24449
24450int
24451main ()
24452{
24453 _logf(0);
24454  ;
24455  return 0;
24456}
24457_ACEOF
24458if ac_fn_cxx_try_compile "$LINENO"; then :
24459  glibcxx_cv_func__logf_use=yes
24460else
24461  glibcxx_cv_func__logf_use=no
24462fi
24463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24464      ac_ext=c
24465ac_cpp='$CPP $CPPFLAGS'
24466ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24467ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24468ac_compiler_gnu=$ac_cv_c_compiler_gnu
24469
24470
24471fi
24472
24473  fi
24474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24475$as_echo "$glibcxx_cv_func__logf_use" >&6; }
24476
24477    if test x$glibcxx_cv_func__logf_use = x"yes"; then
24478      for ac_func in _logf
24479do :
24480  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24481if test "x$ac_cv_func__logf" = x""yes; then :
24482  cat >>confdefs.h <<_ACEOF
24483#define HAVE__LOGF 1
24484_ACEOF
24485
24486fi
24487done
24488
24489    fi
24490  fi
24491
24492
24493
24494
24495
24496  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24497$as_echo_n "checking for log10f declaration... " >&6; }
24498  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24499    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24500  $as_echo_n "(cached) " >&6
24501else
24502
24503
24504      ac_ext=cpp
24505ac_cpp='$CXXCPP $CPPFLAGS'
24506ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24507ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24508ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24509
24510      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24511/* end confdefs.h.  */
24512#include <math.h>
24513		      #ifdef HAVE_IEEEFP_H
24514		      #include <ieeefp.h>
24515		      #endif
24516
24517int
24518main ()
24519{
24520 log10f(0);
24521  ;
24522  return 0;
24523}
24524_ACEOF
24525if ac_fn_cxx_try_compile "$LINENO"; then :
24526  glibcxx_cv_func_log10f_use=yes
24527else
24528  glibcxx_cv_func_log10f_use=no
24529fi
24530rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24531      ac_ext=c
24532ac_cpp='$CPP $CPPFLAGS'
24533ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24534ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24535ac_compiler_gnu=$ac_cv_c_compiler_gnu
24536
24537
24538fi
24539
24540  fi
24541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24542$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24543
24544  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24545    for ac_func in log10f
24546do :
24547  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24548if test "x$ac_cv_func_log10f" = x""yes; then :
24549  cat >>confdefs.h <<_ACEOF
24550#define HAVE_LOG10F 1
24551_ACEOF
24552
24553fi
24554done
24555
24556  else
24557
24558  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24559$as_echo_n "checking for _log10f declaration... " >&6; }
24560  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24561    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24562  $as_echo_n "(cached) " >&6
24563else
24564
24565
24566      ac_ext=cpp
24567ac_cpp='$CXXCPP $CPPFLAGS'
24568ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24569ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24570ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24571
24572      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24573/* end confdefs.h.  */
24574#include <math.h>
24575		      #ifdef HAVE_IEEEFP_H
24576		      #include <ieeefp.h>
24577		      #endif
24578
24579int
24580main ()
24581{
24582 _log10f(0);
24583  ;
24584  return 0;
24585}
24586_ACEOF
24587if ac_fn_cxx_try_compile "$LINENO"; then :
24588  glibcxx_cv_func__log10f_use=yes
24589else
24590  glibcxx_cv_func__log10f_use=no
24591fi
24592rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24593      ac_ext=c
24594ac_cpp='$CPP $CPPFLAGS'
24595ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24596ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24597ac_compiler_gnu=$ac_cv_c_compiler_gnu
24598
24599
24600fi
24601
24602  fi
24603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24604$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24605
24606    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24607      for ac_func in _log10f
24608do :
24609  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24610if test "x$ac_cv_func__log10f" = x""yes; then :
24611  cat >>confdefs.h <<_ACEOF
24612#define HAVE__LOG10F 1
24613_ACEOF
24614
24615fi
24616done
24617
24618    fi
24619  fi
24620
24621
24622
24623
24624
24625  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24626$as_echo_n "checking for modff declaration... " >&6; }
24627  if test x${glibcxx_cv_func_modff_use+set} != xset; then
24628    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24629  $as_echo_n "(cached) " >&6
24630else
24631
24632
24633      ac_ext=cpp
24634ac_cpp='$CXXCPP $CPPFLAGS'
24635ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24636ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24637ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24638
24639      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24640/* end confdefs.h.  */
24641#include <math.h>
24642int
24643main ()
24644{
24645 modff(0, 0);
24646  ;
24647  return 0;
24648}
24649_ACEOF
24650if ac_fn_cxx_try_compile "$LINENO"; then :
24651  glibcxx_cv_func_modff_use=yes
24652else
24653  glibcxx_cv_func_modff_use=no
24654fi
24655rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24656      ac_ext=c
24657ac_cpp='$CPP $CPPFLAGS'
24658ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24659ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24660ac_compiler_gnu=$ac_cv_c_compiler_gnu
24661
24662
24663fi
24664
24665  fi
24666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24667$as_echo "$glibcxx_cv_func_modff_use" >&6; }
24668
24669  if test x$glibcxx_cv_func_modff_use = x"yes"; then
24670    for ac_func in modff
24671do :
24672  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24673if test "x$ac_cv_func_modff" = x""yes; then :
24674  cat >>confdefs.h <<_ACEOF
24675#define HAVE_MODFF 1
24676_ACEOF
24677
24678fi
24679done
24680
24681  else
24682
24683  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24684$as_echo_n "checking for _modff declaration... " >&6; }
24685  if test x${glibcxx_cv_func__modff_use+set} != xset; then
24686    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24687  $as_echo_n "(cached) " >&6
24688else
24689
24690
24691      ac_ext=cpp
24692ac_cpp='$CXXCPP $CPPFLAGS'
24693ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24694ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24695ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24696
24697      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24698/* end confdefs.h.  */
24699#include <math.h>
24700int
24701main ()
24702{
24703 _modff(0, 0);
24704  ;
24705  return 0;
24706}
24707_ACEOF
24708if ac_fn_cxx_try_compile "$LINENO"; then :
24709  glibcxx_cv_func__modff_use=yes
24710else
24711  glibcxx_cv_func__modff_use=no
24712fi
24713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24714      ac_ext=c
24715ac_cpp='$CPP $CPPFLAGS'
24716ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24717ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24718ac_compiler_gnu=$ac_cv_c_compiler_gnu
24719
24720
24721fi
24722
24723  fi
24724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24725$as_echo "$glibcxx_cv_func__modff_use" >&6; }
24726
24727    if test x$glibcxx_cv_func__modff_use = x"yes"; then
24728      for ac_func in _modff
24729do :
24730  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24731if test "x$ac_cv_func__modff" = x""yes; then :
24732  cat >>confdefs.h <<_ACEOF
24733#define HAVE__MODFF 1
24734_ACEOF
24735
24736fi
24737done
24738
24739    fi
24740  fi
24741
24742
24743
24744
24745
24746  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24747$as_echo_n "checking for modf declaration... " >&6; }
24748  if test x${glibcxx_cv_func_modf_use+set} != xset; then
24749    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24750  $as_echo_n "(cached) " >&6
24751else
24752
24753
24754      ac_ext=cpp
24755ac_cpp='$CXXCPP $CPPFLAGS'
24756ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24757ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24758ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24759
24760      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24761/* end confdefs.h.  */
24762#include <math.h>
24763int
24764main ()
24765{
24766 modf(0, 0);
24767  ;
24768  return 0;
24769}
24770_ACEOF
24771if ac_fn_cxx_try_compile "$LINENO"; then :
24772  glibcxx_cv_func_modf_use=yes
24773else
24774  glibcxx_cv_func_modf_use=no
24775fi
24776rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24777      ac_ext=c
24778ac_cpp='$CPP $CPPFLAGS'
24779ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24780ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24781ac_compiler_gnu=$ac_cv_c_compiler_gnu
24782
24783
24784fi
24785
24786  fi
24787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24788$as_echo "$glibcxx_cv_func_modf_use" >&6; }
24789
24790  if test x$glibcxx_cv_func_modf_use = x"yes"; then
24791    for ac_func in modf
24792do :
24793  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24794if test "x$ac_cv_func_modf" = x""yes; then :
24795  cat >>confdefs.h <<_ACEOF
24796#define HAVE_MODF 1
24797_ACEOF
24798
24799fi
24800done
24801
24802  else
24803
24804  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24805$as_echo_n "checking for _modf declaration... " >&6; }
24806  if test x${glibcxx_cv_func__modf_use+set} != xset; then
24807    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24808  $as_echo_n "(cached) " >&6
24809else
24810
24811
24812      ac_ext=cpp
24813ac_cpp='$CXXCPP $CPPFLAGS'
24814ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24815ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24816ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24817
24818      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24819/* end confdefs.h.  */
24820#include <math.h>
24821int
24822main ()
24823{
24824 _modf(0, 0);
24825  ;
24826  return 0;
24827}
24828_ACEOF
24829if ac_fn_cxx_try_compile "$LINENO"; then :
24830  glibcxx_cv_func__modf_use=yes
24831else
24832  glibcxx_cv_func__modf_use=no
24833fi
24834rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24835      ac_ext=c
24836ac_cpp='$CPP $CPPFLAGS'
24837ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24838ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24839ac_compiler_gnu=$ac_cv_c_compiler_gnu
24840
24841
24842fi
24843
24844  fi
24845  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24846$as_echo "$glibcxx_cv_func__modf_use" >&6; }
24847
24848    if test x$glibcxx_cv_func__modf_use = x"yes"; then
24849      for ac_func in _modf
24850do :
24851  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24852if test "x$ac_cv_func__modf" = x""yes; then :
24853  cat >>confdefs.h <<_ACEOF
24854#define HAVE__MODF 1
24855_ACEOF
24856
24857fi
24858done
24859
24860    fi
24861  fi
24862
24863
24864
24865
24866
24867  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24868$as_echo_n "checking for powf declaration... " >&6; }
24869  if test x${glibcxx_cv_func_powf_use+set} != xset; then
24870    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24871  $as_echo_n "(cached) " >&6
24872else
24873
24874
24875      ac_ext=cpp
24876ac_cpp='$CXXCPP $CPPFLAGS'
24877ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24878ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24879ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24880
24881      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24882/* end confdefs.h.  */
24883#include <math.h>
24884int
24885main ()
24886{
24887 powf(0, 0);
24888  ;
24889  return 0;
24890}
24891_ACEOF
24892if ac_fn_cxx_try_compile "$LINENO"; then :
24893  glibcxx_cv_func_powf_use=yes
24894else
24895  glibcxx_cv_func_powf_use=no
24896fi
24897rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24898      ac_ext=c
24899ac_cpp='$CPP $CPPFLAGS'
24900ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24901ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24902ac_compiler_gnu=$ac_cv_c_compiler_gnu
24903
24904
24905fi
24906
24907  fi
24908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24909$as_echo "$glibcxx_cv_func_powf_use" >&6; }
24910
24911  if test x$glibcxx_cv_func_powf_use = x"yes"; then
24912    for ac_func in powf
24913do :
24914  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24915if test "x$ac_cv_func_powf" = x""yes; then :
24916  cat >>confdefs.h <<_ACEOF
24917#define HAVE_POWF 1
24918_ACEOF
24919
24920fi
24921done
24922
24923  else
24924
24925  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24926$as_echo_n "checking for _powf declaration... " >&6; }
24927  if test x${glibcxx_cv_func__powf_use+set} != xset; then
24928    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24929  $as_echo_n "(cached) " >&6
24930else
24931
24932
24933      ac_ext=cpp
24934ac_cpp='$CXXCPP $CPPFLAGS'
24935ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24936ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24937ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24938
24939      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24940/* end confdefs.h.  */
24941#include <math.h>
24942int
24943main ()
24944{
24945 _powf(0, 0);
24946  ;
24947  return 0;
24948}
24949_ACEOF
24950if ac_fn_cxx_try_compile "$LINENO"; then :
24951  glibcxx_cv_func__powf_use=yes
24952else
24953  glibcxx_cv_func__powf_use=no
24954fi
24955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24956      ac_ext=c
24957ac_cpp='$CPP $CPPFLAGS'
24958ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24959ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24960ac_compiler_gnu=$ac_cv_c_compiler_gnu
24961
24962
24963fi
24964
24965  fi
24966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24967$as_echo "$glibcxx_cv_func__powf_use" >&6; }
24968
24969    if test x$glibcxx_cv_func__powf_use = x"yes"; then
24970      for ac_func in _powf
24971do :
24972  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24973if test "x$ac_cv_func__powf" = x""yes; then :
24974  cat >>confdefs.h <<_ACEOF
24975#define HAVE__POWF 1
24976_ACEOF
24977
24978fi
24979done
24980
24981    fi
24982  fi
24983
24984
24985
24986
24987
24988  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24989$as_echo_n "checking for sqrtf declaration... " >&6; }
24990  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24991    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24992  $as_echo_n "(cached) " >&6
24993else
24994
24995
24996      ac_ext=cpp
24997ac_cpp='$CXXCPP $CPPFLAGS'
24998ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24999ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25000ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25001
25002      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25003/* end confdefs.h.  */
25004#include <math.h>
25005		      #ifdef HAVE_IEEEFP_H
25006		      #include <ieeefp.h>
25007		      #endif
25008
25009int
25010main ()
25011{
25012 sqrtf(0);
25013  ;
25014  return 0;
25015}
25016_ACEOF
25017if ac_fn_cxx_try_compile "$LINENO"; then :
25018  glibcxx_cv_func_sqrtf_use=yes
25019else
25020  glibcxx_cv_func_sqrtf_use=no
25021fi
25022rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25023      ac_ext=c
25024ac_cpp='$CPP $CPPFLAGS'
25025ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25026ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25027ac_compiler_gnu=$ac_cv_c_compiler_gnu
25028
25029
25030fi
25031
25032  fi
25033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25034$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25035
25036  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25037    for ac_func in sqrtf
25038do :
25039  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25040if test "x$ac_cv_func_sqrtf" = x""yes; then :
25041  cat >>confdefs.h <<_ACEOF
25042#define HAVE_SQRTF 1
25043_ACEOF
25044
25045fi
25046done
25047
25048  else
25049
25050  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25051$as_echo_n "checking for _sqrtf declaration... " >&6; }
25052  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25053    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
25054  $as_echo_n "(cached) " >&6
25055else
25056
25057
25058      ac_ext=cpp
25059ac_cpp='$CXXCPP $CPPFLAGS'
25060ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25061ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25062ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25063
25064      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25065/* end confdefs.h.  */
25066#include <math.h>
25067		      #ifdef HAVE_IEEEFP_H
25068		      #include <ieeefp.h>
25069		      #endif
25070
25071int
25072main ()
25073{
25074 _sqrtf(0);
25075  ;
25076  return 0;
25077}
25078_ACEOF
25079if ac_fn_cxx_try_compile "$LINENO"; then :
25080  glibcxx_cv_func__sqrtf_use=yes
25081else
25082  glibcxx_cv_func__sqrtf_use=no
25083fi
25084rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25085      ac_ext=c
25086ac_cpp='$CPP $CPPFLAGS'
25087ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25088ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25089ac_compiler_gnu=$ac_cv_c_compiler_gnu
25090
25091
25092fi
25093
25094  fi
25095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25096$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25097
25098    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25099      for ac_func in _sqrtf
25100do :
25101  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25102if test "x$ac_cv_func__sqrtf" = x""yes; then :
25103  cat >>confdefs.h <<_ACEOF
25104#define HAVE__SQRTF 1
25105_ACEOF
25106
25107fi
25108done
25109
25110    fi
25111  fi
25112
25113
25114
25115
25116
25117  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25118$as_echo_n "checking for sincosf declaration... " >&6; }
25119  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25120    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25121  $as_echo_n "(cached) " >&6
25122else
25123
25124
25125      ac_ext=cpp
25126ac_cpp='$CXXCPP $CPPFLAGS'
25127ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25128ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25129ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25130
25131      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25132/* end confdefs.h.  */
25133#include <math.h>
25134int
25135main ()
25136{
25137 sincosf(0, 0, 0);
25138  ;
25139  return 0;
25140}
25141_ACEOF
25142if ac_fn_cxx_try_compile "$LINENO"; then :
25143  glibcxx_cv_func_sincosf_use=yes
25144else
25145  glibcxx_cv_func_sincosf_use=no
25146fi
25147rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25148      ac_ext=c
25149ac_cpp='$CPP $CPPFLAGS'
25150ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25151ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25152ac_compiler_gnu=$ac_cv_c_compiler_gnu
25153
25154
25155fi
25156
25157  fi
25158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25159$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25160
25161  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25162    for ac_func in sincosf
25163do :
25164  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25165if test "x$ac_cv_func_sincosf" = x""yes; then :
25166  cat >>confdefs.h <<_ACEOF
25167#define HAVE_SINCOSF 1
25168_ACEOF
25169
25170fi
25171done
25172
25173  else
25174
25175  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25176$as_echo_n "checking for _sincosf declaration... " >&6; }
25177  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25178    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25179  $as_echo_n "(cached) " >&6
25180else
25181
25182
25183      ac_ext=cpp
25184ac_cpp='$CXXCPP $CPPFLAGS'
25185ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25186ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25187ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25188
25189      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25190/* end confdefs.h.  */
25191#include <math.h>
25192int
25193main ()
25194{
25195 _sincosf(0, 0, 0);
25196  ;
25197  return 0;
25198}
25199_ACEOF
25200if ac_fn_cxx_try_compile "$LINENO"; then :
25201  glibcxx_cv_func__sincosf_use=yes
25202else
25203  glibcxx_cv_func__sincosf_use=no
25204fi
25205rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25206      ac_ext=c
25207ac_cpp='$CPP $CPPFLAGS'
25208ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25209ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25210ac_compiler_gnu=$ac_cv_c_compiler_gnu
25211
25212
25213fi
25214
25215  fi
25216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25217$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25218
25219    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25220      for ac_func in _sincosf
25221do :
25222  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25223if test "x$ac_cv_func__sincosf" = x""yes; then :
25224  cat >>confdefs.h <<_ACEOF
25225#define HAVE__SINCOSF 1
25226_ACEOF
25227
25228fi
25229done
25230
25231    fi
25232  fi
25233
25234
25235
25236
25237
25238  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25239$as_echo_n "checking for finitef declaration... " >&6; }
25240  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25241    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25242  $as_echo_n "(cached) " >&6
25243else
25244
25245
25246      ac_ext=cpp
25247ac_cpp='$CXXCPP $CPPFLAGS'
25248ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25249ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25250ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25251
25252      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25253/* end confdefs.h.  */
25254#include <math.h>
25255		      #ifdef HAVE_IEEEFP_H
25256		      #include <ieeefp.h>
25257		      #endif
25258
25259int
25260main ()
25261{
25262 finitef(0);
25263  ;
25264  return 0;
25265}
25266_ACEOF
25267if ac_fn_cxx_try_compile "$LINENO"; then :
25268  glibcxx_cv_func_finitef_use=yes
25269else
25270  glibcxx_cv_func_finitef_use=no
25271fi
25272rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25273      ac_ext=c
25274ac_cpp='$CPP $CPPFLAGS'
25275ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25276ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25277ac_compiler_gnu=$ac_cv_c_compiler_gnu
25278
25279
25280fi
25281
25282  fi
25283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25284$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25285
25286  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25287    for ac_func in finitef
25288do :
25289  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25290if test "x$ac_cv_func_finitef" = x""yes; then :
25291  cat >>confdefs.h <<_ACEOF
25292#define HAVE_FINITEF 1
25293_ACEOF
25294
25295fi
25296done
25297
25298  else
25299
25300  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25301$as_echo_n "checking for _finitef declaration... " >&6; }
25302  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25303    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25304  $as_echo_n "(cached) " >&6
25305else
25306
25307
25308      ac_ext=cpp
25309ac_cpp='$CXXCPP $CPPFLAGS'
25310ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25311ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25312ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25313
25314      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25315/* end confdefs.h.  */
25316#include <math.h>
25317		      #ifdef HAVE_IEEEFP_H
25318		      #include <ieeefp.h>
25319		      #endif
25320
25321int
25322main ()
25323{
25324 _finitef(0);
25325  ;
25326  return 0;
25327}
25328_ACEOF
25329if ac_fn_cxx_try_compile "$LINENO"; then :
25330  glibcxx_cv_func__finitef_use=yes
25331else
25332  glibcxx_cv_func__finitef_use=no
25333fi
25334rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25335      ac_ext=c
25336ac_cpp='$CPP $CPPFLAGS'
25337ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25338ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25339ac_compiler_gnu=$ac_cv_c_compiler_gnu
25340
25341
25342fi
25343
25344  fi
25345  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25346$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25347
25348    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25349      for ac_func in _finitef
25350do :
25351  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25352if test "x$ac_cv_func__finitef" = x""yes; then :
25353  cat >>confdefs.h <<_ACEOF
25354#define HAVE__FINITEF 1
25355_ACEOF
25356
25357fi
25358done
25359
25360    fi
25361  fi
25362
25363
25364
25365
25366
25367    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25368$as_echo_n "checking for long double trig functions... " >&6; }
25369  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25370  $as_echo_n "(cached) " >&6
25371else
25372
25373
25374    ac_ext=cpp
25375ac_cpp='$CXXCPP $CPPFLAGS'
25376ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25377ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25378ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25379
25380    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25381/* end confdefs.h.  */
25382#include <math.h>
25383int
25384main ()
25385{
25386acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25387  ;
25388  return 0;
25389}
25390_ACEOF
25391if ac_fn_cxx_try_compile "$LINENO"; then :
25392  glibcxx_cv_func_long_double_trig_use=yes
25393else
25394  glibcxx_cv_func_long_double_trig_use=no
25395fi
25396rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25397    ac_ext=c
25398ac_cpp='$CPP $CPPFLAGS'
25399ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25400ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25401ac_compiler_gnu=$ac_cv_c_compiler_gnu
25402
25403fi
25404
25405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25406$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25407  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25408    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25409do :
25410  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25411ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25412eval as_val=\$$as_ac_var
25413   if test "x$as_val" = x""yes; then :
25414  cat >>confdefs.h <<_ACEOF
25415#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25416_ACEOF
25417
25418fi
25419done
25420
25421  else
25422    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25423$as_echo_n "checking for _long double trig functions... " >&6; }
25424    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25425  $as_echo_n "(cached) " >&6
25426else
25427
25428
25429      ac_ext=cpp
25430ac_cpp='$CXXCPP $CPPFLAGS'
25431ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25432ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25433ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25434
25435      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25436/* end confdefs.h.  */
25437#include <math.h>
25438int
25439main ()
25440{
25441_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25442  ;
25443  return 0;
25444}
25445_ACEOF
25446if ac_fn_cxx_try_compile "$LINENO"; then :
25447  glibcxx_cv_func__long_double_trig_use=yes
25448else
25449  glibcxx_cv_func__long_double_trig_use=no
25450fi
25451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25452      ac_ext=c
25453ac_cpp='$CPP $CPPFLAGS'
25454ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25455ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25456ac_compiler_gnu=$ac_cv_c_compiler_gnu
25457
25458fi
25459
25460    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25461$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25462    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25463      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25464do :
25465  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25466ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25467eval as_val=\$$as_ac_var
25468   if test "x$as_val" = x""yes; then :
25469  cat >>confdefs.h <<_ACEOF
25470#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25471_ACEOF
25472
25473fi
25474done
25475
25476    fi
25477  fi
25478
25479
25480
25481
25482
25483    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25484$as_echo_n "checking for long double round functions... " >&6; }
25485  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25486  $as_echo_n "(cached) " >&6
25487else
25488
25489
25490    ac_ext=cpp
25491ac_cpp='$CXXCPP $CPPFLAGS'
25492ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25493ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25494ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25495
25496    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25497/* end confdefs.h.  */
25498#include <math.h>
25499int
25500main ()
25501{
25502ceill (0); floorl (0);
25503  ;
25504  return 0;
25505}
25506_ACEOF
25507if ac_fn_cxx_try_compile "$LINENO"; then :
25508  glibcxx_cv_func_long_double_round_use=yes
25509else
25510  glibcxx_cv_func_long_double_round_use=no
25511fi
25512rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25513    ac_ext=c
25514ac_cpp='$CPP $CPPFLAGS'
25515ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25516ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25517ac_compiler_gnu=$ac_cv_c_compiler_gnu
25518
25519fi
25520
25521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25522$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25523  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25524    for ac_func in ceill floorl
25525do :
25526  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25527ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25528eval as_val=\$$as_ac_var
25529   if test "x$as_val" = x""yes; then :
25530  cat >>confdefs.h <<_ACEOF
25531#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25532_ACEOF
25533
25534fi
25535done
25536
25537  else
25538    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25539$as_echo_n "checking for _long double round functions... " >&6; }
25540    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25541  $as_echo_n "(cached) " >&6
25542else
25543
25544
25545      ac_ext=cpp
25546ac_cpp='$CXXCPP $CPPFLAGS'
25547ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25548ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25549ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25550
25551      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25552/* end confdefs.h.  */
25553#include <math.h>
25554int
25555main ()
25556{
25557_ceill (0); _floorl (0);
25558  ;
25559  return 0;
25560}
25561_ACEOF
25562if ac_fn_cxx_try_compile "$LINENO"; then :
25563  glibcxx_cv_func__long_double_round_use=yes
25564else
25565  glibcxx_cv_func__long_double_round_use=no
25566fi
25567rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25568      ac_ext=c
25569ac_cpp='$CPP $CPPFLAGS'
25570ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25571ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25572ac_compiler_gnu=$ac_cv_c_compiler_gnu
25573
25574fi
25575
25576    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25577$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25578    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25579      for ac_func in _ceill _floorl
25580do :
25581  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25582ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25583eval as_val=\$$as_ac_var
25584   if test "x$as_val" = x""yes; then :
25585  cat >>confdefs.h <<_ACEOF
25586#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25587_ACEOF
25588
25589fi
25590done
25591
25592    fi
25593  fi
25594
25595
25596
25597
25598
25599
25600  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25601$as_echo_n "checking for isnanl declaration... " >&6; }
25602  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25603    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25604  $as_echo_n "(cached) " >&6
25605else
25606
25607
25608      ac_ext=cpp
25609ac_cpp='$CXXCPP $CPPFLAGS'
25610ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25611ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25612ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25613
25614      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25615/* end confdefs.h.  */
25616#include <math.h>
25617		      #ifdef HAVE_IEEEFP_H
25618		      #include <ieeefp.h>
25619		      #endif
25620
25621int
25622main ()
25623{
25624 isnanl(0);
25625  ;
25626  return 0;
25627}
25628_ACEOF
25629if ac_fn_cxx_try_compile "$LINENO"; then :
25630  glibcxx_cv_func_isnanl_use=yes
25631else
25632  glibcxx_cv_func_isnanl_use=no
25633fi
25634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25635      ac_ext=c
25636ac_cpp='$CPP $CPPFLAGS'
25637ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25638ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25639ac_compiler_gnu=$ac_cv_c_compiler_gnu
25640
25641
25642fi
25643
25644  fi
25645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25646$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25647
25648  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25649    for ac_func in isnanl
25650do :
25651  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25652if test "x$ac_cv_func_isnanl" = x""yes; then :
25653  cat >>confdefs.h <<_ACEOF
25654#define HAVE_ISNANL 1
25655_ACEOF
25656
25657fi
25658done
25659
25660  else
25661
25662  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25663$as_echo_n "checking for _isnanl declaration... " >&6; }
25664  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25665    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25666  $as_echo_n "(cached) " >&6
25667else
25668
25669
25670      ac_ext=cpp
25671ac_cpp='$CXXCPP $CPPFLAGS'
25672ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25673ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25674ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25675
25676      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25677/* end confdefs.h.  */
25678#include <math.h>
25679		      #ifdef HAVE_IEEEFP_H
25680		      #include <ieeefp.h>
25681		      #endif
25682
25683int
25684main ()
25685{
25686 _isnanl(0);
25687  ;
25688  return 0;
25689}
25690_ACEOF
25691if ac_fn_cxx_try_compile "$LINENO"; then :
25692  glibcxx_cv_func__isnanl_use=yes
25693else
25694  glibcxx_cv_func__isnanl_use=no
25695fi
25696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25697      ac_ext=c
25698ac_cpp='$CPP $CPPFLAGS'
25699ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25700ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25701ac_compiler_gnu=$ac_cv_c_compiler_gnu
25702
25703
25704fi
25705
25706  fi
25707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25708$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25709
25710    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25711      for ac_func in _isnanl
25712do :
25713  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25714if test "x$ac_cv_func__isnanl" = x""yes; then :
25715  cat >>confdefs.h <<_ACEOF
25716#define HAVE__ISNANL 1
25717_ACEOF
25718
25719fi
25720done
25721
25722    fi
25723  fi
25724
25725
25726
25727
25728
25729  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25730$as_echo_n "checking for isinfl declaration... " >&6; }
25731  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25732    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25733  $as_echo_n "(cached) " >&6
25734else
25735
25736
25737      ac_ext=cpp
25738ac_cpp='$CXXCPP $CPPFLAGS'
25739ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25740ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25741ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25742
25743      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25744/* end confdefs.h.  */
25745#include <math.h>
25746		      #ifdef HAVE_IEEEFP_H
25747		      #include <ieeefp.h>
25748		      #endif
25749
25750int
25751main ()
25752{
25753 isinfl(0);
25754  ;
25755  return 0;
25756}
25757_ACEOF
25758if ac_fn_cxx_try_compile "$LINENO"; then :
25759  glibcxx_cv_func_isinfl_use=yes
25760else
25761  glibcxx_cv_func_isinfl_use=no
25762fi
25763rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25764      ac_ext=c
25765ac_cpp='$CPP $CPPFLAGS'
25766ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25767ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25768ac_compiler_gnu=$ac_cv_c_compiler_gnu
25769
25770
25771fi
25772
25773  fi
25774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25775$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25776
25777  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25778    for ac_func in isinfl
25779do :
25780  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25781if test "x$ac_cv_func_isinfl" = x""yes; then :
25782  cat >>confdefs.h <<_ACEOF
25783#define HAVE_ISINFL 1
25784_ACEOF
25785
25786fi
25787done
25788
25789  else
25790
25791  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25792$as_echo_n "checking for _isinfl declaration... " >&6; }
25793  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25794    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25795  $as_echo_n "(cached) " >&6
25796else
25797
25798
25799      ac_ext=cpp
25800ac_cpp='$CXXCPP $CPPFLAGS'
25801ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25802ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25803ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25804
25805      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25806/* end confdefs.h.  */
25807#include <math.h>
25808		      #ifdef HAVE_IEEEFP_H
25809		      #include <ieeefp.h>
25810		      #endif
25811
25812int
25813main ()
25814{
25815 _isinfl(0);
25816  ;
25817  return 0;
25818}
25819_ACEOF
25820if ac_fn_cxx_try_compile "$LINENO"; then :
25821  glibcxx_cv_func__isinfl_use=yes
25822else
25823  glibcxx_cv_func__isinfl_use=no
25824fi
25825rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25826      ac_ext=c
25827ac_cpp='$CPP $CPPFLAGS'
25828ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25829ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25830ac_compiler_gnu=$ac_cv_c_compiler_gnu
25831
25832
25833fi
25834
25835  fi
25836  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25837$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25838
25839    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25840      for ac_func in _isinfl
25841do :
25842  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25843if test "x$ac_cv_func__isinfl" = x""yes; then :
25844  cat >>confdefs.h <<_ACEOF
25845#define HAVE__ISINFL 1
25846_ACEOF
25847
25848fi
25849done
25850
25851    fi
25852  fi
25853
25854
25855
25856
25857
25858  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25859$as_echo_n "checking for atan2l declaration... " >&6; }
25860  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25861    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25862  $as_echo_n "(cached) " >&6
25863else
25864
25865
25866      ac_ext=cpp
25867ac_cpp='$CXXCPP $CPPFLAGS'
25868ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25869ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25870ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25871
25872      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25873/* end confdefs.h.  */
25874#include <math.h>
25875int
25876main ()
25877{
25878 atan2l(0, 0);
25879  ;
25880  return 0;
25881}
25882_ACEOF
25883if ac_fn_cxx_try_compile "$LINENO"; then :
25884  glibcxx_cv_func_atan2l_use=yes
25885else
25886  glibcxx_cv_func_atan2l_use=no
25887fi
25888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25889      ac_ext=c
25890ac_cpp='$CPP $CPPFLAGS'
25891ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25892ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25893ac_compiler_gnu=$ac_cv_c_compiler_gnu
25894
25895
25896fi
25897
25898  fi
25899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25900$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25901
25902  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25903    for ac_func in atan2l
25904do :
25905  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25906if test "x$ac_cv_func_atan2l" = x""yes; then :
25907  cat >>confdefs.h <<_ACEOF
25908#define HAVE_ATAN2L 1
25909_ACEOF
25910
25911fi
25912done
25913
25914  else
25915
25916  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25917$as_echo_n "checking for _atan2l declaration... " >&6; }
25918  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25919    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25920  $as_echo_n "(cached) " >&6
25921else
25922
25923
25924      ac_ext=cpp
25925ac_cpp='$CXXCPP $CPPFLAGS'
25926ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25927ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25928ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25929
25930      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25931/* end confdefs.h.  */
25932#include <math.h>
25933int
25934main ()
25935{
25936 _atan2l(0, 0);
25937  ;
25938  return 0;
25939}
25940_ACEOF
25941if ac_fn_cxx_try_compile "$LINENO"; then :
25942  glibcxx_cv_func__atan2l_use=yes
25943else
25944  glibcxx_cv_func__atan2l_use=no
25945fi
25946rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25947      ac_ext=c
25948ac_cpp='$CPP $CPPFLAGS'
25949ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25950ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25951ac_compiler_gnu=$ac_cv_c_compiler_gnu
25952
25953
25954fi
25955
25956  fi
25957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25958$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25959
25960    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25961      for ac_func in _atan2l
25962do :
25963  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25964if test "x$ac_cv_func__atan2l" = x""yes; then :
25965  cat >>confdefs.h <<_ACEOF
25966#define HAVE__ATAN2L 1
25967_ACEOF
25968
25969fi
25970done
25971
25972    fi
25973  fi
25974
25975
25976
25977
25978
25979  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25980$as_echo_n "checking for expl declaration... " >&6; }
25981  if test x${glibcxx_cv_func_expl_use+set} != xset; then
25982    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25983  $as_echo_n "(cached) " >&6
25984else
25985
25986
25987      ac_ext=cpp
25988ac_cpp='$CXXCPP $CPPFLAGS'
25989ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25990ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25991ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25992
25993      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25994/* end confdefs.h.  */
25995#include <math.h>
25996		      #ifdef HAVE_IEEEFP_H
25997		      #include <ieeefp.h>
25998		      #endif
25999
26000int
26001main ()
26002{
26003 expl(0);
26004  ;
26005  return 0;
26006}
26007_ACEOF
26008if ac_fn_cxx_try_compile "$LINENO"; then :
26009  glibcxx_cv_func_expl_use=yes
26010else
26011  glibcxx_cv_func_expl_use=no
26012fi
26013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26014      ac_ext=c
26015ac_cpp='$CPP $CPPFLAGS'
26016ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26017ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26018ac_compiler_gnu=$ac_cv_c_compiler_gnu
26019
26020
26021fi
26022
26023  fi
26024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26025$as_echo "$glibcxx_cv_func_expl_use" >&6; }
26026
26027  if test x$glibcxx_cv_func_expl_use = x"yes"; then
26028    for ac_func in expl
26029do :
26030  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26031if test "x$ac_cv_func_expl" = x""yes; then :
26032  cat >>confdefs.h <<_ACEOF
26033#define HAVE_EXPL 1
26034_ACEOF
26035
26036fi
26037done
26038
26039  else
26040
26041  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26042$as_echo_n "checking for _expl declaration... " >&6; }
26043  if test x${glibcxx_cv_func__expl_use+set} != xset; then
26044    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
26045  $as_echo_n "(cached) " >&6
26046else
26047
26048
26049      ac_ext=cpp
26050ac_cpp='$CXXCPP $CPPFLAGS'
26051ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26052ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26053ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26054
26055      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26056/* end confdefs.h.  */
26057#include <math.h>
26058		      #ifdef HAVE_IEEEFP_H
26059		      #include <ieeefp.h>
26060		      #endif
26061
26062int
26063main ()
26064{
26065 _expl(0);
26066  ;
26067  return 0;
26068}
26069_ACEOF
26070if ac_fn_cxx_try_compile "$LINENO"; then :
26071  glibcxx_cv_func__expl_use=yes
26072else
26073  glibcxx_cv_func__expl_use=no
26074fi
26075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26076      ac_ext=c
26077ac_cpp='$CPP $CPPFLAGS'
26078ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26079ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26080ac_compiler_gnu=$ac_cv_c_compiler_gnu
26081
26082
26083fi
26084
26085  fi
26086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26087$as_echo "$glibcxx_cv_func__expl_use" >&6; }
26088
26089    if test x$glibcxx_cv_func__expl_use = x"yes"; then
26090      for ac_func in _expl
26091do :
26092  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26093if test "x$ac_cv_func__expl" = x""yes; then :
26094  cat >>confdefs.h <<_ACEOF
26095#define HAVE__EXPL 1
26096_ACEOF
26097
26098fi
26099done
26100
26101    fi
26102  fi
26103
26104
26105
26106
26107
26108  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26109$as_echo_n "checking for fabsl declaration... " >&6; }
26110  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26111    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
26112  $as_echo_n "(cached) " >&6
26113else
26114
26115
26116      ac_ext=cpp
26117ac_cpp='$CXXCPP $CPPFLAGS'
26118ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26119ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26120ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26121
26122      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26123/* end confdefs.h.  */
26124#include <math.h>
26125		      #ifdef HAVE_IEEEFP_H
26126		      #include <ieeefp.h>
26127		      #endif
26128
26129int
26130main ()
26131{
26132 fabsl(0);
26133  ;
26134  return 0;
26135}
26136_ACEOF
26137if ac_fn_cxx_try_compile "$LINENO"; then :
26138  glibcxx_cv_func_fabsl_use=yes
26139else
26140  glibcxx_cv_func_fabsl_use=no
26141fi
26142rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26143      ac_ext=c
26144ac_cpp='$CPP $CPPFLAGS'
26145ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26146ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26147ac_compiler_gnu=$ac_cv_c_compiler_gnu
26148
26149
26150fi
26151
26152  fi
26153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26154$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26155
26156  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26157    for ac_func in fabsl
26158do :
26159  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26160if test "x$ac_cv_func_fabsl" = x""yes; then :
26161  cat >>confdefs.h <<_ACEOF
26162#define HAVE_FABSL 1
26163_ACEOF
26164
26165fi
26166done
26167
26168  else
26169
26170  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26171$as_echo_n "checking for _fabsl declaration... " >&6; }
26172  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26173    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26174  $as_echo_n "(cached) " >&6
26175else
26176
26177
26178      ac_ext=cpp
26179ac_cpp='$CXXCPP $CPPFLAGS'
26180ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26181ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26182ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26183
26184      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26185/* end confdefs.h.  */
26186#include <math.h>
26187		      #ifdef HAVE_IEEEFP_H
26188		      #include <ieeefp.h>
26189		      #endif
26190
26191int
26192main ()
26193{
26194 _fabsl(0);
26195  ;
26196  return 0;
26197}
26198_ACEOF
26199if ac_fn_cxx_try_compile "$LINENO"; then :
26200  glibcxx_cv_func__fabsl_use=yes
26201else
26202  glibcxx_cv_func__fabsl_use=no
26203fi
26204rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26205      ac_ext=c
26206ac_cpp='$CPP $CPPFLAGS'
26207ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26208ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26209ac_compiler_gnu=$ac_cv_c_compiler_gnu
26210
26211
26212fi
26213
26214  fi
26215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26216$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26217
26218    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26219      for ac_func in _fabsl
26220do :
26221  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26222if test "x$ac_cv_func__fabsl" = x""yes; then :
26223  cat >>confdefs.h <<_ACEOF
26224#define HAVE__FABSL 1
26225_ACEOF
26226
26227fi
26228done
26229
26230    fi
26231  fi
26232
26233
26234
26235
26236
26237  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26238$as_echo_n "checking for fmodl declaration... " >&6; }
26239  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26240    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26241  $as_echo_n "(cached) " >&6
26242else
26243
26244
26245      ac_ext=cpp
26246ac_cpp='$CXXCPP $CPPFLAGS'
26247ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26248ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26249ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26250
26251      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26252/* end confdefs.h.  */
26253#include <math.h>
26254int
26255main ()
26256{
26257 fmodl(0, 0);
26258  ;
26259  return 0;
26260}
26261_ACEOF
26262if ac_fn_cxx_try_compile "$LINENO"; then :
26263  glibcxx_cv_func_fmodl_use=yes
26264else
26265  glibcxx_cv_func_fmodl_use=no
26266fi
26267rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26268      ac_ext=c
26269ac_cpp='$CPP $CPPFLAGS'
26270ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26271ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26272ac_compiler_gnu=$ac_cv_c_compiler_gnu
26273
26274
26275fi
26276
26277  fi
26278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26279$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26280
26281  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26282    for ac_func in fmodl
26283do :
26284  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26285if test "x$ac_cv_func_fmodl" = x""yes; then :
26286  cat >>confdefs.h <<_ACEOF
26287#define HAVE_FMODL 1
26288_ACEOF
26289
26290fi
26291done
26292
26293  else
26294
26295  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26296$as_echo_n "checking for _fmodl declaration... " >&6; }
26297  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26298    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26299  $as_echo_n "(cached) " >&6
26300else
26301
26302
26303      ac_ext=cpp
26304ac_cpp='$CXXCPP $CPPFLAGS'
26305ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26306ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26307ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26308
26309      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26310/* end confdefs.h.  */
26311#include <math.h>
26312int
26313main ()
26314{
26315 _fmodl(0, 0);
26316  ;
26317  return 0;
26318}
26319_ACEOF
26320if ac_fn_cxx_try_compile "$LINENO"; then :
26321  glibcxx_cv_func__fmodl_use=yes
26322else
26323  glibcxx_cv_func__fmodl_use=no
26324fi
26325rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26326      ac_ext=c
26327ac_cpp='$CPP $CPPFLAGS'
26328ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26329ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26330ac_compiler_gnu=$ac_cv_c_compiler_gnu
26331
26332
26333fi
26334
26335  fi
26336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26337$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26338
26339    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26340      for ac_func in _fmodl
26341do :
26342  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26343if test "x$ac_cv_func__fmodl" = x""yes; then :
26344  cat >>confdefs.h <<_ACEOF
26345#define HAVE__FMODL 1
26346_ACEOF
26347
26348fi
26349done
26350
26351    fi
26352  fi
26353
26354
26355
26356
26357
26358  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26359$as_echo_n "checking for frexpl declaration... " >&6; }
26360  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26361    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26362  $as_echo_n "(cached) " >&6
26363else
26364
26365
26366      ac_ext=cpp
26367ac_cpp='$CXXCPP $CPPFLAGS'
26368ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26369ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26370ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26371
26372      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26373/* end confdefs.h.  */
26374#include <math.h>
26375int
26376main ()
26377{
26378 frexpl(0, 0);
26379  ;
26380  return 0;
26381}
26382_ACEOF
26383if ac_fn_cxx_try_compile "$LINENO"; then :
26384  glibcxx_cv_func_frexpl_use=yes
26385else
26386  glibcxx_cv_func_frexpl_use=no
26387fi
26388rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26389      ac_ext=c
26390ac_cpp='$CPP $CPPFLAGS'
26391ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26392ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26393ac_compiler_gnu=$ac_cv_c_compiler_gnu
26394
26395
26396fi
26397
26398  fi
26399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26400$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26401
26402  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26403    for ac_func in frexpl
26404do :
26405  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26406if test "x$ac_cv_func_frexpl" = x""yes; then :
26407  cat >>confdefs.h <<_ACEOF
26408#define HAVE_FREXPL 1
26409_ACEOF
26410
26411fi
26412done
26413
26414  else
26415
26416  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26417$as_echo_n "checking for _frexpl declaration... " >&6; }
26418  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26419    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26420  $as_echo_n "(cached) " >&6
26421else
26422
26423
26424      ac_ext=cpp
26425ac_cpp='$CXXCPP $CPPFLAGS'
26426ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26427ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26428ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26429
26430      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26431/* end confdefs.h.  */
26432#include <math.h>
26433int
26434main ()
26435{
26436 _frexpl(0, 0);
26437  ;
26438  return 0;
26439}
26440_ACEOF
26441if ac_fn_cxx_try_compile "$LINENO"; then :
26442  glibcxx_cv_func__frexpl_use=yes
26443else
26444  glibcxx_cv_func__frexpl_use=no
26445fi
26446rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26447      ac_ext=c
26448ac_cpp='$CPP $CPPFLAGS'
26449ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26450ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26451ac_compiler_gnu=$ac_cv_c_compiler_gnu
26452
26453
26454fi
26455
26456  fi
26457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26458$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26459
26460    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26461      for ac_func in _frexpl
26462do :
26463  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26464if test "x$ac_cv_func__frexpl" = x""yes; then :
26465  cat >>confdefs.h <<_ACEOF
26466#define HAVE__FREXPL 1
26467_ACEOF
26468
26469fi
26470done
26471
26472    fi
26473  fi
26474
26475
26476
26477
26478
26479  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26480$as_echo_n "checking for hypotl declaration... " >&6; }
26481  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26482    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26483  $as_echo_n "(cached) " >&6
26484else
26485
26486
26487      ac_ext=cpp
26488ac_cpp='$CXXCPP $CPPFLAGS'
26489ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26490ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26491ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26492
26493      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26494/* end confdefs.h.  */
26495#include <math.h>
26496int
26497main ()
26498{
26499 hypotl(0, 0);
26500  ;
26501  return 0;
26502}
26503_ACEOF
26504if ac_fn_cxx_try_compile "$LINENO"; then :
26505  glibcxx_cv_func_hypotl_use=yes
26506else
26507  glibcxx_cv_func_hypotl_use=no
26508fi
26509rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26510      ac_ext=c
26511ac_cpp='$CPP $CPPFLAGS'
26512ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26513ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26514ac_compiler_gnu=$ac_cv_c_compiler_gnu
26515
26516
26517fi
26518
26519  fi
26520  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26521$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26522
26523  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26524    for ac_func in hypotl
26525do :
26526  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26527if test "x$ac_cv_func_hypotl" = x""yes; then :
26528  cat >>confdefs.h <<_ACEOF
26529#define HAVE_HYPOTL 1
26530_ACEOF
26531
26532fi
26533done
26534
26535  else
26536
26537  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26538$as_echo_n "checking for _hypotl declaration... " >&6; }
26539  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26540    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26541  $as_echo_n "(cached) " >&6
26542else
26543
26544
26545      ac_ext=cpp
26546ac_cpp='$CXXCPP $CPPFLAGS'
26547ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26548ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26549ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26550
26551      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26552/* end confdefs.h.  */
26553#include <math.h>
26554int
26555main ()
26556{
26557 _hypotl(0, 0);
26558  ;
26559  return 0;
26560}
26561_ACEOF
26562if ac_fn_cxx_try_compile "$LINENO"; then :
26563  glibcxx_cv_func__hypotl_use=yes
26564else
26565  glibcxx_cv_func__hypotl_use=no
26566fi
26567rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26568      ac_ext=c
26569ac_cpp='$CPP $CPPFLAGS'
26570ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26571ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26572ac_compiler_gnu=$ac_cv_c_compiler_gnu
26573
26574
26575fi
26576
26577  fi
26578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26579$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26580
26581    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26582      for ac_func in _hypotl
26583do :
26584  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26585if test "x$ac_cv_func__hypotl" = x""yes; then :
26586  cat >>confdefs.h <<_ACEOF
26587#define HAVE__HYPOTL 1
26588_ACEOF
26589
26590fi
26591done
26592
26593    fi
26594  fi
26595
26596
26597
26598
26599
26600  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26601$as_echo_n "checking for ldexpl declaration... " >&6; }
26602  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26603    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26604  $as_echo_n "(cached) " >&6
26605else
26606
26607
26608      ac_ext=cpp
26609ac_cpp='$CXXCPP $CPPFLAGS'
26610ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26611ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26612ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26613
26614      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26615/* end confdefs.h.  */
26616#include <math.h>
26617int
26618main ()
26619{
26620 ldexpl(0, 0);
26621  ;
26622  return 0;
26623}
26624_ACEOF
26625if ac_fn_cxx_try_compile "$LINENO"; then :
26626  glibcxx_cv_func_ldexpl_use=yes
26627else
26628  glibcxx_cv_func_ldexpl_use=no
26629fi
26630rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26631      ac_ext=c
26632ac_cpp='$CPP $CPPFLAGS'
26633ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26634ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26635ac_compiler_gnu=$ac_cv_c_compiler_gnu
26636
26637
26638fi
26639
26640  fi
26641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26642$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26643
26644  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26645    for ac_func in ldexpl
26646do :
26647  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26648if test "x$ac_cv_func_ldexpl" = x""yes; then :
26649  cat >>confdefs.h <<_ACEOF
26650#define HAVE_LDEXPL 1
26651_ACEOF
26652
26653fi
26654done
26655
26656  else
26657
26658  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26659$as_echo_n "checking for _ldexpl declaration... " >&6; }
26660  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26661    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26662  $as_echo_n "(cached) " >&6
26663else
26664
26665
26666      ac_ext=cpp
26667ac_cpp='$CXXCPP $CPPFLAGS'
26668ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26669ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26670ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26671
26672      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26673/* end confdefs.h.  */
26674#include <math.h>
26675int
26676main ()
26677{
26678 _ldexpl(0, 0);
26679  ;
26680  return 0;
26681}
26682_ACEOF
26683if ac_fn_cxx_try_compile "$LINENO"; then :
26684  glibcxx_cv_func__ldexpl_use=yes
26685else
26686  glibcxx_cv_func__ldexpl_use=no
26687fi
26688rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26689      ac_ext=c
26690ac_cpp='$CPP $CPPFLAGS'
26691ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26692ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26693ac_compiler_gnu=$ac_cv_c_compiler_gnu
26694
26695
26696fi
26697
26698  fi
26699  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26700$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26701
26702    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26703      for ac_func in _ldexpl
26704do :
26705  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26706if test "x$ac_cv_func__ldexpl" = x""yes; then :
26707  cat >>confdefs.h <<_ACEOF
26708#define HAVE__LDEXPL 1
26709_ACEOF
26710
26711fi
26712done
26713
26714    fi
26715  fi
26716
26717
26718
26719
26720
26721  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26722$as_echo_n "checking for logl declaration... " >&6; }
26723  if test x${glibcxx_cv_func_logl_use+set} != xset; then
26724    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26725  $as_echo_n "(cached) " >&6
26726else
26727
26728
26729      ac_ext=cpp
26730ac_cpp='$CXXCPP $CPPFLAGS'
26731ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26732ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26733ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26734
26735      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26736/* end confdefs.h.  */
26737#include <math.h>
26738		      #ifdef HAVE_IEEEFP_H
26739		      #include <ieeefp.h>
26740		      #endif
26741
26742int
26743main ()
26744{
26745 logl(0);
26746  ;
26747  return 0;
26748}
26749_ACEOF
26750if ac_fn_cxx_try_compile "$LINENO"; then :
26751  glibcxx_cv_func_logl_use=yes
26752else
26753  glibcxx_cv_func_logl_use=no
26754fi
26755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26756      ac_ext=c
26757ac_cpp='$CPP $CPPFLAGS'
26758ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26759ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26760ac_compiler_gnu=$ac_cv_c_compiler_gnu
26761
26762
26763fi
26764
26765  fi
26766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26767$as_echo "$glibcxx_cv_func_logl_use" >&6; }
26768
26769  if test x$glibcxx_cv_func_logl_use = x"yes"; then
26770    for ac_func in logl
26771do :
26772  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26773if test "x$ac_cv_func_logl" = x""yes; then :
26774  cat >>confdefs.h <<_ACEOF
26775#define HAVE_LOGL 1
26776_ACEOF
26777
26778fi
26779done
26780
26781  else
26782
26783  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26784$as_echo_n "checking for _logl declaration... " >&6; }
26785  if test x${glibcxx_cv_func__logl_use+set} != xset; then
26786    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26787  $as_echo_n "(cached) " >&6
26788else
26789
26790
26791      ac_ext=cpp
26792ac_cpp='$CXXCPP $CPPFLAGS'
26793ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26794ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26795ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26796
26797      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26798/* end confdefs.h.  */
26799#include <math.h>
26800		      #ifdef HAVE_IEEEFP_H
26801		      #include <ieeefp.h>
26802		      #endif
26803
26804int
26805main ()
26806{
26807 _logl(0);
26808  ;
26809  return 0;
26810}
26811_ACEOF
26812if ac_fn_cxx_try_compile "$LINENO"; then :
26813  glibcxx_cv_func__logl_use=yes
26814else
26815  glibcxx_cv_func__logl_use=no
26816fi
26817rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26818      ac_ext=c
26819ac_cpp='$CPP $CPPFLAGS'
26820ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26821ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26822ac_compiler_gnu=$ac_cv_c_compiler_gnu
26823
26824
26825fi
26826
26827  fi
26828  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26829$as_echo "$glibcxx_cv_func__logl_use" >&6; }
26830
26831    if test x$glibcxx_cv_func__logl_use = x"yes"; then
26832      for ac_func in _logl
26833do :
26834  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26835if test "x$ac_cv_func__logl" = x""yes; then :
26836  cat >>confdefs.h <<_ACEOF
26837#define HAVE__LOGL 1
26838_ACEOF
26839
26840fi
26841done
26842
26843    fi
26844  fi
26845
26846
26847
26848
26849
26850  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26851$as_echo_n "checking for log10l declaration... " >&6; }
26852  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26853    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26854  $as_echo_n "(cached) " >&6
26855else
26856
26857
26858      ac_ext=cpp
26859ac_cpp='$CXXCPP $CPPFLAGS'
26860ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26861ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26862ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26863
26864      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26865/* end confdefs.h.  */
26866#include <math.h>
26867		      #ifdef HAVE_IEEEFP_H
26868		      #include <ieeefp.h>
26869		      #endif
26870
26871int
26872main ()
26873{
26874 log10l(0);
26875  ;
26876  return 0;
26877}
26878_ACEOF
26879if ac_fn_cxx_try_compile "$LINENO"; then :
26880  glibcxx_cv_func_log10l_use=yes
26881else
26882  glibcxx_cv_func_log10l_use=no
26883fi
26884rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26885      ac_ext=c
26886ac_cpp='$CPP $CPPFLAGS'
26887ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26888ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26889ac_compiler_gnu=$ac_cv_c_compiler_gnu
26890
26891
26892fi
26893
26894  fi
26895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26896$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26897
26898  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26899    for ac_func in log10l
26900do :
26901  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26902if test "x$ac_cv_func_log10l" = x""yes; then :
26903  cat >>confdefs.h <<_ACEOF
26904#define HAVE_LOG10L 1
26905_ACEOF
26906
26907fi
26908done
26909
26910  else
26911
26912  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26913$as_echo_n "checking for _log10l declaration... " >&6; }
26914  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26915    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26916  $as_echo_n "(cached) " >&6
26917else
26918
26919
26920      ac_ext=cpp
26921ac_cpp='$CXXCPP $CPPFLAGS'
26922ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26923ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26924ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26925
26926      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26927/* end confdefs.h.  */
26928#include <math.h>
26929		      #ifdef HAVE_IEEEFP_H
26930		      #include <ieeefp.h>
26931		      #endif
26932
26933int
26934main ()
26935{
26936 _log10l(0);
26937  ;
26938  return 0;
26939}
26940_ACEOF
26941if ac_fn_cxx_try_compile "$LINENO"; then :
26942  glibcxx_cv_func__log10l_use=yes
26943else
26944  glibcxx_cv_func__log10l_use=no
26945fi
26946rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26947      ac_ext=c
26948ac_cpp='$CPP $CPPFLAGS'
26949ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26950ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26951ac_compiler_gnu=$ac_cv_c_compiler_gnu
26952
26953
26954fi
26955
26956  fi
26957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26958$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26959
26960    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26961      for ac_func in _log10l
26962do :
26963  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26964if test "x$ac_cv_func__log10l" = x""yes; then :
26965  cat >>confdefs.h <<_ACEOF
26966#define HAVE__LOG10L 1
26967_ACEOF
26968
26969fi
26970done
26971
26972    fi
26973  fi
26974
26975
26976
26977
26978
26979  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26980$as_echo_n "checking for modfl declaration... " >&6; }
26981  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26982    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26983  $as_echo_n "(cached) " >&6
26984else
26985
26986
26987      ac_ext=cpp
26988ac_cpp='$CXXCPP $CPPFLAGS'
26989ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26990ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26991ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26992
26993      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26994/* end confdefs.h.  */
26995#include <math.h>
26996int
26997main ()
26998{
26999 modfl(0, 0);
27000  ;
27001  return 0;
27002}
27003_ACEOF
27004if ac_fn_cxx_try_compile "$LINENO"; then :
27005  glibcxx_cv_func_modfl_use=yes
27006else
27007  glibcxx_cv_func_modfl_use=no
27008fi
27009rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27010      ac_ext=c
27011ac_cpp='$CPP $CPPFLAGS'
27012ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27013ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27014ac_compiler_gnu=$ac_cv_c_compiler_gnu
27015
27016
27017fi
27018
27019  fi
27020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27021$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27022
27023  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27024    for ac_func in modfl
27025do :
27026  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27027if test "x$ac_cv_func_modfl" = x""yes; then :
27028  cat >>confdefs.h <<_ACEOF
27029#define HAVE_MODFL 1
27030_ACEOF
27031
27032fi
27033done
27034
27035  else
27036
27037  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27038$as_echo_n "checking for _modfl declaration... " >&6; }
27039  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27040    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
27041  $as_echo_n "(cached) " >&6
27042else
27043
27044
27045      ac_ext=cpp
27046ac_cpp='$CXXCPP $CPPFLAGS'
27047ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27048ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27049ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27050
27051      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27052/* end confdefs.h.  */
27053#include <math.h>
27054int
27055main ()
27056{
27057 _modfl(0, 0);
27058  ;
27059  return 0;
27060}
27061_ACEOF
27062if ac_fn_cxx_try_compile "$LINENO"; then :
27063  glibcxx_cv_func__modfl_use=yes
27064else
27065  glibcxx_cv_func__modfl_use=no
27066fi
27067rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27068      ac_ext=c
27069ac_cpp='$CPP $CPPFLAGS'
27070ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27071ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27072ac_compiler_gnu=$ac_cv_c_compiler_gnu
27073
27074
27075fi
27076
27077  fi
27078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27079$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27080
27081    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27082      for ac_func in _modfl
27083do :
27084  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27085if test "x$ac_cv_func__modfl" = x""yes; then :
27086  cat >>confdefs.h <<_ACEOF
27087#define HAVE__MODFL 1
27088_ACEOF
27089
27090fi
27091done
27092
27093    fi
27094  fi
27095
27096
27097
27098
27099
27100  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27101$as_echo_n "checking for powl declaration... " >&6; }
27102  if test x${glibcxx_cv_func_powl_use+set} != xset; then
27103    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
27104  $as_echo_n "(cached) " >&6
27105else
27106
27107
27108      ac_ext=cpp
27109ac_cpp='$CXXCPP $CPPFLAGS'
27110ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27111ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27112ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27113
27114      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27115/* end confdefs.h.  */
27116#include <math.h>
27117int
27118main ()
27119{
27120 powl(0, 0);
27121  ;
27122  return 0;
27123}
27124_ACEOF
27125if ac_fn_cxx_try_compile "$LINENO"; then :
27126  glibcxx_cv_func_powl_use=yes
27127else
27128  glibcxx_cv_func_powl_use=no
27129fi
27130rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27131      ac_ext=c
27132ac_cpp='$CPP $CPPFLAGS'
27133ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27134ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27135ac_compiler_gnu=$ac_cv_c_compiler_gnu
27136
27137
27138fi
27139
27140  fi
27141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27142$as_echo "$glibcxx_cv_func_powl_use" >&6; }
27143
27144  if test x$glibcxx_cv_func_powl_use = x"yes"; then
27145    for ac_func in powl
27146do :
27147  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27148if test "x$ac_cv_func_powl" = x""yes; then :
27149  cat >>confdefs.h <<_ACEOF
27150#define HAVE_POWL 1
27151_ACEOF
27152
27153fi
27154done
27155
27156  else
27157
27158  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27159$as_echo_n "checking for _powl declaration... " >&6; }
27160  if test x${glibcxx_cv_func__powl_use+set} != xset; then
27161    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27162  $as_echo_n "(cached) " >&6
27163else
27164
27165
27166      ac_ext=cpp
27167ac_cpp='$CXXCPP $CPPFLAGS'
27168ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27169ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27170ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27171
27172      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27173/* end confdefs.h.  */
27174#include <math.h>
27175int
27176main ()
27177{
27178 _powl(0, 0);
27179  ;
27180  return 0;
27181}
27182_ACEOF
27183if ac_fn_cxx_try_compile "$LINENO"; then :
27184  glibcxx_cv_func__powl_use=yes
27185else
27186  glibcxx_cv_func__powl_use=no
27187fi
27188rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27189      ac_ext=c
27190ac_cpp='$CPP $CPPFLAGS'
27191ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27192ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27193ac_compiler_gnu=$ac_cv_c_compiler_gnu
27194
27195
27196fi
27197
27198  fi
27199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27200$as_echo "$glibcxx_cv_func__powl_use" >&6; }
27201
27202    if test x$glibcxx_cv_func__powl_use = x"yes"; then
27203      for ac_func in _powl
27204do :
27205  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27206if test "x$ac_cv_func__powl" = x""yes; then :
27207  cat >>confdefs.h <<_ACEOF
27208#define HAVE__POWL 1
27209_ACEOF
27210
27211fi
27212done
27213
27214    fi
27215  fi
27216
27217
27218
27219
27220
27221  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27222$as_echo_n "checking for sqrtl declaration... " >&6; }
27223  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27224    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27225  $as_echo_n "(cached) " >&6
27226else
27227
27228
27229      ac_ext=cpp
27230ac_cpp='$CXXCPP $CPPFLAGS'
27231ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27232ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27233ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27234
27235      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27236/* end confdefs.h.  */
27237#include <math.h>
27238		      #ifdef HAVE_IEEEFP_H
27239		      #include <ieeefp.h>
27240		      #endif
27241
27242int
27243main ()
27244{
27245 sqrtl(0);
27246  ;
27247  return 0;
27248}
27249_ACEOF
27250if ac_fn_cxx_try_compile "$LINENO"; then :
27251  glibcxx_cv_func_sqrtl_use=yes
27252else
27253  glibcxx_cv_func_sqrtl_use=no
27254fi
27255rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27256      ac_ext=c
27257ac_cpp='$CPP $CPPFLAGS'
27258ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27259ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27260ac_compiler_gnu=$ac_cv_c_compiler_gnu
27261
27262
27263fi
27264
27265  fi
27266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27267$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27268
27269  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27270    for ac_func in sqrtl
27271do :
27272  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27273if test "x$ac_cv_func_sqrtl" = x""yes; then :
27274  cat >>confdefs.h <<_ACEOF
27275#define HAVE_SQRTL 1
27276_ACEOF
27277
27278fi
27279done
27280
27281  else
27282
27283  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27284$as_echo_n "checking for _sqrtl declaration... " >&6; }
27285  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27286    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27287  $as_echo_n "(cached) " >&6
27288else
27289
27290
27291      ac_ext=cpp
27292ac_cpp='$CXXCPP $CPPFLAGS'
27293ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27294ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27295ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27296
27297      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27298/* end confdefs.h.  */
27299#include <math.h>
27300		      #ifdef HAVE_IEEEFP_H
27301		      #include <ieeefp.h>
27302		      #endif
27303
27304int
27305main ()
27306{
27307 _sqrtl(0);
27308  ;
27309  return 0;
27310}
27311_ACEOF
27312if ac_fn_cxx_try_compile "$LINENO"; then :
27313  glibcxx_cv_func__sqrtl_use=yes
27314else
27315  glibcxx_cv_func__sqrtl_use=no
27316fi
27317rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27318      ac_ext=c
27319ac_cpp='$CPP $CPPFLAGS'
27320ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27321ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27322ac_compiler_gnu=$ac_cv_c_compiler_gnu
27323
27324
27325fi
27326
27327  fi
27328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27329$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27330
27331    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27332      for ac_func in _sqrtl
27333do :
27334  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27335if test "x$ac_cv_func__sqrtl" = x""yes; then :
27336  cat >>confdefs.h <<_ACEOF
27337#define HAVE__SQRTL 1
27338_ACEOF
27339
27340fi
27341done
27342
27343    fi
27344  fi
27345
27346
27347
27348
27349
27350  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27351$as_echo_n "checking for sincosl declaration... " >&6; }
27352  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27353    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27354  $as_echo_n "(cached) " >&6
27355else
27356
27357
27358      ac_ext=cpp
27359ac_cpp='$CXXCPP $CPPFLAGS'
27360ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27361ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27362ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27363
27364      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27365/* end confdefs.h.  */
27366#include <math.h>
27367int
27368main ()
27369{
27370 sincosl(0, 0, 0);
27371  ;
27372  return 0;
27373}
27374_ACEOF
27375if ac_fn_cxx_try_compile "$LINENO"; then :
27376  glibcxx_cv_func_sincosl_use=yes
27377else
27378  glibcxx_cv_func_sincosl_use=no
27379fi
27380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27381      ac_ext=c
27382ac_cpp='$CPP $CPPFLAGS'
27383ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27384ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27385ac_compiler_gnu=$ac_cv_c_compiler_gnu
27386
27387
27388fi
27389
27390  fi
27391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27392$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27393
27394  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27395    for ac_func in sincosl
27396do :
27397  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27398if test "x$ac_cv_func_sincosl" = x""yes; then :
27399  cat >>confdefs.h <<_ACEOF
27400#define HAVE_SINCOSL 1
27401_ACEOF
27402
27403fi
27404done
27405
27406  else
27407
27408  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27409$as_echo_n "checking for _sincosl declaration... " >&6; }
27410  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27411    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27412  $as_echo_n "(cached) " >&6
27413else
27414
27415
27416      ac_ext=cpp
27417ac_cpp='$CXXCPP $CPPFLAGS'
27418ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27419ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27420ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27421
27422      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27423/* end confdefs.h.  */
27424#include <math.h>
27425int
27426main ()
27427{
27428 _sincosl(0, 0, 0);
27429  ;
27430  return 0;
27431}
27432_ACEOF
27433if ac_fn_cxx_try_compile "$LINENO"; then :
27434  glibcxx_cv_func__sincosl_use=yes
27435else
27436  glibcxx_cv_func__sincosl_use=no
27437fi
27438rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27439      ac_ext=c
27440ac_cpp='$CPP $CPPFLAGS'
27441ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27442ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27443ac_compiler_gnu=$ac_cv_c_compiler_gnu
27444
27445
27446fi
27447
27448  fi
27449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27450$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27451
27452    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27453      for ac_func in _sincosl
27454do :
27455  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27456if test "x$ac_cv_func__sincosl" = x""yes; then :
27457  cat >>confdefs.h <<_ACEOF
27458#define HAVE__SINCOSL 1
27459_ACEOF
27460
27461fi
27462done
27463
27464    fi
27465  fi
27466
27467
27468
27469
27470
27471  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27472$as_echo_n "checking for finitel declaration... " >&6; }
27473  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27474    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27475  $as_echo_n "(cached) " >&6
27476else
27477
27478
27479      ac_ext=cpp
27480ac_cpp='$CXXCPP $CPPFLAGS'
27481ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27482ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27483ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27484
27485      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27486/* end confdefs.h.  */
27487#include <math.h>
27488		      #ifdef HAVE_IEEEFP_H
27489		      #include <ieeefp.h>
27490		      #endif
27491
27492int
27493main ()
27494{
27495 finitel(0);
27496  ;
27497  return 0;
27498}
27499_ACEOF
27500if ac_fn_cxx_try_compile "$LINENO"; then :
27501  glibcxx_cv_func_finitel_use=yes
27502else
27503  glibcxx_cv_func_finitel_use=no
27504fi
27505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27506      ac_ext=c
27507ac_cpp='$CPP $CPPFLAGS'
27508ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27509ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27510ac_compiler_gnu=$ac_cv_c_compiler_gnu
27511
27512
27513fi
27514
27515  fi
27516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27517$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27518
27519  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27520    for ac_func in finitel
27521do :
27522  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27523if test "x$ac_cv_func_finitel" = x""yes; then :
27524  cat >>confdefs.h <<_ACEOF
27525#define HAVE_FINITEL 1
27526_ACEOF
27527
27528fi
27529done
27530
27531  else
27532
27533  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27534$as_echo_n "checking for _finitel declaration... " >&6; }
27535  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27536    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27537  $as_echo_n "(cached) " >&6
27538else
27539
27540
27541      ac_ext=cpp
27542ac_cpp='$CXXCPP $CPPFLAGS'
27543ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27544ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27545ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27546
27547      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27548/* end confdefs.h.  */
27549#include <math.h>
27550		      #ifdef HAVE_IEEEFP_H
27551		      #include <ieeefp.h>
27552		      #endif
27553
27554int
27555main ()
27556{
27557 _finitel(0);
27558  ;
27559  return 0;
27560}
27561_ACEOF
27562if ac_fn_cxx_try_compile "$LINENO"; then :
27563  glibcxx_cv_func__finitel_use=yes
27564else
27565  glibcxx_cv_func__finitel_use=no
27566fi
27567rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27568      ac_ext=c
27569ac_cpp='$CPP $CPPFLAGS'
27570ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27571ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27572ac_compiler_gnu=$ac_cv_c_compiler_gnu
27573
27574
27575fi
27576
27577  fi
27578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27579$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27580
27581    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27582      for ac_func in _finitel
27583do :
27584  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27585if test "x$ac_cv_func__finitel" = x""yes; then :
27586  cat >>confdefs.h <<_ACEOF
27587#define HAVE__FINITEL 1
27588_ACEOF
27589
27590fi
27591done
27592
27593    fi
27594  fi
27595
27596
27597
27598
27599  LIBS="$ac_save_LIBS"
27600  CXXFLAGS="$ac_save_CXXFLAGS"
27601
27602
27603  ac_test_CXXFLAGS="${CXXFLAGS+set}"
27604  ac_save_CXXFLAGS="$CXXFLAGS"
27605  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27606
27607
27608  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27609$as_echo_n "checking for at_quick_exit declaration... " >&6; }
27610  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27611    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27612  $as_echo_n "(cached) " >&6
27613else
27614
27615
27616      ac_ext=cpp
27617ac_cpp='$CXXCPP $CPPFLAGS'
27618ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27619ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27620ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27621
27622      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27623/* end confdefs.h.  */
27624#include <stdlib.h>
27625int
27626main ()
27627{
27628 at_quick_exit(0);
27629  ;
27630  return 0;
27631}
27632_ACEOF
27633if ac_fn_cxx_try_compile "$LINENO"; then :
27634  glibcxx_cv_func_at_quick_exit_use=yes
27635else
27636  glibcxx_cv_func_at_quick_exit_use=no
27637fi
27638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27639      ac_ext=c
27640ac_cpp='$CPP $CPPFLAGS'
27641ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27642ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27643ac_compiler_gnu=$ac_cv_c_compiler_gnu
27644
27645
27646fi
27647
27648  fi
27649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27650$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27651  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27652    for ac_func in at_quick_exit
27653do :
27654  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27655if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27656  cat >>confdefs.h <<_ACEOF
27657#define HAVE_AT_QUICK_EXIT 1
27658_ACEOF
27659
27660fi
27661done
27662
27663  fi
27664
27665
27666  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27667$as_echo_n "checking for quick_exit declaration... " >&6; }
27668  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27669    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27670  $as_echo_n "(cached) " >&6
27671else
27672
27673
27674      ac_ext=cpp
27675ac_cpp='$CXXCPP $CPPFLAGS'
27676ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27677ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27678ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27679
27680      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27681/* end confdefs.h.  */
27682#include <stdlib.h>
27683int
27684main ()
27685{
27686 quick_exit(0);
27687  ;
27688  return 0;
27689}
27690_ACEOF
27691if ac_fn_cxx_try_compile "$LINENO"; then :
27692  glibcxx_cv_func_quick_exit_use=yes
27693else
27694  glibcxx_cv_func_quick_exit_use=no
27695fi
27696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27697      ac_ext=c
27698ac_cpp='$CPP $CPPFLAGS'
27699ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27700ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27701ac_compiler_gnu=$ac_cv_c_compiler_gnu
27702
27703
27704fi
27705
27706  fi
27707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27708$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27709  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27710    for ac_func in quick_exit
27711do :
27712  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27713if test "x$ac_cv_func_quick_exit" = x""yes; then :
27714  cat >>confdefs.h <<_ACEOF
27715#define HAVE_QUICK_EXIT 1
27716_ACEOF
27717
27718fi
27719done
27720
27721  fi
27722
27723
27724  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27725$as_echo_n "checking for strtold declaration... " >&6; }
27726  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27727    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27728  $as_echo_n "(cached) " >&6
27729else
27730
27731
27732      ac_ext=cpp
27733ac_cpp='$CXXCPP $CPPFLAGS'
27734ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27735ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27736ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27737
27738      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27739/* end confdefs.h.  */
27740#include <stdlib.h>
27741int
27742main ()
27743{
27744 strtold(0, 0);
27745  ;
27746  return 0;
27747}
27748_ACEOF
27749if ac_fn_cxx_try_compile "$LINENO"; then :
27750  glibcxx_cv_func_strtold_use=yes
27751else
27752  glibcxx_cv_func_strtold_use=no
27753fi
27754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27755      ac_ext=c
27756ac_cpp='$CPP $CPPFLAGS'
27757ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27758ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27759ac_compiler_gnu=$ac_cv_c_compiler_gnu
27760
27761
27762fi
27763
27764  fi
27765  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27766$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27767  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27768    for ac_func in strtold
27769do :
27770  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27771if test "x$ac_cv_func_strtold" = x""yes; then :
27772  cat >>confdefs.h <<_ACEOF
27773#define HAVE_STRTOLD 1
27774_ACEOF
27775
27776fi
27777done
27778
27779  fi
27780
27781
27782
27783
27784  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27785$as_echo_n "checking for strtof declaration... " >&6; }
27786  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27787    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27788  $as_echo_n "(cached) " >&6
27789else
27790
27791
27792      ac_ext=cpp
27793ac_cpp='$CXXCPP $CPPFLAGS'
27794ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27795ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27796ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27797
27798      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27799/* end confdefs.h.  */
27800#include <stdlib.h>
27801int
27802main ()
27803{
27804 strtof(0, 0);
27805  ;
27806  return 0;
27807}
27808_ACEOF
27809if ac_fn_cxx_try_compile "$LINENO"; then :
27810  glibcxx_cv_func_strtof_use=yes
27811else
27812  glibcxx_cv_func_strtof_use=no
27813fi
27814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27815      ac_ext=c
27816ac_cpp='$CPP $CPPFLAGS'
27817ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27818ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27819ac_compiler_gnu=$ac_cv_c_compiler_gnu
27820
27821
27822fi
27823
27824  fi
27825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27826$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27827  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27828    for ac_func in strtof
27829do :
27830  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27831if test "x$ac_cv_func_strtof" = x""yes; then :
27832  cat >>confdefs.h <<_ACEOF
27833#define HAVE_STRTOF 1
27834_ACEOF
27835
27836fi
27837done
27838
27839  fi
27840
27841
27842
27843
27844  CXXFLAGS="$ac_save_CXXFLAGS"
27845
27846
27847  # For /dev/random and /dev/urandom for TR1.
27848
27849
27850  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27851$as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27852  if test "${glibcxx_cv_random_tr1+set}" = set; then :
27853  $as_echo_n "(cached) " >&6
27854else
27855
27856    if test -r /dev/random && test -r /dev/urandom; then
27857  ## For MSys environment the test above is detect as false-positive
27858  ## on mingw-targets.  So disable it explicit for them.
27859      case ${target_os} in
27860	*mingw*) glibcxx_cv_random_tr1=no ;;
27861	*) glibcxx_cv_random_tr1=yes ;;
27862      esac
27863    else
27864      glibcxx_cv_random_tr1=no;
27865    fi
27866
27867fi
27868
27869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27870$as_echo "$glibcxx_cv_random_tr1" >&6; }
27871
27872  if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27873
27874$as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27875
27876  fi
27877
27878
27879
27880  # For TLS support.
27881
27882
27883   # Check whether --enable-tls was given.
27884if test "${enable_tls+set}" = set; then :
27885  enableval=$enable_tls;
27886      case "$enableval" in
27887       yes|no) ;;
27888       *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27889      esac
27890
27891else
27892  enable_tls=yes
27893fi
27894
27895
27896  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27897$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27898if test "${gcc_cv_have_tls+set}" = set; then :
27899  $as_echo_n "(cached) " >&6
27900else
27901
27902    if test "$cross_compiling" = yes; then :
27903                if test x$gcc_no_link = xyes; then
27904  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27905fi
27906cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27907/* end confdefs.h.  */
27908__thread int a; int b; int main() { return a = b; }
27909_ACEOF
27910if ac_fn_c_try_link "$LINENO"; then :
27911  chktls_save_LDFLAGS="$LDFLAGS"
27912	  	  	  case $host in
27913	    *-*-linux*)
27914	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27915	      ;;
27916	  esac
27917	  chktls_save_CFLAGS="$CFLAGS"
27918	  CFLAGS="-fPIC $CFLAGS"
27919	  	  if test x$gcc_no_link = xyes; then
27920  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27921fi
27922cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27923/* end confdefs.h.  */
27924int f() { return 0; }
27925_ACEOF
27926if ac_fn_c_try_link "$LINENO"; then :
27927  if test x$gcc_no_link = xyes; then
27928  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27929fi
27930cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27931/* end confdefs.h.  */
27932__thread int a; int b; int f() { return a = b; }
27933_ACEOF
27934if ac_fn_c_try_link "$LINENO"; then :
27935  gcc_cv_have_tls=yes
27936else
27937  gcc_cv_have_tls=no
27938fi
27939rm -f core conftest.err conftest.$ac_objext \
27940    conftest$ac_exeext conftest.$ac_ext
27941else
27942  gcc_cv_have_tls=yes
27943fi
27944rm -f core conftest.err conftest.$ac_objext \
27945    conftest$ac_exeext conftest.$ac_ext
27946	  CFLAGS="$chktls_save_CFLAGS"
27947	  LDFLAGS="$chktls_save_LDFLAGS"
27948else
27949  gcc_cv_have_tls=no
27950fi
27951rm -f core conftest.err conftest.$ac_objext \
27952    conftest$ac_exeext conftest.$ac_ext
27953
27954
27955else
27956  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27957/* end confdefs.h.  */
27958__thread int a; int b; int main() { return a = b; }
27959_ACEOF
27960if ac_fn_c_try_run "$LINENO"; then :
27961                      chktls_save_LDFLAGS="$LDFLAGS"
27962      LDFLAGS="-static $LDFLAGS"
27963      if test x$gcc_no_link = xyes; then
27964  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27965fi
27966cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27967/* end confdefs.h.  */
27968int main() { return 0; }
27969_ACEOF
27970if ac_fn_c_try_link "$LINENO"; then :
27971  if test "$cross_compiling" = yes; then :
27972  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27973$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27974as_fn_error "cannot run test program while cross compiling
27975See \`config.log' for more details." "$LINENO" 5; }
27976else
27977  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27978/* end confdefs.h.  */
27979__thread int a; int b; int main() { return a = b; }
27980_ACEOF
27981if ac_fn_c_try_run "$LINENO"; then :
27982  gcc_cv_have_tls=yes
27983else
27984  gcc_cv_have_tls=no
27985fi
27986rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27987  conftest.$ac_objext conftest.beam conftest.$ac_ext
27988fi
27989
27990else
27991  gcc_cv_have_tls=yes
27992fi
27993rm -f core conftest.err conftest.$ac_objext \
27994    conftest$ac_exeext conftest.$ac_ext
27995      LDFLAGS="$chktls_save_LDFLAGS"
27996      if test $gcc_cv_have_tls = yes; then
27997						chktls_save_CFLAGS="$CFLAGS"
27998	thread_CFLAGS=failed
27999	for flag in '' '-pthread' '-lpthread'; do
28000	  CFLAGS="$flag $chktls_save_CFLAGS"
28001	  if test x$gcc_no_link = xyes; then
28002  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28003fi
28004cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28005/* end confdefs.h.  */
28006#include <pthread.h>
28007		void *g(void *d) { return NULL; }
28008int
28009main ()
28010{
28011pthread_t t; pthread_create(&t,NULL,g,NULL);
28012  ;
28013  return 0;
28014}
28015_ACEOF
28016if ac_fn_c_try_link "$LINENO"; then :
28017  thread_CFLAGS="$flag"
28018fi
28019rm -f core conftest.err conftest.$ac_objext \
28020    conftest$ac_exeext conftest.$ac_ext
28021	  if test "X$thread_CFLAGS" != Xfailed; then
28022	    break
28023	  fi
28024	done
28025	CFLAGS="$chktls_save_CFLAGS"
28026	if test "X$thread_CFLAGS" != Xfailed; then
28027	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28028 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
28029  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28030$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28031as_fn_error "cannot run test program while cross compiling
28032See \`config.log' for more details." "$LINENO" 5; }
28033else
28034  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28035/* end confdefs.h.  */
28036#include <pthread.h>
28037		__thread int a;
28038		static int *volatile a_in_other_thread;
28039		static void *
28040		thread_func (void *arg)
28041		{
28042		  a_in_other_thread = &a;
28043		  return (void *)0;
28044		}
28045int
28046main ()
28047{
28048pthread_t thread;
28049		void *thread_retval;
28050		int *volatile a_in_main_thread;
28051		a_in_main_thread = &a;
28052		if (pthread_create (&thread, (pthread_attr_t *)0,
28053				    thread_func, (void *)0))
28054		  return 0;
28055		if (pthread_join (thread, &thread_retval))
28056		  return 0;
28057		return (a_in_other_thread == a_in_main_thread);
28058  ;
28059  return 0;
28060}
28061_ACEOF
28062if ac_fn_c_try_run "$LINENO"; then :
28063  gcc_cv_have_tls=yes
28064else
28065  gcc_cv_have_tls=no
28066fi
28067rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28068  conftest.$ac_objext conftest.beam conftest.$ac_ext
28069fi
28070
28071	  CFLAGS="$chktls_save_CFLAGS"
28072	fi
28073      fi
28074else
28075  gcc_cv_have_tls=no
28076fi
28077rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28078  conftest.$ac_objext conftest.beam conftest.$ac_ext
28079fi
28080
28081fi
28082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28083$as_echo "$gcc_cv_have_tls" >&6; }
28084  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28085
28086$as_echo "#define HAVE_TLS 1" >>confdefs.h
28087
28088  fi
28089
28090  for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28091do :
28092  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28093ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28094eval as_val=\$$as_ac_var
28095   if test "x$as_val" = x""yes; then :
28096  cat >>confdefs.h <<_ACEOF
28097#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28098_ACEOF
28099
28100fi
28101done
28102
28103  for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28104do :
28105  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28106ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28107eval as_val=\$$as_ac_var
28108   if test "x$as_val" = x""yes; then :
28109  cat >>confdefs.h <<_ACEOF
28110#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28111_ACEOF
28112
28113fi
28114done
28115
28116
28117  # For iconv support.
28118
28119      if test "X$prefix" = "XNONE"; then
28120    acl_final_prefix="$ac_default_prefix"
28121  else
28122    acl_final_prefix="$prefix"
28123  fi
28124  if test "X$exec_prefix" = "XNONE"; then
28125    acl_final_exec_prefix='${prefix}'
28126  else
28127    acl_final_exec_prefix="$exec_prefix"
28128  fi
28129  acl_save_prefix="$prefix"
28130  prefix="$acl_final_prefix"
28131  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28132  prefix="$acl_save_prefix"
28133
28134
28135# Check whether --with-gnu-ld was given.
28136if test "${with_gnu_ld+set}" = set; then :
28137  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28138else
28139  with_gnu_ld=no
28140fi
28141
28142# Prepare PATH_SEPARATOR.
28143# The user is always right.
28144if test "${PATH_SEPARATOR+set}" != set; then
28145  echo "#! /bin/sh" >conf$$.sh
28146  echo  "exit 0"   >>conf$$.sh
28147  chmod +x conf$$.sh
28148  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28149    PATH_SEPARATOR=';'
28150  else
28151    PATH_SEPARATOR=:
28152  fi
28153  rm -f conf$$.sh
28154fi
28155ac_prog=ld
28156if test "$GCC" = yes; then
28157  # Check if gcc -print-prog-name=ld gives a path.
28158  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28159$as_echo_n "checking for ld used by GCC... " >&6; }
28160  case $host in
28161  *-*-mingw*)
28162    # gcc leaves a trailing carriage return which upsets mingw
28163    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28164  *)
28165    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28166  esac
28167  case $ac_prog in
28168    # Accept absolute paths.
28169    [\\/]* | [A-Za-z]:[\\/]*)
28170      re_direlt='/[^/][^/]*/\.\./'
28171      # Canonicalize the path of ld
28172      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28173      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28174	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28175      done
28176      test -z "$LD" && LD="$ac_prog"
28177      ;;
28178  "")
28179    # If it fails, then pretend we aren't using GCC.
28180    ac_prog=ld
28181    ;;
28182  *)
28183    # If it is relative, then search for the first ld in PATH.
28184    with_gnu_ld=unknown
28185    ;;
28186  esac
28187elif test "$with_gnu_ld" = yes; then
28188  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28189$as_echo_n "checking for GNU ld... " >&6; }
28190else
28191  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28192$as_echo_n "checking for non-GNU ld... " >&6; }
28193fi
28194if test "${acl_cv_path_LD+set}" = set; then :
28195  $as_echo_n "(cached) " >&6
28196else
28197  if test -z "$LD"; then
28198  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28199  for ac_dir in $PATH; do
28200    test -z "$ac_dir" && ac_dir=.
28201    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28202      acl_cv_path_LD="$ac_dir/$ac_prog"
28203      # Check to see if the program is GNU ld.  I'd rather use --version,
28204      # but apparently some GNU ld's only accept -v.
28205      # Break only if it was the GNU/non-GNU ld that we prefer.
28206      if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28207	test "$with_gnu_ld" != no && break
28208      else
28209	test "$with_gnu_ld" != yes && break
28210      fi
28211    fi
28212  done
28213  IFS="$ac_save_ifs"
28214else
28215  acl_cv_path_LD="$LD" # Let the user override the test with a path.
28216fi
28217fi
28218
28219LD="$acl_cv_path_LD"
28220if test -n "$LD"; then
28221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28222$as_echo "$LD" >&6; }
28223else
28224  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28225$as_echo "no" >&6; }
28226fi
28227test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28229$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28230if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28231  $as_echo_n "(cached) " >&6
28232else
28233  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28234if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28235  acl_cv_prog_gnu_ld=yes
28236else
28237  acl_cv_prog_gnu_ld=no
28238fi
28239fi
28240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28241$as_echo "$acl_cv_prog_gnu_ld" >&6; }
28242with_gnu_ld=$acl_cv_prog_gnu_ld
28243
28244
28245
28246                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28247$as_echo_n "checking for shared library run path origin... " >&6; }
28248if test "${acl_cv_rpath+set}" = set; then :
28249  $as_echo_n "(cached) " >&6
28250else
28251
28252    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28253    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28254    . ./conftest.sh
28255    rm -f ./conftest.sh
28256    acl_cv_rpath=done
28257
28258fi
28259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28260$as_echo "$acl_cv_rpath" >&6; }
28261  wl="$acl_cv_wl"
28262  libext="$acl_cv_libext"
28263  shlibext="$acl_cv_shlibext"
28264  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28265  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28266  hardcode_direct="$acl_cv_hardcode_direct"
28267  hardcode_minus_L="$acl_cv_hardcode_minus_L"
28268    # Check whether --enable-rpath was given.
28269if test "${enable_rpath+set}" = set; then :
28270  enableval=$enable_rpath; :
28271else
28272  enable_rpath=yes
28273fi
28274
28275
28276
28277
28278
28279
28280
28281
28282    use_additional=yes
28283
28284  acl_save_prefix="$prefix"
28285  prefix="$acl_final_prefix"
28286  acl_save_exec_prefix="$exec_prefix"
28287  exec_prefix="$acl_final_exec_prefix"
28288
28289    eval additional_includedir=\"$includedir\"
28290    eval additional_libdir=\"$libdir\"
28291
28292  exec_prefix="$acl_save_exec_prefix"
28293  prefix="$acl_save_prefix"
28294
28295
28296# Check whether --with-libiconv-prefix was given.
28297if test "${with_libiconv_prefix+set}" = set; then :
28298  withval=$with_libiconv_prefix;
28299    if test "X$withval" = "Xno"; then
28300      use_additional=no
28301    else
28302      if test "X$withval" = "X"; then
28303
28304  acl_save_prefix="$prefix"
28305  prefix="$acl_final_prefix"
28306  acl_save_exec_prefix="$exec_prefix"
28307  exec_prefix="$acl_final_exec_prefix"
28308
28309          eval additional_includedir=\"$includedir\"
28310          eval additional_libdir=\"$libdir\"
28311
28312  exec_prefix="$acl_save_exec_prefix"
28313  prefix="$acl_save_prefix"
28314
28315      else
28316        additional_includedir="$withval/include"
28317        additional_libdir="$withval/lib"
28318      fi
28319    fi
28320
28321fi
28322
28323      LIBICONV=
28324  LTLIBICONV=
28325  INCICONV=
28326  rpathdirs=
28327  ltrpathdirs=
28328  names_already_handled=
28329  names_next_round='iconv '
28330  while test -n "$names_next_round"; do
28331    names_this_round="$names_next_round"
28332    names_next_round=
28333    for name in $names_this_round; do
28334      already_handled=
28335      for n in $names_already_handled; do
28336        if test "$n" = "$name"; then
28337          already_handled=yes
28338          break
28339        fi
28340      done
28341      if test -z "$already_handled"; then
28342        names_already_handled="$names_already_handled $name"
28343                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28344        eval value=\"\$HAVE_LIB$uppername\"
28345        if test -n "$value"; then
28346          if test "$value" = yes; then
28347            eval value=\"\$LIB$uppername\"
28348            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28349            eval value=\"\$LTLIB$uppername\"
28350            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28351          else
28352                                    :
28353          fi
28354        else
28355                              found_dir=
28356          found_la=
28357          found_so=
28358          found_a=
28359          if test $use_additional = yes; then
28360            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28361              found_dir="$additional_libdir"
28362              found_so="$additional_libdir/lib$name.$shlibext"
28363              if test -f "$additional_libdir/lib$name.la"; then
28364                found_la="$additional_libdir/lib$name.la"
28365              fi
28366            else
28367              if test -f "$additional_libdir/lib$name.$libext"; then
28368                found_dir="$additional_libdir"
28369                found_a="$additional_libdir/lib$name.$libext"
28370                if test -f "$additional_libdir/lib$name.la"; then
28371                  found_la="$additional_libdir/lib$name.la"
28372                fi
28373              fi
28374            fi
28375          fi
28376          if test "X$found_dir" = "X"; then
28377            for x in $LDFLAGS $LTLIBICONV; do
28378
28379  acl_save_prefix="$prefix"
28380  prefix="$acl_final_prefix"
28381  acl_save_exec_prefix="$exec_prefix"
28382  exec_prefix="$acl_final_exec_prefix"
28383  eval x=\"$x\"
28384  exec_prefix="$acl_save_exec_prefix"
28385  prefix="$acl_save_prefix"
28386
28387              case "$x" in
28388                -L*)
28389                  dir=`echo "X$x" | sed -e 's/^X-L//'`
28390                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28391                    found_dir="$dir"
28392                    found_so="$dir/lib$name.$shlibext"
28393                    if test -f "$dir/lib$name.la"; then
28394                      found_la="$dir/lib$name.la"
28395                    fi
28396                  else
28397                    if test -f "$dir/lib$name.$libext"; then
28398                      found_dir="$dir"
28399                      found_a="$dir/lib$name.$libext"
28400                      if test -f "$dir/lib$name.la"; then
28401                        found_la="$dir/lib$name.la"
28402                      fi
28403                    fi
28404                  fi
28405                  ;;
28406              esac
28407              if test "X$found_dir" != "X"; then
28408                break
28409              fi
28410            done
28411          fi
28412          if test "X$found_dir" != "X"; then
28413                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28414            if test "X$found_so" != "X"; then
28415                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28416                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28417              else
28418                                                                                haveit=
28419                for x in $ltrpathdirs; do
28420                  if test "X$x" = "X$found_dir"; then
28421                    haveit=yes
28422                    break
28423                  fi
28424                done
28425                if test -z "$haveit"; then
28426                  ltrpathdirs="$ltrpathdirs $found_dir"
28427                fi
28428                                if test "$hardcode_direct" = yes; then
28429                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28430                else
28431                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28432                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28433                                                            haveit=
28434                    for x in $rpathdirs; do
28435                      if test "X$x" = "X$found_dir"; then
28436                        haveit=yes
28437                        break
28438                      fi
28439                    done
28440                    if test -z "$haveit"; then
28441                      rpathdirs="$rpathdirs $found_dir"
28442                    fi
28443                  else
28444                                                                                haveit=
28445                    for x in $LDFLAGS $LIBICONV; do
28446
28447  acl_save_prefix="$prefix"
28448  prefix="$acl_final_prefix"
28449  acl_save_exec_prefix="$exec_prefix"
28450  exec_prefix="$acl_final_exec_prefix"
28451  eval x=\"$x\"
28452  exec_prefix="$acl_save_exec_prefix"
28453  prefix="$acl_save_prefix"
28454
28455                      if test "X$x" = "X-L$found_dir"; then
28456                        haveit=yes
28457                        break
28458                      fi
28459                    done
28460                    if test -z "$haveit"; then
28461                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28462                    fi
28463                    if test "$hardcode_minus_L" != no; then
28464                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28465                    else
28466                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28467                    fi
28468                  fi
28469                fi
28470              fi
28471            else
28472              if test "X$found_a" != "X"; then
28473                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28474              else
28475                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28476              fi
28477            fi
28478                        additional_includedir=
28479            case "$found_dir" in
28480              */lib | */lib/)
28481                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28482                additional_includedir="$basedir/include"
28483                ;;
28484            esac
28485            if test "X$additional_includedir" != "X"; then
28486                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
28487                haveit=
28488                if test "X$additional_includedir" = "X/usr/local/include"; then
28489                  if test -n "$GCC"; then
28490                    case $host_os in
28491                      linux*) haveit=yes;;
28492                    esac
28493                  fi
28494                fi
28495                if test -z "$haveit"; then
28496                  for x in $CPPFLAGS $INCICONV; do
28497
28498  acl_save_prefix="$prefix"
28499  prefix="$acl_final_prefix"
28500  acl_save_exec_prefix="$exec_prefix"
28501  exec_prefix="$acl_final_exec_prefix"
28502  eval x=\"$x\"
28503  exec_prefix="$acl_save_exec_prefix"
28504  prefix="$acl_save_prefix"
28505
28506                    if test "X$x" = "X-I$additional_includedir"; then
28507                      haveit=yes
28508                      break
28509                    fi
28510                  done
28511                  if test -z "$haveit"; then
28512                    if test -d "$additional_includedir"; then
28513                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28514                    fi
28515                  fi
28516                fi
28517              fi
28518            fi
28519                        if test -n "$found_la"; then
28520                                                        save_libdir="$libdir"
28521              case "$found_la" in
28522                */* | *\\*) . "$found_la" ;;
28523                *) . "./$found_la" ;;
28524              esac
28525              libdir="$save_libdir"
28526                            for dep in $dependency_libs; do
28527                case "$dep" in
28528                  -L*)
28529                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28530                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
28531                      haveit=
28532                      if test "X$additional_libdir" = "X/usr/local/lib"; then
28533                        if test -n "$GCC"; then
28534                          case $host_os in
28535                            linux*) haveit=yes;;
28536                          esac
28537                        fi
28538                      fi
28539                      if test -z "$haveit"; then
28540                        haveit=
28541                        for x in $LDFLAGS $LIBICONV; do
28542
28543  acl_save_prefix="$prefix"
28544  prefix="$acl_final_prefix"
28545  acl_save_exec_prefix="$exec_prefix"
28546  exec_prefix="$acl_final_exec_prefix"
28547  eval x=\"$x\"
28548  exec_prefix="$acl_save_exec_prefix"
28549  prefix="$acl_save_prefix"
28550
28551                          if test "X$x" = "X-L$additional_libdir"; then
28552                            haveit=yes
28553                            break
28554                          fi
28555                        done
28556                        if test -z "$haveit"; then
28557                          if test -d "$additional_libdir"; then
28558                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28559                          fi
28560                        fi
28561                        haveit=
28562                        for x in $LDFLAGS $LTLIBICONV; do
28563
28564  acl_save_prefix="$prefix"
28565  prefix="$acl_final_prefix"
28566  acl_save_exec_prefix="$exec_prefix"
28567  exec_prefix="$acl_final_exec_prefix"
28568  eval x=\"$x\"
28569  exec_prefix="$acl_save_exec_prefix"
28570  prefix="$acl_save_prefix"
28571
28572                          if test "X$x" = "X-L$additional_libdir"; then
28573                            haveit=yes
28574                            break
28575                          fi
28576                        done
28577                        if test -z "$haveit"; then
28578                          if test -d "$additional_libdir"; then
28579                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28580                          fi
28581                        fi
28582                      fi
28583                    fi
28584                    ;;
28585                  -R*)
28586                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
28587                    if test "$enable_rpath" != no; then
28588                                                                  haveit=
28589                      for x in $rpathdirs; do
28590                        if test "X$x" = "X$dir"; then
28591                          haveit=yes
28592                          break
28593                        fi
28594                      done
28595                      if test -z "$haveit"; then
28596                        rpathdirs="$rpathdirs $dir"
28597                      fi
28598                                                                  haveit=
28599                      for x in $ltrpathdirs; do
28600                        if test "X$x" = "X$dir"; then
28601                          haveit=yes
28602                          break
28603                        fi
28604                      done
28605                      if test -z "$haveit"; then
28606                        ltrpathdirs="$ltrpathdirs $dir"
28607                      fi
28608                    fi
28609                    ;;
28610                  -l*)
28611                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28612                    ;;
28613                  *.la)
28614                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28615                    ;;
28616                  *)
28617                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28618                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28619                    ;;
28620                esac
28621              done
28622            fi
28623          else
28624                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28625            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28626          fi
28627        fi
28628      fi
28629    done
28630  done
28631  if test "X$rpathdirs" != "X"; then
28632    if test -n "$hardcode_libdir_separator"; then
28633                        alldirs=
28634      for found_dir in $rpathdirs; do
28635        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28636      done
28637            acl_save_libdir="$libdir"
28638      libdir="$alldirs"
28639      eval flag=\"$hardcode_libdir_flag_spec\"
28640      libdir="$acl_save_libdir"
28641      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28642    else
28643            for found_dir in $rpathdirs; do
28644        acl_save_libdir="$libdir"
28645        libdir="$found_dir"
28646        eval flag=\"$hardcode_libdir_flag_spec\"
28647        libdir="$acl_save_libdir"
28648        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28649      done
28650    fi
28651  fi
28652  if test "X$ltrpathdirs" != "X"; then
28653            for found_dir in $ltrpathdirs; do
28654      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28655    done
28656  fi
28657
28658
28659
28660
28661
28662
28663
28664  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28665$as_echo_n "checking for iconv... " >&6; }
28666if test "${am_cv_func_iconv+set}" = set; then :
28667  $as_echo_n "(cached) " >&6
28668else
28669
28670    am_cv_func_iconv="no, consider installing GNU libiconv"
28671    am_cv_lib_iconv=no
28672                    am_save_CPPFLAGS="$CPPFLAGS"
28673    CPPFLAGS="$CPPFLAGS $INCICONV"
28674    if test x$gcc_no_link = xyes; then
28675  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28676fi
28677cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28678/* end confdefs.h.  */
28679#include <stdlib.h>
28680#include <iconv.h>
28681int
28682main ()
28683{
28684iconv_t cd = iconv_open("","");
28685       iconv(cd,NULL,NULL,NULL,NULL);
28686       iconv_close(cd);
28687  ;
28688  return 0;
28689}
28690_ACEOF
28691if ac_fn_c_try_link "$LINENO"; then :
28692  am_cv_func_iconv=yes
28693fi
28694rm -f core conftest.err conftest.$ac_objext \
28695    conftest$ac_exeext conftest.$ac_ext
28696    CPPFLAGS="$am_save_CPPFLAGS"
28697
28698    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28699      for _libs in .libs _libs; do
28700        am_save_CPPFLAGS="$CPPFLAGS"
28701        am_save_LIBS="$LIBS"
28702        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28703        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28704        if test x$gcc_no_link = xyes; then
28705  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28706fi
28707cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28708/* end confdefs.h.  */
28709#include <stdlib.h>
28710#include <iconv.h>
28711int
28712main ()
28713{
28714iconv_t cd = iconv_open("","");
28715           iconv(cd,NULL,NULL,NULL,NULL);
28716           iconv_close(cd);
28717  ;
28718  return 0;
28719}
28720_ACEOF
28721if ac_fn_c_try_link "$LINENO"; then :
28722  INCICONV="-I../libiconv/include"
28723          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28724          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28725          am_cv_lib_iconv=yes
28726          am_cv_func_iconv=yes
28727fi
28728rm -f core conftest.err conftest.$ac_objext \
28729    conftest$ac_exeext conftest.$ac_ext
28730        CPPFLAGS="$am_save_CPPFLAGS"
28731        LIBS="$am_save_LIBS"
28732        if test "$am_cv_func_iconv" = "yes"; then
28733          break
28734        fi
28735      done
28736    fi
28737
28738    if test "$am_cv_func_iconv" != yes; then
28739      am_save_CPPFLAGS="$CPPFLAGS"
28740      am_save_LIBS="$LIBS"
28741      CPPFLAGS="$LIBS $INCICONV"
28742      LIBS="$LIBS $LIBICONV"
28743      if test x$gcc_no_link = xyes; then
28744  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28745fi
28746cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28747/* end confdefs.h.  */
28748#include <stdlib.h>
28749#include <iconv.h>
28750int
28751main ()
28752{
28753iconv_t cd = iconv_open("","");
28754         iconv(cd,NULL,NULL,NULL,NULL);
28755         iconv_close(cd);
28756  ;
28757  return 0;
28758}
28759_ACEOF
28760if ac_fn_c_try_link "$LINENO"; then :
28761  am_cv_lib_iconv=yes
28762        am_cv_func_iconv=yes
28763fi
28764rm -f core conftest.err conftest.$ac_objext \
28765    conftest$ac_exeext conftest.$ac_ext
28766      CPPFLAGS="$am_save_CPPFLAGS"
28767      LIBS="$am_save_LIBS"
28768    fi
28769
28770fi
28771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28772$as_echo "$am_cv_func_iconv" >&6; }
28773  if test "$am_cv_func_iconv" = yes; then
28774
28775$as_echo "#define HAVE_ICONV 1" >>confdefs.h
28776
28777  fi
28778  if test "$am_cv_lib_iconv" = yes; then
28779
28780  for element in $INCICONV; do
28781    haveit=
28782    for x in $CPPFLAGS; do
28783
28784  acl_save_prefix="$prefix"
28785  prefix="$acl_final_prefix"
28786  acl_save_exec_prefix="$exec_prefix"
28787  exec_prefix="$acl_final_exec_prefix"
28788  eval x=\"$x\"
28789  exec_prefix="$acl_save_exec_prefix"
28790  prefix="$acl_save_prefix"
28791
28792      if test "X$x" = "X$element"; then
28793        haveit=yes
28794        break
28795      fi
28796    done
28797    if test -z "$haveit"; then
28798      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28799    fi
28800  done
28801
28802    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28803$as_echo_n "checking how to link with libiconv... " >&6; }
28804    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28805$as_echo "$LIBICONV" >&6; }
28806  else
28807    LIBICONV=
28808    LTLIBICONV=
28809  fi
28810
28811
28812
28813  if test "$am_cv_func_iconv" = yes; then
28814    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28815$as_echo_n "checking for iconv declaration... " >&6; }
28816    if test "${am_cv_proto_iconv+set}" = set; then :
28817  $as_echo_n "(cached) " >&6
28818else
28819
28820      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28821/* end confdefs.h.  */
28822
28823#include <stdlib.h>
28824#include <iconv.h>
28825extern
28826#ifdef __cplusplus
28827"C"
28828#endif
28829#if defined(__STDC__) || defined(__cplusplus)
28830size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28831#else
28832size_t iconv();
28833#endif
28834
28835int
28836main ()
28837{
28838
28839  ;
28840  return 0;
28841}
28842_ACEOF
28843if ac_fn_c_try_compile "$LINENO"; then :
28844  am_cv_proto_iconv_arg1=""
28845else
28846  am_cv_proto_iconv_arg1="const"
28847fi
28848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28849      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);"
28850fi
28851
28852    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28853    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28854         }$am_cv_proto_iconv" >&5
28855$as_echo "${ac_t:-
28856         }$am_cv_proto_iconv" >&6; }
28857
28858cat >>confdefs.h <<_ACEOF
28859#define ICONV_CONST $am_cv_proto_iconv_arg1
28860_ACEOF
28861
28862  fi
28863
28864
28865else
28866
28867  # This lets us hard-code the functionality we know we'll have in the cross
28868  # target environment.  "Let" is a sugar-coated word placed on an especially
28869  # dull and tedious hack, actually.
28870  #
28871  # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28872  # that involve linking, can't be used:
28873  #    "cannot open sim-crt0.o"
28874  #    "cannot open crt0.o"
28875  # etc.  All this is because there currently exists no unified, consistent
28876  # way for top level CC information to be passed down to target directories:
28877  # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28878  # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28879  # crosses can be removed.
28880
28881  # If Canadian cross, then don't pick up tools from the build directory.
28882  # Used only in GLIBCXX_EXPORT_INCLUDES.
28883  if test -n "$with_cross_host" &&
28884     test x"$build_alias" != x"$with_cross_host" &&
28885     test x"$build" != x"$target";
28886  then
28887    CANADIAN=yes
28888  else
28889    CANADIAN=no
28890  fi
28891
28892  # Construct crosses by hand, eliminating bits that need ld...
28893  # GLIBCXX_CHECK_MATH_SUPPORT
28894
28895  # First, test for "known" system libraries.  We may be using newlib even
28896  # on a hosted environment.
28897  if test "x${with_newlib}" = "xyes"; then
28898    os_include_dir="os/newlib"
28899    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28900
28901
28902    # GLIBCXX_CHECK_STDLIB_SUPPORT
28903    $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28904
28905
28906    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28907
28908    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28909
28910    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28911
28912    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28913
28914    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28915
28916    $as_echo "#define HAVE_COSF 1" >>confdefs.h
28917
28918    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28919
28920    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28921
28922    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28923
28924    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28925
28926    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28927
28928    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28929
28930    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28931
28932    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28933
28934    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28935
28936    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28937
28938    $as_echo "#define HAVE_POWF 1" >>confdefs.h
28939
28940    $as_echo "#define HAVE_SINF 1" >>confdefs.h
28941
28942    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28943
28944    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28945
28946    $as_echo "#define HAVE_TANF 1" >>confdefs.h
28947
28948    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28949
28950
28951    $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28952
28953    $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28954
28955  else
28956
28957# Base decisions on target environment.
28958case "${host}" in
28959  arm*-*-symbianelf*)
28960    # This is a freestanding configuration; there is nothing to do here.
28961    ;;
28962
28963  avr*-*-*)
28964    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28965
28966    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28967
28968    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28969
28970    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28971
28972    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28973
28974    $as_echo "#define HAVE_COSF 1" >>confdefs.h
28975
28976    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28977
28978    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28979
28980    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28981
28982    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28983
28984    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28985
28986    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28987
28988    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28989
28990    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
28991
28992    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28993
28994    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28995
28996    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28997
28998    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28999
29000    $as_echo "#define HAVE_POWF 1" >>confdefs.h
29001
29002    $as_echo "#define HAVE_SINF 1" >>confdefs.h
29003
29004    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29005
29006    $as_echo "#define HAVE_TANF 1" >>confdefs.h
29007
29008    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29009
29010    ;;
29011
29012  mips*-sde-elf*)
29013    # These definitions are for the SDE C library rather than newlib.
29014    SECTION_FLAGS='-ffunction-sections -fdata-sections'
29015
29016
29017  # All these tests are for C++; save the language and the compiler flags.
29018  # The CXXFLAGS thing is suspicious, but based on similar bits previously
29019  # found in GLIBCXX_CONFIGURE.
29020
29021  ac_ext=cpp
29022ac_cpp='$CXXCPP $CPPFLAGS'
29023ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29024ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29025ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29026
29027  ac_test_CXXFLAGS="${CXXFLAGS+set}"
29028  ac_save_CXXFLAGS="$CXXFLAGS"
29029
29030  # Check for maintainer-mode bits.
29031  if test x"$USE_MAINTAINER_MODE" = xno; then
29032    WERROR=''
29033  else
29034    WERROR='-Werror'
29035  fi
29036
29037  # Check for -ffunction-sections -fdata-sections
29038  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29039$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29040  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29041  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29042/* end confdefs.h.  */
29043int foo; void bar() { };
29044int
29045main ()
29046{
29047
29048  ;
29049  return 0;
29050}
29051_ACEOF
29052if ac_fn_cxx_try_compile "$LINENO"; then :
29053  ac_fdsections=yes
29054else
29055  ac_fdsections=no
29056fi
29057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29058  if test "$ac_test_CXXFLAGS" = set; then
29059    CXXFLAGS="$ac_save_CXXFLAGS"
29060  else
29061    # this is the suspicious part
29062    CXXFLAGS=''
29063  fi
29064  if test x"$ac_fdsections" = x"yes"; then
29065    SECTION_FLAGS='-ffunction-sections -fdata-sections'
29066  fi
29067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29068$as_echo "$ac_fdsections" >&6; }
29069
29070  ac_ext=c
29071ac_cpp='$CPP $CPPFLAGS'
29072ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29073ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29074ac_compiler_gnu=$ac_cv_c_compiler_gnu
29075
29076
29077
29078
29079
29080  # If we're not using GNU ld, then there's no point in even trying these
29081  # tests.  Check for that first.  We should have already tested for gld
29082  # by now (in libtool), but require it now just to be safe...
29083  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29084  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29085
29086
29087
29088  # The name set by libtool depends on the version of libtool.  Shame on us
29089  # for depending on an impl detail, but c'est la vie.  Older versions used
29090  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29091  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29092  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
29093  # set (hence we're using an older libtool), then set it.
29094  if test x${with_gnu_ld+set} != xset; then
29095    if test x${ac_cv_prog_gnu_ld+set} != xset; then
29096      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
29097      with_gnu_ld=no
29098    else
29099      with_gnu_ld=$ac_cv_prog_gnu_ld
29100    fi
29101  fi
29102
29103  # Start by getting the version number.  I think the libtool test already
29104  # does some of this, but throws away the result.
29105  glibcxx_ld_is_gold=no
29106  if test x"$with_gnu_ld" = x"yes"; then
29107    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29108$as_echo_n "checking for ld version... " >&6; }
29109
29110    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29111      glibcxx_ld_is_gold=yes
29112    fi
29113    ldver=`$LD --version 2>/dev/null |
29114	   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'`
29115
29116    glibcxx_gnu_ld_version=`echo $ldver | \
29117	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29118    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29119$as_echo "$glibcxx_gnu_ld_version" >&6; }
29120  fi
29121
29122  # Set --gc-sections.
29123  glibcxx_have_gc_sections=no
29124  if test "$glibcxx_ld_is_gold" = "yes"; then
29125    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29126      glibcxx_have_gc_sections=yes
29127    fi
29128  else
29129    glibcxx_gcsections_min_ld=21602
29130    if test x"$with_gnu_ld" = x"yes" &&
29131	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29132      glibcxx_have_gc_sections=yes
29133    fi
29134  fi
29135  if test "$glibcxx_have_gc_sections" = "yes"; then
29136    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
29137    # NB: This flag only works reliably after 2.16.1. Configure tests
29138    # for this are difficult, so hard wire a value that should work.
29139
29140    ac_test_CFLAGS="${CFLAGS+set}"
29141    ac_save_CFLAGS="$CFLAGS"
29142    CFLAGS='-Wl,--gc-sections'
29143
29144    # Check for -Wl,--gc-sections
29145    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29146$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29147    if test x$gcc_no_link = xyes; then
29148  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29149fi
29150cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29151/* end confdefs.h.  */
29152 int one(void) { return 1; }
29153     int two(void) { return 2; }
29154
29155int
29156main ()
29157{
29158 two();
29159  ;
29160  return 0;
29161}
29162_ACEOF
29163if ac_fn_c_try_link "$LINENO"; then :
29164  ac_gcsections=yes
29165else
29166  ac_gcsections=no
29167fi
29168rm -f core conftest.err conftest.$ac_objext \
29169    conftest$ac_exeext conftest.$ac_ext
29170    if test "$ac_gcsections" = "yes"; then
29171      rm -f conftest.c
29172      touch conftest.c
29173      if $CC -c conftest.c; then
29174	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29175	   grep "Warning: gc-sections option ignored" > /dev/null; then
29176	  ac_gcsections=no
29177	fi
29178      fi
29179      rm -f conftest.c conftest.o conftest
29180    fi
29181    if test "$ac_gcsections" = "yes"; then
29182      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29183    fi
29184    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29185$as_echo "$ac_gcsections" >&6; }
29186
29187    if test "$ac_test_CFLAGS" = set; then
29188      CFLAGS="$ac_save_CFLAGS"
29189    else
29190      # this is the suspicious part
29191      CFLAGS=''
29192    fi
29193  fi
29194
29195  # Set -z,relro.
29196  # Note this is only for shared objects.
29197  ac_ld_relro=no
29198  if test x"$with_gnu_ld" = x"yes"; then
29199    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29200$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29201    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29202    if test -n "$cxx_z_relo"; then
29203      OPT_LDFLAGS="-Wl,-z,relro"
29204      ac_ld_relro=yes
29205    fi
29206    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29207$as_echo "$ac_ld_relro" >&6; }
29208  fi
29209
29210  # Set linker optimization flags.
29211  if test x"$with_gnu_ld" = x"yes"; then
29212    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29213  fi
29214
29215
29216
29217
29218
29219  ac_test_CXXFLAGS="${CXXFLAGS+set}"
29220  ac_save_CXXFLAGS="$CXXFLAGS"
29221  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29222
29223    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29224$as_echo_n "checking for sin in -lm... " >&6; }
29225if test "${ac_cv_lib_m_sin+set}" = set; then :
29226  $as_echo_n "(cached) " >&6
29227else
29228  ac_check_lib_save_LIBS=$LIBS
29229LIBS="-lm  $LIBS"
29230if test x$gcc_no_link = xyes; then
29231  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29232fi
29233cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29234/* end confdefs.h.  */
29235
29236/* Override any GCC internal prototype to avoid an error.
29237   Use char because int might match the return type of a GCC
29238   builtin and then its argument prototype would still apply.  */
29239#ifdef __cplusplus
29240extern "C"
29241#endif
29242char sin ();
29243int
29244main ()
29245{
29246return sin ();
29247  ;
29248  return 0;
29249}
29250_ACEOF
29251if ac_fn_c_try_link "$LINENO"; then :
29252  ac_cv_lib_m_sin=yes
29253else
29254  ac_cv_lib_m_sin=no
29255fi
29256rm -f core conftest.err conftest.$ac_objext \
29257    conftest$ac_exeext conftest.$ac_ext
29258LIBS=$ac_check_lib_save_LIBS
29259fi
29260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29261$as_echo "$ac_cv_lib_m_sin" >&6; }
29262if test "x$ac_cv_lib_m_sin" = x""yes; then :
29263  libm="-lm"
29264fi
29265
29266  ac_save_LIBS="$LIBS"
29267  LIBS="$LIBS $libm"
29268
29269
29270
29271  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29272$as_echo_n "checking for isinf declaration... " >&6; }
29273  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29274    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29275  $as_echo_n "(cached) " >&6
29276else
29277
29278
29279      ac_ext=cpp
29280ac_cpp='$CXXCPP $CPPFLAGS'
29281ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29282ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29283ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29284
29285      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29286/* end confdefs.h.  */
29287#include <math.h>
29288		      #ifdef HAVE_IEEEFP_H
29289		      #include <ieeefp.h>
29290		      #endif
29291
29292int
29293main ()
29294{
29295 isinf(0);
29296  ;
29297  return 0;
29298}
29299_ACEOF
29300if ac_fn_cxx_try_compile "$LINENO"; then :
29301  glibcxx_cv_func_isinf_use=yes
29302else
29303  glibcxx_cv_func_isinf_use=no
29304fi
29305rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29306      ac_ext=c
29307ac_cpp='$CPP $CPPFLAGS'
29308ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29309ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29310ac_compiler_gnu=$ac_cv_c_compiler_gnu
29311
29312
29313fi
29314
29315  fi
29316  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29317$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29318
29319  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29320    for ac_func in isinf
29321do :
29322  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29323if test "x$ac_cv_func_isinf" = x""yes; then :
29324  cat >>confdefs.h <<_ACEOF
29325#define HAVE_ISINF 1
29326_ACEOF
29327
29328fi
29329done
29330
29331  else
29332
29333  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29334$as_echo_n "checking for _isinf declaration... " >&6; }
29335  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29336    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29337  $as_echo_n "(cached) " >&6
29338else
29339
29340
29341      ac_ext=cpp
29342ac_cpp='$CXXCPP $CPPFLAGS'
29343ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29344ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29345ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29346
29347      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29348/* end confdefs.h.  */
29349#include <math.h>
29350		      #ifdef HAVE_IEEEFP_H
29351		      #include <ieeefp.h>
29352		      #endif
29353
29354int
29355main ()
29356{
29357 _isinf(0);
29358  ;
29359  return 0;
29360}
29361_ACEOF
29362if ac_fn_cxx_try_compile "$LINENO"; then :
29363  glibcxx_cv_func__isinf_use=yes
29364else
29365  glibcxx_cv_func__isinf_use=no
29366fi
29367rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29368      ac_ext=c
29369ac_cpp='$CPP $CPPFLAGS'
29370ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29371ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29372ac_compiler_gnu=$ac_cv_c_compiler_gnu
29373
29374
29375fi
29376
29377  fi
29378  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29379$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29380
29381    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29382      for ac_func in _isinf
29383do :
29384  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29385if test "x$ac_cv_func__isinf" = x""yes; then :
29386  cat >>confdefs.h <<_ACEOF
29387#define HAVE__ISINF 1
29388_ACEOF
29389
29390fi
29391done
29392
29393    fi
29394  fi
29395
29396
29397
29398
29399
29400  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29401$as_echo_n "checking for isnan declaration... " >&6; }
29402  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29403    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29404  $as_echo_n "(cached) " >&6
29405else
29406
29407
29408      ac_ext=cpp
29409ac_cpp='$CXXCPP $CPPFLAGS'
29410ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29411ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29412ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29413
29414      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29415/* end confdefs.h.  */
29416#include <math.h>
29417		      #ifdef HAVE_IEEEFP_H
29418		      #include <ieeefp.h>
29419		      #endif
29420
29421int
29422main ()
29423{
29424 isnan(0);
29425  ;
29426  return 0;
29427}
29428_ACEOF
29429if ac_fn_cxx_try_compile "$LINENO"; then :
29430  glibcxx_cv_func_isnan_use=yes
29431else
29432  glibcxx_cv_func_isnan_use=no
29433fi
29434rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29435      ac_ext=c
29436ac_cpp='$CPP $CPPFLAGS'
29437ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29438ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29439ac_compiler_gnu=$ac_cv_c_compiler_gnu
29440
29441
29442fi
29443
29444  fi
29445  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29446$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29447
29448  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29449    for ac_func in isnan
29450do :
29451  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29452if test "x$ac_cv_func_isnan" = x""yes; then :
29453  cat >>confdefs.h <<_ACEOF
29454#define HAVE_ISNAN 1
29455_ACEOF
29456
29457fi
29458done
29459
29460  else
29461
29462  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29463$as_echo_n "checking for _isnan declaration... " >&6; }
29464  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29465    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29466  $as_echo_n "(cached) " >&6
29467else
29468
29469
29470      ac_ext=cpp
29471ac_cpp='$CXXCPP $CPPFLAGS'
29472ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29473ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29474ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29475
29476      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29477/* end confdefs.h.  */
29478#include <math.h>
29479		      #ifdef HAVE_IEEEFP_H
29480		      #include <ieeefp.h>
29481		      #endif
29482
29483int
29484main ()
29485{
29486 _isnan(0);
29487  ;
29488  return 0;
29489}
29490_ACEOF
29491if ac_fn_cxx_try_compile "$LINENO"; then :
29492  glibcxx_cv_func__isnan_use=yes
29493else
29494  glibcxx_cv_func__isnan_use=no
29495fi
29496rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29497      ac_ext=c
29498ac_cpp='$CPP $CPPFLAGS'
29499ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29500ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29501ac_compiler_gnu=$ac_cv_c_compiler_gnu
29502
29503
29504fi
29505
29506  fi
29507  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29508$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29509
29510    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29511      for ac_func in _isnan
29512do :
29513  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29514if test "x$ac_cv_func__isnan" = x""yes; then :
29515  cat >>confdefs.h <<_ACEOF
29516#define HAVE__ISNAN 1
29517_ACEOF
29518
29519fi
29520done
29521
29522    fi
29523  fi
29524
29525
29526
29527
29528
29529  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29530$as_echo_n "checking for finite declaration... " >&6; }
29531  if test x${glibcxx_cv_func_finite_use+set} != xset; then
29532    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29533  $as_echo_n "(cached) " >&6
29534else
29535
29536
29537      ac_ext=cpp
29538ac_cpp='$CXXCPP $CPPFLAGS'
29539ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29540ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29541ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29542
29543      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29544/* end confdefs.h.  */
29545#include <math.h>
29546		      #ifdef HAVE_IEEEFP_H
29547		      #include <ieeefp.h>
29548		      #endif
29549
29550int
29551main ()
29552{
29553 finite(0);
29554  ;
29555  return 0;
29556}
29557_ACEOF
29558if ac_fn_cxx_try_compile "$LINENO"; then :
29559  glibcxx_cv_func_finite_use=yes
29560else
29561  glibcxx_cv_func_finite_use=no
29562fi
29563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29564      ac_ext=c
29565ac_cpp='$CPP $CPPFLAGS'
29566ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29567ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29568ac_compiler_gnu=$ac_cv_c_compiler_gnu
29569
29570
29571fi
29572
29573  fi
29574  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29575$as_echo "$glibcxx_cv_func_finite_use" >&6; }
29576
29577  if test x$glibcxx_cv_func_finite_use = x"yes"; then
29578    for ac_func in finite
29579do :
29580  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29581if test "x$ac_cv_func_finite" = x""yes; then :
29582  cat >>confdefs.h <<_ACEOF
29583#define HAVE_FINITE 1
29584_ACEOF
29585
29586fi
29587done
29588
29589  else
29590
29591  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29592$as_echo_n "checking for _finite declaration... " >&6; }
29593  if test x${glibcxx_cv_func__finite_use+set} != xset; then
29594    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29595  $as_echo_n "(cached) " >&6
29596else
29597
29598
29599      ac_ext=cpp
29600ac_cpp='$CXXCPP $CPPFLAGS'
29601ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29602ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29603ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29604
29605      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29606/* end confdefs.h.  */
29607#include <math.h>
29608		      #ifdef HAVE_IEEEFP_H
29609		      #include <ieeefp.h>
29610		      #endif
29611
29612int
29613main ()
29614{
29615 _finite(0);
29616  ;
29617  return 0;
29618}
29619_ACEOF
29620if ac_fn_cxx_try_compile "$LINENO"; then :
29621  glibcxx_cv_func__finite_use=yes
29622else
29623  glibcxx_cv_func__finite_use=no
29624fi
29625rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29626      ac_ext=c
29627ac_cpp='$CPP $CPPFLAGS'
29628ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29629ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29630ac_compiler_gnu=$ac_cv_c_compiler_gnu
29631
29632
29633fi
29634
29635  fi
29636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29637$as_echo "$glibcxx_cv_func__finite_use" >&6; }
29638
29639    if test x$glibcxx_cv_func__finite_use = x"yes"; then
29640      for ac_func in _finite
29641do :
29642  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29643if test "x$ac_cv_func__finite" = x""yes; then :
29644  cat >>confdefs.h <<_ACEOF
29645#define HAVE__FINITE 1
29646_ACEOF
29647
29648fi
29649done
29650
29651    fi
29652  fi
29653
29654
29655
29656
29657
29658  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29659$as_echo_n "checking for sincos declaration... " >&6; }
29660  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29661    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29662  $as_echo_n "(cached) " >&6
29663else
29664
29665
29666      ac_ext=cpp
29667ac_cpp='$CXXCPP $CPPFLAGS'
29668ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29669ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29670ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29671
29672      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29673/* end confdefs.h.  */
29674#include <math.h>
29675int
29676main ()
29677{
29678 sincos(0, 0, 0);
29679  ;
29680  return 0;
29681}
29682_ACEOF
29683if ac_fn_cxx_try_compile "$LINENO"; then :
29684  glibcxx_cv_func_sincos_use=yes
29685else
29686  glibcxx_cv_func_sincos_use=no
29687fi
29688rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29689      ac_ext=c
29690ac_cpp='$CPP $CPPFLAGS'
29691ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29692ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29693ac_compiler_gnu=$ac_cv_c_compiler_gnu
29694
29695
29696fi
29697
29698  fi
29699  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29700$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29701
29702  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29703    for ac_func in sincos
29704do :
29705  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29706if test "x$ac_cv_func_sincos" = x""yes; then :
29707  cat >>confdefs.h <<_ACEOF
29708#define HAVE_SINCOS 1
29709_ACEOF
29710
29711fi
29712done
29713
29714  else
29715
29716  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29717$as_echo_n "checking for _sincos declaration... " >&6; }
29718  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29719    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29720  $as_echo_n "(cached) " >&6
29721else
29722
29723
29724      ac_ext=cpp
29725ac_cpp='$CXXCPP $CPPFLAGS'
29726ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29727ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29728ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29729
29730      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29731/* end confdefs.h.  */
29732#include <math.h>
29733int
29734main ()
29735{
29736 _sincos(0, 0, 0);
29737  ;
29738  return 0;
29739}
29740_ACEOF
29741if ac_fn_cxx_try_compile "$LINENO"; then :
29742  glibcxx_cv_func__sincos_use=yes
29743else
29744  glibcxx_cv_func__sincos_use=no
29745fi
29746rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29747      ac_ext=c
29748ac_cpp='$CPP $CPPFLAGS'
29749ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29750ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29751ac_compiler_gnu=$ac_cv_c_compiler_gnu
29752
29753
29754fi
29755
29756  fi
29757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29758$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29759
29760    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29761      for ac_func in _sincos
29762do :
29763  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29764if test "x$ac_cv_func__sincos" = x""yes; then :
29765  cat >>confdefs.h <<_ACEOF
29766#define HAVE__SINCOS 1
29767_ACEOF
29768
29769fi
29770done
29771
29772    fi
29773  fi
29774
29775
29776
29777
29778
29779  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29780$as_echo_n "checking for fpclass declaration... " >&6; }
29781  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29782    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29783  $as_echo_n "(cached) " >&6
29784else
29785
29786
29787      ac_ext=cpp
29788ac_cpp='$CXXCPP $CPPFLAGS'
29789ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29790ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29791ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29792
29793      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29794/* end confdefs.h.  */
29795#include <math.h>
29796		      #ifdef HAVE_IEEEFP_H
29797		      #include <ieeefp.h>
29798		      #endif
29799
29800int
29801main ()
29802{
29803 fpclass(0);
29804  ;
29805  return 0;
29806}
29807_ACEOF
29808if ac_fn_cxx_try_compile "$LINENO"; then :
29809  glibcxx_cv_func_fpclass_use=yes
29810else
29811  glibcxx_cv_func_fpclass_use=no
29812fi
29813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29814      ac_ext=c
29815ac_cpp='$CPP $CPPFLAGS'
29816ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29817ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29818ac_compiler_gnu=$ac_cv_c_compiler_gnu
29819
29820
29821fi
29822
29823  fi
29824  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29825$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29826
29827  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29828    for ac_func in fpclass
29829do :
29830  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29831if test "x$ac_cv_func_fpclass" = x""yes; then :
29832  cat >>confdefs.h <<_ACEOF
29833#define HAVE_FPCLASS 1
29834_ACEOF
29835
29836fi
29837done
29838
29839  else
29840
29841  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29842$as_echo_n "checking for _fpclass declaration... " >&6; }
29843  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29844    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29845  $as_echo_n "(cached) " >&6
29846else
29847
29848
29849      ac_ext=cpp
29850ac_cpp='$CXXCPP $CPPFLAGS'
29851ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29852ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29853ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29854
29855      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29856/* end confdefs.h.  */
29857#include <math.h>
29858		      #ifdef HAVE_IEEEFP_H
29859		      #include <ieeefp.h>
29860		      #endif
29861
29862int
29863main ()
29864{
29865 _fpclass(0);
29866  ;
29867  return 0;
29868}
29869_ACEOF
29870if ac_fn_cxx_try_compile "$LINENO"; then :
29871  glibcxx_cv_func__fpclass_use=yes
29872else
29873  glibcxx_cv_func__fpclass_use=no
29874fi
29875rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29876      ac_ext=c
29877ac_cpp='$CPP $CPPFLAGS'
29878ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29879ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29880ac_compiler_gnu=$ac_cv_c_compiler_gnu
29881
29882
29883fi
29884
29885  fi
29886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29887$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29888
29889    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29890      for ac_func in _fpclass
29891do :
29892  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29893if test "x$ac_cv_func__fpclass" = x""yes; then :
29894  cat >>confdefs.h <<_ACEOF
29895#define HAVE__FPCLASS 1
29896_ACEOF
29897
29898fi
29899done
29900
29901    fi
29902  fi
29903
29904
29905
29906
29907
29908  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29909$as_echo_n "checking for qfpclass declaration... " >&6; }
29910  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29911    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29912  $as_echo_n "(cached) " >&6
29913else
29914
29915
29916      ac_ext=cpp
29917ac_cpp='$CXXCPP $CPPFLAGS'
29918ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29919ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29920ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29921
29922      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29923/* end confdefs.h.  */
29924#include <math.h>
29925		      #ifdef HAVE_IEEEFP_H
29926		      #include <ieeefp.h>
29927		      #endif
29928
29929int
29930main ()
29931{
29932 qfpclass(0);
29933  ;
29934  return 0;
29935}
29936_ACEOF
29937if ac_fn_cxx_try_compile "$LINENO"; then :
29938  glibcxx_cv_func_qfpclass_use=yes
29939else
29940  glibcxx_cv_func_qfpclass_use=no
29941fi
29942rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29943      ac_ext=c
29944ac_cpp='$CPP $CPPFLAGS'
29945ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29946ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29947ac_compiler_gnu=$ac_cv_c_compiler_gnu
29948
29949
29950fi
29951
29952  fi
29953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29954$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29955
29956  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29957    for ac_func in qfpclass
29958do :
29959  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29960if test "x$ac_cv_func_qfpclass" = x""yes; then :
29961  cat >>confdefs.h <<_ACEOF
29962#define HAVE_QFPCLASS 1
29963_ACEOF
29964
29965fi
29966done
29967
29968  else
29969
29970  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29971$as_echo_n "checking for _qfpclass declaration... " >&6; }
29972  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29973    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29974  $as_echo_n "(cached) " >&6
29975else
29976
29977
29978      ac_ext=cpp
29979ac_cpp='$CXXCPP $CPPFLAGS'
29980ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29981ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29982ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29983
29984      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29985/* end confdefs.h.  */
29986#include <math.h>
29987		      #ifdef HAVE_IEEEFP_H
29988		      #include <ieeefp.h>
29989		      #endif
29990
29991int
29992main ()
29993{
29994 _qfpclass(0);
29995  ;
29996  return 0;
29997}
29998_ACEOF
29999if ac_fn_cxx_try_compile "$LINENO"; then :
30000  glibcxx_cv_func__qfpclass_use=yes
30001else
30002  glibcxx_cv_func__qfpclass_use=no
30003fi
30004rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30005      ac_ext=c
30006ac_cpp='$CPP $CPPFLAGS'
30007ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30008ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30009ac_compiler_gnu=$ac_cv_c_compiler_gnu
30010
30011
30012fi
30013
30014  fi
30015  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30016$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30017
30018    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30019      for ac_func in _qfpclass
30020do :
30021  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30022if test "x$ac_cv_func__qfpclass" = x""yes; then :
30023  cat >>confdefs.h <<_ACEOF
30024#define HAVE__QFPCLASS 1
30025_ACEOF
30026
30027fi
30028done
30029
30030    fi
30031  fi
30032
30033
30034
30035
30036
30037  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30038$as_echo_n "checking for hypot declaration... " >&6; }
30039  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30040    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
30041  $as_echo_n "(cached) " >&6
30042else
30043
30044
30045      ac_ext=cpp
30046ac_cpp='$CXXCPP $CPPFLAGS'
30047ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30048ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30049ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30050
30051      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30052/* end confdefs.h.  */
30053#include <math.h>
30054int
30055main ()
30056{
30057 hypot(0, 0);
30058  ;
30059  return 0;
30060}
30061_ACEOF
30062if ac_fn_cxx_try_compile "$LINENO"; then :
30063  glibcxx_cv_func_hypot_use=yes
30064else
30065  glibcxx_cv_func_hypot_use=no
30066fi
30067rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30068      ac_ext=c
30069ac_cpp='$CPP $CPPFLAGS'
30070ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30071ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30072ac_compiler_gnu=$ac_cv_c_compiler_gnu
30073
30074
30075fi
30076
30077  fi
30078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30079$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30080
30081  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30082    for ac_func in hypot
30083do :
30084  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30085if test "x$ac_cv_func_hypot" = x""yes; then :
30086  cat >>confdefs.h <<_ACEOF
30087#define HAVE_HYPOT 1
30088_ACEOF
30089
30090fi
30091done
30092
30093  else
30094
30095  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30096$as_echo_n "checking for _hypot declaration... " >&6; }
30097  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30098    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
30099  $as_echo_n "(cached) " >&6
30100else
30101
30102
30103      ac_ext=cpp
30104ac_cpp='$CXXCPP $CPPFLAGS'
30105ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30106ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30107ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30108
30109      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30110/* end confdefs.h.  */
30111#include <math.h>
30112int
30113main ()
30114{
30115 _hypot(0, 0);
30116  ;
30117  return 0;
30118}
30119_ACEOF
30120if ac_fn_cxx_try_compile "$LINENO"; then :
30121  glibcxx_cv_func__hypot_use=yes
30122else
30123  glibcxx_cv_func__hypot_use=no
30124fi
30125rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30126      ac_ext=c
30127ac_cpp='$CPP $CPPFLAGS'
30128ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30129ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30130ac_compiler_gnu=$ac_cv_c_compiler_gnu
30131
30132
30133fi
30134
30135  fi
30136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30137$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30138
30139    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30140      for ac_func in _hypot
30141do :
30142  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30143if test "x$ac_cv_func__hypot" = x""yes; then :
30144  cat >>confdefs.h <<_ACEOF
30145#define HAVE__HYPOT 1
30146_ACEOF
30147
30148fi
30149done
30150
30151    fi
30152  fi
30153
30154
30155
30156
30157
30158    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30159$as_echo_n "checking for float trig functions... " >&6; }
30160  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
30161  $as_echo_n "(cached) " >&6
30162else
30163
30164
30165    ac_ext=cpp
30166ac_cpp='$CXXCPP $CPPFLAGS'
30167ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30168ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30169ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30170
30171    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30172/* end confdefs.h.  */
30173#include <math.h>
30174int
30175main ()
30176{
30177acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30178  ;
30179  return 0;
30180}
30181_ACEOF
30182if ac_fn_cxx_try_compile "$LINENO"; then :
30183  glibcxx_cv_func_float_trig_use=yes
30184else
30185  glibcxx_cv_func_float_trig_use=no
30186fi
30187rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30188    ac_ext=c
30189ac_cpp='$CPP $CPPFLAGS'
30190ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30191ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30192ac_compiler_gnu=$ac_cv_c_compiler_gnu
30193
30194fi
30195
30196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30197$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30198  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30199    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30200do :
30201  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30202ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30203eval as_val=\$$as_ac_var
30204   if test "x$as_val" = x""yes; then :
30205  cat >>confdefs.h <<_ACEOF
30206#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30207_ACEOF
30208
30209fi
30210done
30211
30212  else
30213    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30214$as_echo_n "checking for _float trig functions... " >&6; }
30215    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30216  $as_echo_n "(cached) " >&6
30217else
30218
30219
30220      ac_ext=cpp
30221ac_cpp='$CXXCPP $CPPFLAGS'
30222ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30223ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30224ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30225
30226      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30227/* end confdefs.h.  */
30228#include <math.h>
30229int
30230main ()
30231{
30232_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30233  ;
30234  return 0;
30235}
30236_ACEOF
30237if ac_fn_cxx_try_compile "$LINENO"; then :
30238  glibcxx_cv_func__float_trig_use=yes
30239else
30240  glibcxx_cv_func__float_trig_use=no
30241fi
30242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30243      ac_ext=c
30244ac_cpp='$CPP $CPPFLAGS'
30245ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30246ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30247ac_compiler_gnu=$ac_cv_c_compiler_gnu
30248
30249fi
30250
30251    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30252$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30253    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30254      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30255do :
30256  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30257ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30258eval as_val=\$$as_ac_var
30259   if test "x$as_val" = x""yes; then :
30260  cat >>confdefs.h <<_ACEOF
30261#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30262_ACEOF
30263
30264fi
30265done
30266
30267    fi
30268  fi
30269
30270
30271
30272
30273
30274    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30275$as_echo_n "checking for float round functions... " >&6; }
30276  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30277  $as_echo_n "(cached) " >&6
30278else
30279
30280
30281    ac_ext=cpp
30282ac_cpp='$CXXCPP $CPPFLAGS'
30283ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30284ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30285ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30286
30287    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30288/* end confdefs.h.  */
30289#include <math.h>
30290int
30291main ()
30292{
30293ceilf (0); floorf (0);
30294  ;
30295  return 0;
30296}
30297_ACEOF
30298if ac_fn_cxx_try_compile "$LINENO"; then :
30299  glibcxx_cv_func_float_round_use=yes
30300else
30301  glibcxx_cv_func_float_round_use=no
30302fi
30303rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30304    ac_ext=c
30305ac_cpp='$CPP $CPPFLAGS'
30306ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30307ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30308ac_compiler_gnu=$ac_cv_c_compiler_gnu
30309
30310fi
30311
30312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30313$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30314  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30315    for ac_func in ceilf floorf
30316do :
30317  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30318ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30319eval as_val=\$$as_ac_var
30320   if test "x$as_val" = x""yes; then :
30321  cat >>confdefs.h <<_ACEOF
30322#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30323_ACEOF
30324
30325fi
30326done
30327
30328  else
30329    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30330$as_echo_n "checking for _float round functions... " >&6; }
30331    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30332  $as_echo_n "(cached) " >&6
30333else
30334
30335
30336      ac_ext=cpp
30337ac_cpp='$CXXCPP $CPPFLAGS'
30338ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30339ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30340ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30341
30342      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30343/* end confdefs.h.  */
30344#include <math.h>
30345int
30346main ()
30347{
30348_ceilf (0); _floorf (0);
30349  ;
30350  return 0;
30351}
30352_ACEOF
30353if ac_fn_cxx_try_compile "$LINENO"; then :
30354  glibcxx_cv_func__float_round_use=yes
30355else
30356  glibcxx_cv_func__float_round_use=no
30357fi
30358rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30359      ac_ext=c
30360ac_cpp='$CPP $CPPFLAGS'
30361ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30362ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30363ac_compiler_gnu=$ac_cv_c_compiler_gnu
30364
30365fi
30366
30367    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30368$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30369    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30370      for ac_func in _ceilf _floorf
30371do :
30372  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30373ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30374eval as_val=\$$as_ac_var
30375   if test "x$as_val" = x""yes; then :
30376  cat >>confdefs.h <<_ACEOF
30377#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30378_ACEOF
30379
30380fi
30381done
30382
30383    fi
30384  fi
30385
30386
30387
30388
30389
30390
30391  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30392$as_echo_n "checking for expf declaration... " >&6; }
30393  if test x${glibcxx_cv_func_expf_use+set} != xset; then
30394    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30395  $as_echo_n "(cached) " >&6
30396else
30397
30398
30399      ac_ext=cpp
30400ac_cpp='$CXXCPP $CPPFLAGS'
30401ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30402ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30403ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30404
30405      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30406/* end confdefs.h.  */
30407#include <math.h>
30408		      #ifdef HAVE_IEEEFP_H
30409		      #include <ieeefp.h>
30410		      #endif
30411
30412int
30413main ()
30414{
30415 expf(0);
30416  ;
30417  return 0;
30418}
30419_ACEOF
30420if ac_fn_cxx_try_compile "$LINENO"; then :
30421  glibcxx_cv_func_expf_use=yes
30422else
30423  glibcxx_cv_func_expf_use=no
30424fi
30425rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30426      ac_ext=c
30427ac_cpp='$CPP $CPPFLAGS'
30428ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30429ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30430ac_compiler_gnu=$ac_cv_c_compiler_gnu
30431
30432
30433fi
30434
30435  fi
30436  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30437$as_echo "$glibcxx_cv_func_expf_use" >&6; }
30438
30439  if test x$glibcxx_cv_func_expf_use = x"yes"; then
30440    for ac_func in expf
30441do :
30442  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30443if test "x$ac_cv_func_expf" = x""yes; then :
30444  cat >>confdefs.h <<_ACEOF
30445#define HAVE_EXPF 1
30446_ACEOF
30447
30448fi
30449done
30450
30451  else
30452
30453  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30454$as_echo_n "checking for _expf declaration... " >&6; }
30455  if test x${glibcxx_cv_func__expf_use+set} != xset; then
30456    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30457  $as_echo_n "(cached) " >&6
30458else
30459
30460
30461      ac_ext=cpp
30462ac_cpp='$CXXCPP $CPPFLAGS'
30463ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30464ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30465ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30466
30467      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30468/* end confdefs.h.  */
30469#include <math.h>
30470		      #ifdef HAVE_IEEEFP_H
30471		      #include <ieeefp.h>
30472		      #endif
30473
30474int
30475main ()
30476{
30477 _expf(0);
30478  ;
30479  return 0;
30480}
30481_ACEOF
30482if ac_fn_cxx_try_compile "$LINENO"; then :
30483  glibcxx_cv_func__expf_use=yes
30484else
30485  glibcxx_cv_func__expf_use=no
30486fi
30487rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30488      ac_ext=c
30489ac_cpp='$CPP $CPPFLAGS'
30490ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30491ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30492ac_compiler_gnu=$ac_cv_c_compiler_gnu
30493
30494
30495fi
30496
30497  fi
30498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30499$as_echo "$glibcxx_cv_func__expf_use" >&6; }
30500
30501    if test x$glibcxx_cv_func__expf_use = x"yes"; then
30502      for ac_func in _expf
30503do :
30504  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30505if test "x$ac_cv_func__expf" = x""yes; then :
30506  cat >>confdefs.h <<_ACEOF
30507#define HAVE__EXPF 1
30508_ACEOF
30509
30510fi
30511done
30512
30513    fi
30514  fi
30515
30516
30517
30518
30519
30520  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30521$as_echo_n "checking for isnanf declaration... " >&6; }
30522  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30523    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30524  $as_echo_n "(cached) " >&6
30525else
30526
30527
30528      ac_ext=cpp
30529ac_cpp='$CXXCPP $CPPFLAGS'
30530ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30531ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30532ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30533
30534      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30535/* end confdefs.h.  */
30536#include <math.h>
30537		      #ifdef HAVE_IEEEFP_H
30538		      #include <ieeefp.h>
30539		      #endif
30540
30541int
30542main ()
30543{
30544 isnanf(0);
30545  ;
30546  return 0;
30547}
30548_ACEOF
30549if ac_fn_cxx_try_compile "$LINENO"; then :
30550  glibcxx_cv_func_isnanf_use=yes
30551else
30552  glibcxx_cv_func_isnanf_use=no
30553fi
30554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30555      ac_ext=c
30556ac_cpp='$CPP $CPPFLAGS'
30557ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30558ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30559ac_compiler_gnu=$ac_cv_c_compiler_gnu
30560
30561
30562fi
30563
30564  fi
30565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30566$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30567
30568  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30569    for ac_func in isnanf
30570do :
30571  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30572if test "x$ac_cv_func_isnanf" = x""yes; then :
30573  cat >>confdefs.h <<_ACEOF
30574#define HAVE_ISNANF 1
30575_ACEOF
30576
30577fi
30578done
30579
30580  else
30581
30582  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30583$as_echo_n "checking for _isnanf declaration... " >&6; }
30584  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30585    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30586  $as_echo_n "(cached) " >&6
30587else
30588
30589
30590      ac_ext=cpp
30591ac_cpp='$CXXCPP $CPPFLAGS'
30592ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30593ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30594ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30595
30596      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30597/* end confdefs.h.  */
30598#include <math.h>
30599		      #ifdef HAVE_IEEEFP_H
30600		      #include <ieeefp.h>
30601		      #endif
30602
30603int
30604main ()
30605{
30606 _isnanf(0);
30607  ;
30608  return 0;
30609}
30610_ACEOF
30611if ac_fn_cxx_try_compile "$LINENO"; then :
30612  glibcxx_cv_func__isnanf_use=yes
30613else
30614  glibcxx_cv_func__isnanf_use=no
30615fi
30616rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30617      ac_ext=c
30618ac_cpp='$CPP $CPPFLAGS'
30619ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30620ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30621ac_compiler_gnu=$ac_cv_c_compiler_gnu
30622
30623
30624fi
30625
30626  fi
30627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30628$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30629
30630    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30631      for ac_func in _isnanf
30632do :
30633  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30634if test "x$ac_cv_func__isnanf" = x""yes; then :
30635  cat >>confdefs.h <<_ACEOF
30636#define HAVE__ISNANF 1
30637_ACEOF
30638
30639fi
30640done
30641
30642    fi
30643  fi
30644
30645
30646
30647
30648
30649  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30650$as_echo_n "checking for isinff declaration... " >&6; }
30651  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30652    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30653  $as_echo_n "(cached) " >&6
30654else
30655
30656
30657      ac_ext=cpp
30658ac_cpp='$CXXCPP $CPPFLAGS'
30659ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30660ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30661ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30662
30663      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30664/* end confdefs.h.  */
30665#include <math.h>
30666		      #ifdef HAVE_IEEEFP_H
30667		      #include <ieeefp.h>
30668		      #endif
30669
30670int
30671main ()
30672{
30673 isinff(0);
30674  ;
30675  return 0;
30676}
30677_ACEOF
30678if ac_fn_cxx_try_compile "$LINENO"; then :
30679  glibcxx_cv_func_isinff_use=yes
30680else
30681  glibcxx_cv_func_isinff_use=no
30682fi
30683rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30684      ac_ext=c
30685ac_cpp='$CPP $CPPFLAGS'
30686ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30687ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30688ac_compiler_gnu=$ac_cv_c_compiler_gnu
30689
30690
30691fi
30692
30693  fi
30694  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30695$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30696
30697  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30698    for ac_func in isinff
30699do :
30700  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30701if test "x$ac_cv_func_isinff" = x""yes; then :
30702  cat >>confdefs.h <<_ACEOF
30703#define HAVE_ISINFF 1
30704_ACEOF
30705
30706fi
30707done
30708
30709  else
30710
30711  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30712$as_echo_n "checking for _isinff declaration... " >&6; }
30713  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30714    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30715  $as_echo_n "(cached) " >&6
30716else
30717
30718
30719      ac_ext=cpp
30720ac_cpp='$CXXCPP $CPPFLAGS'
30721ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30722ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30723ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30724
30725      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30726/* end confdefs.h.  */
30727#include <math.h>
30728		      #ifdef HAVE_IEEEFP_H
30729		      #include <ieeefp.h>
30730		      #endif
30731
30732int
30733main ()
30734{
30735 _isinff(0);
30736  ;
30737  return 0;
30738}
30739_ACEOF
30740if ac_fn_cxx_try_compile "$LINENO"; then :
30741  glibcxx_cv_func__isinff_use=yes
30742else
30743  glibcxx_cv_func__isinff_use=no
30744fi
30745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30746      ac_ext=c
30747ac_cpp='$CPP $CPPFLAGS'
30748ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30749ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30750ac_compiler_gnu=$ac_cv_c_compiler_gnu
30751
30752
30753fi
30754
30755  fi
30756  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30757$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30758
30759    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30760      for ac_func in _isinff
30761do :
30762  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30763if test "x$ac_cv_func__isinff" = x""yes; then :
30764  cat >>confdefs.h <<_ACEOF
30765#define HAVE__ISINFF 1
30766_ACEOF
30767
30768fi
30769done
30770
30771    fi
30772  fi
30773
30774
30775
30776
30777
30778  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30779$as_echo_n "checking for atan2f declaration... " >&6; }
30780  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30781    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30782  $as_echo_n "(cached) " >&6
30783else
30784
30785
30786      ac_ext=cpp
30787ac_cpp='$CXXCPP $CPPFLAGS'
30788ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30789ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30790ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30791
30792      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30793/* end confdefs.h.  */
30794#include <math.h>
30795int
30796main ()
30797{
30798 atan2f(0, 0);
30799  ;
30800  return 0;
30801}
30802_ACEOF
30803if ac_fn_cxx_try_compile "$LINENO"; then :
30804  glibcxx_cv_func_atan2f_use=yes
30805else
30806  glibcxx_cv_func_atan2f_use=no
30807fi
30808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30809      ac_ext=c
30810ac_cpp='$CPP $CPPFLAGS'
30811ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30812ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30813ac_compiler_gnu=$ac_cv_c_compiler_gnu
30814
30815
30816fi
30817
30818  fi
30819  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30820$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30821
30822  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30823    for ac_func in atan2f
30824do :
30825  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30826if test "x$ac_cv_func_atan2f" = x""yes; then :
30827  cat >>confdefs.h <<_ACEOF
30828#define HAVE_ATAN2F 1
30829_ACEOF
30830
30831fi
30832done
30833
30834  else
30835
30836  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30837$as_echo_n "checking for _atan2f declaration... " >&6; }
30838  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30839    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30840  $as_echo_n "(cached) " >&6
30841else
30842
30843
30844      ac_ext=cpp
30845ac_cpp='$CXXCPP $CPPFLAGS'
30846ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30847ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30848ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30849
30850      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30851/* end confdefs.h.  */
30852#include <math.h>
30853int
30854main ()
30855{
30856 _atan2f(0, 0);
30857  ;
30858  return 0;
30859}
30860_ACEOF
30861if ac_fn_cxx_try_compile "$LINENO"; then :
30862  glibcxx_cv_func__atan2f_use=yes
30863else
30864  glibcxx_cv_func__atan2f_use=no
30865fi
30866rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30867      ac_ext=c
30868ac_cpp='$CPP $CPPFLAGS'
30869ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30870ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30871ac_compiler_gnu=$ac_cv_c_compiler_gnu
30872
30873
30874fi
30875
30876  fi
30877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30878$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30879
30880    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30881      for ac_func in _atan2f
30882do :
30883  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30884if test "x$ac_cv_func__atan2f" = x""yes; then :
30885  cat >>confdefs.h <<_ACEOF
30886#define HAVE__ATAN2F 1
30887_ACEOF
30888
30889fi
30890done
30891
30892    fi
30893  fi
30894
30895
30896
30897
30898
30899  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30900$as_echo_n "checking for fabsf declaration... " >&6; }
30901  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30902    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30903  $as_echo_n "(cached) " >&6
30904else
30905
30906
30907      ac_ext=cpp
30908ac_cpp='$CXXCPP $CPPFLAGS'
30909ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30910ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30911ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30912
30913      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30914/* end confdefs.h.  */
30915#include <math.h>
30916		      #ifdef HAVE_IEEEFP_H
30917		      #include <ieeefp.h>
30918		      #endif
30919
30920int
30921main ()
30922{
30923 fabsf(0);
30924  ;
30925  return 0;
30926}
30927_ACEOF
30928if ac_fn_cxx_try_compile "$LINENO"; then :
30929  glibcxx_cv_func_fabsf_use=yes
30930else
30931  glibcxx_cv_func_fabsf_use=no
30932fi
30933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30934      ac_ext=c
30935ac_cpp='$CPP $CPPFLAGS'
30936ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30937ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30938ac_compiler_gnu=$ac_cv_c_compiler_gnu
30939
30940
30941fi
30942
30943  fi
30944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30945$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30946
30947  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30948    for ac_func in fabsf
30949do :
30950  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30951if test "x$ac_cv_func_fabsf" = x""yes; then :
30952  cat >>confdefs.h <<_ACEOF
30953#define HAVE_FABSF 1
30954_ACEOF
30955
30956fi
30957done
30958
30959  else
30960
30961  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30962$as_echo_n "checking for _fabsf declaration... " >&6; }
30963  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30964    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30965  $as_echo_n "(cached) " >&6
30966else
30967
30968
30969      ac_ext=cpp
30970ac_cpp='$CXXCPP $CPPFLAGS'
30971ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30972ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30973ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30974
30975      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30976/* end confdefs.h.  */
30977#include <math.h>
30978		      #ifdef HAVE_IEEEFP_H
30979		      #include <ieeefp.h>
30980		      #endif
30981
30982int
30983main ()
30984{
30985 _fabsf(0);
30986  ;
30987  return 0;
30988}
30989_ACEOF
30990if ac_fn_cxx_try_compile "$LINENO"; then :
30991  glibcxx_cv_func__fabsf_use=yes
30992else
30993  glibcxx_cv_func__fabsf_use=no
30994fi
30995rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30996      ac_ext=c
30997ac_cpp='$CPP $CPPFLAGS'
30998ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30999ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31000ac_compiler_gnu=$ac_cv_c_compiler_gnu
31001
31002
31003fi
31004
31005  fi
31006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31007$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31008
31009    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31010      for ac_func in _fabsf
31011do :
31012  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31013if test "x$ac_cv_func__fabsf" = x""yes; then :
31014  cat >>confdefs.h <<_ACEOF
31015#define HAVE__FABSF 1
31016_ACEOF
31017
31018fi
31019done
31020
31021    fi
31022  fi
31023
31024
31025
31026
31027
31028  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31029$as_echo_n "checking for fmodf declaration... " >&6; }
31030  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31031    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
31032  $as_echo_n "(cached) " >&6
31033else
31034
31035
31036      ac_ext=cpp
31037ac_cpp='$CXXCPP $CPPFLAGS'
31038ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31039ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31040ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31041
31042      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31043/* end confdefs.h.  */
31044#include <math.h>
31045int
31046main ()
31047{
31048 fmodf(0, 0);
31049  ;
31050  return 0;
31051}
31052_ACEOF
31053if ac_fn_cxx_try_compile "$LINENO"; then :
31054  glibcxx_cv_func_fmodf_use=yes
31055else
31056  glibcxx_cv_func_fmodf_use=no
31057fi
31058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31059      ac_ext=c
31060ac_cpp='$CPP $CPPFLAGS'
31061ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31062ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31063ac_compiler_gnu=$ac_cv_c_compiler_gnu
31064
31065
31066fi
31067
31068  fi
31069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31070$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31071
31072  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31073    for ac_func in fmodf
31074do :
31075  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31076if test "x$ac_cv_func_fmodf" = x""yes; then :
31077  cat >>confdefs.h <<_ACEOF
31078#define HAVE_FMODF 1
31079_ACEOF
31080
31081fi
31082done
31083
31084  else
31085
31086  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31087$as_echo_n "checking for _fmodf declaration... " >&6; }
31088  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31089    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
31090  $as_echo_n "(cached) " >&6
31091else
31092
31093
31094      ac_ext=cpp
31095ac_cpp='$CXXCPP $CPPFLAGS'
31096ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31097ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31098ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31099
31100      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31101/* end confdefs.h.  */
31102#include <math.h>
31103int
31104main ()
31105{
31106 _fmodf(0, 0);
31107  ;
31108  return 0;
31109}
31110_ACEOF
31111if ac_fn_cxx_try_compile "$LINENO"; then :
31112  glibcxx_cv_func__fmodf_use=yes
31113else
31114  glibcxx_cv_func__fmodf_use=no
31115fi
31116rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31117      ac_ext=c
31118ac_cpp='$CPP $CPPFLAGS'
31119ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31120ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31121ac_compiler_gnu=$ac_cv_c_compiler_gnu
31122
31123
31124fi
31125
31126  fi
31127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31128$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31129
31130    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31131      for ac_func in _fmodf
31132do :
31133  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31134if test "x$ac_cv_func__fmodf" = x""yes; then :
31135  cat >>confdefs.h <<_ACEOF
31136#define HAVE__FMODF 1
31137_ACEOF
31138
31139fi
31140done
31141
31142    fi
31143  fi
31144
31145
31146
31147
31148
31149  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31150$as_echo_n "checking for frexpf declaration... " >&6; }
31151  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31152    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
31153  $as_echo_n "(cached) " >&6
31154else
31155
31156
31157      ac_ext=cpp
31158ac_cpp='$CXXCPP $CPPFLAGS'
31159ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31160ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31161ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31162
31163      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31164/* end confdefs.h.  */
31165#include <math.h>
31166int
31167main ()
31168{
31169 frexpf(0, 0);
31170  ;
31171  return 0;
31172}
31173_ACEOF
31174if ac_fn_cxx_try_compile "$LINENO"; then :
31175  glibcxx_cv_func_frexpf_use=yes
31176else
31177  glibcxx_cv_func_frexpf_use=no
31178fi
31179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31180      ac_ext=c
31181ac_cpp='$CPP $CPPFLAGS'
31182ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31183ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31184ac_compiler_gnu=$ac_cv_c_compiler_gnu
31185
31186
31187fi
31188
31189  fi
31190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31191$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31192
31193  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31194    for ac_func in frexpf
31195do :
31196  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31197if test "x$ac_cv_func_frexpf" = x""yes; then :
31198  cat >>confdefs.h <<_ACEOF
31199#define HAVE_FREXPF 1
31200_ACEOF
31201
31202fi
31203done
31204
31205  else
31206
31207  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31208$as_echo_n "checking for _frexpf declaration... " >&6; }
31209  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31210    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31211  $as_echo_n "(cached) " >&6
31212else
31213
31214
31215      ac_ext=cpp
31216ac_cpp='$CXXCPP $CPPFLAGS'
31217ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31218ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31219ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31220
31221      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31222/* end confdefs.h.  */
31223#include <math.h>
31224int
31225main ()
31226{
31227 _frexpf(0, 0);
31228  ;
31229  return 0;
31230}
31231_ACEOF
31232if ac_fn_cxx_try_compile "$LINENO"; then :
31233  glibcxx_cv_func__frexpf_use=yes
31234else
31235  glibcxx_cv_func__frexpf_use=no
31236fi
31237rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31238      ac_ext=c
31239ac_cpp='$CPP $CPPFLAGS'
31240ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31241ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31242ac_compiler_gnu=$ac_cv_c_compiler_gnu
31243
31244
31245fi
31246
31247  fi
31248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31249$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31250
31251    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31252      for ac_func in _frexpf
31253do :
31254  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31255if test "x$ac_cv_func__frexpf" = x""yes; then :
31256  cat >>confdefs.h <<_ACEOF
31257#define HAVE__FREXPF 1
31258_ACEOF
31259
31260fi
31261done
31262
31263    fi
31264  fi
31265
31266
31267
31268
31269
31270  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31271$as_echo_n "checking for hypotf declaration... " >&6; }
31272  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31273    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31274  $as_echo_n "(cached) " >&6
31275else
31276
31277
31278      ac_ext=cpp
31279ac_cpp='$CXXCPP $CPPFLAGS'
31280ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31281ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31282ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31283
31284      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31285/* end confdefs.h.  */
31286#include <math.h>
31287int
31288main ()
31289{
31290 hypotf(0, 0);
31291  ;
31292  return 0;
31293}
31294_ACEOF
31295if ac_fn_cxx_try_compile "$LINENO"; then :
31296  glibcxx_cv_func_hypotf_use=yes
31297else
31298  glibcxx_cv_func_hypotf_use=no
31299fi
31300rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31301      ac_ext=c
31302ac_cpp='$CPP $CPPFLAGS'
31303ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31304ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31305ac_compiler_gnu=$ac_cv_c_compiler_gnu
31306
31307
31308fi
31309
31310  fi
31311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31312$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31313
31314  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31315    for ac_func in hypotf
31316do :
31317  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31318if test "x$ac_cv_func_hypotf" = x""yes; then :
31319  cat >>confdefs.h <<_ACEOF
31320#define HAVE_HYPOTF 1
31321_ACEOF
31322
31323fi
31324done
31325
31326  else
31327
31328  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31329$as_echo_n "checking for _hypotf declaration... " >&6; }
31330  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31331    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31332  $as_echo_n "(cached) " >&6
31333else
31334
31335
31336      ac_ext=cpp
31337ac_cpp='$CXXCPP $CPPFLAGS'
31338ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31339ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31340ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31341
31342      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31343/* end confdefs.h.  */
31344#include <math.h>
31345int
31346main ()
31347{
31348 _hypotf(0, 0);
31349  ;
31350  return 0;
31351}
31352_ACEOF
31353if ac_fn_cxx_try_compile "$LINENO"; then :
31354  glibcxx_cv_func__hypotf_use=yes
31355else
31356  glibcxx_cv_func__hypotf_use=no
31357fi
31358rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31359      ac_ext=c
31360ac_cpp='$CPP $CPPFLAGS'
31361ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31362ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31363ac_compiler_gnu=$ac_cv_c_compiler_gnu
31364
31365
31366fi
31367
31368  fi
31369  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31370$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31371
31372    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31373      for ac_func in _hypotf
31374do :
31375  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31376if test "x$ac_cv_func__hypotf" = x""yes; then :
31377  cat >>confdefs.h <<_ACEOF
31378#define HAVE__HYPOTF 1
31379_ACEOF
31380
31381fi
31382done
31383
31384    fi
31385  fi
31386
31387
31388
31389
31390
31391  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31392$as_echo_n "checking for ldexpf declaration... " >&6; }
31393  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31394    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31395  $as_echo_n "(cached) " >&6
31396else
31397
31398
31399      ac_ext=cpp
31400ac_cpp='$CXXCPP $CPPFLAGS'
31401ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31402ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31403ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31404
31405      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31406/* end confdefs.h.  */
31407#include <math.h>
31408int
31409main ()
31410{
31411 ldexpf(0, 0);
31412  ;
31413  return 0;
31414}
31415_ACEOF
31416if ac_fn_cxx_try_compile "$LINENO"; then :
31417  glibcxx_cv_func_ldexpf_use=yes
31418else
31419  glibcxx_cv_func_ldexpf_use=no
31420fi
31421rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31422      ac_ext=c
31423ac_cpp='$CPP $CPPFLAGS'
31424ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31425ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31426ac_compiler_gnu=$ac_cv_c_compiler_gnu
31427
31428
31429fi
31430
31431  fi
31432  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31433$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31434
31435  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31436    for ac_func in ldexpf
31437do :
31438  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31439if test "x$ac_cv_func_ldexpf" = x""yes; then :
31440  cat >>confdefs.h <<_ACEOF
31441#define HAVE_LDEXPF 1
31442_ACEOF
31443
31444fi
31445done
31446
31447  else
31448
31449  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31450$as_echo_n "checking for _ldexpf declaration... " >&6; }
31451  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31452    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31453  $as_echo_n "(cached) " >&6
31454else
31455
31456
31457      ac_ext=cpp
31458ac_cpp='$CXXCPP $CPPFLAGS'
31459ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31460ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31461ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31462
31463      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31464/* end confdefs.h.  */
31465#include <math.h>
31466int
31467main ()
31468{
31469 _ldexpf(0, 0);
31470  ;
31471  return 0;
31472}
31473_ACEOF
31474if ac_fn_cxx_try_compile "$LINENO"; then :
31475  glibcxx_cv_func__ldexpf_use=yes
31476else
31477  glibcxx_cv_func__ldexpf_use=no
31478fi
31479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31480      ac_ext=c
31481ac_cpp='$CPP $CPPFLAGS'
31482ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31483ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31484ac_compiler_gnu=$ac_cv_c_compiler_gnu
31485
31486
31487fi
31488
31489  fi
31490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31491$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31492
31493    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31494      for ac_func in _ldexpf
31495do :
31496  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31497if test "x$ac_cv_func__ldexpf" = x""yes; then :
31498  cat >>confdefs.h <<_ACEOF
31499#define HAVE__LDEXPF 1
31500_ACEOF
31501
31502fi
31503done
31504
31505    fi
31506  fi
31507
31508
31509
31510
31511
31512  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31513$as_echo_n "checking for logf declaration... " >&6; }
31514  if test x${glibcxx_cv_func_logf_use+set} != xset; then
31515    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31516  $as_echo_n "(cached) " >&6
31517else
31518
31519
31520      ac_ext=cpp
31521ac_cpp='$CXXCPP $CPPFLAGS'
31522ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31523ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31524ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31525
31526      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31527/* end confdefs.h.  */
31528#include <math.h>
31529		      #ifdef HAVE_IEEEFP_H
31530		      #include <ieeefp.h>
31531		      #endif
31532
31533int
31534main ()
31535{
31536 logf(0);
31537  ;
31538  return 0;
31539}
31540_ACEOF
31541if ac_fn_cxx_try_compile "$LINENO"; then :
31542  glibcxx_cv_func_logf_use=yes
31543else
31544  glibcxx_cv_func_logf_use=no
31545fi
31546rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31547      ac_ext=c
31548ac_cpp='$CPP $CPPFLAGS'
31549ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31550ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31551ac_compiler_gnu=$ac_cv_c_compiler_gnu
31552
31553
31554fi
31555
31556  fi
31557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31558$as_echo "$glibcxx_cv_func_logf_use" >&6; }
31559
31560  if test x$glibcxx_cv_func_logf_use = x"yes"; then
31561    for ac_func in logf
31562do :
31563  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31564if test "x$ac_cv_func_logf" = x""yes; then :
31565  cat >>confdefs.h <<_ACEOF
31566#define HAVE_LOGF 1
31567_ACEOF
31568
31569fi
31570done
31571
31572  else
31573
31574  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31575$as_echo_n "checking for _logf declaration... " >&6; }
31576  if test x${glibcxx_cv_func__logf_use+set} != xset; then
31577    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31578  $as_echo_n "(cached) " >&6
31579else
31580
31581
31582      ac_ext=cpp
31583ac_cpp='$CXXCPP $CPPFLAGS'
31584ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31585ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31586ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31587
31588      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31589/* end confdefs.h.  */
31590#include <math.h>
31591		      #ifdef HAVE_IEEEFP_H
31592		      #include <ieeefp.h>
31593		      #endif
31594
31595int
31596main ()
31597{
31598 _logf(0);
31599  ;
31600  return 0;
31601}
31602_ACEOF
31603if ac_fn_cxx_try_compile "$LINENO"; then :
31604  glibcxx_cv_func__logf_use=yes
31605else
31606  glibcxx_cv_func__logf_use=no
31607fi
31608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31609      ac_ext=c
31610ac_cpp='$CPP $CPPFLAGS'
31611ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31612ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31613ac_compiler_gnu=$ac_cv_c_compiler_gnu
31614
31615
31616fi
31617
31618  fi
31619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31620$as_echo "$glibcxx_cv_func__logf_use" >&6; }
31621
31622    if test x$glibcxx_cv_func__logf_use = x"yes"; then
31623      for ac_func in _logf
31624do :
31625  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31626if test "x$ac_cv_func__logf" = x""yes; then :
31627  cat >>confdefs.h <<_ACEOF
31628#define HAVE__LOGF 1
31629_ACEOF
31630
31631fi
31632done
31633
31634    fi
31635  fi
31636
31637
31638
31639
31640
31641  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31642$as_echo_n "checking for log10f declaration... " >&6; }
31643  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31644    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31645  $as_echo_n "(cached) " >&6
31646else
31647
31648
31649      ac_ext=cpp
31650ac_cpp='$CXXCPP $CPPFLAGS'
31651ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31652ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31653ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31654
31655      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31656/* end confdefs.h.  */
31657#include <math.h>
31658		      #ifdef HAVE_IEEEFP_H
31659		      #include <ieeefp.h>
31660		      #endif
31661
31662int
31663main ()
31664{
31665 log10f(0);
31666  ;
31667  return 0;
31668}
31669_ACEOF
31670if ac_fn_cxx_try_compile "$LINENO"; then :
31671  glibcxx_cv_func_log10f_use=yes
31672else
31673  glibcxx_cv_func_log10f_use=no
31674fi
31675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31676      ac_ext=c
31677ac_cpp='$CPP $CPPFLAGS'
31678ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31679ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31680ac_compiler_gnu=$ac_cv_c_compiler_gnu
31681
31682
31683fi
31684
31685  fi
31686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31687$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31688
31689  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31690    for ac_func in log10f
31691do :
31692  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31693if test "x$ac_cv_func_log10f" = x""yes; then :
31694  cat >>confdefs.h <<_ACEOF
31695#define HAVE_LOG10F 1
31696_ACEOF
31697
31698fi
31699done
31700
31701  else
31702
31703  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31704$as_echo_n "checking for _log10f declaration... " >&6; }
31705  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31706    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31707  $as_echo_n "(cached) " >&6
31708else
31709
31710
31711      ac_ext=cpp
31712ac_cpp='$CXXCPP $CPPFLAGS'
31713ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31714ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31715ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31716
31717      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31718/* end confdefs.h.  */
31719#include <math.h>
31720		      #ifdef HAVE_IEEEFP_H
31721		      #include <ieeefp.h>
31722		      #endif
31723
31724int
31725main ()
31726{
31727 _log10f(0);
31728  ;
31729  return 0;
31730}
31731_ACEOF
31732if ac_fn_cxx_try_compile "$LINENO"; then :
31733  glibcxx_cv_func__log10f_use=yes
31734else
31735  glibcxx_cv_func__log10f_use=no
31736fi
31737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31738      ac_ext=c
31739ac_cpp='$CPP $CPPFLAGS'
31740ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31741ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31742ac_compiler_gnu=$ac_cv_c_compiler_gnu
31743
31744
31745fi
31746
31747  fi
31748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31749$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31750
31751    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31752      for ac_func in _log10f
31753do :
31754  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31755if test "x$ac_cv_func__log10f" = x""yes; then :
31756  cat >>confdefs.h <<_ACEOF
31757#define HAVE__LOG10F 1
31758_ACEOF
31759
31760fi
31761done
31762
31763    fi
31764  fi
31765
31766
31767
31768
31769
31770  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31771$as_echo_n "checking for modff declaration... " >&6; }
31772  if test x${glibcxx_cv_func_modff_use+set} != xset; then
31773    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31774  $as_echo_n "(cached) " >&6
31775else
31776
31777
31778      ac_ext=cpp
31779ac_cpp='$CXXCPP $CPPFLAGS'
31780ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31781ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31782ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31783
31784      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31785/* end confdefs.h.  */
31786#include <math.h>
31787int
31788main ()
31789{
31790 modff(0, 0);
31791  ;
31792  return 0;
31793}
31794_ACEOF
31795if ac_fn_cxx_try_compile "$LINENO"; then :
31796  glibcxx_cv_func_modff_use=yes
31797else
31798  glibcxx_cv_func_modff_use=no
31799fi
31800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31801      ac_ext=c
31802ac_cpp='$CPP $CPPFLAGS'
31803ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31804ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31805ac_compiler_gnu=$ac_cv_c_compiler_gnu
31806
31807
31808fi
31809
31810  fi
31811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31812$as_echo "$glibcxx_cv_func_modff_use" >&6; }
31813
31814  if test x$glibcxx_cv_func_modff_use = x"yes"; then
31815    for ac_func in modff
31816do :
31817  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31818if test "x$ac_cv_func_modff" = x""yes; then :
31819  cat >>confdefs.h <<_ACEOF
31820#define HAVE_MODFF 1
31821_ACEOF
31822
31823fi
31824done
31825
31826  else
31827
31828  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31829$as_echo_n "checking for _modff declaration... " >&6; }
31830  if test x${glibcxx_cv_func__modff_use+set} != xset; then
31831    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31832  $as_echo_n "(cached) " >&6
31833else
31834
31835
31836      ac_ext=cpp
31837ac_cpp='$CXXCPP $CPPFLAGS'
31838ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31839ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31840ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31841
31842      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31843/* end confdefs.h.  */
31844#include <math.h>
31845int
31846main ()
31847{
31848 _modff(0, 0);
31849  ;
31850  return 0;
31851}
31852_ACEOF
31853if ac_fn_cxx_try_compile "$LINENO"; then :
31854  glibcxx_cv_func__modff_use=yes
31855else
31856  glibcxx_cv_func__modff_use=no
31857fi
31858rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31859      ac_ext=c
31860ac_cpp='$CPP $CPPFLAGS'
31861ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31862ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31863ac_compiler_gnu=$ac_cv_c_compiler_gnu
31864
31865
31866fi
31867
31868  fi
31869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31870$as_echo "$glibcxx_cv_func__modff_use" >&6; }
31871
31872    if test x$glibcxx_cv_func__modff_use = x"yes"; then
31873      for ac_func in _modff
31874do :
31875  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31876if test "x$ac_cv_func__modff" = x""yes; then :
31877  cat >>confdefs.h <<_ACEOF
31878#define HAVE__MODFF 1
31879_ACEOF
31880
31881fi
31882done
31883
31884    fi
31885  fi
31886
31887
31888
31889
31890
31891  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31892$as_echo_n "checking for modf declaration... " >&6; }
31893  if test x${glibcxx_cv_func_modf_use+set} != xset; then
31894    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31895  $as_echo_n "(cached) " >&6
31896else
31897
31898
31899      ac_ext=cpp
31900ac_cpp='$CXXCPP $CPPFLAGS'
31901ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31902ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31903ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31904
31905      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31906/* end confdefs.h.  */
31907#include <math.h>
31908int
31909main ()
31910{
31911 modf(0, 0);
31912  ;
31913  return 0;
31914}
31915_ACEOF
31916if ac_fn_cxx_try_compile "$LINENO"; then :
31917  glibcxx_cv_func_modf_use=yes
31918else
31919  glibcxx_cv_func_modf_use=no
31920fi
31921rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31922      ac_ext=c
31923ac_cpp='$CPP $CPPFLAGS'
31924ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31925ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31926ac_compiler_gnu=$ac_cv_c_compiler_gnu
31927
31928
31929fi
31930
31931  fi
31932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31933$as_echo "$glibcxx_cv_func_modf_use" >&6; }
31934
31935  if test x$glibcxx_cv_func_modf_use = x"yes"; then
31936    for ac_func in modf
31937do :
31938  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31939if test "x$ac_cv_func_modf" = x""yes; then :
31940  cat >>confdefs.h <<_ACEOF
31941#define HAVE_MODF 1
31942_ACEOF
31943
31944fi
31945done
31946
31947  else
31948
31949  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31950$as_echo_n "checking for _modf declaration... " >&6; }
31951  if test x${glibcxx_cv_func__modf_use+set} != xset; then
31952    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31953  $as_echo_n "(cached) " >&6
31954else
31955
31956
31957      ac_ext=cpp
31958ac_cpp='$CXXCPP $CPPFLAGS'
31959ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31960ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31961ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31962
31963      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31964/* end confdefs.h.  */
31965#include <math.h>
31966int
31967main ()
31968{
31969 _modf(0, 0);
31970  ;
31971  return 0;
31972}
31973_ACEOF
31974if ac_fn_cxx_try_compile "$LINENO"; then :
31975  glibcxx_cv_func__modf_use=yes
31976else
31977  glibcxx_cv_func__modf_use=no
31978fi
31979rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31980      ac_ext=c
31981ac_cpp='$CPP $CPPFLAGS'
31982ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31983ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31984ac_compiler_gnu=$ac_cv_c_compiler_gnu
31985
31986
31987fi
31988
31989  fi
31990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
31991$as_echo "$glibcxx_cv_func__modf_use" >&6; }
31992
31993    if test x$glibcxx_cv_func__modf_use = x"yes"; then
31994      for ac_func in _modf
31995do :
31996  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
31997if test "x$ac_cv_func__modf" = x""yes; then :
31998  cat >>confdefs.h <<_ACEOF
31999#define HAVE__MODF 1
32000_ACEOF
32001
32002fi
32003done
32004
32005    fi
32006  fi
32007
32008
32009
32010
32011
32012  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32013$as_echo_n "checking for powf declaration... " >&6; }
32014  if test x${glibcxx_cv_func_powf_use+set} != xset; then
32015    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
32016  $as_echo_n "(cached) " >&6
32017else
32018
32019
32020      ac_ext=cpp
32021ac_cpp='$CXXCPP $CPPFLAGS'
32022ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32023ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32024ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32025
32026      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32027/* end confdefs.h.  */
32028#include <math.h>
32029int
32030main ()
32031{
32032 powf(0, 0);
32033  ;
32034  return 0;
32035}
32036_ACEOF
32037if ac_fn_cxx_try_compile "$LINENO"; then :
32038  glibcxx_cv_func_powf_use=yes
32039else
32040  glibcxx_cv_func_powf_use=no
32041fi
32042rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32043      ac_ext=c
32044ac_cpp='$CPP $CPPFLAGS'
32045ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32046ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32047ac_compiler_gnu=$ac_cv_c_compiler_gnu
32048
32049
32050fi
32051
32052  fi
32053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32054$as_echo "$glibcxx_cv_func_powf_use" >&6; }
32055
32056  if test x$glibcxx_cv_func_powf_use = x"yes"; then
32057    for ac_func in powf
32058do :
32059  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32060if test "x$ac_cv_func_powf" = x""yes; then :
32061  cat >>confdefs.h <<_ACEOF
32062#define HAVE_POWF 1
32063_ACEOF
32064
32065fi
32066done
32067
32068  else
32069
32070  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32071$as_echo_n "checking for _powf declaration... " >&6; }
32072  if test x${glibcxx_cv_func__powf_use+set} != xset; then
32073    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
32074  $as_echo_n "(cached) " >&6
32075else
32076
32077
32078      ac_ext=cpp
32079ac_cpp='$CXXCPP $CPPFLAGS'
32080ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32081ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32082ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32083
32084      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32085/* end confdefs.h.  */
32086#include <math.h>
32087int
32088main ()
32089{
32090 _powf(0, 0);
32091  ;
32092  return 0;
32093}
32094_ACEOF
32095if ac_fn_cxx_try_compile "$LINENO"; then :
32096  glibcxx_cv_func__powf_use=yes
32097else
32098  glibcxx_cv_func__powf_use=no
32099fi
32100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32101      ac_ext=c
32102ac_cpp='$CPP $CPPFLAGS'
32103ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32104ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32105ac_compiler_gnu=$ac_cv_c_compiler_gnu
32106
32107
32108fi
32109
32110  fi
32111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32112$as_echo "$glibcxx_cv_func__powf_use" >&6; }
32113
32114    if test x$glibcxx_cv_func__powf_use = x"yes"; then
32115      for ac_func in _powf
32116do :
32117  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32118if test "x$ac_cv_func__powf" = x""yes; then :
32119  cat >>confdefs.h <<_ACEOF
32120#define HAVE__POWF 1
32121_ACEOF
32122
32123fi
32124done
32125
32126    fi
32127  fi
32128
32129
32130
32131
32132
32133  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32134$as_echo_n "checking for sqrtf declaration... " >&6; }
32135  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32136    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
32137  $as_echo_n "(cached) " >&6
32138else
32139
32140
32141      ac_ext=cpp
32142ac_cpp='$CXXCPP $CPPFLAGS'
32143ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32144ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32145ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32146
32147      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32148/* end confdefs.h.  */
32149#include <math.h>
32150		      #ifdef HAVE_IEEEFP_H
32151		      #include <ieeefp.h>
32152		      #endif
32153
32154int
32155main ()
32156{
32157 sqrtf(0);
32158  ;
32159  return 0;
32160}
32161_ACEOF
32162if ac_fn_cxx_try_compile "$LINENO"; then :
32163  glibcxx_cv_func_sqrtf_use=yes
32164else
32165  glibcxx_cv_func_sqrtf_use=no
32166fi
32167rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32168      ac_ext=c
32169ac_cpp='$CPP $CPPFLAGS'
32170ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32171ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32172ac_compiler_gnu=$ac_cv_c_compiler_gnu
32173
32174
32175fi
32176
32177  fi
32178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32179$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32180
32181  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32182    for ac_func in sqrtf
32183do :
32184  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32185if test "x$ac_cv_func_sqrtf" = x""yes; then :
32186  cat >>confdefs.h <<_ACEOF
32187#define HAVE_SQRTF 1
32188_ACEOF
32189
32190fi
32191done
32192
32193  else
32194
32195  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32196$as_echo_n "checking for _sqrtf declaration... " >&6; }
32197  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32198    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32199  $as_echo_n "(cached) " >&6
32200else
32201
32202
32203      ac_ext=cpp
32204ac_cpp='$CXXCPP $CPPFLAGS'
32205ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32206ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32207ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32208
32209      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32210/* end confdefs.h.  */
32211#include <math.h>
32212		      #ifdef HAVE_IEEEFP_H
32213		      #include <ieeefp.h>
32214		      #endif
32215
32216int
32217main ()
32218{
32219 _sqrtf(0);
32220  ;
32221  return 0;
32222}
32223_ACEOF
32224if ac_fn_cxx_try_compile "$LINENO"; then :
32225  glibcxx_cv_func__sqrtf_use=yes
32226else
32227  glibcxx_cv_func__sqrtf_use=no
32228fi
32229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32230      ac_ext=c
32231ac_cpp='$CPP $CPPFLAGS'
32232ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32233ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32234ac_compiler_gnu=$ac_cv_c_compiler_gnu
32235
32236
32237fi
32238
32239  fi
32240  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32241$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32242
32243    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32244      for ac_func in _sqrtf
32245do :
32246  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32247if test "x$ac_cv_func__sqrtf" = x""yes; then :
32248  cat >>confdefs.h <<_ACEOF
32249#define HAVE__SQRTF 1
32250_ACEOF
32251
32252fi
32253done
32254
32255    fi
32256  fi
32257
32258
32259
32260
32261
32262  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32263$as_echo_n "checking for sincosf declaration... " >&6; }
32264  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32265    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32266  $as_echo_n "(cached) " >&6
32267else
32268
32269
32270      ac_ext=cpp
32271ac_cpp='$CXXCPP $CPPFLAGS'
32272ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32273ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32274ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32275
32276      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32277/* end confdefs.h.  */
32278#include <math.h>
32279int
32280main ()
32281{
32282 sincosf(0, 0, 0);
32283  ;
32284  return 0;
32285}
32286_ACEOF
32287if ac_fn_cxx_try_compile "$LINENO"; then :
32288  glibcxx_cv_func_sincosf_use=yes
32289else
32290  glibcxx_cv_func_sincosf_use=no
32291fi
32292rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32293      ac_ext=c
32294ac_cpp='$CPP $CPPFLAGS'
32295ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32296ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32297ac_compiler_gnu=$ac_cv_c_compiler_gnu
32298
32299
32300fi
32301
32302  fi
32303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32304$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32305
32306  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32307    for ac_func in sincosf
32308do :
32309  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32310if test "x$ac_cv_func_sincosf" = x""yes; then :
32311  cat >>confdefs.h <<_ACEOF
32312#define HAVE_SINCOSF 1
32313_ACEOF
32314
32315fi
32316done
32317
32318  else
32319
32320  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32321$as_echo_n "checking for _sincosf declaration... " >&6; }
32322  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32323    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32324  $as_echo_n "(cached) " >&6
32325else
32326
32327
32328      ac_ext=cpp
32329ac_cpp='$CXXCPP $CPPFLAGS'
32330ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32331ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32332ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32333
32334      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32335/* end confdefs.h.  */
32336#include <math.h>
32337int
32338main ()
32339{
32340 _sincosf(0, 0, 0);
32341  ;
32342  return 0;
32343}
32344_ACEOF
32345if ac_fn_cxx_try_compile "$LINENO"; then :
32346  glibcxx_cv_func__sincosf_use=yes
32347else
32348  glibcxx_cv_func__sincosf_use=no
32349fi
32350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32351      ac_ext=c
32352ac_cpp='$CPP $CPPFLAGS'
32353ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32354ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32355ac_compiler_gnu=$ac_cv_c_compiler_gnu
32356
32357
32358fi
32359
32360  fi
32361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32362$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32363
32364    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32365      for ac_func in _sincosf
32366do :
32367  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32368if test "x$ac_cv_func__sincosf" = x""yes; then :
32369  cat >>confdefs.h <<_ACEOF
32370#define HAVE__SINCOSF 1
32371_ACEOF
32372
32373fi
32374done
32375
32376    fi
32377  fi
32378
32379
32380
32381
32382
32383  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32384$as_echo_n "checking for finitef declaration... " >&6; }
32385  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32386    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32387  $as_echo_n "(cached) " >&6
32388else
32389
32390
32391      ac_ext=cpp
32392ac_cpp='$CXXCPP $CPPFLAGS'
32393ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32394ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32395ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32396
32397      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32398/* end confdefs.h.  */
32399#include <math.h>
32400		      #ifdef HAVE_IEEEFP_H
32401		      #include <ieeefp.h>
32402		      #endif
32403
32404int
32405main ()
32406{
32407 finitef(0);
32408  ;
32409  return 0;
32410}
32411_ACEOF
32412if ac_fn_cxx_try_compile "$LINENO"; then :
32413  glibcxx_cv_func_finitef_use=yes
32414else
32415  glibcxx_cv_func_finitef_use=no
32416fi
32417rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32418      ac_ext=c
32419ac_cpp='$CPP $CPPFLAGS'
32420ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32421ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32422ac_compiler_gnu=$ac_cv_c_compiler_gnu
32423
32424
32425fi
32426
32427  fi
32428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32429$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32430
32431  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32432    for ac_func in finitef
32433do :
32434  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32435if test "x$ac_cv_func_finitef" = x""yes; then :
32436  cat >>confdefs.h <<_ACEOF
32437#define HAVE_FINITEF 1
32438_ACEOF
32439
32440fi
32441done
32442
32443  else
32444
32445  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32446$as_echo_n "checking for _finitef declaration... " >&6; }
32447  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32448    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32449  $as_echo_n "(cached) " >&6
32450else
32451
32452
32453      ac_ext=cpp
32454ac_cpp='$CXXCPP $CPPFLAGS'
32455ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32456ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32457ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32458
32459      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32460/* end confdefs.h.  */
32461#include <math.h>
32462		      #ifdef HAVE_IEEEFP_H
32463		      #include <ieeefp.h>
32464		      #endif
32465
32466int
32467main ()
32468{
32469 _finitef(0);
32470  ;
32471  return 0;
32472}
32473_ACEOF
32474if ac_fn_cxx_try_compile "$LINENO"; then :
32475  glibcxx_cv_func__finitef_use=yes
32476else
32477  glibcxx_cv_func__finitef_use=no
32478fi
32479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32480      ac_ext=c
32481ac_cpp='$CPP $CPPFLAGS'
32482ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32483ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32484ac_compiler_gnu=$ac_cv_c_compiler_gnu
32485
32486
32487fi
32488
32489  fi
32490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32491$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32492
32493    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32494      for ac_func in _finitef
32495do :
32496  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32497if test "x$ac_cv_func__finitef" = x""yes; then :
32498  cat >>confdefs.h <<_ACEOF
32499#define HAVE__FINITEF 1
32500_ACEOF
32501
32502fi
32503done
32504
32505    fi
32506  fi
32507
32508
32509
32510
32511
32512    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32513$as_echo_n "checking for long double trig functions... " >&6; }
32514  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32515  $as_echo_n "(cached) " >&6
32516else
32517
32518
32519    ac_ext=cpp
32520ac_cpp='$CXXCPP $CPPFLAGS'
32521ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32522ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32523ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32524
32525    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32526/* end confdefs.h.  */
32527#include <math.h>
32528int
32529main ()
32530{
32531acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32532  ;
32533  return 0;
32534}
32535_ACEOF
32536if ac_fn_cxx_try_compile "$LINENO"; then :
32537  glibcxx_cv_func_long_double_trig_use=yes
32538else
32539  glibcxx_cv_func_long_double_trig_use=no
32540fi
32541rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32542    ac_ext=c
32543ac_cpp='$CPP $CPPFLAGS'
32544ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32545ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32546ac_compiler_gnu=$ac_cv_c_compiler_gnu
32547
32548fi
32549
32550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32551$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32552  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32553    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32554do :
32555  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32556ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32557eval as_val=\$$as_ac_var
32558   if test "x$as_val" = x""yes; then :
32559  cat >>confdefs.h <<_ACEOF
32560#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32561_ACEOF
32562
32563fi
32564done
32565
32566  else
32567    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32568$as_echo_n "checking for _long double trig functions... " >&6; }
32569    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32570  $as_echo_n "(cached) " >&6
32571else
32572
32573
32574      ac_ext=cpp
32575ac_cpp='$CXXCPP $CPPFLAGS'
32576ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32577ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32578ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32579
32580      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32581/* end confdefs.h.  */
32582#include <math.h>
32583int
32584main ()
32585{
32586_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32587  ;
32588  return 0;
32589}
32590_ACEOF
32591if ac_fn_cxx_try_compile "$LINENO"; then :
32592  glibcxx_cv_func__long_double_trig_use=yes
32593else
32594  glibcxx_cv_func__long_double_trig_use=no
32595fi
32596rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32597      ac_ext=c
32598ac_cpp='$CPP $CPPFLAGS'
32599ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32600ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32601ac_compiler_gnu=$ac_cv_c_compiler_gnu
32602
32603fi
32604
32605    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32606$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32607    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32608      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32609do :
32610  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32611ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32612eval as_val=\$$as_ac_var
32613   if test "x$as_val" = x""yes; then :
32614  cat >>confdefs.h <<_ACEOF
32615#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32616_ACEOF
32617
32618fi
32619done
32620
32621    fi
32622  fi
32623
32624
32625
32626
32627
32628    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32629$as_echo_n "checking for long double round functions... " >&6; }
32630  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32631  $as_echo_n "(cached) " >&6
32632else
32633
32634
32635    ac_ext=cpp
32636ac_cpp='$CXXCPP $CPPFLAGS'
32637ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32638ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32639ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32640
32641    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32642/* end confdefs.h.  */
32643#include <math.h>
32644int
32645main ()
32646{
32647ceill (0); floorl (0);
32648  ;
32649  return 0;
32650}
32651_ACEOF
32652if ac_fn_cxx_try_compile "$LINENO"; then :
32653  glibcxx_cv_func_long_double_round_use=yes
32654else
32655  glibcxx_cv_func_long_double_round_use=no
32656fi
32657rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32658    ac_ext=c
32659ac_cpp='$CPP $CPPFLAGS'
32660ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32661ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32662ac_compiler_gnu=$ac_cv_c_compiler_gnu
32663
32664fi
32665
32666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32667$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32668  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32669    for ac_func in ceill floorl
32670do :
32671  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32672ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32673eval as_val=\$$as_ac_var
32674   if test "x$as_val" = x""yes; then :
32675  cat >>confdefs.h <<_ACEOF
32676#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32677_ACEOF
32678
32679fi
32680done
32681
32682  else
32683    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32684$as_echo_n "checking for _long double round functions... " >&6; }
32685    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32686  $as_echo_n "(cached) " >&6
32687else
32688
32689
32690      ac_ext=cpp
32691ac_cpp='$CXXCPP $CPPFLAGS'
32692ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32693ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32694ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32695
32696      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32697/* end confdefs.h.  */
32698#include <math.h>
32699int
32700main ()
32701{
32702_ceill (0); _floorl (0);
32703  ;
32704  return 0;
32705}
32706_ACEOF
32707if ac_fn_cxx_try_compile "$LINENO"; then :
32708  glibcxx_cv_func__long_double_round_use=yes
32709else
32710  glibcxx_cv_func__long_double_round_use=no
32711fi
32712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32713      ac_ext=c
32714ac_cpp='$CPP $CPPFLAGS'
32715ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32716ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32717ac_compiler_gnu=$ac_cv_c_compiler_gnu
32718
32719fi
32720
32721    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32722$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32723    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32724      for ac_func in _ceill _floorl
32725do :
32726  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32727ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32728eval as_val=\$$as_ac_var
32729   if test "x$as_val" = x""yes; then :
32730  cat >>confdefs.h <<_ACEOF
32731#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32732_ACEOF
32733
32734fi
32735done
32736
32737    fi
32738  fi
32739
32740
32741
32742
32743
32744
32745  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32746$as_echo_n "checking for isnanl declaration... " >&6; }
32747  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32748    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32749  $as_echo_n "(cached) " >&6
32750else
32751
32752
32753      ac_ext=cpp
32754ac_cpp='$CXXCPP $CPPFLAGS'
32755ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32756ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32757ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32758
32759      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32760/* end confdefs.h.  */
32761#include <math.h>
32762		      #ifdef HAVE_IEEEFP_H
32763		      #include <ieeefp.h>
32764		      #endif
32765
32766int
32767main ()
32768{
32769 isnanl(0);
32770  ;
32771  return 0;
32772}
32773_ACEOF
32774if ac_fn_cxx_try_compile "$LINENO"; then :
32775  glibcxx_cv_func_isnanl_use=yes
32776else
32777  glibcxx_cv_func_isnanl_use=no
32778fi
32779rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32780      ac_ext=c
32781ac_cpp='$CPP $CPPFLAGS'
32782ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32783ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32784ac_compiler_gnu=$ac_cv_c_compiler_gnu
32785
32786
32787fi
32788
32789  fi
32790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32791$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32792
32793  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32794    for ac_func in isnanl
32795do :
32796  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32797if test "x$ac_cv_func_isnanl" = x""yes; then :
32798  cat >>confdefs.h <<_ACEOF
32799#define HAVE_ISNANL 1
32800_ACEOF
32801
32802fi
32803done
32804
32805  else
32806
32807  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32808$as_echo_n "checking for _isnanl declaration... " >&6; }
32809  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32810    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32811  $as_echo_n "(cached) " >&6
32812else
32813
32814
32815      ac_ext=cpp
32816ac_cpp='$CXXCPP $CPPFLAGS'
32817ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32818ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32819ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32820
32821      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32822/* end confdefs.h.  */
32823#include <math.h>
32824		      #ifdef HAVE_IEEEFP_H
32825		      #include <ieeefp.h>
32826		      #endif
32827
32828int
32829main ()
32830{
32831 _isnanl(0);
32832  ;
32833  return 0;
32834}
32835_ACEOF
32836if ac_fn_cxx_try_compile "$LINENO"; then :
32837  glibcxx_cv_func__isnanl_use=yes
32838else
32839  glibcxx_cv_func__isnanl_use=no
32840fi
32841rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32842      ac_ext=c
32843ac_cpp='$CPP $CPPFLAGS'
32844ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32845ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32846ac_compiler_gnu=$ac_cv_c_compiler_gnu
32847
32848
32849fi
32850
32851  fi
32852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32853$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32854
32855    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32856      for ac_func in _isnanl
32857do :
32858  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32859if test "x$ac_cv_func__isnanl" = x""yes; then :
32860  cat >>confdefs.h <<_ACEOF
32861#define HAVE__ISNANL 1
32862_ACEOF
32863
32864fi
32865done
32866
32867    fi
32868  fi
32869
32870
32871
32872
32873
32874  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32875$as_echo_n "checking for isinfl declaration... " >&6; }
32876  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32877    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32878  $as_echo_n "(cached) " >&6
32879else
32880
32881
32882      ac_ext=cpp
32883ac_cpp='$CXXCPP $CPPFLAGS'
32884ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32885ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32886ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32887
32888      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32889/* end confdefs.h.  */
32890#include <math.h>
32891		      #ifdef HAVE_IEEEFP_H
32892		      #include <ieeefp.h>
32893		      #endif
32894
32895int
32896main ()
32897{
32898 isinfl(0);
32899  ;
32900  return 0;
32901}
32902_ACEOF
32903if ac_fn_cxx_try_compile "$LINENO"; then :
32904  glibcxx_cv_func_isinfl_use=yes
32905else
32906  glibcxx_cv_func_isinfl_use=no
32907fi
32908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32909      ac_ext=c
32910ac_cpp='$CPP $CPPFLAGS'
32911ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32912ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32913ac_compiler_gnu=$ac_cv_c_compiler_gnu
32914
32915
32916fi
32917
32918  fi
32919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32920$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32921
32922  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32923    for ac_func in isinfl
32924do :
32925  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32926if test "x$ac_cv_func_isinfl" = x""yes; then :
32927  cat >>confdefs.h <<_ACEOF
32928#define HAVE_ISINFL 1
32929_ACEOF
32930
32931fi
32932done
32933
32934  else
32935
32936  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32937$as_echo_n "checking for _isinfl declaration... " >&6; }
32938  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32939    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32940  $as_echo_n "(cached) " >&6
32941else
32942
32943
32944      ac_ext=cpp
32945ac_cpp='$CXXCPP $CPPFLAGS'
32946ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32947ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32948ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32949
32950      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32951/* end confdefs.h.  */
32952#include <math.h>
32953		      #ifdef HAVE_IEEEFP_H
32954		      #include <ieeefp.h>
32955		      #endif
32956
32957int
32958main ()
32959{
32960 _isinfl(0);
32961  ;
32962  return 0;
32963}
32964_ACEOF
32965if ac_fn_cxx_try_compile "$LINENO"; then :
32966  glibcxx_cv_func__isinfl_use=yes
32967else
32968  glibcxx_cv_func__isinfl_use=no
32969fi
32970rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32971      ac_ext=c
32972ac_cpp='$CPP $CPPFLAGS'
32973ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32974ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32975ac_compiler_gnu=$ac_cv_c_compiler_gnu
32976
32977
32978fi
32979
32980  fi
32981  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32982$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32983
32984    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32985      for ac_func in _isinfl
32986do :
32987  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
32988if test "x$ac_cv_func__isinfl" = x""yes; then :
32989  cat >>confdefs.h <<_ACEOF
32990#define HAVE__ISINFL 1
32991_ACEOF
32992
32993fi
32994done
32995
32996    fi
32997  fi
32998
32999
33000
33001
33002
33003  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33004$as_echo_n "checking for atan2l declaration... " >&6; }
33005  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33006    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
33007  $as_echo_n "(cached) " >&6
33008else
33009
33010
33011      ac_ext=cpp
33012ac_cpp='$CXXCPP $CPPFLAGS'
33013ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33014ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33015ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33016
33017      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33018/* end confdefs.h.  */
33019#include <math.h>
33020int
33021main ()
33022{
33023 atan2l(0, 0);
33024  ;
33025  return 0;
33026}
33027_ACEOF
33028if ac_fn_cxx_try_compile "$LINENO"; then :
33029  glibcxx_cv_func_atan2l_use=yes
33030else
33031  glibcxx_cv_func_atan2l_use=no
33032fi
33033rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33034      ac_ext=c
33035ac_cpp='$CPP $CPPFLAGS'
33036ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33037ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33038ac_compiler_gnu=$ac_cv_c_compiler_gnu
33039
33040
33041fi
33042
33043  fi
33044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33045$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33046
33047  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33048    for ac_func in atan2l
33049do :
33050  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33051if test "x$ac_cv_func_atan2l" = x""yes; then :
33052  cat >>confdefs.h <<_ACEOF
33053#define HAVE_ATAN2L 1
33054_ACEOF
33055
33056fi
33057done
33058
33059  else
33060
33061  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33062$as_echo_n "checking for _atan2l declaration... " >&6; }
33063  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33064    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
33065  $as_echo_n "(cached) " >&6
33066else
33067
33068
33069      ac_ext=cpp
33070ac_cpp='$CXXCPP $CPPFLAGS'
33071ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33072ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33073ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33074
33075      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33076/* end confdefs.h.  */
33077#include <math.h>
33078int
33079main ()
33080{
33081 _atan2l(0, 0);
33082  ;
33083  return 0;
33084}
33085_ACEOF
33086if ac_fn_cxx_try_compile "$LINENO"; then :
33087  glibcxx_cv_func__atan2l_use=yes
33088else
33089  glibcxx_cv_func__atan2l_use=no
33090fi
33091rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33092      ac_ext=c
33093ac_cpp='$CPP $CPPFLAGS'
33094ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33095ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33096ac_compiler_gnu=$ac_cv_c_compiler_gnu
33097
33098
33099fi
33100
33101  fi
33102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33103$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33104
33105    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33106      for ac_func in _atan2l
33107do :
33108  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33109if test "x$ac_cv_func__atan2l" = x""yes; then :
33110  cat >>confdefs.h <<_ACEOF
33111#define HAVE__ATAN2L 1
33112_ACEOF
33113
33114fi
33115done
33116
33117    fi
33118  fi
33119
33120
33121
33122
33123
33124  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33125$as_echo_n "checking for expl declaration... " >&6; }
33126  if test x${glibcxx_cv_func_expl_use+set} != xset; then
33127    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
33128  $as_echo_n "(cached) " >&6
33129else
33130
33131
33132      ac_ext=cpp
33133ac_cpp='$CXXCPP $CPPFLAGS'
33134ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33135ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33136ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33137
33138      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33139/* end confdefs.h.  */
33140#include <math.h>
33141		      #ifdef HAVE_IEEEFP_H
33142		      #include <ieeefp.h>
33143		      #endif
33144
33145int
33146main ()
33147{
33148 expl(0);
33149  ;
33150  return 0;
33151}
33152_ACEOF
33153if ac_fn_cxx_try_compile "$LINENO"; then :
33154  glibcxx_cv_func_expl_use=yes
33155else
33156  glibcxx_cv_func_expl_use=no
33157fi
33158rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33159      ac_ext=c
33160ac_cpp='$CPP $CPPFLAGS'
33161ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33162ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33163ac_compiler_gnu=$ac_cv_c_compiler_gnu
33164
33165
33166fi
33167
33168  fi
33169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33170$as_echo "$glibcxx_cv_func_expl_use" >&6; }
33171
33172  if test x$glibcxx_cv_func_expl_use = x"yes"; then
33173    for ac_func in expl
33174do :
33175  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33176if test "x$ac_cv_func_expl" = x""yes; then :
33177  cat >>confdefs.h <<_ACEOF
33178#define HAVE_EXPL 1
33179_ACEOF
33180
33181fi
33182done
33183
33184  else
33185
33186  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33187$as_echo_n "checking for _expl declaration... " >&6; }
33188  if test x${glibcxx_cv_func__expl_use+set} != xset; then
33189    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33190  $as_echo_n "(cached) " >&6
33191else
33192
33193
33194      ac_ext=cpp
33195ac_cpp='$CXXCPP $CPPFLAGS'
33196ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33197ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33198ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33199
33200      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33201/* end confdefs.h.  */
33202#include <math.h>
33203		      #ifdef HAVE_IEEEFP_H
33204		      #include <ieeefp.h>
33205		      #endif
33206
33207int
33208main ()
33209{
33210 _expl(0);
33211  ;
33212  return 0;
33213}
33214_ACEOF
33215if ac_fn_cxx_try_compile "$LINENO"; then :
33216  glibcxx_cv_func__expl_use=yes
33217else
33218  glibcxx_cv_func__expl_use=no
33219fi
33220rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33221      ac_ext=c
33222ac_cpp='$CPP $CPPFLAGS'
33223ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33224ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33225ac_compiler_gnu=$ac_cv_c_compiler_gnu
33226
33227
33228fi
33229
33230  fi
33231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33232$as_echo "$glibcxx_cv_func__expl_use" >&6; }
33233
33234    if test x$glibcxx_cv_func__expl_use = x"yes"; then
33235      for ac_func in _expl
33236do :
33237  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33238if test "x$ac_cv_func__expl" = x""yes; then :
33239  cat >>confdefs.h <<_ACEOF
33240#define HAVE__EXPL 1
33241_ACEOF
33242
33243fi
33244done
33245
33246    fi
33247  fi
33248
33249
33250
33251
33252
33253  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33254$as_echo_n "checking for fabsl declaration... " >&6; }
33255  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33256    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33257  $as_echo_n "(cached) " >&6
33258else
33259
33260
33261      ac_ext=cpp
33262ac_cpp='$CXXCPP $CPPFLAGS'
33263ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33264ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33265ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33266
33267      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33268/* end confdefs.h.  */
33269#include <math.h>
33270		      #ifdef HAVE_IEEEFP_H
33271		      #include <ieeefp.h>
33272		      #endif
33273
33274int
33275main ()
33276{
33277 fabsl(0);
33278  ;
33279  return 0;
33280}
33281_ACEOF
33282if ac_fn_cxx_try_compile "$LINENO"; then :
33283  glibcxx_cv_func_fabsl_use=yes
33284else
33285  glibcxx_cv_func_fabsl_use=no
33286fi
33287rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33288      ac_ext=c
33289ac_cpp='$CPP $CPPFLAGS'
33290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33292ac_compiler_gnu=$ac_cv_c_compiler_gnu
33293
33294
33295fi
33296
33297  fi
33298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33299$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33300
33301  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33302    for ac_func in fabsl
33303do :
33304  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33305if test "x$ac_cv_func_fabsl" = x""yes; then :
33306  cat >>confdefs.h <<_ACEOF
33307#define HAVE_FABSL 1
33308_ACEOF
33309
33310fi
33311done
33312
33313  else
33314
33315  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33316$as_echo_n "checking for _fabsl declaration... " >&6; }
33317  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33318    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33319  $as_echo_n "(cached) " >&6
33320else
33321
33322
33323      ac_ext=cpp
33324ac_cpp='$CXXCPP $CPPFLAGS'
33325ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33326ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33327ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33328
33329      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33330/* end confdefs.h.  */
33331#include <math.h>
33332		      #ifdef HAVE_IEEEFP_H
33333		      #include <ieeefp.h>
33334		      #endif
33335
33336int
33337main ()
33338{
33339 _fabsl(0);
33340  ;
33341  return 0;
33342}
33343_ACEOF
33344if ac_fn_cxx_try_compile "$LINENO"; then :
33345  glibcxx_cv_func__fabsl_use=yes
33346else
33347  glibcxx_cv_func__fabsl_use=no
33348fi
33349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33350      ac_ext=c
33351ac_cpp='$CPP $CPPFLAGS'
33352ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33353ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33354ac_compiler_gnu=$ac_cv_c_compiler_gnu
33355
33356
33357fi
33358
33359  fi
33360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33361$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33362
33363    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33364      for ac_func in _fabsl
33365do :
33366  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33367if test "x$ac_cv_func__fabsl" = x""yes; then :
33368  cat >>confdefs.h <<_ACEOF
33369#define HAVE__FABSL 1
33370_ACEOF
33371
33372fi
33373done
33374
33375    fi
33376  fi
33377
33378
33379
33380
33381
33382  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33383$as_echo_n "checking for fmodl declaration... " >&6; }
33384  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33385    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33386  $as_echo_n "(cached) " >&6
33387else
33388
33389
33390      ac_ext=cpp
33391ac_cpp='$CXXCPP $CPPFLAGS'
33392ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33393ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33394ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33395
33396      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33397/* end confdefs.h.  */
33398#include <math.h>
33399int
33400main ()
33401{
33402 fmodl(0, 0);
33403  ;
33404  return 0;
33405}
33406_ACEOF
33407if ac_fn_cxx_try_compile "$LINENO"; then :
33408  glibcxx_cv_func_fmodl_use=yes
33409else
33410  glibcxx_cv_func_fmodl_use=no
33411fi
33412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33413      ac_ext=c
33414ac_cpp='$CPP $CPPFLAGS'
33415ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33416ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33417ac_compiler_gnu=$ac_cv_c_compiler_gnu
33418
33419
33420fi
33421
33422  fi
33423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33424$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33425
33426  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33427    for ac_func in fmodl
33428do :
33429  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33430if test "x$ac_cv_func_fmodl" = x""yes; then :
33431  cat >>confdefs.h <<_ACEOF
33432#define HAVE_FMODL 1
33433_ACEOF
33434
33435fi
33436done
33437
33438  else
33439
33440  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33441$as_echo_n "checking for _fmodl declaration... " >&6; }
33442  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33443    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33444  $as_echo_n "(cached) " >&6
33445else
33446
33447
33448      ac_ext=cpp
33449ac_cpp='$CXXCPP $CPPFLAGS'
33450ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33451ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33452ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33453
33454      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33455/* end confdefs.h.  */
33456#include <math.h>
33457int
33458main ()
33459{
33460 _fmodl(0, 0);
33461  ;
33462  return 0;
33463}
33464_ACEOF
33465if ac_fn_cxx_try_compile "$LINENO"; then :
33466  glibcxx_cv_func__fmodl_use=yes
33467else
33468  glibcxx_cv_func__fmodl_use=no
33469fi
33470rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33471      ac_ext=c
33472ac_cpp='$CPP $CPPFLAGS'
33473ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33474ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33475ac_compiler_gnu=$ac_cv_c_compiler_gnu
33476
33477
33478fi
33479
33480  fi
33481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33482$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33483
33484    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33485      for ac_func in _fmodl
33486do :
33487  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33488if test "x$ac_cv_func__fmodl" = x""yes; then :
33489  cat >>confdefs.h <<_ACEOF
33490#define HAVE__FMODL 1
33491_ACEOF
33492
33493fi
33494done
33495
33496    fi
33497  fi
33498
33499
33500
33501
33502
33503  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33504$as_echo_n "checking for frexpl declaration... " >&6; }
33505  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33506    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33507  $as_echo_n "(cached) " >&6
33508else
33509
33510
33511      ac_ext=cpp
33512ac_cpp='$CXXCPP $CPPFLAGS'
33513ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33514ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33515ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33516
33517      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33518/* end confdefs.h.  */
33519#include <math.h>
33520int
33521main ()
33522{
33523 frexpl(0, 0);
33524  ;
33525  return 0;
33526}
33527_ACEOF
33528if ac_fn_cxx_try_compile "$LINENO"; then :
33529  glibcxx_cv_func_frexpl_use=yes
33530else
33531  glibcxx_cv_func_frexpl_use=no
33532fi
33533rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33534      ac_ext=c
33535ac_cpp='$CPP $CPPFLAGS'
33536ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33537ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33538ac_compiler_gnu=$ac_cv_c_compiler_gnu
33539
33540
33541fi
33542
33543  fi
33544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33545$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33546
33547  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33548    for ac_func in frexpl
33549do :
33550  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33551if test "x$ac_cv_func_frexpl" = x""yes; then :
33552  cat >>confdefs.h <<_ACEOF
33553#define HAVE_FREXPL 1
33554_ACEOF
33555
33556fi
33557done
33558
33559  else
33560
33561  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33562$as_echo_n "checking for _frexpl declaration... " >&6; }
33563  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33564    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33565  $as_echo_n "(cached) " >&6
33566else
33567
33568
33569      ac_ext=cpp
33570ac_cpp='$CXXCPP $CPPFLAGS'
33571ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33572ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33573ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33574
33575      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33576/* end confdefs.h.  */
33577#include <math.h>
33578int
33579main ()
33580{
33581 _frexpl(0, 0);
33582  ;
33583  return 0;
33584}
33585_ACEOF
33586if ac_fn_cxx_try_compile "$LINENO"; then :
33587  glibcxx_cv_func__frexpl_use=yes
33588else
33589  glibcxx_cv_func__frexpl_use=no
33590fi
33591rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33592      ac_ext=c
33593ac_cpp='$CPP $CPPFLAGS'
33594ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33595ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33596ac_compiler_gnu=$ac_cv_c_compiler_gnu
33597
33598
33599fi
33600
33601  fi
33602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33603$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33604
33605    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33606      for ac_func in _frexpl
33607do :
33608  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33609if test "x$ac_cv_func__frexpl" = x""yes; then :
33610  cat >>confdefs.h <<_ACEOF
33611#define HAVE__FREXPL 1
33612_ACEOF
33613
33614fi
33615done
33616
33617    fi
33618  fi
33619
33620
33621
33622
33623
33624  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33625$as_echo_n "checking for hypotl declaration... " >&6; }
33626  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33627    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33628  $as_echo_n "(cached) " >&6
33629else
33630
33631
33632      ac_ext=cpp
33633ac_cpp='$CXXCPP $CPPFLAGS'
33634ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33635ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33636ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33637
33638      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33639/* end confdefs.h.  */
33640#include <math.h>
33641int
33642main ()
33643{
33644 hypotl(0, 0);
33645  ;
33646  return 0;
33647}
33648_ACEOF
33649if ac_fn_cxx_try_compile "$LINENO"; then :
33650  glibcxx_cv_func_hypotl_use=yes
33651else
33652  glibcxx_cv_func_hypotl_use=no
33653fi
33654rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33655      ac_ext=c
33656ac_cpp='$CPP $CPPFLAGS'
33657ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33658ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33659ac_compiler_gnu=$ac_cv_c_compiler_gnu
33660
33661
33662fi
33663
33664  fi
33665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33666$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33667
33668  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33669    for ac_func in hypotl
33670do :
33671  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33672if test "x$ac_cv_func_hypotl" = x""yes; then :
33673  cat >>confdefs.h <<_ACEOF
33674#define HAVE_HYPOTL 1
33675_ACEOF
33676
33677fi
33678done
33679
33680  else
33681
33682  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33683$as_echo_n "checking for _hypotl declaration... " >&6; }
33684  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33685    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33686  $as_echo_n "(cached) " >&6
33687else
33688
33689
33690      ac_ext=cpp
33691ac_cpp='$CXXCPP $CPPFLAGS'
33692ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33693ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33694ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33695
33696      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33697/* end confdefs.h.  */
33698#include <math.h>
33699int
33700main ()
33701{
33702 _hypotl(0, 0);
33703  ;
33704  return 0;
33705}
33706_ACEOF
33707if ac_fn_cxx_try_compile "$LINENO"; then :
33708  glibcxx_cv_func__hypotl_use=yes
33709else
33710  glibcxx_cv_func__hypotl_use=no
33711fi
33712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33713      ac_ext=c
33714ac_cpp='$CPP $CPPFLAGS'
33715ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33716ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33717ac_compiler_gnu=$ac_cv_c_compiler_gnu
33718
33719
33720fi
33721
33722  fi
33723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33724$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33725
33726    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33727      for ac_func in _hypotl
33728do :
33729  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33730if test "x$ac_cv_func__hypotl" = x""yes; then :
33731  cat >>confdefs.h <<_ACEOF
33732#define HAVE__HYPOTL 1
33733_ACEOF
33734
33735fi
33736done
33737
33738    fi
33739  fi
33740
33741
33742
33743
33744
33745  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33746$as_echo_n "checking for ldexpl declaration... " >&6; }
33747  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33748    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33749  $as_echo_n "(cached) " >&6
33750else
33751
33752
33753      ac_ext=cpp
33754ac_cpp='$CXXCPP $CPPFLAGS'
33755ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33756ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33757ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33758
33759      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33760/* end confdefs.h.  */
33761#include <math.h>
33762int
33763main ()
33764{
33765 ldexpl(0, 0);
33766  ;
33767  return 0;
33768}
33769_ACEOF
33770if ac_fn_cxx_try_compile "$LINENO"; then :
33771  glibcxx_cv_func_ldexpl_use=yes
33772else
33773  glibcxx_cv_func_ldexpl_use=no
33774fi
33775rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33776      ac_ext=c
33777ac_cpp='$CPP $CPPFLAGS'
33778ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33779ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33780ac_compiler_gnu=$ac_cv_c_compiler_gnu
33781
33782
33783fi
33784
33785  fi
33786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33787$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33788
33789  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33790    for ac_func in ldexpl
33791do :
33792  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33793if test "x$ac_cv_func_ldexpl" = x""yes; then :
33794  cat >>confdefs.h <<_ACEOF
33795#define HAVE_LDEXPL 1
33796_ACEOF
33797
33798fi
33799done
33800
33801  else
33802
33803  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33804$as_echo_n "checking for _ldexpl declaration... " >&6; }
33805  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33806    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33807  $as_echo_n "(cached) " >&6
33808else
33809
33810
33811      ac_ext=cpp
33812ac_cpp='$CXXCPP $CPPFLAGS'
33813ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33814ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33815ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33816
33817      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33818/* end confdefs.h.  */
33819#include <math.h>
33820int
33821main ()
33822{
33823 _ldexpl(0, 0);
33824  ;
33825  return 0;
33826}
33827_ACEOF
33828if ac_fn_cxx_try_compile "$LINENO"; then :
33829  glibcxx_cv_func__ldexpl_use=yes
33830else
33831  glibcxx_cv_func__ldexpl_use=no
33832fi
33833rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33834      ac_ext=c
33835ac_cpp='$CPP $CPPFLAGS'
33836ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33837ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33838ac_compiler_gnu=$ac_cv_c_compiler_gnu
33839
33840
33841fi
33842
33843  fi
33844  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33845$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33846
33847    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33848      for ac_func in _ldexpl
33849do :
33850  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33851if test "x$ac_cv_func__ldexpl" = x""yes; then :
33852  cat >>confdefs.h <<_ACEOF
33853#define HAVE__LDEXPL 1
33854_ACEOF
33855
33856fi
33857done
33858
33859    fi
33860  fi
33861
33862
33863
33864
33865
33866  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33867$as_echo_n "checking for logl declaration... " >&6; }
33868  if test x${glibcxx_cv_func_logl_use+set} != xset; then
33869    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33870  $as_echo_n "(cached) " >&6
33871else
33872
33873
33874      ac_ext=cpp
33875ac_cpp='$CXXCPP $CPPFLAGS'
33876ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33877ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33878ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33879
33880      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33881/* end confdefs.h.  */
33882#include <math.h>
33883		      #ifdef HAVE_IEEEFP_H
33884		      #include <ieeefp.h>
33885		      #endif
33886
33887int
33888main ()
33889{
33890 logl(0);
33891  ;
33892  return 0;
33893}
33894_ACEOF
33895if ac_fn_cxx_try_compile "$LINENO"; then :
33896  glibcxx_cv_func_logl_use=yes
33897else
33898  glibcxx_cv_func_logl_use=no
33899fi
33900rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33901      ac_ext=c
33902ac_cpp='$CPP $CPPFLAGS'
33903ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33904ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33905ac_compiler_gnu=$ac_cv_c_compiler_gnu
33906
33907
33908fi
33909
33910  fi
33911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33912$as_echo "$glibcxx_cv_func_logl_use" >&6; }
33913
33914  if test x$glibcxx_cv_func_logl_use = x"yes"; then
33915    for ac_func in logl
33916do :
33917  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33918if test "x$ac_cv_func_logl" = x""yes; then :
33919  cat >>confdefs.h <<_ACEOF
33920#define HAVE_LOGL 1
33921_ACEOF
33922
33923fi
33924done
33925
33926  else
33927
33928  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33929$as_echo_n "checking for _logl declaration... " >&6; }
33930  if test x${glibcxx_cv_func__logl_use+set} != xset; then
33931    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33932  $as_echo_n "(cached) " >&6
33933else
33934
33935
33936      ac_ext=cpp
33937ac_cpp='$CXXCPP $CPPFLAGS'
33938ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33939ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33940ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33941
33942      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33943/* end confdefs.h.  */
33944#include <math.h>
33945		      #ifdef HAVE_IEEEFP_H
33946		      #include <ieeefp.h>
33947		      #endif
33948
33949int
33950main ()
33951{
33952 _logl(0);
33953  ;
33954  return 0;
33955}
33956_ACEOF
33957if ac_fn_cxx_try_compile "$LINENO"; then :
33958  glibcxx_cv_func__logl_use=yes
33959else
33960  glibcxx_cv_func__logl_use=no
33961fi
33962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33963      ac_ext=c
33964ac_cpp='$CPP $CPPFLAGS'
33965ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33966ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33967ac_compiler_gnu=$ac_cv_c_compiler_gnu
33968
33969
33970fi
33971
33972  fi
33973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33974$as_echo "$glibcxx_cv_func__logl_use" >&6; }
33975
33976    if test x$glibcxx_cv_func__logl_use = x"yes"; then
33977      for ac_func in _logl
33978do :
33979  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33980if test "x$ac_cv_func__logl" = x""yes; then :
33981  cat >>confdefs.h <<_ACEOF
33982#define HAVE__LOGL 1
33983_ACEOF
33984
33985fi
33986done
33987
33988    fi
33989  fi
33990
33991
33992
33993
33994
33995  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
33996$as_echo_n "checking for log10l declaration... " >&6; }
33997  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33998    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
33999  $as_echo_n "(cached) " >&6
34000else
34001
34002
34003      ac_ext=cpp
34004ac_cpp='$CXXCPP $CPPFLAGS'
34005ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34006ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34007ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34008
34009      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34010/* end confdefs.h.  */
34011#include <math.h>
34012		      #ifdef HAVE_IEEEFP_H
34013		      #include <ieeefp.h>
34014		      #endif
34015
34016int
34017main ()
34018{
34019 log10l(0);
34020  ;
34021  return 0;
34022}
34023_ACEOF
34024if ac_fn_cxx_try_compile "$LINENO"; then :
34025  glibcxx_cv_func_log10l_use=yes
34026else
34027  glibcxx_cv_func_log10l_use=no
34028fi
34029rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34030      ac_ext=c
34031ac_cpp='$CPP $CPPFLAGS'
34032ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34033ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34034ac_compiler_gnu=$ac_cv_c_compiler_gnu
34035
34036
34037fi
34038
34039  fi
34040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34041$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34042
34043  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34044    for ac_func in log10l
34045do :
34046  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34047if test "x$ac_cv_func_log10l" = x""yes; then :
34048  cat >>confdefs.h <<_ACEOF
34049#define HAVE_LOG10L 1
34050_ACEOF
34051
34052fi
34053done
34054
34055  else
34056
34057  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34058$as_echo_n "checking for _log10l declaration... " >&6; }
34059  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34060    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
34061  $as_echo_n "(cached) " >&6
34062else
34063
34064
34065      ac_ext=cpp
34066ac_cpp='$CXXCPP $CPPFLAGS'
34067ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34068ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34069ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34070
34071      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34072/* end confdefs.h.  */
34073#include <math.h>
34074		      #ifdef HAVE_IEEEFP_H
34075		      #include <ieeefp.h>
34076		      #endif
34077
34078int
34079main ()
34080{
34081 _log10l(0);
34082  ;
34083  return 0;
34084}
34085_ACEOF
34086if ac_fn_cxx_try_compile "$LINENO"; then :
34087  glibcxx_cv_func__log10l_use=yes
34088else
34089  glibcxx_cv_func__log10l_use=no
34090fi
34091rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34092      ac_ext=c
34093ac_cpp='$CPP $CPPFLAGS'
34094ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34095ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34096ac_compiler_gnu=$ac_cv_c_compiler_gnu
34097
34098
34099fi
34100
34101  fi
34102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34103$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34104
34105    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34106      for ac_func in _log10l
34107do :
34108  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34109if test "x$ac_cv_func__log10l" = x""yes; then :
34110  cat >>confdefs.h <<_ACEOF
34111#define HAVE__LOG10L 1
34112_ACEOF
34113
34114fi
34115done
34116
34117    fi
34118  fi
34119
34120
34121
34122
34123
34124  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34125$as_echo_n "checking for modfl declaration... " >&6; }
34126  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34127    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
34128  $as_echo_n "(cached) " >&6
34129else
34130
34131
34132      ac_ext=cpp
34133ac_cpp='$CXXCPP $CPPFLAGS'
34134ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34135ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34136ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34137
34138      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34139/* end confdefs.h.  */
34140#include <math.h>
34141int
34142main ()
34143{
34144 modfl(0, 0);
34145  ;
34146  return 0;
34147}
34148_ACEOF
34149if ac_fn_cxx_try_compile "$LINENO"; then :
34150  glibcxx_cv_func_modfl_use=yes
34151else
34152  glibcxx_cv_func_modfl_use=no
34153fi
34154rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34155      ac_ext=c
34156ac_cpp='$CPP $CPPFLAGS'
34157ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34158ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34159ac_compiler_gnu=$ac_cv_c_compiler_gnu
34160
34161
34162fi
34163
34164  fi
34165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34166$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34167
34168  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34169    for ac_func in modfl
34170do :
34171  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34172if test "x$ac_cv_func_modfl" = x""yes; then :
34173  cat >>confdefs.h <<_ACEOF
34174#define HAVE_MODFL 1
34175_ACEOF
34176
34177fi
34178done
34179
34180  else
34181
34182  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34183$as_echo_n "checking for _modfl declaration... " >&6; }
34184  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34185    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34186  $as_echo_n "(cached) " >&6
34187else
34188
34189
34190      ac_ext=cpp
34191ac_cpp='$CXXCPP $CPPFLAGS'
34192ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34193ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34194ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34195
34196      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34197/* end confdefs.h.  */
34198#include <math.h>
34199int
34200main ()
34201{
34202 _modfl(0, 0);
34203  ;
34204  return 0;
34205}
34206_ACEOF
34207if ac_fn_cxx_try_compile "$LINENO"; then :
34208  glibcxx_cv_func__modfl_use=yes
34209else
34210  glibcxx_cv_func__modfl_use=no
34211fi
34212rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34213      ac_ext=c
34214ac_cpp='$CPP $CPPFLAGS'
34215ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34216ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34217ac_compiler_gnu=$ac_cv_c_compiler_gnu
34218
34219
34220fi
34221
34222  fi
34223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34224$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34225
34226    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34227      for ac_func in _modfl
34228do :
34229  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34230if test "x$ac_cv_func__modfl" = x""yes; then :
34231  cat >>confdefs.h <<_ACEOF
34232#define HAVE__MODFL 1
34233_ACEOF
34234
34235fi
34236done
34237
34238    fi
34239  fi
34240
34241
34242
34243
34244
34245  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34246$as_echo_n "checking for powl declaration... " >&6; }
34247  if test x${glibcxx_cv_func_powl_use+set} != xset; then
34248    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34249  $as_echo_n "(cached) " >&6
34250else
34251
34252
34253      ac_ext=cpp
34254ac_cpp='$CXXCPP $CPPFLAGS'
34255ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34256ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34257ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34258
34259      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34260/* end confdefs.h.  */
34261#include <math.h>
34262int
34263main ()
34264{
34265 powl(0, 0);
34266  ;
34267  return 0;
34268}
34269_ACEOF
34270if ac_fn_cxx_try_compile "$LINENO"; then :
34271  glibcxx_cv_func_powl_use=yes
34272else
34273  glibcxx_cv_func_powl_use=no
34274fi
34275rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34276      ac_ext=c
34277ac_cpp='$CPP $CPPFLAGS'
34278ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34279ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34280ac_compiler_gnu=$ac_cv_c_compiler_gnu
34281
34282
34283fi
34284
34285  fi
34286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34287$as_echo "$glibcxx_cv_func_powl_use" >&6; }
34288
34289  if test x$glibcxx_cv_func_powl_use = x"yes"; then
34290    for ac_func in powl
34291do :
34292  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34293if test "x$ac_cv_func_powl" = x""yes; then :
34294  cat >>confdefs.h <<_ACEOF
34295#define HAVE_POWL 1
34296_ACEOF
34297
34298fi
34299done
34300
34301  else
34302
34303  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34304$as_echo_n "checking for _powl declaration... " >&6; }
34305  if test x${glibcxx_cv_func__powl_use+set} != xset; then
34306    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34307  $as_echo_n "(cached) " >&6
34308else
34309
34310
34311      ac_ext=cpp
34312ac_cpp='$CXXCPP $CPPFLAGS'
34313ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34316
34317      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34318/* end confdefs.h.  */
34319#include <math.h>
34320int
34321main ()
34322{
34323 _powl(0, 0);
34324  ;
34325  return 0;
34326}
34327_ACEOF
34328if ac_fn_cxx_try_compile "$LINENO"; then :
34329  glibcxx_cv_func__powl_use=yes
34330else
34331  glibcxx_cv_func__powl_use=no
34332fi
34333rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34334      ac_ext=c
34335ac_cpp='$CPP $CPPFLAGS'
34336ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34337ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34338ac_compiler_gnu=$ac_cv_c_compiler_gnu
34339
34340
34341fi
34342
34343  fi
34344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34345$as_echo "$glibcxx_cv_func__powl_use" >&6; }
34346
34347    if test x$glibcxx_cv_func__powl_use = x"yes"; then
34348      for ac_func in _powl
34349do :
34350  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34351if test "x$ac_cv_func__powl" = x""yes; then :
34352  cat >>confdefs.h <<_ACEOF
34353#define HAVE__POWL 1
34354_ACEOF
34355
34356fi
34357done
34358
34359    fi
34360  fi
34361
34362
34363
34364
34365
34366  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34367$as_echo_n "checking for sqrtl declaration... " >&6; }
34368  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34369    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34370  $as_echo_n "(cached) " >&6
34371else
34372
34373
34374      ac_ext=cpp
34375ac_cpp='$CXXCPP $CPPFLAGS'
34376ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34377ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34378ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34379
34380      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34381/* end confdefs.h.  */
34382#include <math.h>
34383		      #ifdef HAVE_IEEEFP_H
34384		      #include <ieeefp.h>
34385		      #endif
34386
34387int
34388main ()
34389{
34390 sqrtl(0);
34391  ;
34392  return 0;
34393}
34394_ACEOF
34395if ac_fn_cxx_try_compile "$LINENO"; then :
34396  glibcxx_cv_func_sqrtl_use=yes
34397else
34398  glibcxx_cv_func_sqrtl_use=no
34399fi
34400rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34401      ac_ext=c
34402ac_cpp='$CPP $CPPFLAGS'
34403ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34404ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34405ac_compiler_gnu=$ac_cv_c_compiler_gnu
34406
34407
34408fi
34409
34410  fi
34411  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34412$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34413
34414  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34415    for ac_func in sqrtl
34416do :
34417  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34418if test "x$ac_cv_func_sqrtl" = x""yes; then :
34419  cat >>confdefs.h <<_ACEOF
34420#define HAVE_SQRTL 1
34421_ACEOF
34422
34423fi
34424done
34425
34426  else
34427
34428  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34429$as_echo_n "checking for _sqrtl declaration... " >&6; }
34430  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34431    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34432  $as_echo_n "(cached) " >&6
34433else
34434
34435
34436      ac_ext=cpp
34437ac_cpp='$CXXCPP $CPPFLAGS'
34438ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34439ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34440ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34441
34442      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34443/* end confdefs.h.  */
34444#include <math.h>
34445		      #ifdef HAVE_IEEEFP_H
34446		      #include <ieeefp.h>
34447		      #endif
34448
34449int
34450main ()
34451{
34452 _sqrtl(0);
34453  ;
34454  return 0;
34455}
34456_ACEOF
34457if ac_fn_cxx_try_compile "$LINENO"; then :
34458  glibcxx_cv_func__sqrtl_use=yes
34459else
34460  glibcxx_cv_func__sqrtl_use=no
34461fi
34462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34463      ac_ext=c
34464ac_cpp='$CPP $CPPFLAGS'
34465ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34466ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34467ac_compiler_gnu=$ac_cv_c_compiler_gnu
34468
34469
34470fi
34471
34472  fi
34473  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34474$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34475
34476    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34477      for ac_func in _sqrtl
34478do :
34479  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34480if test "x$ac_cv_func__sqrtl" = x""yes; then :
34481  cat >>confdefs.h <<_ACEOF
34482#define HAVE__SQRTL 1
34483_ACEOF
34484
34485fi
34486done
34487
34488    fi
34489  fi
34490
34491
34492
34493
34494
34495  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34496$as_echo_n "checking for sincosl declaration... " >&6; }
34497  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34498    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34499  $as_echo_n "(cached) " >&6
34500else
34501
34502
34503      ac_ext=cpp
34504ac_cpp='$CXXCPP $CPPFLAGS'
34505ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34506ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34507ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34508
34509      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34510/* end confdefs.h.  */
34511#include <math.h>
34512int
34513main ()
34514{
34515 sincosl(0, 0, 0);
34516  ;
34517  return 0;
34518}
34519_ACEOF
34520if ac_fn_cxx_try_compile "$LINENO"; then :
34521  glibcxx_cv_func_sincosl_use=yes
34522else
34523  glibcxx_cv_func_sincosl_use=no
34524fi
34525rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34526      ac_ext=c
34527ac_cpp='$CPP $CPPFLAGS'
34528ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34529ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34530ac_compiler_gnu=$ac_cv_c_compiler_gnu
34531
34532
34533fi
34534
34535  fi
34536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34537$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34538
34539  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34540    for ac_func in sincosl
34541do :
34542  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34543if test "x$ac_cv_func_sincosl" = x""yes; then :
34544  cat >>confdefs.h <<_ACEOF
34545#define HAVE_SINCOSL 1
34546_ACEOF
34547
34548fi
34549done
34550
34551  else
34552
34553  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34554$as_echo_n "checking for _sincosl declaration... " >&6; }
34555  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34556    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34557  $as_echo_n "(cached) " >&6
34558else
34559
34560
34561      ac_ext=cpp
34562ac_cpp='$CXXCPP $CPPFLAGS'
34563ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34564ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34565ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34566
34567      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34568/* end confdefs.h.  */
34569#include <math.h>
34570int
34571main ()
34572{
34573 _sincosl(0, 0, 0);
34574  ;
34575  return 0;
34576}
34577_ACEOF
34578if ac_fn_cxx_try_compile "$LINENO"; then :
34579  glibcxx_cv_func__sincosl_use=yes
34580else
34581  glibcxx_cv_func__sincosl_use=no
34582fi
34583rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34584      ac_ext=c
34585ac_cpp='$CPP $CPPFLAGS'
34586ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34587ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34588ac_compiler_gnu=$ac_cv_c_compiler_gnu
34589
34590
34591fi
34592
34593  fi
34594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34595$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34596
34597    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34598      for ac_func in _sincosl
34599do :
34600  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34601if test "x$ac_cv_func__sincosl" = x""yes; then :
34602  cat >>confdefs.h <<_ACEOF
34603#define HAVE__SINCOSL 1
34604_ACEOF
34605
34606fi
34607done
34608
34609    fi
34610  fi
34611
34612
34613
34614
34615
34616  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34617$as_echo_n "checking for finitel declaration... " >&6; }
34618  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34619    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34620  $as_echo_n "(cached) " >&6
34621else
34622
34623
34624      ac_ext=cpp
34625ac_cpp='$CXXCPP $CPPFLAGS'
34626ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34627ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34628ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34629
34630      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34631/* end confdefs.h.  */
34632#include <math.h>
34633		      #ifdef HAVE_IEEEFP_H
34634		      #include <ieeefp.h>
34635		      #endif
34636
34637int
34638main ()
34639{
34640 finitel(0);
34641  ;
34642  return 0;
34643}
34644_ACEOF
34645if ac_fn_cxx_try_compile "$LINENO"; then :
34646  glibcxx_cv_func_finitel_use=yes
34647else
34648  glibcxx_cv_func_finitel_use=no
34649fi
34650rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34651      ac_ext=c
34652ac_cpp='$CPP $CPPFLAGS'
34653ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34654ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34655ac_compiler_gnu=$ac_cv_c_compiler_gnu
34656
34657
34658fi
34659
34660  fi
34661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34662$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34663
34664  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34665    for ac_func in finitel
34666do :
34667  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34668if test "x$ac_cv_func_finitel" = x""yes; then :
34669  cat >>confdefs.h <<_ACEOF
34670#define HAVE_FINITEL 1
34671_ACEOF
34672
34673fi
34674done
34675
34676  else
34677
34678  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34679$as_echo_n "checking for _finitel declaration... " >&6; }
34680  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34681    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34682  $as_echo_n "(cached) " >&6
34683else
34684
34685
34686      ac_ext=cpp
34687ac_cpp='$CXXCPP $CPPFLAGS'
34688ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34689ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34690ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34691
34692      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34693/* end confdefs.h.  */
34694#include <math.h>
34695		      #ifdef HAVE_IEEEFP_H
34696		      #include <ieeefp.h>
34697		      #endif
34698
34699int
34700main ()
34701{
34702 _finitel(0);
34703  ;
34704  return 0;
34705}
34706_ACEOF
34707if ac_fn_cxx_try_compile "$LINENO"; then :
34708  glibcxx_cv_func__finitel_use=yes
34709else
34710  glibcxx_cv_func__finitel_use=no
34711fi
34712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34713      ac_ext=c
34714ac_cpp='$CPP $CPPFLAGS'
34715ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34716ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34717ac_compiler_gnu=$ac_cv_c_compiler_gnu
34718
34719
34720fi
34721
34722  fi
34723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34724$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34725
34726    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34727      for ac_func in _finitel
34728do :
34729  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34730if test "x$ac_cv_func__finitel" = x""yes; then :
34731  cat >>confdefs.h <<_ACEOF
34732#define HAVE__FINITEL 1
34733_ACEOF
34734
34735fi
34736done
34737
34738    fi
34739  fi
34740
34741
34742
34743
34744  LIBS="$ac_save_LIBS"
34745  CXXFLAGS="$ac_save_CXXFLAGS"
34746
34747
34748  ac_test_CXXFLAGS="${CXXFLAGS+set}"
34749  ac_save_CXXFLAGS="$CXXFLAGS"
34750  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34751
34752
34753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34754$as_echo_n "checking for at_quick_exit declaration... " >&6; }
34755  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34756    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34757  $as_echo_n "(cached) " >&6
34758else
34759
34760
34761      ac_ext=cpp
34762ac_cpp='$CXXCPP $CPPFLAGS'
34763ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34764ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34765ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34766
34767      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34768/* end confdefs.h.  */
34769#include <stdlib.h>
34770int
34771main ()
34772{
34773 at_quick_exit(0);
34774  ;
34775  return 0;
34776}
34777_ACEOF
34778if ac_fn_cxx_try_compile "$LINENO"; then :
34779  glibcxx_cv_func_at_quick_exit_use=yes
34780else
34781  glibcxx_cv_func_at_quick_exit_use=no
34782fi
34783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34784      ac_ext=c
34785ac_cpp='$CPP $CPPFLAGS'
34786ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34787ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34788ac_compiler_gnu=$ac_cv_c_compiler_gnu
34789
34790
34791fi
34792
34793  fi
34794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34795$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34796  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34797    for ac_func in at_quick_exit
34798do :
34799  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34800if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34801  cat >>confdefs.h <<_ACEOF
34802#define HAVE_AT_QUICK_EXIT 1
34803_ACEOF
34804
34805fi
34806done
34807
34808  fi
34809
34810
34811  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34812$as_echo_n "checking for quick_exit declaration... " >&6; }
34813  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34814    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34815  $as_echo_n "(cached) " >&6
34816else
34817
34818
34819      ac_ext=cpp
34820ac_cpp='$CXXCPP $CPPFLAGS'
34821ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34822ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34823ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34824
34825      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34826/* end confdefs.h.  */
34827#include <stdlib.h>
34828int
34829main ()
34830{
34831 quick_exit(0);
34832  ;
34833  return 0;
34834}
34835_ACEOF
34836if ac_fn_cxx_try_compile "$LINENO"; then :
34837  glibcxx_cv_func_quick_exit_use=yes
34838else
34839  glibcxx_cv_func_quick_exit_use=no
34840fi
34841rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34842      ac_ext=c
34843ac_cpp='$CPP $CPPFLAGS'
34844ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34845ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34846ac_compiler_gnu=$ac_cv_c_compiler_gnu
34847
34848
34849fi
34850
34851  fi
34852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34853$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34854  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34855    for ac_func in quick_exit
34856do :
34857  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34858if test "x$ac_cv_func_quick_exit" = x""yes; then :
34859  cat >>confdefs.h <<_ACEOF
34860#define HAVE_QUICK_EXIT 1
34861_ACEOF
34862
34863fi
34864done
34865
34866  fi
34867
34868
34869  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34870$as_echo_n "checking for strtold declaration... " >&6; }
34871  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34872    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34873  $as_echo_n "(cached) " >&6
34874else
34875
34876
34877      ac_ext=cpp
34878ac_cpp='$CXXCPP $CPPFLAGS'
34879ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34880ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34881ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34882
34883      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34884/* end confdefs.h.  */
34885#include <stdlib.h>
34886int
34887main ()
34888{
34889 strtold(0, 0);
34890  ;
34891  return 0;
34892}
34893_ACEOF
34894if ac_fn_cxx_try_compile "$LINENO"; then :
34895  glibcxx_cv_func_strtold_use=yes
34896else
34897  glibcxx_cv_func_strtold_use=no
34898fi
34899rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34900      ac_ext=c
34901ac_cpp='$CPP $CPPFLAGS'
34902ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34903ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34904ac_compiler_gnu=$ac_cv_c_compiler_gnu
34905
34906
34907fi
34908
34909  fi
34910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34911$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34912  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34913    for ac_func in strtold
34914do :
34915  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34916if test "x$ac_cv_func_strtold" = x""yes; then :
34917  cat >>confdefs.h <<_ACEOF
34918#define HAVE_STRTOLD 1
34919_ACEOF
34920
34921fi
34922done
34923
34924  fi
34925
34926
34927
34928
34929  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34930$as_echo_n "checking for strtof declaration... " >&6; }
34931  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34932    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34933  $as_echo_n "(cached) " >&6
34934else
34935
34936
34937      ac_ext=cpp
34938ac_cpp='$CXXCPP $CPPFLAGS'
34939ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34940ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34941ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34942
34943      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34944/* end confdefs.h.  */
34945#include <stdlib.h>
34946int
34947main ()
34948{
34949 strtof(0, 0);
34950  ;
34951  return 0;
34952}
34953_ACEOF
34954if ac_fn_cxx_try_compile "$LINENO"; then :
34955  glibcxx_cv_func_strtof_use=yes
34956else
34957  glibcxx_cv_func_strtof_use=no
34958fi
34959rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34960      ac_ext=c
34961ac_cpp='$CPP $CPPFLAGS'
34962ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34963ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34964ac_compiler_gnu=$ac_cv_c_compiler_gnu
34965
34966
34967fi
34968
34969  fi
34970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34971$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34972  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34973    for ac_func in strtof
34974do :
34975  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34976if test "x$ac_cv_func_strtof" = x""yes; then :
34977  cat >>confdefs.h <<_ACEOF
34978#define HAVE_STRTOF 1
34979_ACEOF
34980
34981fi
34982done
34983
34984  fi
34985
34986
34987
34988
34989  CXXFLAGS="$ac_save_CXXFLAGS"
34990
34991
34992    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
34993
34994    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
34995
34996    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
34997
34998    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
34999
35000
35001    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35002
35003    $as_echo "#define HAVE_MODF 1" >>confdefs.h
35004
35005    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35006
35007    ;;
35008
35009  spu-*-elf*)
35010
35011  # All these tests are for C++; save the language and the compiler flags.
35012  # The CXXFLAGS thing is suspicious, but based on similar bits previously
35013  # found in GLIBCXX_CONFIGURE.
35014
35015  ac_ext=cpp
35016ac_cpp='$CXXCPP $CPPFLAGS'
35017ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35018ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35019ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35020
35021  ac_test_CXXFLAGS="${CXXFLAGS+set}"
35022  ac_save_CXXFLAGS="$CXXFLAGS"
35023
35024  # Check for maintainer-mode bits.
35025  if test x"$USE_MAINTAINER_MODE" = xno; then
35026    WERROR=''
35027  else
35028    WERROR='-Werror'
35029  fi
35030
35031  # Check for -ffunction-sections -fdata-sections
35032  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35033$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35034  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35035  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35036/* end confdefs.h.  */
35037int foo; void bar() { };
35038int
35039main ()
35040{
35041
35042  ;
35043  return 0;
35044}
35045_ACEOF
35046if ac_fn_cxx_try_compile "$LINENO"; then :
35047  ac_fdsections=yes
35048else
35049  ac_fdsections=no
35050fi
35051rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35052  if test "$ac_test_CXXFLAGS" = set; then
35053    CXXFLAGS="$ac_save_CXXFLAGS"
35054  else
35055    # this is the suspicious part
35056    CXXFLAGS=''
35057  fi
35058  if test x"$ac_fdsections" = x"yes"; then
35059    SECTION_FLAGS='-ffunction-sections -fdata-sections'
35060  fi
35061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35062$as_echo "$ac_fdsections" >&6; }
35063
35064  ac_ext=c
35065ac_cpp='$CPP $CPPFLAGS'
35066ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35067ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35068ac_compiler_gnu=$ac_cv_c_compiler_gnu
35069
35070
35071
35072
35073
35074  # If we're not using GNU ld, then there's no point in even trying these
35075  # tests.  Check for that first.  We should have already tested for gld
35076  # by now (in libtool), but require it now just to be safe...
35077  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35078  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35079
35080
35081
35082  # The name set by libtool depends on the version of libtool.  Shame on us
35083  # for depending on an impl detail, but c'est la vie.  Older versions used
35084  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35085  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35086  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
35087  # set (hence we're using an older libtool), then set it.
35088  if test x${with_gnu_ld+set} != xset; then
35089    if test x${ac_cv_prog_gnu_ld+set} != xset; then
35090      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
35091      with_gnu_ld=no
35092    else
35093      with_gnu_ld=$ac_cv_prog_gnu_ld
35094    fi
35095  fi
35096
35097  # Start by getting the version number.  I think the libtool test already
35098  # does some of this, but throws away the result.
35099  glibcxx_ld_is_gold=no
35100  if test x"$with_gnu_ld" = x"yes"; then
35101    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35102$as_echo_n "checking for ld version... " >&6; }
35103
35104    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35105      glibcxx_ld_is_gold=yes
35106    fi
35107    ldver=`$LD --version 2>/dev/null |
35108	   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'`
35109
35110    glibcxx_gnu_ld_version=`echo $ldver | \
35111	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35112    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35113$as_echo "$glibcxx_gnu_ld_version" >&6; }
35114  fi
35115
35116  # Set --gc-sections.
35117  glibcxx_have_gc_sections=no
35118  if test "$glibcxx_ld_is_gold" = "yes"; then
35119    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35120      glibcxx_have_gc_sections=yes
35121    fi
35122  else
35123    glibcxx_gcsections_min_ld=21602
35124    if test x"$with_gnu_ld" = x"yes" &&
35125	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35126      glibcxx_have_gc_sections=yes
35127    fi
35128  fi
35129  if test "$glibcxx_have_gc_sections" = "yes"; then
35130    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
35131    # NB: This flag only works reliably after 2.16.1. Configure tests
35132    # for this are difficult, so hard wire a value that should work.
35133
35134    ac_test_CFLAGS="${CFLAGS+set}"
35135    ac_save_CFLAGS="$CFLAGS"
35136    CFLAGS='-Wl,--gc-sections'
35137
35138    # Check for -Wl,--gc-sections
35139    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35140$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35141    if test x$gcc_no_link = xyes; then
35142  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35143fi
35144cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35145/* end confdefs.h.  */
35146 int one(void) { return 1; }
35147     int two(void) { return 2; }
35148
35149int
35150main ()
35151{
35152 two();
35153  ;
35154  return 0;
35155}
35156_ACEOF
35157if ac_fn_c_try_link "$LINENO"; then :
35158  ac_gcsections=yes
35159else
35160  ac_gcsections=no
35161fi
35162rm -f core conftest.err conftest.$ac_objext \
35163    conftest$ac_exeext conftest.$ac_ext
35164    if test "$ac_gcsections" = "yes"; then
35165      rm -f conftest.c
35166      touch conftest.c
35167      if $CC -c conftest.c; then
35168	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35169	   grep "Warning: gc-sections option ignored" > /dev/null; then
35170	  ac_gcsections=no
35171	fi
35172      fi
35173      rm -f conftest.c conftest.o conftest
35174    fi
35175    if test "$ac_gcsections" = "yes"; then
35176      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35177    fi
35178    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35179$as_echo "$ac_gcsections" >&6; }
35180
35181    if test "$ac_test_CFLAGS" = set; then
35182      CFLAGS="$ac_save_CFLAGS"
35183    else
35184      # this is the suspicious part
35185      CFLAGS=''
35186    fi
35187  fi
35188
35189  # Set -z,relro.
35190  # Note this is only for shared objects.
35191  ac_ld_relro=no
35192  if test x"$with_gnu_ld" = x"yes"; then
35193    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35194$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35195    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35196    if test -n "$cxx_z_relo"; then
35197      OPT_LDFLAGS="-Wl,-z,relro"
35198      ac_ld_relro=yes
35199    fi
35200    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35201$as_echo "$ac_ld_relro" >&6; }
35202  fi
35203
35204  # Set linker optimization flags.
35205  if test x"$with_gnu_ld" = x"yes"; then
35206    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35207  fi
35208
35209
35210
35211
35212
35213  ac_test_CXXFLAGS="${CXXFLAGS+set}"
35214  ac_save_CXXFLAGS="$CXXFLAGS"
35215  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35216
35217    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35218$as_echo_n "checking for sin in -lm... " >&6; }
35219if test "${ac_cv_lib_m_sin+set}" = set; then :
35220  $as_echo_n "(cached) " >&6
35221else
35222  ac_check_lib_save_LIBS=$LIBS
35223LIBS="-lm  $LIBS"
35224if test x$gcc_no_link = xyes; then
35225  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35226fi
35227cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35228/* end confdefs.h.  */
35229
35230/* Override any GCC internal prototype to avoid an error.
35231   Use char because int might match the return type of a GCC
35232   builtin and then its argument prototype would still apply.  */
35233#ifdef __cplusplus
35234extern "C"
35235#endif
35236char sin ();
35237int
35238main ()
35239{
35240return sin ();
35241  ;
35242  return 0;
35243}
35244_ACEOF
35245if ac_fn_c_try_link "$LINENO"; then :
35246  ac_cv_lib_m_sin=yes
35247else
35248  ac_cv_lib_m_sin=no
35249fi
35250rm -f core conftest.err conftest.$ac_objext \
35251    conftest$ac_exeext conftest.$ac_ext
35252LIBS=$ac_check_lib_save_LIBS
35253fi
35254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35255$as_echo "$ac_cv_lib_m_sin" >&6; }
35256if test "x$ac_cv_lib_m_sin" = x""yes; then :
35257  libm="-lm"
35258fi
35259
35260  ac_save_LIBS="$LIBS"
35261  LIBS="$LIBS $libm"
35262
35263
35264
35265  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35266$as_echo_n "checking for isinf declaration... " >&6; }
35267  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35268    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35269  $as_echo_n "(cached) " >&6
35270else
35271
35272
35273      ac_ext=cpp
35274ac_cpp='$CXXCPP $CPPFLAGS'
35275ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35276ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35277ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35278
35279      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35280/* end confdefs.h.  */
35281#include <math.h>
35282		      #ifdef HAVE_IEEEFP_H
35283		      #include <ieeefp.h>
35284		      #endif
35285
35286int
35287main ()
35288{
35289 isinf(0);
35290  ;
35291  return 0;
35292}
35293_ACEOF
35294if ac_fn_cxx_try_compile "$LINENO"; then :
35295  glibcxx_cv_func_isinf_use=yes
35296else
35297  glibcxx_cv_func_isinf_use=no
35298fi
35299rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35300      ac_ext=c
35301ac_cpp='$CPP $CPPFLAGS'
35302ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35303ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35304ac_compiler_gnu=$ac_cv_c_compiler_gnu
35305
35306
35307fi
35308
35309  fi
35310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35311$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35312
35313  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35314    for ac_func in isinf
35315do :
35316  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35317if test "x$ac_cv_func_isinf" = x""yes; then :
35318  cat >>confdefs.h <<_ACEOF
35319#define HAVE_ISINF 1
35320_ACEOF
35321
35322fi
35323done
35324
35325  else
35326
35327  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35328$as_echo_n "checking for _isinf declaration... " >&6; }
35329  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35330    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35331  $as_echo_n "(cached) " >&6
35332else
35333
35334
35335      ac_ext=cpp
35336ac_cpp='$CXXCPP $CPPFLAGS'
35337ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35338ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35339ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35340
35341      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35342/* end confdefs.h.  */
35343#include <math.h>
35344		      #ifdef HAVE_IEEEFP_H
35345		      #include <ieeefp.h>
35346		      #endif
35347
35348int
35349main ()
35350{
35351 _isinf(0);
35352  ;
35353  return 0;
35354}
35355_ACEOF
35356if ac_fn_cxx_try_compile "$LINENO"; then :
35357  glibcxx_cv_func__isinf_use=yes
35358else
35359  glibcxx_cv_func__isinf_use=no
35360fi
35361rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35362      ac_ext=c
35363ac_cpp='$CPP $CPPFLAGS'
35364ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35365ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35366ac_compiler_gnu=$ac_cv_c_compiler_gnu
35367
35368
35369fi
35370
35371  fi
35372  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35373$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35374
35375    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35376      for ac_func in _isinf
35377do :
35378  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35379if test "x$ac_cv_func__isinf" = x""yes; then :
35380  cat >>confdefs.h <<_ACEOF
35381#define HAVE__ISINF 1
35382_ACEOF
35383
35384fi
35385done
35386
35387    fi
35388  fi
35389
35390
35391
35392
35393
35394  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35395$as_echo_n "checking for isnan declaration... " >&6; }
35396  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35397    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35398  $as_echo_n "(cached) " >&6
35399else
35400
35401
35402      ac_ext=cpp
35403ac_cpp='$CXXCPP $CPPFLAGS'
35404ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35405ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35406ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35407
35408      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35409/* end confdefs.h.  */
35410#include <math.h>
35411		      #ifdef HAVE_IEEEFP_H
35412		      #include <ieeefp.h>
35413		      #endif
35414
35415int
35416main ()
35417{
35418 isnan(0);
35419  ;
35420  return 0;
35421}
35422_ACEOF
35423if ac_fn_cxx_try_compile "$LINENO"; then :
35424  glibcxx_cv_func_isnan_use=yes
35425else
35426  glibcxx_cv_func_isnan_use=no
35427fi
35428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35429      ac_ext=c
35430ac_cpp='$CPP $CPPFLAGS'
35431ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35432ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35433ac_compiler_gnu=$ac_cv_c_compiler_gnu
35434
35435
35436fi
35437
35438  fi
35439  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35440$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35441
35442  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35443    for ac_func in isnan
35444do :
35445  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35446if test "x$ac_cv_func_isnan" = x""yes; then :
35447  cat >>confdefs.h <<_ACEOF
35448#define HAVE_ISNAN 1
35449_ACEOF
35450
35451fi
35452done
35453
35454  else
35455
35456  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35457$as_echo_n "checking for _isnan declaration... " >&6; }
35458  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35459    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35460  $as_echo_n "(cached) " >&6
35461else
35462
35463
35464      ac_ext=cpp
35465ac_cpp='$CXXCPP $CPPFLAGS'
35466ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35467ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35468ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35469
35470      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35471/* end confdefs.h.  */
35472#include <math.h>
35473		      #ifdef HAVE_IEEEFP_H
35474		      #include <ieeefp.h>
35475		      #endif
35476
35477int
35478main ()
35479{
35480 _isnan(0);
35481  ;
35482  return 0;
35483}
35484_ACEOF
35485if ac_fn_cxx_try_compile "$LINENO"; then :
35486  glibcxx_cv_func__isnan_use=yes
35487else
35488  glibcxx_cv_func__isnan_use=no
35489fi
35490rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35491      ac_ext=c
35492ac_cpp='$CPP $CPPFLAGS'
35493ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35494ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35495ac_compiler_gnu=$ac_cv_c_compiler_gnu
35496
35497
35498fi
35499
35500  fi
35501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35502$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35503
35504    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35505      for ac_func in _isnan
35506do :
35507  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35508if test "x$ac_cv_func__isnan" = x""yes; then :
35509  cat >>confdefs.h <<_ACEOF
35510#define HAVE__ISNAN 1
35511_ACEOF
35512
35513fi
35514done
35515
35516    fi
35517  fi
35518
35519
35520
35521
35522
35523  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35524$as_echo_n "checking for finite declaration... " >&6; }
35525  if test x${glibcxx_cv_func_finite_use+set} != xset; then
35526    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35527  $as_echo_n "(cached) " >&6
35528else
35529
35530
35531      ac_ext=cpp
35532ac_cpp='$CXXCPP $CPPFLAGS'
35533ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35534ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35535ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35536
35537      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35538/* end confdefs.h.  */
35539#include <math.h>
35540		      #ifdef HAVE_IEEEFP_H
35541		      #include <ieeefp.h>
35542		      #endif
35543
35544int
35545main ()
35546{
35547 finite(0);
35548  ;
35549  return 0;
35550}
35551_ACEOF
35552if ac_fn_cxx_try_compile "$LINENO"; then :
35553  glibcxx_cv_func_finite_use=yes
35554else
35555  glibcxx_cv_func_finite_use=no
35556fi
35557rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35558      ac_ext=c
35559ac_cpp='$CPP $CPPFLAGS'
35560ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35561ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35562ac_compiler_gnu=$ac_cv_c_compiler_gnu
35563
35564
35565fi
35566
35567  fi
35568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35569$as_echo "$glibcxx_cv_func_finite_use" >&6; }
35570
35571  if test x$glibcxx_cv_func_finite_use = x"yes"; then
35572    for ac_func in finite
35573do :
35574  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35575if test "x$ac_cv_func_finite" = x""yes; then :
35576  cat >>confdefs.h <<_ACEOF
35577#define HAVE_FINITE 1
35578_ACEOF
35579
35580fi
35581done
35582
35583  else
35584
35585  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35586$as_echo_n "checking for _finite declaration... " >&6; }
35587  if test x${glibcxx_cv_func__finite_use+set} != xset; then
35588    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35589  $as_echo_n "(cached) " >&6
35590else
35591
35592
35593      ac_ext=cpp
35594ac_cpp='$CXXCPP $CPPFLAGS'
35595ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35596ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35597ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35598
35599      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35600/* end confdefs.h.  */
35601#include <math.h>
35602		      #ifdef HAVE_IEEEFP_H
35603		      #include <ieeefp.h>
35604		      #endif
35605
35606int
35607main ()
35608{
35609 _finite(0);
35610  ;
35611  return 0;
35612}
35613_ACEOF
35614if ac_fn_cxx_try_compile "$LINENO"; then :
35615  glibcxx_cv_func__finite_use=yes
35616else
35617  glibcxx_cv_func__finite_use=no
35618fi
35619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35620      ac_ext=c
35621ac_cpp='$CPP $CPPFLAGS'
35622ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35623ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35624ac_compiler_gnu=$ac_cv_c_compiler_gnu
35625
35626
35627fi
35628
35629  fi
35630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35631$as_echo "$glibcxx_cv_func__finite_use" >&6; }
35632
35633    if test x$glibcxx_cv_func__finite_use = x"yes"; then
35634      for ac_func in _finite
35635do :
35636  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35637if test "x$ac_cv_func__finite" = x""yes; then :
35638  cat >>confdefs.h <<_ACEOF
35639#define HAVE__FINITE 1
35640_ACEOF
35641
35642fi
35643done
35644
35645    fi
35646  fi
35647
35648
35649
35650
35651
35652  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35653$as_echo_n "checking for sincos declaration... " >&6; }
35654  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35655    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35656  $as_echo_n "(cached) " >&6
35657else
35658
35659
35660      ac_ext=cpp
35661ac_cpp='$CXXCPP $CPPFLAGS'
35662ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35663ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35664ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35665
35666      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35667/* end confdefs.h.  */
35668#include <math.h>
35669int
35670main ()
35671{
35672 sincos(0, 0, 0);
35673  ;
35674  return 0;
35675}
35676_ACEOF
35677if ac_fn_cxx_try_compile "$LINENO"; then :
35678  glibcxx_cv_func_sincos_use=yes
35679else
35680  glibcxx_cv_func_sincos_use=no
35681fi
35682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35683      ac_ext=c
35684ac_cpp='$CPP $CPPFLAGS'
35685ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35686ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35687ac_compiler_gnu=$ac_cv_c_compiler_gnu
35688
35689
35690fi
35691
35692  fi
35693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35694$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35695
35696  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35697    for ac_func in sincos
35698do :
35699  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35700if test "x$ac_cv_func_sincos" = x""yes; then :
35701  cat >>confdefs.h <<_ACEOF
35702#define HAVE_SINCOS 1
35703_ACEOF
35704
35705fi
35706done
35707
35708  else
35709
35710  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35711$as_echo_n "checking for _sincos declaration... " >&6; }
35712  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35713    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35714  $as_echo_n "(cached) " >&6
35715else
35716
35717
35718      ac_ext=cpp
35719ac_cpp='$CXXCPP $CPPFLAGS'
35720ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35721ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35722ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35723
35724      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35725/* end confdefs.h.  */
35726#include <math.h>
35727int
35728main ()
35729{
35730 _sincos(0, 0, 0);
35731  ;
35732  return 0;
35733}
35734_ACEOF
35735if ac_fn_cxx_try_compile "$LINENO"; then :
35736  glibcxx_cv_func__sincos_use=yes
35737else
35738  glibcxx_cv_func__sincos_use=no
35739fi
35740rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35741      ac_ext=c
35742ac_cpp='$CPP $CPPFLAGS'
35743ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35744ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35745ac_compiler_gnu=$ac_cv_c_compiler_gnu
35746
35747
35748fi
35749
35750  fi
35751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35752$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35753
35754    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35755      for ac_func in _sincos
35756do :
35757  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35758if test "x$ac_cv_func__sincos" = x""yes; then :
35759  cat >>confdefs.h <<_ACEOF
35760#define HAVE__SINCOS 1
35761_ACEOF
35762
35763fi
35764done
35765
35766    fi
35767  fi
35768
35769
35770
35771
35772
35773  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35774$as_echo_n "checking for fpclass declaration... " >&6; }
35775  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35776    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35777  $as_echo_n "(cached) " >&6
35778else
35779
35780
35781      ac_ext=cpp
35782ac_cpp='$CXXCPP $CPPFLAGS'
35783ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35784ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35785ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35786
35787      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35788/* end confdefs.h.  */
35789#include <math.h>
35790		      #ifdef HAVE_IEEEFP_H
35791		      #include <ieeefp.h>
35792		      #endif
35793
35794int
35795main ()
35796{
35797 fpclass(0);
35798  ;
35799  return 0;
35800}
35801_ACEOF
35802if ac_fn_cxx_try_compile "$LINENO"; then :
35803  glibcxx_cv_func_fpclass_use=yes
35804else
35805  glibcxx_cv_func_fpclass_use=no
35806fi
35807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35808      ac_ext=c
35809ac_cpp='$CPP $CPPFLAGS'
35810ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35811ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35812ac_compiler_gnu=$ac_cv_c_compiler_gnu
35813
35814
35815fi
35816
35817  fi
35818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35819$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35820
35821  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35822    for ac_func in fpclass
35823do :
35824  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35825if test "x$ac_cv_func_fpclass" = x""yes; then :
35826  cat >>confdefs.h <<_ACEOF
35827#define HAVE_FPCLASS 1
35828_ACEOF
35829
35830fi
35831done
35832
35833  else
35834
35835  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35836$as_echo_n "checking for _fpclass declaration... " >&6; }
35837  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35838    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35839  $as_echo_n "(cached) " >&6
35840else
35841
35842
35843      ac_ext=cpp
35844ac_cpp='$CXXCPP $CPPFLAGS'
35845ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35846ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35847ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35848
35849      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35850/* end confdefs.h.  */
35851#include <math.h>
35852		      #ifdef HAVE_IEEEFP_H
35853		      #include <ieeefp.h>
35854		      #endif
35855
35856int
35857main ()
35858{
35859 _fpclass(0);
35860  ;
35861  return 0;
35862}
35863_ACEOF
35864if ac_fn_cxx_try_compile "$LINENO"; then :
35865  glibcxx_cv_func__fpclass_use=yes
35866else
35867  glibcxx_cv_func__fpclass_use=no
35868fi
35869rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35870      ac_ext=c
35871ac_cpp='$CPP $CPPFLAGS'
35872ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35873ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35874ac_compiler_gnu=$ac_cv_c_compiler_gnu
35875
35876
35877fi
35878
35879  fi
35880  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35881$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35882
35883    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35884      for ac_func in _fpclass
35885do :
35886  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35887if test "x$ac_cv_func__fpclass" = x""yes; then :
35888  cat >>confdefs.h <<_ACEOF
35889#define HAVE__FPCLASS 1
35890_ACEOF
35891
35892fi
35893done
35894
35895    fi
35896  fi
35897
35898
35899
35900
35901
35902  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35903$as_echo_n "checking for qfpclass declaration... " >&6; }
35904  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35905    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35906  $as_echo_n "(cached) " >&6
35907else
35908
35909
35910      ac_ext=cpp
35911ac_cpp='$CXXCPP $CPPFLAGS'
35912ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35913ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35914ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35915
35916      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35917/* end confdefs.h.  */
35918#include <math.h>
35919		      #ifdef HAVE_IEEEFP_H
35920		      #include <ieeefp.h>
35921		      #endif
35922
35923int
35924main ()
35925{
35926 qfpclass(0);
35927  ;
35928  return 0;
35929}
35930_ACEOF
35931if ac_fn_cxx_try_compile "$LINENO"; then :
35932  glibcxx_cv_func_qfpclass_use=yes
35933else
35934  glibcxx_cv_func_qfpclass_use=no
35935fi
35936rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35937      ac_ext=c
35938ac_cpp='$CPP $CPPFLAGS'
35939ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35940ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35941ac_compiler_gnu=$ac_cv_c_compiler_gnu
35942
35943
35944fi
35945
35946  fi
35947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35948$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35949
35950  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35951    for ac_func in qfpclass
35952do :
35953  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35954if test "x$ac_cv_func_qfpclass" = x""yes; then :
35955  cat >>confdefs.h <<_ACEOF
35956#define HAVE_QFPCLASS 1
35957_ACEOF
35958
35959fi
35960done
35961
35962  else
35963
35964  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35965$as_echo_n "checking for _qfpclass declaration... " >&6; }
35966  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35967    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35968  $as_echo_n "(cached) " >&6
35969else
35970
35971
35972      ac_ext=cpp
35973ac_cpp='$CXXCPP $CPPFLAGS'
35974ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35975ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35976ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35977
35978      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35979/* end confdefs.h.  */
35980#include <math.h>
35981		      #ifdef HAVE_IEEEFP_H
35982		      #include <ieeefp.h>
35983		      #endif
35984
35985int
35986main ()
35987{
35988 _qfpclass(0);
35989  ;
35990  return 0;
35991}
35992_ACEOF
35993if ac_fn_cxx_try_compile "$LINENO"; then :
35994  glibcxx_cv_func__qfpclass_use=yes
35995else
35996  glibcxx_cv_func__qfpclass_use=no
35997fi
35998rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35999      ac_ext=c
36000ac_cpp='$CPP $CPPFLAGS'
36001ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36002ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36003ac_compiler_gnu=$ac_cv_c_compiler_gnu
36004
36005
36006fi
36007
36008  fi
36009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36010$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36011
36012    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36013      for ac_func in _qfpclass
36014do :
36015  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36016if test "x$ac_cv_func__qfpclass" = x""yes; then :
36017  cat >>confdefs.h <<_ACEOF
36018#define HAVE__QFPCLASS 1
36019_ACEOF
36020
36021fi
36022done
36023
36024    fi
36025  fi
36026
36027
36028
36029
36030
36031  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36032$as_echo_n "checking for hypot declaration... " >&6; }
36033  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36034    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
36035  $as_echo_n "(cached) " >&6
36036else
36037
36038
36039      ac_ext=cpp
36040ac_cpp='$CXXCPP $CPPFLAGS'
36041ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36042ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36043ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36044
36045      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36046/* end confdefs.h.  */
36047#include <math.h>
36048int
36049main ()
36050{
36051 hypot(0, 0);
36052  ;
36053  return 0;
36054}
36055_ACEOF
36056if ac_fn_cxx_try_compile "$LINENO"; then :
36057  glibcxx_cv_func_hypot_use=yes
36058else
36059  glibcxx_cv_func_hypot_use=no
36060fi
36061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36062      ac_ext=c
36063ac_cpp='$CPP $CPPFLAGS'
36064ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36065ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36066ac_compiler_gnu=$ac_cv_c_compiler_gnu
36067
36068
36069fi
36070
36071  fi
36072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36073$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36074
36075  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36076    for ac_func in hypot
36077do :
36078  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36079if test "x$ac_cv_func_hypot" = x""yes; then :
36080  cat >>confdefs.h <<_ACEOF
36081#define HAVE_HYPOT 1
36082_ACEOF
36083
36084fi
36085done
36086
36087  else
36088
36089  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36090$as_echo_n "checking for _hypot declaration... " >&6; }
36091  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36092    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
36093  $as_echo_n "(cached) " >&6
36094else
36095
36096
36097      ac_ext=cpp
36098ac_cpp='$CXXCPP $CPPFLAGS'
36099ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36100ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36101ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36102
36103      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36104/* end confdefs.h.  */
36105#include <math.h>
36106int
36107main ()
36108{
36109 _hypot(0, 0);
36110  ;
36111  return 0;
36112}
36113_ACEOF
36114if ac_fn_cxx_try_compile "$LINENO"; then :
36115  glibcxx_cv_func__hypot_use=yes
36116else
36117  glibcxx_cv_func__hypot_use=no
36118fi
36119rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36120      ac_ext=c
36121ac_cpp='$CPP $CPPFLAGS'
36122ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36123ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36124ac_compiler_gnu=$ac_cv_c_compiler_gnu
36125
36126
36127fi
36128
36129  fi
36130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36131$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36132
36133    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36134      for ac_func in _hypot
36135do :
36136  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36137if test "x$ac_cv_func__hypot" = x""yes; then :
36138  cat >>confdefs.h <<_ACEOF
36139#define HAVE__HYPOT 1
36140_ACEOF
36141
36142fi
36143done
36144
36145    fi
36146  fi
36147
36148
36149
36150
36151
36152    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36153$as_echo_n "checking for float trig functions... " >&6; }
36154  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
36155  $as_echo_n "(cached) " >&6
36156else
36157
36158
36159    ac_ext=cpp
36160ac_cpp='$CXXCPP $CPPFLAGS'
36161ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36162ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36163ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36164
36165    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36166/* end confdefs.h.  */
36167#include <math.h>
36168int
36169main ()
36170{
36171acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36172  ;
36173  return 0;
36174}
36175_ACEOF
36176if ac_fn_cxx_try_compile "$LINENO"; then :
36177  glibcxx_cv_func_float_trig_use=yes
36178else
36179  glibcxx_cv_func_float_trig_use=no
36180fi
36181rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36182    ac_ext=c
36183ac_cpp='$CPP $CPPFLAGS'
36184ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36185ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36186ac_compiler_gnu=$ac_cv_c_compiler_gnu
36187
36188fi
36189
36190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36191$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36192  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36193    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36194do :
36195  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36196ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36197eval as_val=\$$as_ac_var
36198   if test "x$as_val" = x""yes; then :
36199  cat >>confdefs.h <<_ACEOF
36200#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36201_ACEOF
36202
36203fi
36204done
36205
36206  else
36207    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36208$as_echo_n "checking for _float trig functions... " >&6; }
36209    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36210  $as_echo_n "(cached) " >&6
36211else
36212
36213
36214      ac_ext=cpp
36215ac_cpp='$CXXCPP $CPPFLAGS'
36216ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36217ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36218ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36219
36220      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36221/* end confdefs.h.  */
36222#include <math.h>
36223int
36224main ()
36225{
36226_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36227  ;
36228  return 0;
36229}
36230_ACEOF
36231if ac_fn_cxx_try_compile "$LINENO"; then :
36232  glibcxx_cv_func__float_trig_use=yes
36233else
36234  glibcxx_cv_func__float_trig_use=no
36235fi
36236rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36237      ac_ext=c
36238ac_cpp='$CPP $CPPFLAGS'
36239ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36240ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36241ac_compiler_gnu=$ac_cv_c_compiler_gnu
36242
36243fi
36244
36245    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36246$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36247    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36248      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36249do :
36250  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36251ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36252eval as_val=\$$as_ac_var
36253   if test "x$as_val" = x""yes; then :
36254  cat >>confdefs.h <<_ACEOF
36255#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36256_ACEOF
36257
36258fi
36259done
36260
36261    fi
36262  fi
36263
36264
36265
36266
36267
36268    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36269$as_echo_n "checking for float round functions... " >&6; }
36270  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36271  $as_echo_n "(cached) " >&6
36272else
36273
36274
36275    ac_ext=cpp
36276ac_cpp='$CXXCPP $CPPFLAGS'
36277ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36278ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36279ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36280
36281    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36282/* end confdefs.h.  */
36283#include <math.h>
36284int
36285main ()
36286{
36287ceilf (0); floorf (0);
36288  ;
36289  return 0;
36290}
36291_ACEOF
36292if ac_fn_cxx_try_compile "$LINENO"; then :
36293  glibcxx_cv_func_float_round_use=yes
36294else
36295  glibcxx_cv_func_float_round_use=no
36296fi
36297rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36298    ac_ext=c
36299ac_cpp='$CPP $CPPFLAGS'
36300ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36301ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36302ac_compiler_gnu=$ac_cv_c_compiler_gnu
36303
36304fi
36305
36306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36307$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36308  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36309    for ac_func in ceilf floorf
36310do :
36311  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36312ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36313eval as_val=\$$as_ac_var
36314   if test "x$as_val" = x""yes; then :
36315  cat >>confdefs.h <<_ACEOF
36316#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36317_ACEOF
36318
36319fi
36320done
36321
36322  else
36323    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36324$as_echo_n "checking for _float round functions... " >&6; }
36325    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36326  $as_echo_n "(cached) " >&6
36327else
36328
36329
36330      ac_ext=cpp
36331ac_cpp='$CXXCPP $CPPFLAGS'
36332ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36333ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36334ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36335
36336      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36337/* end confdefs.h.  */
36338#include <math.h>
36339int
36340main ()
36341{
36342_ceilf (0); _floorf (0);
36343  ;
36344  return 0;
36345}
36346_ACEOF
36347if ac_fn_cxx_try_compile "$LINENO"; then :
36348  glibcxx_cv_func__float_round_use=yes
36349else
36350  glibcxx_cv_func__float_round_use=no
36351fi
36352rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36353      ac_ext=c
36354ac_cpp='$CPP $CPPFLAGS'
36355ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36356ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36357ac_compiler_gnu=$ac_cv_c_compiler_gnu
36358
36359fi
36360
36361    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36362$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36363    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36364      for ac_func in _ceilf _floorf
36365do :
36366  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36367ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36368eval as_val=\$$as_ac_var
36369   if test "x$as_val" = x""yes; then :
36370  cat >>confdefs.h <<_ACEOF
36371#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36372_ACEOF
36373
36374fi
36375done
36376
36377    fi
36378  fi
36379
36380
36381
36382
36383
36384
36385  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36386$as_echo_n "checking for expf declaration... " >&6; }
36387  if test x${glibcxx_cv_func_expf_use+set} != xset; then
36388    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36389  $as_echo_n "(cached) " >&6
36390else
36391
36392
36393      ac_ext=cpp
36394ac_cpp='$CXXCPP $CPPFLAGS'
36395ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36396ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36397ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36398
36399      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36400/* end confdefs.h.  */
36401#include <math.h>
36402		      #ifdef HAVE_IEEEFP_H
36403		      #include <ieeefp.h>
36404		      #endif
36405
36406int
36407main ()
36408{
36409 expf(0);
36410  ;
36411  return 0;
36412}
36413_ACEOF
36414if ac_fn_cxx_try_compile "$LINENO"; then :
36415  glibcxx_cv_func_expf_use=yes
36416else
36417  glibcxx_cv_func_expf_use=no
36418fi
36419rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36420      ac_ext=c
36421ac_cpp='$CPP $CPPFLAGS'
36422ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36423ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36424ac_compiler_gnu=$ac_cv_c_compiler_gnu
36425
36426
36427fi
36428
36429  fi
36430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36431$as_echo "$glibcxx_cv_func_expf_use" >&6; }
36432
36433  if test x$glibcxx_cv_func_expf_use = x"yes"; then
36434    for ac_func in expf
36435do :
36436  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36437if test "x$ac_cv_func_expf" = x""yes; then :
36438  cat >>confdefs.h <<_ACEOF
36439#define HAVE_EXPF 1
36440_ACEOF
36441
36442fi
36443done
36444
36445  else
36446
36447  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36448$as_echo_n "checking for _expf declaration... " >&6; }
36449  if test x${glibcxx_cv_func__expf_use+set} != xset; then
36450    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36451  $as_echo_n "(cached) " >&6
36452else
36453
36454
36455      ac_ext=cpp
36456ac_cpp='$CXXCPP $CPPFLAGS'
36457ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36458ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36459ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36460
36461      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36462/* end confdefs.h.  */
36463#include <math.h>
36464		      #ifdef HAVE_IEEEFP_H
36465		      #include <ieeefp.h>
36466		      #endif
36467
36468int
36469main ()
36470{
36471 _expf(0);
36472  ;
36473  return 0;
36474}
36475_ACEOF
36476if ac_fn_cxx_try_compile "$LINENO"; then :
36477  glibcxx_cv_func__expf_use=yes
36478else
36479  glibcxx_cv_func__expf_use=no
36480fi
36481rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36482      ac_ext=c
36483ac_cpp='$CPP $CPPFLAGS'
36484ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36485ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36486ac_compiler_gnu=$ac_cv_c_compiler_gnu
36487
36488
36489fi
36490
36491  fi
36492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36493$as_echo "$glibcxx_cv_func__expf_use" >&6; }
36494
36495    if test x$glibcxx_cv_func__expf_use = x"yes"; then
36496      for ac_func in _expf
36497do :
36498  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36499if test "x$ac_cv_func__expf" = x""yes; then :
36500  cat >>confdefs.h <<_ACEOF
36501#define HAVE__EXPF 1
36502_ACEOF
36503
36504fi
36505done
36506
36507    fi
36508  fi
36509
36510
36511
36512
36513
36514  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36515$as_echo_n "checking for isnanf declaration... " >&6; }
36516  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36517    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36518  $as_echo_n "(cached) " >&6
36519else
36520
36521
36522      ac_ext=cpp
36523ac_cpp='$CXXCPP $CPPFLAGS'
36524ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36525ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36526ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36527
36528      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36529/* end confdefs.h.  */
36530#include <math.h>
36531		      #ifdef HAVE_IEEEFP_H
36532		      #include <ieeefp.h>
36533		      #endif
36534
36535int
36536main ()
36537{
36538 isnanf(0);
36539  ;
36540  return 0;
36541}
36542_ACEOF
36543if ac_fn_cxx_try_compile "$LINENO"; then :
36544  glibcxx_cv_func_isnanf_use=yes
36545else
36546  glibcxx_cv_func_isnanf_use=no
36547fi
36548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36549      ac_ext=c
36550ac_cpp='$CPP $CPPFLAGS'
36551ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36552ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36553ac_compiler_gnu=$ac_cv_c_compiler_gnu
36554
36555
36556fi
36557
36558  fi
36559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36560$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36561
36562  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36563    for ac_func in isnanf
36564do :
36565  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36566if test "x$ac_cv_func_isnanf" = x""yes; then :
36567  cat >>confdefs.h <<_ACEOF
36568#define HAVE_ISNANF 1
36569_ACEOF
36570
36571fi
36572done
36573
36574  else
36575
36576  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36577$as_echo_n "checking for _isnanf declaration... " >&6; }
36578  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36579    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36580  $as_echo_n "(cached) " >&6
36581else
36582
36583
36584      ac_ext=cpp
36585ac_cpp='$CXXCPP $CPPFLAGS'
36586ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36587ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36588ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36589
36590      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36591/* end confdefs.h.  */
36592#include <math.h>
36593		      #ifdef HAVE_IEEEFP_H
36594		      #include <ieeefp.h>
36595		      #endif
36596
36597int
36598main ()
36599{
36600 _isnanf(0);
36601  ;
36602  return 0;
36603}
36604_ACEOF
36605if ac_fn_cxx_try_compile "$LINENO"; then :
36606  glibcxx_cv_func__isnanf_use=yes
36607else
36608  glibcxx_cv_func__isnanf_use=no
36609fi
36610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36611      ac_ext=c
36612ac_cpp='$CPP $CPPFLAGS'
36613ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36614ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36615ac_compiler_gnu=$ac_cv_c_compiler_gnu
36616
36617
36618fi
36619
36620  fi
36621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36622$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36623
36624    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36625      for ac_func in _isnanf
36626do :
36627  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36628if test "x$ac_cv_func__isnanf" = x""yes; then :
36629  cat >>confdefs.h <<_ACEOF
36630#define HAVE__ISNANF 1
36631_ACEOF
36632
36633fi
36634done
36635
36636    fi
36637  fi
36638
36639
36640
36641
36642
36643  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36644$as_echo_n "checking for isinff declaration... " >&6; }
36645  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36646    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36647  $as_echo_n "(cached) " >&6
36648else
36649
36650
36651      ac_ext=cpp
36652ac_cpp='$CXXCPP $CPPFLAGS'
36653ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36654ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36655ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36656
36657      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36658/* end confdefs.h.  */
36659#include <math.h>
36660		      #ifdef HAVE_IEEEFP_H
36661		      #include <ieeefp.h>
36662		      #endif
36663
36664int
36665main ()
36666{
36667 isinff(0);
36668  ;
36669  return 0;
36670}
36671_ACEOF
36672if ac_fn_cxx_try_compile "$LINENO"; then :
36673  glibcxx_cv_func_isinff_use=yes
36674else
36675  glibcxx_cv_func_isinff_use=no
36676fi
36677rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36678      ac_ext=c
36679ac_cpp='$CPP $CPPFLAGS'
36680ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36681ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36682ac_compiler_gnu=$ac_cv_c_compiler_gnu
36683
36684
36685fi
36686
36687  fi
36688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36689$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36690
36691  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36692    for ac_func in isinff
36693do :
36694  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36695if test "x$ac_cv_func_isinff" = x""yes; then :
36696  cat >>confdefs.h <<_ACEOF
36697#define HAVE_ISINFF 1
36698_ACEOF
36699
36700fi
36701done
36702
36703  else
36704
36705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36706$as_echo_n "checking for _isinff declaration... " >&6; }
36707  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36708    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36709  $as_echo_n "(cached) " >&6
36710else
36711
36712
36713      ac_ext=cpp
36714ac_cpp='$CXXCPP $CPPFLAGS'
36715ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36716ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36717ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36718
36719      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36720/* end confdefs.h.  */
36721#include <math.h>
36722		      #ifdef HAVE_IEEEFP_H
36723		      #include <ieeefp.h>
36724		      #endif
36725
36726int
36727main ()
36728{
36729 _isinff(0);
36730  ;
36731  return 0;
36732}
36733_ACEOF
36734if ac_fn_cxx_try_compile "$LINENO"; then :
36735  glibcxx_cv_func__isinff_use=yes
36736else
36737  glibcxx_cv_func__isinff_use=no
36738fi
36739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36740      ac_ext=c
36741ac_cpp='$CPP $CPPFLAGS'
36742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36744ac_compiler_gnu=$ac_cv_c_compiler_gnu
36745
36746
36747fi
36748
36749  fi
36750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36751$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36752
36753    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36754      for ac_func in _isinff
36755do :
36756  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36757if test "x$ac_cv_func__isinff" = x""yes; then :
36758  cat >>confdefs.h <<_ACEOF
36759#define HAVE__ISINFF 1
36760_ACEOF
36761
36762fi
36763done
36764
36765    fi
36766  fi
36767
36768
36769
36770
36771
36772  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36773$as_echo_n "checking for atan2f declaration... " >&6; }
36774  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36775    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36776  $as_echo_n "(cached) " >&6
36777else
36778
36779
36780      ac_ext=cpp
36781ac_cpp='$CXXCPP $CPPFLAGS'
36782ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36783ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36784ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36785
36786      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36787/* end confdefs.h.  */
36788#include <math.h>
36789int
36790main ()
36791{
36792 atan2f(0, 0);
36793  ;
36794  return 0;
36795}
36796_ACEOF
36797if ac_fn_cxx_try_compile "$LINENO"; then :
36798  glibcxx_cv_func_atan2f_use=yes
36799else
36800  glibcxx_cv_func_atan2f_use=no
36801fi
36802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36803      ac_ext=c
36804ac_cpp='$CPP $CPPFLAGS'
36805ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36806ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36807ac_compiler_gnu=$ac_cv_c_compiler_gnu
36808
36809
36810fi
36811
36812  fi
36813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36814$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36815
36816  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36817    for ac_func in atan2f
36818do :
36819  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36820if test "x$ac_cv_func_atan2f" = x""yes; then :
36821  cat >>confdefs.h <<_ACEOF
36822#define HAVE_ATAN2F 1
36823_ACEOF
36824
36825fi
36826done
36827
36828  else
36829
36830  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36831$as_echo_n "checking for _atan2f declaration... " >&6; }
36832  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36833    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36834  $as_echo_n "(cached) " >&6
36835else
36836
36837
36838      ac_ext=cpp
36839ac_cpp='$CXXCPP $CPPFLAGS'
36840ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36841ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36842ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36843
36844      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36845/* end confdefs.h.  */
36846#include <math.h>
36847int
36848main ()
36849{
36850 _atan2f(0, 0);
36851  ;
36852  return 0;
36853}
36854_ACEOF
36855if ac_fn_cxx_try_compile "$LINENO"; then :
36856  glibcxx_cv_func__atan2f_use=yes
36857else
36858  glibcxx_cv_func__atan2f_use=no
36859fi
36860rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36861      ac_ext=c
36862ac_cpp='$CPP $CPPFLAGS'
36863ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36864ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36865ac_compiler_gnu=$ac_cv_c_compiler_gnu
36866
36867
36868fi
36869
36870  fi
36871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36872$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36873
36874    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36875      for ac_func in _atan2f
36876do :
36877  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36878if test "x$ac_cv_func__atan2f" = x""yes; then :
36879  cat >>confdefs.h <<_ACEOF
36880#define HAVE__ATAN2F 1
36881_ACEOF
36882
36883fi
36884done
36885
36886    fi
36887  fi
36888
36889
36890
36891
36892
36893  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36894$as_echo_n "checking for fabsf declaration... " >&6; }
36895  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36896    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36897  $as_echo_n "(cached) " >&6
36898else
36899
36900
36901      ac_ext=cpp
36902ac_cpp='$CXXCPP $CPPFLAGS'
36903ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36904ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36905ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36906
36907      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36908/* end confdefs.h.  */
36909#include <math.h>
36910		      #ifdef HAVE_IEEEFP_H
36911		      #include <ieeefp.h>
36912		      #endif
36913
36914int
36915main ()
36916{
36917 fabsf(0);
36918  ;
36919  return 0;
36920}
36921_ACEOF
36922if ac_fn_cxx_try_compile "$LINENO"; then :
36923  glibcxx_cv_func_fabsf_use=yes
36924else
36925  glibcxx_cv_func_fabsf_use=no
36926fi
36927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36928      ac_ext=c
36929ac_cpp='$CPP $CPPFLAGS'
36930ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36931ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36932ac_compiler_gnu=$ac_cv_c_compiler_gnu
36933
36934
36935fi
36936
36937  fi
36938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36939$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36940
36941  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36942    for ac_func in fabsf
36943do :
36944  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36945if test "x$ac_cv_func_fabsf" = x""yes; then :
36946  cat >>confdefs.h <<_ACEOF
36947#define HAVE_FABSF 1
36948_ACEOF
36949
36950fi
36951done
36952
36953  else
36954
36955  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36956$as_echo_n "checking for _fabsf declaration... " >&6; }
36957  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36958    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36959  $as_echo_n "(cached) " >&6
36960else
36961
36962
36963      ac_ext=cpp
36964ac_cpp='$CXXCPP $CPPFLAGS'
36965ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36966ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36967ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36968
36969      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36970/* end confdefs.h.  */
36971#include <math.h>
36972		      #ifdef HAVE_IEEEFP_H
36973		      #include <ieeefp.h>
36974		      #endif
36975
36976int
36977main ()
36978{
36979 _fabsf(0);
36980  ;
36981  return 0;
36982}
36983_ACEOF
36984if ac_fn_cxx_try_compile "$LINENO"; then :
36985  glibcxx_cv_func__fabsf_use=yes
36986else
36987  glibcxx_cv_func__fabsf_use=no
36988fi
36989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36990      ac_ext=c
36991ac_cpp='$CPP $CPPFLAGS'
36992ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36994ac_compiler_gnu=$ac_cv_c_compiler_gnu
36995
36996
36997fi
36998
36999  fi
37000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37001$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37002
37003    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37004      for ac_func in _fabsf
37005do :
37006  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37007if test "x$ac_cv_func__fabsf" = x""yes; then :
37008  cat >>confdefs.h <<_ACEOF
37009#define HAVE__FABSF 1
37010_ACEOF
37011
37012fi
37013done
37014
37015    fi
37016  fi
37017
37018
37019
37020
37021
37022  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37023$as_echo_n "checking for fmodf declaration... " >&6; }
37024  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37025    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
37026  $as_echo_n "(cached) " >&6
37027else
37028
37029
37030      ac_ext=cpp
37031ac_cpp='$CXXCPP $CPPFLAGS'
37032ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37033ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37034ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37035
37036      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37037/* end confdefs.h.  */
37038#include <math.h>
37039int
37040main ()
37041{
37042 fmodf(0, 0);
37043  ;
37044  return 0;
37045}
37046_ACEOF
37047if ac_fn_cxx_try_compile "$LINENO"; then :
37048  glibcxx_cv_func_fmodf_use=yes
37049else
37050  glibcxx_cv_func_fmodf_use=no
37051fi
37052rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37053      ac_ext=c
37054ac_cpp='$CPP $CPPFLAGS'
37055ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37056ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37057ac_compiler_gnu=$ac_cv_c_compiler_gnu
37058
37059
37060fi
37061
37062  fi
37063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37064$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37065
37066  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37067    for ac_func in fmodf
37068do :
37069  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37070if test "x$ac_cv_func_fmodf" = x""yes; then :
37071  cat >>confdefs.h <<_ACEOF
37072#define HAVE_FMODF 1
37073_ACEOF
37074
37075fi
37076done
37077
37078  else
37079
37080  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37081$as_echo_n "checking for _fmodf declaration... " >&6; }
37082  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37083    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
37084  $as_echo_n "(cached) " >&6
37085else
37086
37087
37088      ac_ext=cpp
37089ac_cpp='$CXXCPP $CPPFLAGS'
37090ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37091ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37092ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37093
37094      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37095/* end confdefs.h.  */
37096#include <math.h>
37097int
37098main ()
37099{
37100 _fmodf(0, 0);
37101  ;
37102  return 0;
37103}
37104_ACEOF
37105if ac_fn_cxx_try_compile "$LINENO"; then :
37106  glibcxx_cv_func__fmodf_use=yes
37107else
37108  glibcxx_cv_func__fmodf_use=no
37109fi
37110rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37111      ac_ext=c
37112ac_cpp='$CPP $CPPFLAGS'
37113ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37114ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37115ac_compiler_gnu=$ac_cv_c_compiler_gnu
37116
37117
37118fi
37119
37120  fi
37121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37122$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37123
37124    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37125      for ac_func in _fmodf
37126do :
37127  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37128if test "x$ac_cv_func__fmodf" = x""yes; then :
37129  cat >>confdefs.h <<_ACEOF
37130#define HAVE__FMODF 1
37131_ACEOF
37132
37133fi
37134done
37135
37136    fi
37137  fi
37138
37139
37140
37141
37142
37143  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37144$as_echo_n "checking for frexpf declaration... " >&6; }
37145  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37146    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
37147  $as_echo_n "(cached) " >&6
37148else
37149
37150
37151      ac_ext=cpp
37152ac_cpp='$CXXCPP $CPPFLAGS'
37153ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37154ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37155ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37156
37157      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37158/* end confdefs.h.  */
37159#include <math.h>
37160int
37161main ()
37162{
37163 frexpf(0, 0);
37164  ;
37165  return 0;
37166}
37167_ACEOF
37168if ac_fn_cxx_try_compile "$LINENO"; then :
37169  glibcxx_cv_func_frexpf_use=yes
37170else
37171  glibcxx_cv_func_frexpf_use=no
37172fi
37173rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37174      ac_ext=c
37175ac_cpp='$CPP $CPPFLAGS'
37176ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37177ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37178ac_compiler_gnu=$ac_cv_c_compiler_gnu
37179
37180
37181fi
37182
37183  fi
37184  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37185$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37186
37187  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37188    for ac_func in frexpf
37189do :
37190  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37191if test "x$ac_cv_func_frexpf" = x""yes; then :
37192  cat >>confdefs.h <<_ACEOF
37193#define HAVE_FREXPF 1
37194_ACEOF
37195
37196fi
37197done
37198
37199  else
37200
37201  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37202$as_echo_n "checking for _frexpf declaration... " >&6; }
37203  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37204    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37205  $as_echo_n "(cached) " >&6
37206else
37207
37208
37209      ac_ext=cpp
37210ac_cpp='$CXXCPP $CPPFLAGS'
37211ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37212ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37213ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37214
37215      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37216/* end confdefs.h.  */
37217#include <math.h>
37218int
37219main ()
37220{
37221 _frexpf(0, 0);
37222  ;
37223  return 0;
37224}
37225_ACEOF
37226if ac_fn_cxx_try_compile "$LINENO"; then :
37227  glibcxx_cv_func__frexpf_use=yes
37228else
37229  glibcxx_cv_func__frexpf_use=no
37230fi
37231rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37232      ac_ext=c
37233ac_cpp='$CPP $CPPFLAGS'
37234ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37235ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37236ac_compiler_gnu=$ac_cv_c_compiler_gnu
37237
37238
37239fi
37240
37241  fi
37242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37243$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37244
37245    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37246      for ac_func in _frexpf
37247do :
37248  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37249if test "x$ac_cv_func__frexpf" = x""yes; then :
37250  cat >>confdefs.h <<_ACEOF
37251#define HAVE__FREXPF 1
37252_ACEOF
37253
37254fi
37255done
37256
37257    fi
37258  fi
37259
37260
37261
37262
37263
37264  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37265$as_echo_n "checking for hypotf declaration... " >&6; }
37266  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37267    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37268  $as_echo_n "(cached) " >&6
37269else
37270
37271
37272      ac_ext=cpp
37273ac_cpp='$CXXCPP $CPPFLAGS'
37274ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37275ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37276ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37277
37278      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37279/* end confdefs.h.  */
37280#include <math.h>
37281int
37282main ()
37283{
37284 hypotf(0, 0);
37285  ;
37286  return 0;
37287}
37288_ACEOF
37289if ac_fn_cxx_try_compile "$LINENO"; then :
37290  glibcxx_cv_func_hypotf_use=yes
37291else
37292  glibcxx_cv_func_hypotf_use=no
37293fi
37294rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37295      ac_ext=c
37296ac_cpp='$CPP $CPPFLAGS'
37297ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37298ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37299ac_compiler_gnu=$ac_cv_c_compiler_gnu
37300
37301
37302fi
37303
37304  fi
37305  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37306$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37307
37308  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37309    for ac_func in hypotf
37310do :
37311  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37312if test "x$ac_cv_func_hypotf" = x""yes; then :
37313  cat >>confdefs.h <<_ACEOF
37314#define HAVE_HYPOTF 1
37315_ACEOF
37316
37317fi
37318done
37319
37320  else
37321
37322  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37323$as_echo_n "checking for _hypotf declaration... " >&6; }
37324  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37325    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37326  $as_echo_n "(cached) " >&6
37327else
37328
37329
37330      ac_ext=cpp
37331ac_cpp='$CXXCPP $CPPFLAGS'
37332ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37333ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37334ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37335
37336      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37337/* end confdefs.h.  */
37338#include <math.h>
37339int
37340main ()
37341{
37342 _hypotf(0, 0);
37343  ;
37344  return 0;
37345}
37346_ACEOF
37347if ac_fn_cxx_try_compile "$LINENO"; then :
37348  glibcxx_cv_func__hypotf_use=yes
37349else
37350  glibcxx_cv_func__hypotf_use=no
37351fi
37352rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37353      ac_ext=c
37354ac_cpp='$CPP $CPPFLAGS'
37355ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37356ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37357ac_compiler_gnu=$ac_cv_c_compiler_gnu
37358
37359
37360fi
37361
37362  fi
37363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37364$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37365
37366    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37367      for ac_func in _hypotf
37368do :
37369  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37370if test "x$ac_cv_func__hypotf" = x""yes; then :
37371  cat >>confdefs.h <<_ACEOF
37372#define HAVE__HYPOTF 1
37373_ACEOF
37374
37375fi
37376done
37377
37378    fi
37379  fi
37380
37381
37382
37383
37384
37385  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37386$as_echo_n "checking for ldexpf declaration... " >&6; }
37387  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37388    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37389  $as_echo_n "(cached) " >&6
37390else
37391
37392
37393      ac_ext=cpp
37394ac_cpp='$CXXCPP $CPPFLAGS'
37395ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37396ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37397ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37398
37399      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37400/* end confdefs.h.  */
37401#include <math.h>
37402int
37403main ()
37404{
37405 ldexpf(0, 0);
37406  ;
37407  return 0;
37408}
37409_ACEOF
37410if ac_fn_cxx_try_compile "$LINENO"; then :
37411  glibcxx_cv_func_ldexpf_use=yes
37412else
37413  glibcxx_cv_func_ldexpf_use=no
37414fi
37415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37416      ac_ext=c
37417ac_cpp='$CPP $CPPFLAGS'
37418ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37419ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37420ac_compiler_gnu=$ac_cv_c_compiler_gnu
37421
37422
37423fi
37424
37425  fi
37426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37427$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37428
37429  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37430    for ac_func in ldexpf
37431do :
37432  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37433if test "x$ac_cv_func_ldexpf" = x""yes; then :
37434  cat >>confdefs.h <<_ACEOF
37435#define HAVE_LDEXPF 1
37436_ACEOF
37437
37438fi
37439done
37440
37441  else
37442
37443  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37444$as_echo_n "checking for _ldexpf declaration... " >&6; }
37445  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37446    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37447  $as_echo_n "(cached) " >&6
37448else
37449
37450
37451      ac_ext=cpp
37452ac_cpp='$CXXCPP $CPPFLAGS'
37453ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37454ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37455ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37456
37457      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37458/* end confdefs.h.  */
37459#include <math.h>
37460int
37461main ()
37462{
37463 _ldexpf(0, 0);
37464  ;
37465  return 0;
37466}
37467_ACEOF
37468if ac_fn_cxx_try_compile "$LINENO"; then :
37469  glibcxx_cv_func__ldexpf_use=yes
37470else
37471  glibcxx_cv_func__ldexpf_use=no
37472fi
37473rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37474      ac_ext=c
37475ac_cpp='$CPP $CPPFLAGS'
37476ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37477ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37478ac_compiler_gnu=$ac_cv_c_compiler_gnu
37479
37480
37481fi
37482
37483  fi
37484  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37485$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37486
37487    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37488      for ac_func in _ldexpf
37489do :
37490  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37491if test "x$ac_cv_func__ldexpf" = x""yes; then :
37492  cat >>confdefs.h <<_ACEOF
37493#define HAVE__LDEXPF 1
37494_ACEOF
37495
37496fi
37497done
37498
37499    fi
37500  fi
37501
37502
37503
37504
37505
37506  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37507$as_echo_n "checking for logf declaration... " >&6; }
37508  if test x${glibcxx_cv_func_logf_use+set} != xset; then
37509    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37510  $as_echo_n "(cached) " >&6
37511else
37512
37513
37514      ac_ext=cpp
37515ac_cpp='$CXXCPP $CPPFLAGS'
37516ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37517ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37518ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37519
37520      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37521/* end confdefs.h.  */
37522#include <math.h>
37523		      #ifdef HAVE_IEEEFP_H
37524		      #include <ieeefp.h>
37525		      #endif
37526
37527int
37528main ()
37529{
37530 logf(0);
37531  ;
37532  return 0;
37533}
37534_ACEOF
37535if ac_fn_cxx_try_compile "$LINENO"; then :
37536  glibcxx_cv_func_logf_use=yes
37537else
37538  glibcxx_cv_func_logf_use=no
37539fi
37540rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37541      ac_ext=c
37542ac_cpp='$CPP $CPPFLAGS'
37543ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37544ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37545ac_compiler_gnu=$ac_cv_c_compiler_gnu
37546
37547
37548fi
37549
37550  fi
37551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37552$as_echo "$glibcxx_cv_func_logf_use" >&6; }
37553
37554  if test x$glibcxx_cv_func_logf_use = x"yes"; then
37555    for ac_func in logf
37556do :
37557  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37558if test "x$ac_cv_func_logf" = x""yes; then :
37559  cat >>confdefs.h <<_ACEOF
37560#define HAVE_LOGF 1
37561_ACEOF
37562
37563fi
37564done
37565
37566  else
37567
37568  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37569$as_echo_n "checking for _logf declaration... " >&6; }
37570  if test x${glibcxx_cv_func__logf_use+set} != xset; then
37571    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37572  $as_echo_n "(cached) " >&6
37573else
37574
37575
37576      ac_ext=cpp
37577ac_cpp='$CXXCPP $CPPFLAGS'
37578ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37579ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37580ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37581
37582      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37583/* end confdefs.h.  */
37584#include <math.h>
37585		      #ifdef HAVE_IEEEFP_H
37586		      #include <ieeefp.h>
37587		      #endif
37588
37589int
37590main ()
37591{
37592 _logf(0);
37593  ;
37594  return 0;
37595}
37596_ACEOF
37597if ac_fn_cxx_try_compile "$LINENO"; then :
37598  glibcxx_cv_func__logf_use=yes
37599else
37600  glibcxx_cv_func__logf_use=no
37601fi
37602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37603      ac_ext=c
37604ac_cpp='$CPP $CPPFLAGS'
37605ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37606ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37607ac_compiler_gnu=$ac_cv_c_compiler_gnu
37608
37609
37610fi
37611
37612  fi
37613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37614$as_echo "$glibcxx_cv_func__logf_use" >&6; }
37615
37616    if test x$glibcxx_cv_func__logf_use = x"yes"; then
37617      for ac_func in _logf
37618do :
37619  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37620if test "x$ac_cv_func__logf" = x""yes; then :
37621  cat >>confdefs.h <<_ACEOF
37622#define HAVE__LOGF 1
37623_ACEOF
37624
37625fi
37626done
37627
37628    fi
37629  fi
37630
37631
37632
37633
37634
37635  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37636$as_echo_n "checking for log10f declaration... " >&6; }
37637  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37638    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37639  $as_echo_n "(cached) " >&6
37640else
37641
37642
37643      ac_ext=cpp
37644ac_cpp='$CXXCPP $CPPFLAGS'
37645ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37646ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37647ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37648
37649      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37650/* end confdefs.h.  */
37651#include <math.h>
37652		      #ifdef HAVE_IEEEFP_H
37653		      #include <ieeefp.h>
37654		      #endif
37655
37656int
37657main ()
37658{
37659 log10f(0);
37660  ;
37661  return 0;
37662}
37663_ACEOF
37664if ac_fn_cxx_try_compile "$LINENO"; then :
37665  glibcxx_cv_func_log10f_use=yes
37666else
37667  glibcxx_cv_func_log10f_use=no
37668fi
37669rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37670      ac_ext=c
37671ac_cpp='$CPP $CPPFLAGS'
37672ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37673ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37674ac_compiler_gnu=$ac_cv_c_compiler_gnu
37675
37676
37677fi
37678
37679  fi
37680  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37681$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37682
37683  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37684    for ac_func in log10f
37685do :
37686  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37687if test "x$ac_cv_func_log10f" = x""yes; then :
37688  cat >>confdefs.h <<_ACEOF
37689#define HAVE_LOG10F 1
37690_ACEOF
37691
37692fi
37693done
37694
37695  else
37696
37697  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37698$as_echo_n "checking for _log10f declaration... " >&6; }
37699  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37700    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37701  $as_echo_n "(cached) " >&6
37702else
37703
37704
37705      ac_ext=cpp
37706ac_cpp='$CXXCPP $CPPFLAGS'
37707ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37708ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37709ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37710
37711      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37712/* end confdefs.h.  */
37713#include <math.h>
37714		      #ifdef HAVE_IEEEFP_H
37715		      #include <ieeefp.h>
37716		      #endif
37717
37718int
37719main ()
37720{
37721 _log10f(0);
37722  ;
37723  return 0;
37724}
37725_ACEOF
37726if ac_fn_cxx_try_compile "$LINENO"; then :
37727  glibcxx_cv_func__log10f_use=yes
37728else
37729  glibcxx_cv_func__log10f_use=no
37730fi
37731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37732      ac_ext=c
37733ac_cpp='$CPP $CPPFLAGS'
37734ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37735ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37736ac_compiler_gnu=$ac_cv_c_compiler_gnu
37737
37738
37739fi
37740
37741  fi
37742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37743$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37744
37745    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37746      for ac_func in _log10f
37747do :
37748  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37749if test "x$ac_cv_func__log10f" = x""yes; then :
37750  cat >>confdefs.h <<_ACEOF
37751#define HAVE__LOG10F 1
37752_ACEOF
37753
37754fi
37755done
37756
37757    fi
37758  fi
37759
37760
37761
37762
37763
37764  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37765$as_echo_n "checking for modff declaration... " >&6; }
37766  if test x${glibcxx_cv_func_modff_use+set} != xset; then
37767    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37768  $as_echo_n "(cached) " >&6
37769else
37770
37771
37772      ac_ext=cpp
37773ac_cpp='$CXXCPP $CPPFLAGS'
37774ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37775ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37776ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37777
37778      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37779/* end confdefs.h.  */
37780#include <math.h>
37781int
37782main ()
37783{
37784 modff(0, 0);
37785  ;
37786  return 0;
37787}
37788_ACEOF
37789if ac_fn_cxx_try_compile "$LINENO"; then :
37790  glibcxx_cv_func_modff_use=yes
37791else
37792  glibcxx_cv_func_modff_use=no
37793fi
37794rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37795      ac_ext=c
37796ac_cpp='$CPP $CPPFLAGS'
37797ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37798ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37799ac_compiler_gnu=$ac_cv_c_compiler_gnu
37800
37801
37802fi
37803
37804  fi
37805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37806$as_echo "$glibcxx_cv_func_modff_use" >&6; }
37807
37808  if test x$glibcxx_cv_func_modff_use = x"yes"; then
37809    for ac_func in modff
37810do :
37811  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37812if test "x$ac_cv_func_modff" = x""yes; then :
37813  cat >>confdefs.h <<_ACEOF
37814#define HAVE_MODFF 1
37815_ACEOF
37816
37817fi
37818done
37819
37820  else
37821
37822  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37823$as_echo_n "checking for _modff declaration... " >&6; }
37824  if test x${glibcxx_cv_func__modff_use+set} != xset; then
37825    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37826  $as_echo_n "(cached) " >&6
37827else
37828
37829
37830      ac_ext=cpp
37831ac_cpp='$CXXCPP $CPPFLAGS'
37832ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37833ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37834ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37835
37836      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37837/* end confdefs.h.  */
37838#include <math.h>
37839int
37840main ()
37841{
37842 _modff(0, 0);
37843  ;
37844  return 0;
37845}
37846_ACEOF
37847if ac_fn_cxx_try_compile "$LINENO"; then :
37848  glibcxx_cv_func__modff_use=yes
37849else
37850  glibcxx_cv_func__modff_use=no
37851fi
37852rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37853      ac_ext=c
37854ac_cpp='$CPP $CPPFLAGS'
37855ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37856ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37857ac_compiler_gnu=$ac_cv_c_compiler_gnu
37858
37859
37860fi
37861
37862  fi
37863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37864$as_echo "$glibcxx_cv_func__modff_use" >&6; }
37865
37866    if test x$glibcxx_cv_func__modff_use = x"yes"; then
37867      for ac_func in _modff
37868do :
37869  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37870if test "x$ac_cv_func__modff" = x""yes; then :
37871  cat >>confdefs.h <<_ACEOF
37872#define HAVE__MODFF 1
37873_ACEOF
37874
37875fi
37876done
37877
37878    fi
37879  fi
37880
37881
37882
37883
37884
37885  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37886$as_echo_n "checking for modf declaration... " >&6; }
37887  if test x${glibcxx_cv_func_modf_use+set} != xset; then
37888    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37889  $as_echo_n "(cached) " >&6
37890else
37891
37892
37893      ac_ext=cpp
37894ac_cpp='$CXXCPP $CPPFLAGS'
37895ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37896ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37897ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37898
37899      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37900/* end confdefs.h.  */
37901#include <math.h>
37902int
37903main ()
37904{
37905 modf(0, 0);
37906  ;
37907  return 0;
37908}
37909_ACEOF
37910if ac_fn_cxx_try_compile "$LINENO"; then :
37911  glibcxx_cv_func_modf_use=yes
37912else
37913  glibcxx_cv_func_modf_use=no
37914fi
37915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37916      ac_ext=c
37917ac_cpp='$CPP $CPPFLAGS'
37918ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37919ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37920ac_compiler_gnu=$ac_cv_c_compiler_gnu
37921
37922
37923fi
37924
37925  fi
37926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37927$as_echo "$glibcxx_cv_func_modf_use" >&6; }
37928
37929  if test x$glibcxx_cv_func_modf_use = x"yes"; then
37930    for ac_func in modf
37931do :
37932  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37933if test "x$ac_cv_func_modf" = x""yes; then :
37934  cat >>confdefs.h <<_ACEOF
37935#define HAVE_MODF 1
37936_ACEOF
37937
37938fi
37939done
37940
37941  else
37942
37943  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37944$as_echo_n "checking for _modf declaration... " >&6; }
37945  if test x${glibcxx_cv_func__modf_use+set} != xset; then
37946    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37947  $as_echo_n "(cached) " >&6
37948else
37949
37950
37951      ac_ext=cpp
37952ac_cpp='$CXXCPP $CPPFLAGS'
37953ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37954ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37955ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37956
37957      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37958/* end confdefs.h.  */
37959#include <math.h>
37960int
37961main ()
37962{
37963 _modf(0, 0);
37964  ;
37965  return 0;
37966}
37967_ACEOF
37968if ac_fn_cxx_try_compile "$LINENO"; then :
37969  glibcxx_cv_func__modf_use=yes
37970else
37971  glibcxx_cv_func__modf_use=no
37972fi
37973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37974      ac_ext=c
37975ac_cpp='$CPP $CPPFLAGS'
37976ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37977ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37978ac_compiler_gnu=$ac_cv_c_compiler_gnu
37979
37980
37981fi
37982
37983  fi
37984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
37985$as_echo "$glibcxx_cv_func__modf_use" >&6; }
37986
37987    if test x$glibcxx_cv_func__modf_use = x"yes"; then
37988      for ac_func in _modf
37989do :
37990  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37991if test "x$ac_cv_func__modf" = x""yes; then :
37992  cat >>confdefs.h <<_ACEOF
37993#define HAVE__MODF 1
37994_ACEOF
37995
37996fi
37997done
37998
37999    fi
38000  fi
38001
38002
38003
38004
38005
38006  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38007$as_echo_n "checking for powf declaration... " >&6; }
38008  if test x${glibcxx_cv_func_powf_use+set} != xset; then
38009    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
38010  $as_echo_n "(cached) " >&6
38011else
38012
38013
38014      ac_ext=cpp
38015ac_cpp='$CXXCPP $CPPFLAGS'
38016ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38017ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38018ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38019
38020      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38021/* end confdefs.h.  */
38022#include <math.h>
38023int
38024main ()
38025{
38026 powf(0, 0);
38027  ;
38028  return 0;
38029}
38030_ACEOF
38031if ac_fn_cxx_try_compile "$LINENO"; then :
38032  glibcxx_cv_func_powf_use=yes
38033else
38034  glibcxx_cv_func_powf_use=no
38035fi
38036rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38037      ac_ext=c
38038ac_cpp='$CPP $CPPFLAGS'
38039ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38040ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38041ac_compiler_gnu=$ac_cv_c_compiler_gnu
38042
38043
38044fi
38045
38046  fi
38047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38048$as_echo "$glibcxx_cv_func_powf_use" >&6; }
38049
38050  if test x$glibcxx_cv_func_powf_use = x"yes"; then
38051    for ac_func in powf
38052do :
38053  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38054if test "x$ac_cv_func_powf" = x""yes; then :
38055  cat >>confdefs.h <<_ACEOF
38056#define HAVE_POWF 1
38057_ACEOF
38058
38059fi
38060done
38061
38062  else
38063
38064  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38065$as_echo_n "checking for _powf declaration... " >&6; }
38066  if test x${glibcxx_cv_func__powf_use+set} != xset; then
38067    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
38068  $as_echo_n "(cached) " >&6
38069else
38070
38071
38072      ac_ext=cpp
38073ac_cpp='$CXXCPP $CPPFLAGS'
38074ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38075ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38076ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38077
38078      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38079/* end confdefs.h.  */
38080#include <math.h>
38081int
38082main ()
38083{
38084 _powf(0, 0);
38085  ;
38086  return 0;
38087}
38088_ACEOF
38089if ac_fn_cxx_try_compile "$LINENO"; then :
38090  glibcxx_cv_func__powf_use=yes
38091else
38092  glibcxx_cv_func__powf_use=no
38093fi
38094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38095      ac_ext=c
38096ac_cpp='$CPP $CPPFLAGS'
38097ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38099ac_compiler_gnu=$ac_cv_c_compiler_gnu
38100
38101
38102fi
38103
38104  fi
38105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38106$as_echo "$glibcxx_cv_func__powf_use" >&6; }
38107
38108    if test x$glibcxx_cv_func__powf_use = x"yes"; then
38109      for ac_func in _powf
38110do :
38111  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38112if test "x$ac_cv_func__powf" = x""yes; then :
38113  cat >>confdefs.h <<_ACEOF
38114#define HAVE__POWF 1
38115_ACEOF
38116
38117fi
38118done
38119
38120    fi
38121  fi
38122
38123
38124
38125
38126
38127  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38128$as_echo_n "checking for sqrtf declaration... " >&6; }
38129  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38130    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
38131  $as_echo_n "(cached) " >&6
38132else
38133
38134
38135      ac_ext=cpp
38136ac_cpp='$CXXCPP $CPPFLAGS'
38137ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38138ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38139ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38140
38141      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38142/* end confdefs.h.  */
38143#include <math.h>
38144		      #ifdef HAVE_IEEEFP_H
38145		      #include <ieeefp.h>
38146		      #endif
38147
38148int
38149main ()
38150{
38151 sqrtf(0);
38152  ;
38153  return 0;
38154}
38155_ACEOF
38156if ac_fn_cxx_try_compile "$LINENO"; then :
38157  glibcxx_cv_func_sqrtf_use=yes
38158else
38159  glibcxx_cv_func_sqrtf_use=no
38160fi
38161rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38162      ac_ext=c
38163ac_cpp='$CPP $CPPFLAGS'
38164ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38165ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38166ac_compiler_gnu=$ac_cv_c_compiler_gnu
38167
38168
38169fi
38170
38171  fi
38172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38173$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38174
38175  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38176    for ac_func in sqrtf
38177do :
38178  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38179if test "x$ac_cv_func_sqrtf" = x""yes; then :
38180  cat >>confdefs.h <<_ACEOF
38181#define HAVE_SQRTF 1
38182_ACEOF
38183
38184fi
38185done
38186
38187  else
38188
38189  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38190$as_echo_n "checking for _sqrtf declaration... " >&6; }
38191  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38192    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38193  $as_echo_n "(cached) " >&6
38194else
38195
38196
38197      ac_ext=cpp
38198ac_cpp='$CXXCPP $CPPFLAGS'
38199ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38200ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38201ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38202
38203      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38204/* end confdefs.h.  */
38205#include <math.h>
38206		      #ifdef HAVE_IEEEFP_H
38207		      #include <ieeefp.h>
38208		      #endif
38209
38210int
38211main ()
38212{
38213 _sqrtf(0);
38214  ;
38215  return 0;
38216}
38217_ACEOF
38218if ac_fn_cxx_try_compile "$LINENO"; then :
38219  glibcxx_cv_func__sqrtf_use=yes
38220else
38221  glibcxx_cv_func__sqrtf_use=no
38222fi
38223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38224      ac_ext=c
38225ac_cpp='$CPP $CPPFLAGS'
38226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38228ac_compiler_gnu=$ac_cv_c_compiler_gnu
38229
38230
38231fi
38232
38233  fi
38234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38235$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38236
38237    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38238      for ac_func in _sqrtf
38239do :
38240  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38241if test "x$ac_cv_func__sqrtf" = x""yes; then :
38242  cat >>confdefs.h <<_ACEOF
38243#define HAVE__SQRTF 1
38244_ACEOF
38245
38246fi
38247done
38248
38249    fi
38250  fi
38251
38252
38253
38254
38255
38256  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38257$as_echo_n "checking for sincosf declaration... " >&6; }
38258  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38259    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38260  $as_echo_n "(cached) " >&6
38261else
38262
38263
38264      ac_ext=cpp
38265ac_cpp='$CXXCPP $CPPFLAGS'
38266ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38267ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38268ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38269
38270      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38271/* end confdefs.h.  */
38272#include <math.h>
38273int
38274main ()
38275{
38276 sincosf(0, 0, 0);
38277  ;
38278  return 0;
38279}
38280_ACEOF
38281if ac_fn_cxx_try_compile "$LINENO"; then :
38282  glibcxx_cv_func_sincosf_use=yes
38283else
38284  glibcxx_cv_func_sincosf_use=no
38285fi
38286rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38287      ac_ext=c
38288ac_cpp='$CPP $CPPFLAGS'
38289ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38290ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38291ac_compiler_gnu=$ac_cv_c_compiler_gnu
38292
38293
38294fi
38295
38296  fi
38297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38298$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38299
38300  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38301    for ac_func in sincosf
38302do :
38303  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38304if test "x$ac_cv_func_sincosf" = x""yes; then :
38305  cat >>confdefs.h <<_ACEOF
38306#define HAVE_SINCOSF 1
38307_ACEOF
38308
38309fi
38310done
38311
38312  else
38313
38314  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38315$as_echo_n "checking for _sincosf declaration... " >&6; }
38316  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38317    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38318  $as_echo_n "(cached) " >&6
38319else
38320
38321
38322      ac_ext=cpp
38323ac_cpp='$CXXCPP $CPPFLAGS'
38324ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38325ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38326ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38327
38328      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38329/* end confdefs.h.  */
38330#include <math.h>
38331int
38332main ()
38333{
38334 _sincosf(0, 0, 0);
38335  ;
38336  return 0;
38337}
38338_ACEOF
38339if ac_fn_cxx_try_compile "$LINENO"; then :
38340  glibcxx_cv_func__sincosf_use=yes
38341else
38342  glibcxx_cv_func__sincosf_use=no
38343fi
38344rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38345      ac_ext=c
38346ac_cpp='$CPP $CPPFLAGS'
38347ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38348ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38349ac_compiler_gnu=$ac_cv_c_compiler_gnu
38350
38351
38352fi
38353
38354  fi
38355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38356$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38357
38358    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38359      for ac_func in _sincosf
38360do :
38361  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38362if test "x$ac_cv_func__sincosf" = x""yes; then :
38363  cat >>confdefs.h <<_ACEOF
38364#define HAVE__SINCOSF 1
38365_ACEOF
38366
38367fi
38368done
38369
38370    fi
38371  fi
38372
38373
38374
38375
38376
38377  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38378$as_echo_n "checking for finitef declaration... " >&6; }
38379  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38380    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38381  $as_echo_n "(cached) " >&6
38382else
38383
38384
38385      ac_ext=cpp
38386ac_cpp='$CXXCPP $CPPFLAGS'
38387ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38388ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38389ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38390
38391      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38392/* end confdefs.h.  */
38393#include <math.h>
38394		      #ifdef HAVE_IEEEFP_H
38395		      #include <ieeefp.h>
38396		      #endif
38397
38398int
38399main ()
38400{
38401 finitef(0);
38402  ;
38403  return 0;
38404}
38405_ACEOF
38406if ac_fn_cxx_try_compile "$LINENO"; then :
38407  glibcxx_cv_func_finitef_use=yes
38408else
38409  glibcxx_cv_func_finitef_use=no
38410fi
38411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38412      ac_ext=c
38413ac_cpp='$CPP $CPPFLAGS'
38414ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38415ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38416ac_compiler_gnu=$ac_cv_c_compiler_gnu
38417
38418
38419fi
38420
38421  fi
38422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38423$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38424
38425  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38426    for ac_func in finitef
38427do :
38428  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38429if test "x$ac_cv_func_finitef" = x""yes; then :
38430  cat >>confdefs.h <<_ACEOF
38431#define HAVE_FINITEF 1
38432_ACEOF
38433
38434fi
38435done
38436
38437  else
38438
38439  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38440$as_echo_n "checking for _finitef declaration... " >&6; }
38441  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38442    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38443  $as_echo_n "(cached) " >&6
38444else
38445
38446
38447      ac_ext=cpp
38448ac_cpp='$CXXCPP $CPPFLAGS'
38449ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38450ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38451ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38452
38453      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38454/* end confdefs.h.  */
38455#include <math.h>
38456		      #ifdef HAVE_IEEEFP_H
38457		      #include <ieeefp.h>
38458		      #endif
38459
38460int
38461main ()
38462{
38463 _finitef(0);
38464  ;
38465  return 0;
38466}
38467_ACEOF
38468if ac_fn_cxx_try_compile "$LINENO"; then :
38469  glibcxx_cv_func__finitef_use=yes
38470else
38471  glibcxx_cv_func__finitef_use=no
38472fi
38473rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38474      ac_ext=c
38475ac_cpp='$CPP $CPPFLAGS'
38476ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38477ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38478ac_compiler_gnu=$ac_cv_c_compiler_gnu
38479
38480
38481fi
38482
38483  fi
38484  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38485$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38486
38487    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38488      for ac_func in _finitef
38489do :
38490  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38491if test "x$ac_cv_func__finitef" = x""yes; then :
38492  cat >>confdefs.h <<_ACEOF
38493#define HAVE__FINITEF 1
38494_ACEOF
38495
38496fi
38497done
38498
38499    fi
38500  fi
38501
38502
38503
38504
38505
38506    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38507$as_echo_n "checking for long double trig functions... " >&6; }
38508  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38509  $as_echo_n "(cached) " >&6
38510else
38511
38512
38513    ac_ext=cpp
38514ac_cpp='$CXXCPP $CPPFLAGS'
38515ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38516ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38517ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38518
38519    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38520/* end confdefs.h.  */
38521#include <math.h>
38522int
38523main ()
38524{
38525acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38526  ;
38527  return 0;
38528}
38529_ACEOF
38530if ac_fn_cxx_try_compile "$LINENO"; then :
38531  glibcxx_cv_func_long_double_trig_use=yes
38532else
38533  glibcxx_cv_func_long_double_trig_use=no
38534fi
38535rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38536    ac_ext=c
38537ac_cpp='$CPP $CPPFLAGS'
38538ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38539ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38540ac_compiler_gnu=$ac_cv_c_compiler_gnu
38541
38542fi
38543
38544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38545$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38546  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38547    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38548do :
38549  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38550ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38551eval as_val=\$$as_ac_var
38552   if test "x$as_val" = x""yes; then :
38553  cat >>confdefs.h <<_ACEOF
38554#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38555_ACEOF
38556
38557fi
38558done
38559
38560  else
38561    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38562$as_echo_n "checking for _long double trig functions... " >&6; }
38563    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38564  $as_echo_n "(cached) " >&6
38565else
38566
38567
38568      ac_ext=cpp
38569ac_cpp='$CXXCPP $CPPFLAGS'
38570ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38571ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38572ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38573
38574      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38575/* end confdefs.h.  */
38576#include <math.h>
38577int
38578main ()
38579{
38580_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38581  ;
38582  return 0;
38583}
38584_ACEOF
38585if ac_fn_cxx_try_compile "$LINENO"; then :
38586  glibcxx_cv_func__long_double_trig_use=yes
38587else
38588  glibcxx_cv_func__long_double_trig_use=no
38589fi
38590rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38591      ac_ext=c
38592ac_cpp='$CPP $CPPFLAGS'
38593ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38594ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38595ac_compiler_gnu=$ac_cv_c_compiler_gnu
38596
38597fi
38598
38599    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38600$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38601    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38602      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38603do :
38604  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38605ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38606eval as_val=\$$as_ac_var
38607   if test "x$as_val" = x""yes; then :
38608  cat >>confdefs.h <<_ACEOF
38609#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38610_ACEOF
38611
38612fi
38613done
38614
38615    fi
38616  fi
38617
38618
38619
38620
38621
38622    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38623$as_echo_n "checking for long double round functions... " >&6; }
38624  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38625  $as_echo_n "(cached) " >&6
38626else
38627
38628
38629    ac_ext=cpp
38630ac_cpp='$CXXCPP $CPPFLAGS'
38631ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38632ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38633ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38634
38635    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38636/* end confdefs.h.  */
38637#include <math.h>
38638int
38639main ()
38640{
38641ceill (0); floorl (0);
38642  ;
38643  return 0;
38644}
38645_ACEOF
38646if ac_fn_cxx_try_compile "$LINENO"; then :
38647  glibcxx_cv_func_long_double_round_use=yes
38648else
38649  glibcxx_cv_func_long_double_round_use=no
38650fi
38651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38652    ac_ext=c
38653ac_cpp='$CPP $CPPFLAGS'
38654ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38655ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38656ac_compiler_gnu=$ac_cv_c_compiler_gnu
38657
38658fi
38659
38660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38661$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38662  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38663    for ac_func in ceill floorl
38664do :
38665  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38666ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38667eval as_val=\$$as_ac_var
38668   if test "x$as_val" = x""yes; then :
38669  cat >>confdefs.h <<_ACEOF
38670#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38671_ACEOF
38672
38673fi
38674done
38675
38676  else
38677    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38678$as_echo_n "checking for _long double round functions... " >&6; }
38679    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38680  $as_echo_n "(cached) " >&6
38681else
38682
38683
38684      ac_ext=cpp
38685ac_cpp='$CXXCPP $CPPFLAGS'
38686ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38687ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38688ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38689
38690      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38691/* end confdefs.h.  */
38692#include <math.h>
38693int
38694main ()
38695{
38696_ceill (0); _floorl (0);
38697  ;
38698  return 0;
38699}
38700_ACEOF
38701if ac_fn_cxx_try_compile "$LINENO"; then :
38702  glibcxx_cv_func__long_double_round_use=yes
38703else
38704  glibcxx_cv_func__long_double_round_use=no
38705fi
38706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38707      ac_ext=c
38708ac_cpp='$CPP $CPPFLAGS'
38709ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38710ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38711ac_compiler_gnu=$ac_cv_c_compiler_gnu
38712
38713fi
38714
38715    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38716$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38717    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38718      for ac_func in _ceill _floorl
38719do :
38720  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38721ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38722eval as_val=\$$as_ac_var
38723   if test "x$as_val" = x""yes; then :
38724  cat >>confdefs.h <<_ACEOF
38725#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38726_ACEOF
38727
38728fi
38729done
38730
38731    fi
38732  fi
38733
38734
38735
38736
38737
38738
38739  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38740$as_echo_n "checking for isnanl declaration... " >&6; }
38741  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38742    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38743  $as_echo_n "(cached) " >&6
38744else
38745
38746
38747      ac_ext=cpp
38748ac_cpp='$CXXCPP $CPPFLAGS'
38749ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38750ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38751ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38752
38753      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38754/* end confdefs.h.  */
38755#include <math.h>
38756		      #ifdef HAVE_IEEEFP_H
38757		      #include <ieeefp.h>
38758		      #endif
38759
38760int
38761main ()
38762{
38763 isnanl(0);
38764  ;
38765  return 0;
38766}
38767_ACEOF
38768if ac_fn_cxx_try_compile "$LINENO"; then :
38769  glibcxx_cv_func_isnanl_use=yes
38770else
38771  glibcxx_cv_func_isnanl_use=no
38772fi
38773rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38774      ac_ext=c
38775ac_cpp='$CPP $CPPFLAGS'
38776ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38777ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38778ac_compiler_gnu=$ac_cv_c_compiler_gnu
38779
38780
38781fi
38782
38783  fi
38784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38785$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38786
38787  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38788    for ac_func in isnanl
38789do :
38790  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38791if test "x$ac_cv_func_isnanl" = x""yes; then :
38792  cat >>confdefs.h <<_ACEOF
38793#define HAVE_ISNANL 1
38794_ACEOF
38795
38796fi
38797done
38798
38799  else
38800
38801  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38802$as_echo_n "checking for _isnanl declaration... " >&6; }
38803  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38804    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38805  $as_echo_n "(cached) " >&6
38806else
38807
38808
38809      ac_ext=cpp
38810ac_cpp='$CXXCPP $CPPFLAGS'
38811ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38812ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38813ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38814
38815      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38816/* end confdefs.h.  */
38817#include <math.h>
38818		      #ifdef HAVE_IEEEFP_H
38819		      #include <ieeefp.h>
38820		      #endif
38821
38822int
38823main ()
38824{
38825 _isnanl(0);
38826  ;
38827  return 0;
38828}
38829_ACEOF
38830if ac_fn_cxx_try_compile "$LINENO"; then :
38831  glibcxx_cv_func__isnanl_use=yes
38832else
38833  glibcxx_cv_func__isnanl_use=no
38834fi
38835rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38836      ac_ext=c
38837ac_cpp='$CPP $CPPFLAGS'
38838ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38839ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38840ac_compiler_gnu=$ac_cv_c_compiler_gnu
38841
38842
38843fi
38844
38845  fi
38846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38847$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38848
38849    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38850      for ac_func in _isnanl
38851do :
38852  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38853if test "x$ac_cv_func__isnanl" = x""yes; then :
38854  cat >>confdefs.h <<_ACEOF
38855#define HAVE__ISNANL 1
38856_ACEOF
38857
38858fi
38859done
38860
38861    fi
38862  fi
38863
38864
38865
38866
38867
38868  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38869$as_echo_n "checking for isinfl declaration... " >&6; }
38870  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38871    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38872  $as_echo_n "(cached) " >&6
38873else
38874
38875
38876      ac_ext=cpp
38877ac_cpp='$CXXCPP $CPPFLAGS'
38878ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38879ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38880ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38881
38882      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38883/* end confdefs.h.  */
38884#include <math.h>
38885		      #ifdef HAVE_IEEEFP_H
38886		      #include <ieeefp.h>
38887		      #endif
38888
38889int
38890main ()
38891{
38892 isinfl(0);
38893  ;
38894  return 0;
38895}
38896_ACEOF
38897if ac_fn_cxx_try_compile "$LINENO"; then :
38898  glibcxx_cv_func_isinfl_use=yes
38899else
38900  glibcxx_cv_func_isinfl_use=no
38901fi
38902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38903      ac_ext=c
38904ac_cpp='$CPP $CPPFLAGS'
38905ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38906ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38907ac_compiler_gnu=$ac_cv_c_compiler_gnu
38908
38909
38910fi
38911
38912  fi
38913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38914$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38915
38916  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38917    for ac_func in isinfl
38918do :
38919  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38920if test "x$ac_cv_func_isinfl" = x""yes; then :
38921  cat >>confdefs.h <<_ACEOF
38922#define HAVE_ISINFL 1
38923_ACEOF
38924
38925fi
38926done
38927
38928  else
38929
38930  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38931$as_echo_n "checking for _isinfl declaration... " >&6; }
38932  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38933    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38934  $as_echo_n "(cached) " >&6
38935else
38936
38937
38938      ac_ext=cpp
38939ac_cpp='$CXXCPP $CPPFLAGS'
38940ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38941ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38942ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38943
38944      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38945/* end confdefs.h.  */
38946#include <math.h>
38947		      #ifdef HAVE_IEEEFP_H
38948		      #include <ieeefp.h>
38949		      #endif
38950
38951int
38952main ()
38953{
38954 _isinfl(0);
38955  ;
38956  return 0;
38957}
38958_ACEOF
38959if ac_fn_cxx_try_compile "$LINENO"; then :
38960  glibcxx_cv_func__isinfl_use=yes
38961else
38962  glibcxx_cv_func__isinfl_use=no
38963fi
38964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38965      ac_ext=c
38966ac_cpp='$CPP $CPPFLAGS'
38967ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38968ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38969ac_compiler_gnu=$ac_cv_c_compiler_gnu
38970
38971
38972fi
38973
38974  fi
38975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38976$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38977
38978    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38979      for ac_func in _isinfl
38980do :
38981  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38982if test "x$ac_cv_func__isinfl" = x""yes; then :
38983  cat >>confdefs.h <<_ACEOF
38984#define HAVE__ISINFL 1
38985_ACEOF
38986
38987fi
38988done
38989
38990    fi
38991  fi
38992
38993
38994
38995
38996
38997  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
38998$as_echo_n "checking for atan2l declaration... " >&6; }
38999  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39000    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
39001  $as_echo_n "(cached) " >&6
39002else
39003
39004
39005      ac_ext=cpp
39006ac_cpp='$CXXCPP $CPPFLAGS'
39007ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39008ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39009ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39010
39011      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39012/* end confdefs.h.  */
39013#include <math.h>
39014int
39015main ()
39016{
39017 atan2l(0, 0);
39018  ;
39019  return 0;
39020}
39021_ACEOF
39022if ac_fn_cxx_try_compile "$LINENO"; then :
39023  glibcxx_cv_func_atan2l_use=yes
39024else
39025  glibcxx_cv_func_atan2l_use=no
39026fi
39027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39028      ac_ext=c
39029ac_cpp='$CPP $CPPFLAGS'
39030ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39031ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39032ac_compiler_gnu=$ac_cv_c_compiler_gnu
39033
39034
39035fi
39036
39037  fi
39038  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39039$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39040
39041  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39042    for ac_func in atan2l
39043do :
39044  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39045if test "x$ac_cv_func_atan2l" = x""yes; then :
39046  cat >>confdefs.h <<_ACEOF
39047#define HAVE_ATAN2L 1
39048_ACEOF
39049
39050fi
39051done
39052
39053  else
39054
39055  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39056$as_echo_n "checking for _atan2l declaration... " >&6; }
39057  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39058    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
39059  $as_echo_n "(cached) " >&6
39060else
39061
39062
39063      ac_ext=cpp
39064ac_cpp='$CXXCPP $CPPFLAGS'
39065ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39066ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39067ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39068
39069      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39070/* end confdefs.h.  */
39071#include <math.h>
39072int
39073main ()
39074{
39075 _atan2l(0, 0);
39076  ;
39077  return 0;
39078}
39079_ACEOF
39080if ac_fn_cxx_try_compile "$LINENO"; then :
39081  glibcxx_cv_func__atan2l_use=yes
39082else
39083  glibcxx_cv_func__atan2l_use=no
39084fi
39085rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39086      ac_ext=c
39087ac_cpp='$CPP $CPPFLAGS'
39088ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39089ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39090ac_compiler_gnu=$ac_cv_c_compiler_gnu
39091
39092
39093fi
39094
39095  fi
39096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39097$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39098
39099    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39100      for ac_func in _atan2l
39101do :
39102  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39103if test "x$ac_cv_func__atan2l" = x""yes; then :
39104  cat >>confdefs.h <<_ACEOF
39105#define HAVE__ATAN2L 1
39106_ACEOF
39107
39108fi
39109done
39110
39111    fi
39112  fi
39113
39114
39115
39116
39117
39118  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39119$as_echo_n "checking for expl declaration... " >&6; }
39120  if test x${glibcxx_cv_func_expl_use+set} != xset; then
39121    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
39122  $as_echo_n "(cached) " >&6
39123else
39124
39125
39126      ac_ext=cpp
39127ac_cpp='$CXXCPP $CPPFLAGS'
39128ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39129ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39130ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39131
39132      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39133/* end confdefs.h.  */
39134#include <math.h>
39135		      #ifdef HAVE_IEEEFP_H
39136		      #include <ieeefp.h>
39137		      #endif
39138
39139int
39140main ()
39141{
39142 expl(0);
39143  ;
39144  return 0;
39145}
39146_ACEOF
39147if ac_fn_cxx_try_compile "$LINENO"; then :
39148  glibcxx_cv_func_expl_use=yes
39149else
39150  glibcxx_cv_func_expl_use=no
39151fi
39152rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39153      ac_ext=c
39154ac_cpp='$CPP $CPPFLAGS'
39155ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39156ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39157ac_compiler_gnu=$ac_cv_c_compiler_gnu
39158
39159
39160fi
39161
39162  fi
39163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39164$as_echo "$glibcxx_cv_func_expl_use" >&6; }
39165
39166  if test x$glibcxx_cv_func_expl_use = x"yes"; then
39167    for ac_func in expl
39168do :
39169  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39170if test "x$ac_cv_func_expl" = x""yes; then :
39171  cat >>confdefs.h <<_ACEOF
39172#define HAVE_EXPL 1
39173_ACEOF
39174
39175fi
39176done
39177
39178  else
39179
39180  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39181$as_echo_n "checking for _expl declaration... " >&6; }
39182  if test x${glibcxx_cv_func__expl_use+set} != xset; then
39183    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39184  $as_echo_n "(cached) " >&6
39185else
39186
39187
39188      ac_ext=cpp
39189ac_cpp='$CXXCPP $CPPFLAGS'
39190ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39191ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39192ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39193
39194      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39195/* end confdefs.h.  */
39196#include <math.h>
39197		      #ifdef HAVE_IEEEFP_H
39198		      #include <ieeefp.h>
39199		      #endif
39200
39201int
39202main ()
39203{
39204 _expl(0);
39205  ;
39206  return 0;
39207}
39208_ACEOF
39209if ac_fn_cxx_try_compile "$LINENO"; then :
39210  glibcxx_cv_func__expl_use=yes
39211else
39212  glibcxx_cv_func__expl_use=no
39213fi
39214rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39215      ac_ext=c
39216ac_cpp='$CPP $CPPFLAGS'
39217ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39218ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39219ac_compiler_gnu=$ac_cv_c_compiler_gnu
39220
39221
39222fi
39223
39224  fi
39225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39226$as_echo "$glibcxx_cv_func__expl_use" >&6; }
39227
39228    if test x$glibcxx_cv_func__expl_use = x"yes"; then
39229      for ac_func in _expl
39230do :
39231  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39232if test "x$ac_cv_func__expl" = x""yes; then :
39233  cat >>confdefs.h <<_ACEOF
39234#define HAVE__EXPL 1
39235_ACEOF
39236
39237fi
39238done
39239
39240    fi
39241  fi
39242
39243
39244
39245
39246
39247  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39248$as_echo_n "checking for fabsl declaration... " >&6; }
39249  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39250    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39251  $as_echo_n "(cached) " >&6
39252else
39253
39254
39255      ac_ext=cpp
39256ac_cpp='$CXXCPP $CPPFLAGS'
39257ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39258ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39259ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39260
39261      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39262/* end confdefs.h.  */
39263#include <math.h>
39264		      #ifdef HAVE_IEEEFP_H
39265		      #include <ieeefp.h>
39266		      #endif
39267
39268int
39269main ()
39270{
39271 fabsl(0);
39272  ;
39273  return 0;
39274}
39275_ACEOF
39276if ac_fn_cxx_try_compile "$LINENO"; then :
39277  glibcxx_cv_func_fabsl_use=yes
39278else
39279  glibcxx_cv_func_fabsl_use=no
39280fi
39281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39282      ac_ext=c
39283ac_cpp='$CPP $CPPFLAGS'
39284ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39285ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39286ac_compiler_gnu=$ac_cv_c_compiler_gnu
39287
39288
39289fi
39290
39291  fi
39292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39293$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39294
39295  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39296    for ac_func in fabsl
39297do :
39298  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39299if test "x$ac_cv_func_fabsl" = x""yes; then :
39300  cat >>confdefs.h <<_ACEOF
39301#define HAVE_FABSL 1
39302_ACEOF
39303
39304fi
39305done
39306
39307  else
39308
39309  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39310$as_echo_n "checking for _fabsl declaration... " >&6; }
39311  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39312    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39313  $as_echo_n "(cached) " >&6
39314else
39315
39316
39317      ac_ext=cpp
39318ac_cpp='$CXXCPP $CPPFLAGS'
39319ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39320ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39321ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39322
39323      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39324/* end confdefs.h.  */
39325#include <math.h>
39326		      #ifdef HAVE_IEEEFP_H
39327		      #include <ieeefp.h>
39328		      #endif
39329
39330int
39331main ()
39332{
39333 _fabsl(0);
39334  ;
39335  return 0;
39336}
39337_ACEOF
39338if ac_fn_cxx_try_compile "$LINENO"; then :
39339  glibcxx_cv_func__fabsl_use=yes
39340else
39341  glibcxx_cv_func__fabsl_use=no
39342fi
39343rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39344      ac_ext=c
39345ac_cpp='$CPP $CPPFLAGS'
39346ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39347ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39348ac_compiler_gnu=$ac_cv_c_compiler_gnu
39349
39350
39351fi
39352
39353  fi
39354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39355$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39356
39357    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39358      for ac_func in _fabsl
39359do :
39360  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39361if test "x$ac_cv_func__fabsl" = x""yes; then :
39362  cat >>confdefs.h <<_ACEOF
39363#define HAVE__FABSL 1
39364_ACEOF
39365
39366fi
39367done
39368
39369    fi
39370  fi
39371
39372
39373
39374
39375
39376  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39377$as_echo_n "checking for fmodl declaration... " >&6; }
39378  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39379    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39380  $as_echo_n "(cached) " >&6
39381else
39382
39383
39384      ac_ext=cpp
39385ac_cpp='$CXXCPP $CPPFLAGS'
39386ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39387ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39388ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39389
39390      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39391/* end confdefs.h.  */
39392#include <math.h>
39393int
39394main ()
39395{
39396 fmodl(0, 0);
39397  ;
39398  return 0;
39399}
39400_ACEOF
39401if ac_fn_cxx_try_compile "$LINENO"; then :
39402  glibcxx_cv_func_fmodl_use=yes
39403else
39404  glibcxx_cv_func_fmodl_use=no
39405fi
39406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39407      ac_ext=c
39408ac_cpp='$CPP $CPPFLAGS'
39409ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39410ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39411ac_compiler_gnu=$ac_cv_c_compiler_gnu
39412
39413
39414fi
39415
39416  fi
39417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39418$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39419
39420  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39421    for ac_func in fmodl
39422do :
39423  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39424if test "x$ac_cv_func_fmodl" = x""yes; then :
39425  cat >>confdefs.h <<_ACEOF
39426#define HAVE_FMODL 1
39427_ACEOF
39428
39429fi
39430done
39431
39432  else
39433
39434  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39435$as_echo_n "checking for _fmodl declaration... " >&6; }
39436  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39437    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39438  $as_echo_n "(cached) " >&6
39439else
39440
39441
39442      ac_ext=cpp
39443ac_cpp='$CXXCPP $CPPFLAGS'
39444ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39445ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39446ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39447
39448      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39449/* end confdefs.h.  */
39450#include <math.h>
39451int
39452main ()
39453{
39454 _fmodl(0, 0);
39455  ;
39456  return 0;
39457}
39458_ACEOF
39459if ac_fn_cxx_try_compile "$LINENO"; then :
39460  glibcxx_cv_func__fmodl_use=yes
39461else
39462  glibcxx_cv_func__fmodl_use=no
39463fi
39464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39465      ac_ext=c
39466ac_cpp='$CPP $CPPFLAGS'
39467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39468ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39469ac_compiler_gnu=$ac_cv_c_compiler_gnu
39470
39471
39472fi
39473
39474  fi
39475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39476$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39477
39478    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39479      for ac_func in _fmodl
39480do :
39481  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39482if test "x$ac_cv_func__fmodl" = x""yes; then :
39483  cat >>confdefs.h <<_ACEOF
39484#define HAVE__FMODL 1
39485_ACEOF
39486
39487fi
39488done
39489
39490    fi
39491  fi
39492
39493
39494
39495
39496
39497  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39498$as_echo_n "checking for frexpl declaration... " >&6; }
39499  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39500    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39501  $as_echo_n "(cached) " >&6
39502else
39503
39504
39505      ac_ext=cpp
39506ac_cpp='$CXXCPP $CPPFLAGS'
39507ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39508ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39509ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39510
39511      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39512/* end confdefs.h.  */
39513#include <math.h>
39514int
39515main ()
39516{
39517 frexpl(0, 0);
39518  ;
39519  return 0;
39520}
39521_ACEOF
39522if ac_fn_cxx_try_compile "$LINENO"; then :
39523  glibcxx_cv_func_frexpl_use=yes
39524else
39525  glibcxx_cv_func_frexpl_use=no
39526fi
39527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39528      ac_ext=c
39529ac_cpp='$CPP $CPPFLAGS'
39530ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39531ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39532ac_compiler_gnu=$ac_cv_c_compiler_gnu
39533
39534
39535fi
39536
39537  fi
39538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39539$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39540
39541  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39542    for ac_func in frexpl
39543do :
39544  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39545if test "x$ac_cv_func_frexpl" = x""yes; then :
39546  cat >>confdefs.h <<_ACEOF
39547#define HAVE_FREXPL 1
39548_ACEOF
39549
39550fi
39551done
39552
39553  else
39554
39555  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39556$as_echo_n "checking for _frexpl declaration... " >&6; }
39557  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39558    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39559  $as_echo_n "(cached) " >&6
39560else
39561
39562
39563      ac_ext=cpp
39564ac_cpp='$CXXCPP $CPPFLAGS'
39565ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39566ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39567ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39568
39569      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39570/* end confdefs.h.  */
39571#include <math.h>
39572int
39573main ()
39574{
39575 _frexpl(0, 0);
39576  ;
39577  return 0;
39578}
39579_ACEOF
39580if ac_fn_cxx_try_compile "$LINENO"; then :
39581  glibcxx_cv_func__frexpl_use=yes
39582else
39583  glibcxx_cv_func__frexpl_use=no
39584fi
39585rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39586      ac_ext=c
39587ac_cpp='$CPP $CPPFLAGS'
39588ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39589ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39590ac_compiler_gnu=$ac_cv_c_compiler_gnu
39591
39592
39593fi
39594
39595  fi
39596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39597$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39598
39599    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39600      for ac_func in _frexpl
39601do :
39602  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39603if test "x$ac_cv_func__frexpl" = x""yes; then :
39604  cat >>confdefs.h <<_ACEOF
39605#define HAVE__FREXPL 1
39606_ACEOF
39607
39608fi
39609done
39610
39611    fi
39612  fi
39613
39614
39615
39616
39617
39618  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39619$as_echo_n "checking for hypotl declaration... " >&6; }
39620  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39621    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39622  $as_echo_n "(cached) " >&6
39623else
39624
39625
39626      ac_ext=cpp
39627ac_cpp='$CXXCPP $CPPFLAGS'
39628ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39629ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39630ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39631
39632      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39633/* end confdefs.h.  */
39634#include <math.h>
39635int
39636main ()
39637{
39638 hypotl(0, 0);
39639  ;
39640  return 0;
39641}
39642_ACEOF
39643if ac_fn_cxx_try_compile "$LINENO"; then :
39644  glibcxx_cv_func_hypotl_use=yes
39645else
39646  glibcxx_cv_func_hypotl_use=no
39647fi
39648rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39649      ac_ext=c
39650ac_cpp='$CPP $CPPFLAGS'
39651ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39652ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39653ac_compiler_gnu=$ac_cv_c_compiler_gnu
39654
39655
39656fi
39657
39658  fi
39659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39660$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39661
39662  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39663    for ac_func in hypotl
39664do :
39665  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39666if test "x$ac_cv_func_hypotl" = x""yes; then :
39667  cat >>confdefs.h <<_ACEOF
39668#define HAVE_HYPOTL 1
39669_ACEOF
39670
39671fi
39672done
39673
39674  else
39675
39676  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39677$as_echo_n "checking for _hypotl declaration... " >&6; }
39678  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39679    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39680  $as_echo_n "(cached) " >&6
39681else
39682
39683
39684      ac_ext=cpp
39685ac_cpp='$CXXCPP $CPPFLAGS'
39686ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39687ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39688ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39689
39690      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39691/* end confdefs.h.  */
39692#include <math.h>
39693int
39694main ()
39695{
39696 _hypotl(0, 0);
39697  ;
39698  return 0;
39699}
39700_ACEOF
39701if ac_fn_cxx_try_compile "$LINENO"; then :
39702  glibcxx_cv_func__hypotl_use=yes
39703else
39704  glibcxx_cv_func__hypotl_use=no
39705fi
39706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39707      ac_ext=c
39708ac_cpp='$CPP $CPPFLAGS'
39709ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39710ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39711ac_compiler_gnu=$ac_cv_c_compiler_gnu
39712
39713
39714fi
39715
39716  fi
39717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39718$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39719
39720    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39721      for ac_func in _hypotl
39722do :
39723  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39724if test "x$ac_cv_func__hypotl" = x""yes; then :
39725  cat >>confdefs.h <<_ACEOF
39726#define HAVE__HYPOTL 1
39727_ACEOF
39728
39729fi
39730done
39731
39732    fi
39733  fi
39734
39735
39736
39737
39738
39739  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39740$as_echo_n "checking for ldexpl declaration... " >&6; }
39741  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39742    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39743  $as_echo_n "(cached) " >&6
39744else
39745
39746
39747      ac_ext=cpp
39748ac_cpp='$CXXCPP $CPPFLAGS'
39749ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39750ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39751ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39752
39753      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39754/* end confdefs.h.  */
39755#include <math.h>
39756int
39757main ()
39758{
39759 ldexpl(0, 0);
39760  ;
39761  return 0;
39762}
39763_ACEOF
39764if ac_fn_cxx_try_compile "$LINENO"; then :
39765  glibcxx_cv_func_ldexpl_use=yes
39766else
39767  glibcxx_cv_func_ldexpl_use=no
39768fi
39769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39770      ac_ext=c
39771ac_cpp='$CPP $CPPFLAGS'
39772ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39773ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39774ac_compiler_gnu=$ac_cv_c_compiler_gnu
39775
39776
39777fi
39778
39779  fi
39780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39781$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39782
39783  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39784    for ac_func in ldexpl
39785do :
39786  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39787if test "x$ac_cv_func_ldexpl" = x""yes; then :
39788  cat >>confdefs.h <<_ACEOF
39789#define HAVE_LDEXPL 1
39790_ACEOF
39791
39792fi
39793done
39794
39795  else
39796
39797  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39798$as_echo_n "checking for _ldexpl declaration... " >&6; }
39799  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39800    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39801  $as_echo_n "(cached) " >&6
39802else
39803
39804
39805      ac_ext=cpp
39806ac_cpp='$CXXCPP $CPPFLAGS'
39807ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39808ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39809ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39810
39811      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39812/* end confdefs.h.  */
39813#include <math.h>
39814int
39815main ()
39816{
39817 _ldexpl(0, 0);
39818  ;
39819  return 0;
39820}
39821_ACEOF
39822if ac_fn_cxx_try_compile "$LINENO"; then :
39823  glibcxx_cv_func__ldexpl_use=yes
39824else
39825  glibcxx_cv_func__ldexpl_use=no
39826fi
39827rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39828      ac_ext=c
39829ac_cpp='$CPP $CPPFLAGS'
39830ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39831ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39832ac_compiler_gnu=$ac_cv_c_compiler_gnu
39833
39834
39835fi
39836
39837  fi
39838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39839$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39840
39841    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39842      for ac_func in _ldexpl
39843do :
39844  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39845if test "x$ac_cv_func__ldexpl" = x""yes; then :
39846  cat >>confdefs.h <<_ACEOF
39847#define HAVE__LDEXPL 1
39848_ACEOF
39849
39850fi
39851done
39852
39853    fi
39854  fi
39855
39856
39857
39858
39859
39860  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39861$as_echo_n "checking for logl declaration... " >&6; }
39862  if test x${glibcxx_cv_func_logl_use+set} != xset; then
39863    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39864  $as_echo_n "(cached) " >&6
39865else
39866
39867
39868      ac_ext=cpp
39869ac_cpp='$CXXCPP $CPPFLAGS'
39870ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39871ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39872ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39873
39874      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39875/* end confdefs.h.  */
39876#include <math.h>
39877		      #ifdef HAVE_IEEEFP_H
39878		      #include <ieeefp.h>
39879		      #endif
39880
39881int
39882main ()
39883{
39884 logl(0);
39885  ;
39886  return 0;
39887}
39888_ACEOF
39889if ac_fn_cxx_try_compile "$LINENO"; then :
39890  glibcxx_cv_func_logl_use=yes
39891else
39892  glibcxx_cv_func_logl_use=no
39893fi
39894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39895      ac_ext=c
39896ac_cpp='$CPP $CPPFLAGS'
39897ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39898ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39899ac_compiler_gnu=$ac_cv_c_compiler_gnu
39900
39901
39902fi
39903
39904  fi
39905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39906$as_echo "$glibcxx_cv_func_logl_use" >&6; }
39907
39908  if test x$glibcxx_cv_func_logl_use = x"yes"; then
39909    for ac_func in logl
39910do :
39911  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39912if test "x$ac_cv_func_logl" = x""yes; then :
39913  cat >>confdefs.h <<_ACEOF
39914#define HAVE_LOGL 1
39915_ACEOF
39916
39917fi
39918done
39919
39920  else
39921
39922  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39923$as_echo_n "checking for _logl declaration... " >&6; }
39924  if test x${glibcxx_cv_func__logl_use+set} != xset; then
39925    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39926  $as_echo_n "(cached) " >&6
39927else
39928
39929
39930      ac_ext=cpp
39931ac_cpp='$CXXCPP $CPPFLAGS'
39932ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39933ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39934ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39935
39936      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39937/* end confdefs.h.  */
39938#include <math.h>
39939		      #ifdef HAVE_IEEEFP_H
39940		      #include <ieeefp.h>
39941		      #endif
39942
39943int
39944main ()
39945{
39946 _logl(0);
39947  ;
39948  return 0;
39949}
39950_ACEOF
39951if ac_fn_cxx_try_compile "$LINENO"; then :
39952  glibcxx_cv_func__logl_use=yes
39953else
39954  glibcxx_cv_func__logl_use=no
39955fi
39956rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39957      ac_ext=c
39958ac_cpp='$CPP $CPPFLAGS'
39959ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39960ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39961ac_compiler_gnu=$ac_cv_c_compiler_gnu
39962
39963
39964fi
39965
39966  fi
39967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39968$as_echo "$glibcxx_cv_func__logl_use" >&6; }
39969
39970    if test x$glibcxx_cv_func__logl_use = x"yes"; then
39971      for ac_func in _logl
39972do :
39973  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39974if test "x$ac_cv_func__logl" = x""yes; then :
39975  cat >>confdefs.h <<_ACEOF
39976#define HAVE__LOGL 1
39977_ACEOF
39978
39979fi
39980done
39981
39982    fi
39983  fi
39984
39985
39986
39987
39988
39989  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39990$as_echo_n "checking for log10l declaration... " >&6; }
39991  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39992    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39993  $as_echo_n "(cached) " >&6
39994else
39995
39996
39997      ac_ext=cpp
39998ac_cpp='$CXXCPP $CPPFLAGS'
39999ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40000ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40001ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40002
40003      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40004/* end confdefs.h.  */
40005#include <math.h>
40006		      #ifdef HAVE_IEEEFP_H
40007		      #include <ieeefp.h>
40008		      #endif
40009
40010int
40011main ()
40012{
40013 log10l(0);
40014  ;
40015  return 0;
40016}
40017_ACEOF
40018if ac_fn_cxx_try_compile "$LINENO"; then :
40019  glibcxx_cv_func_log10l_use=yes
40020else
40021  glibcxx_cv_func_log10l_use=no
40022fi
40023rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40024      ac_ext=c
40025ac_cpp='$CPP $CPPFLAGS'
40026ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40027ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40028ac_compiler_gnu=$ac_cv_c_compiler_gnu
40029
40030
40031fi
40032
40033  fi
40034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40035$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40036
40037  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40038    for ac_func in log10l
40039do :
40040  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40041if test "x$ac_cv_func_log10l" = x""yes; then :
40042  cat >>confdefs.h <<_ACEOF
40043#define HAVE_LOG10L 1
40044_ACEOF
40045
40046fi
40047done
40048
40049  else
40050
40051  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40052$as_echo_n "checking for _log10l declaration... " >&6; }
40053  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40054    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
40055  $as_echo_n "(cached) " >&6
40056else
40057
40058
40059      ac_ext=cpp
40060ac_cpp='$CXXCPP $CPPFLAGS'
40061ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40062ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40063ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40064
40065      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40066/* end confdefs.h.  */
40067#include <math.h>
40068		      #ifdef HAVE_IEEEFP_H
40069		      #include <ieeefp.h>
40070		      #endif
40071
40072int
40073main ()
40074{
40075 _log10l(0);
40076  ;
40077  return 0;
40078}
40079_ACEOF
40080if ac_fn_cxx_try_compile "$LINENO"; then :
40081  glibcxx_cv_func__log10l_use=yes
40082else
40083  glibcxx_cv_func__log10l_use=no
40084fi
40085rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40086      ac_ext=c
40087ac_cpp='$CPP $CPPFLAGS'
40088ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40089ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40090ac_compiler_gnu=$ac_cv_c_compiler_gnu
40091
40092
40093fi
40094
40095  fi
40096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40097$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40098
40099    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40100      for ac_func in _log10l
40101do :
40102  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40103if test "x$ac_cv_func__log10l" = x""yes; then :
40104  cat >>confdefs.h <<_ACEOF
40105#define HAVE__LOG10L 1
40106_ACEOF
40107
40108fi
40109done
40110
40111    fi
40112  fi
40113
40114
40115
40116
40117
40118  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40119$as_echo_n "checking for modfl declaration... " >&6; }
40120  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40121    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
40122  $as_echo_n "(cached) " >&6
40123else
40124
40125
40126      ac_ext=cpp
40127ac_cpp='$CXXCPP $CPPFLAGS'
40128ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40129ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40130ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40131
40132      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40133/* end confdefs.h.  */
40134#include <math.h>
40135int
40136main ()
40137{
40138 modfl(0, 0);
40139  ;
40140  return 0;
40141}
40142_ACEOF
40143if ac_fn_cxx_try_compile "$LINENO"; then :
40144  glibcxx_cv_func_modfl_use=yes
40145else
40146  glibcxx_cv_func_modfl_use=no
40147fi
40148rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40149      ac_ext=c
40150ac_cpp='$CPP $CPPFLAGS'
40151ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40152ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40153ac_compiler_gnu=$ac_cv_c_compiler_gnu
40154
40155
40156fi
40157
40158  fi
40159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40160$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40161
40162  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40163    for ac_func in modfl
40164do :
40165  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40166if test "x$ac_cv_func_modfl" = x""yes; then :
40167  cat >>confdefs.h <<_ACEOF
40168#define HAVE_MODFL 1
40169_ACEOF
40170
40171fi
40172done
40173
40174  else
40175
40176  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40177$as_echo_n "checking for _modfl declaration... " >&6; }
40178  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40179    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40180  $as_echo_n "(cached) " >&6
40181else
40182
40183
40184      ac_ext=cpp
40185ac_cpp='$CXXCPP $CPPFLAGS'
40186ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40187ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40188ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40189
40190      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40191/* end confdefs.h.  */
40192#include <math.h>
40193int
40194main ()
40195{
40196 _modfl(0, 0);
40197  ;
40198  return 0;
40199}
40200_ACEOF
40201if ac_fn_cxx_try_compile "$LINENO"; then :
40202  glibcxx_cv_func__modfl_use=yes
40203else
40204  glibcxx_cv_func__modfl_use=no
40205fi
40206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40207      ac_ext=c
40208ac_cpp='$CPP $CPPFLAGS'
40209ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40210ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40211ac_compiler_gnu=$ac_cv_c_compiler_gnu
40212
40213
40214fi
40215
40216  fi
40217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40218$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40219
40220    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40221      for ac_func in _modfl
40222do :
40223  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40224if test "x$ac_cv_func__modfl" = x""yes; then :
40225  cat >>confdefs.h <<_ACEOF
40226#define HAVE__MODFL 1
40227_ACEOF
40228
40229fi
40230done
40231
40232    fi
40233  fi
40234
40235
40236
40237
40238
40239  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40240$as_echo_n "checking for powl declaration... " >&6; }
40241  if test x${glibcxx_cv_func_powl_use+set} != xset; then
40242    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40243  $as_echo_n "(cached) " >&6
40244else
40245
40246
40247      ac_ext=cpp
40248ac_cpp='$CXXCPP $CPPFLAGS'
40249ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40250ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40251ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40252
40253      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40254/* end confdefs.h.  */
40255#include <math.h>
40256int
40257main ()
40258{
40259 powl(0, 0);
40260  ;
40261  return 0;
40262}
40263_ACEOF
40264if ac_fn_cxx_try_compile "$LINENO"; then :
40265  glibcxx_cv_func_powl_use=yes
40266else
40267  glibcxx_cv_func_powl_use=no
40268fi
40269rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40270      ac_ext=c
40271ac_cpp='$CPP $CPPFLAGS'
40272ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40273ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40274ac_compiler_gnu=$ac_cv_c_compiler_gnu
40275
40276
40277fi
40278
40279  fi
40280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40281$as_echo "$glibcxx_cv_func_powl_use" >&6; }
40282
40283  if test x$glibcxx_cv_func_powl_use = x"yes"; then
40284    for ac_func in powl
40285do :
40286  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40287if test "x$ac_cv_func_powl" = x""yes; then :
40288  cat >>confdefs.h <<_ACEOF
40289#define HAVE_POWL 1
40290_ACEOF
40291
40292fi
40293done
40294
40295  else
40296
40297  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40298$as_echo_n "checking for _powl declaration... " >&6; }
40299  if test x${glibcxx_cv_func__powl_use+set} != xset; then
40300    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40301  $as_echo_n "(cached) " >&6
40302else
40303
40304
40305      ac_ext=cpp
40306ac_cpp='$CXXCPP $CPPFLAGS'
40307ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40308ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40309ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40310
40311      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40312/* end confdefs.h.  */
40313#include <math.h>
40314int
40315main ()
40316{
40317 _powl(0, 0);
40318  ;
40319  return 0;
40320}
40321_ACEOF
40322if ac_fn_cxx_try_compile "$LINENO"; then :
40323  glibcxx_cv_func__powl_use=yes
40324else
40325  glibcxx_cv_func__powl_use=no
40326fi
40327rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40328      ac_ext=c
40329ac_cpp='$CPP $CPPFLAGS'
40330ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40331ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40332ac_compiler_gnu=$ac_cv_c_compiler_gnu
40333
40334
40335fi
40336
40337  fi
40338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40339$as_echo "$glibcxx_cv_func__powl_use" >&6; }
40340
40341    if test x$glibcxx_cv_func__powl_use = x"yes"; then
40342      for ac_func in _powl
40343do :
40344  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40345if test "x$ac_cv_func__powl" = x""yes; then :
40346  cat >>confdefs.h <<_ACEOF
40347#define HAVE__POWL 1
40348_ACEOF
40349
40350fi
40351done
40352
40353    fi
40354  fi
40355
40356
40357
40358
40359
40360  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40361$as_echo_n "checking for sqrtl declaration... " >&6; }
40362  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40363    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40364  $as_echo_n "(cached) " >&6
40365else
40366
40367
40368      ac_ext=cpp
40369ac_cpp='$CXXCPP $CPPFLAGS'
40370ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40371ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40372ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40373
40374      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40375/* end confdefs.h.  */
40376#include <math.h>
40377		      #ifdef HAVE_IEEEFP_H
40378		      #include <ieeefp.h>
40379		      #endif
40380
40381int
40382main ()
40383{
40384 sqrtl(0);
40385  ;
40386  return 0;
40387}
40388_ACEOF
40389if ac_fn_cxx_try_compile "$LINENO"; then :
40390  glibcxx_cv_func_sqrtl_use=yes
40391else
40392  glibcxx_cv_func_sqrtl_use=no
40393fi
40394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40395      ac_ext=c
40396ac_cpp='$CPP $CPPFLAGS'
40397ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40398ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40399ac_compiler_gnu=$ac_cv_c_compiler_gnu
40400
40401
40402fi
40403
40404  fi
40405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40406$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40407
40408  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40409    for ac_func in sqrtl
40410do :
40411  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40412if test "x$ac_cv_func_sqrtl" = x""yes; then :
40413  cat >>confdefs.h <<_ACEOF
40414#define HAVE_SQRTL 1
40415_ACEOF
40416
40417fi
40418done
40419
40420  else
40421
40422  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40423$as_echo_n "checking for _sqrtl declaration... " >&6; }
40424  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40425    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40426  $as_echo_n "(cached) " >&6
40427else
40428
40429
40430      ac_ext=cpp
40431ac_cpp='$CXXCPP $CPPFLAGS'
40432ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40433ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40434ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40435
40436      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40437/* end confdefs.h.  */
40438#include <math.h>
40439		      #ifdef HAVE_IEEEFP_H
40440		      #include <ieeefp.h>
40441		      #endif
40442
40443int
40444main ()
40445{
40446 _sqrtl(0);
40447  ;
40448  return 0;
40449}
40450_ACEOF
40451if ac_fn_cxx_try_compile "$LINENO"; then :
40452  glibcxx_cv_func__sqrtl_use=yes
40453else
40454  glibcxx_cv_func__sqrtl_use=no
40455fi
40456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40457      ac_ext=c
40458ac_cpp='$CPP $CPPFLAGS'
40459ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40460ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40461ac_compiler_gnu=$ac_cv_c_compiler_gnu
40462
40463
40464fi
40465
40466  fi
40467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40468$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40469
40470    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40471      for ac_func in _sqrtl
40472do :
40473  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40474if test "x$ac_cv_func__sqrtl" = x""yes; then :
40475  cat >>confdefs.h <<_ACEOF
40476#define HAVE__SQRTL 1
40477_ACEOF
40478
40479fi
40480done
40481
40482    fi
40483  fi
40484
40485
40486
40487
40488
40489  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40490$as_echo_n "checking for sincosl declaration... " >&6; }
40491  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40492    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40493  $as_echo_n "(cached) " >&6
40494else
40495
40496
40497      ac_ext=cpp
40498ac_cpp='$CXXCPP $CPPFLAGS'
40499ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40500ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40501ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40502
40503      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40504/* end confdefs.h.  */
40505#include <math.h>
40506int
40507main ()
40508{
40509 sincosl(0, 0, 0);
40510  ;
40511  return 0;
40512}
40513_ACEOF
40514if ac_fn_cxx_try_compile "$LINENO"; then :
40515  glibcxx_cv_func_sincosl_use=yes
40516else
40517  glibcxx_cv_func_sincosl_use=no
40518fi
40519rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40520      ac_ext=c
40521ac_cpp='$CPP $CPPFLAGS'
40522ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40523ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40524ac_compiler_gnu=$ac_cv_c_compiler_gnu
40525
40526
40527fi
40528
40529  fi
40530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40531$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40532
40533  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40534    for ac_func in sincosl
40535do :
40536  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40537if test "x$ac_cv_func_sincosl" = x""yes; then :
40538  cat >>confdefs.h <<_ACEOF
40539#define HAVE_SINCOSL 1
40540_ACEOF
40541
40542fi
40543done
40544
40545  else
40546
40547  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40548$as_echo_n "checking for _sincosl declaration... " >&6; }
40549  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40550    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40551  $as_echo_n "(cached) " >&6
40552else
40553
40554
40555      ac_ext=cpp
40556ac_cpp='$CXXCPP $CPPFLAGS'
40557ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40558ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40559ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40560
40561      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40562/* end confdefs.h.  */
40563#include <math.h>
40564int
40565main ()
40566{
40567 _sincosl(0, 0, 0);
40568  ;
40569  return 0;
40570}
40571_ACEOF
40572if ac_fn_cxx_try_compile "$LINENO"; then :
40573  glibcxx_cv_func__sincosl_use=yes
40574else
40575  glibcxx_cv_func__sincosl_use=no
40576fi
40577rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40578      ac_ext=c
40579ac_cpp='$CPP $CPPFLAGS'
40580ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40581ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40582ac_compiler_gnu=$ac_cv_c_compiler_gnu
40583
40584
40585fi
40586
40587  fi
40588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40589$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40590
40591    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40592      for ac_func in _sincosl
40593do :
40594  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40595if test "x$ac_cv_func__sincosl" = x""yes; then :
40596  cat >>confdefs.h <<_ACEOF
40597#define HAVE__SINCOSL 1
40598_ACEOF
40599
40600fi
40601done
40602
40603    fi
40604  fi
40605
40606
40607
40608
40609
40610  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40611$as_echo_n "checking for finitel declaration... " >&6; }
40612  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40613    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40614  $as_echo_n "(cached) " >&6
40615else
40616
40617
40618      ac_ext=cpp
40619ac_cpp='$CXXCPP $CPPFLAGS'
40620ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40621ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40622ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40623
40624      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40625/* end confdefs.h.  */
40626#include <math.h>
40627		      #ifdef HAVE_IEEEFP_H
40628		      #include <ieeefp.h>
40629		      #endif
40630
40631int
40632main ()
40633{
40634 finitel(0);
40635  ;
40636  return 0;
40637}
40638_ACEOF
40639if ac_fn_cxx_try_compile "$LINENO"; then :
40640  glibcxx_cv_func_finitel_use=yes
40641else
40642  glibcxx_cv_func_finitel_use=no
40643fi
40644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40645      ac_ext=c
40646ac_cpp='$CPP $CPPFLAGS'
40647ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40648ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40649ac_compiler_gnu=$ac_cv_c_compiler_gnu
40650
40651
40652fi
40653
40654  fi
40655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40656$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40657
40658  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40659    for ac_func in finitel
40660do :
40661  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40662if test "x$ac_cv_func_finitel" = x""yes; then :
40663  cat >>confdefs.h <<_ACEOF
40664#define HAVE_FINITEL 1
40665_ACEOF
40666
40667fi
40668done
40669
40670  else
40671
40672  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40673$as_echo_n "checking for _finitel declaration... " >&6; }
40674  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40675    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40676  $as_echo_n "(cached) " >&6
40677else
40678
40679
40680      ac_ext=cpp
40681ac_cpp='$CXXCPP $CPPFLAGS'
40682ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40683ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40684ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40685
40686      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40687/* end confdefs.h.  */
40688#include <math.h>
40689		      #ifdef HAVE_IEEEFP_H
40690		      #include <ieeefp.h>
40691		      #endif
40692
40693int
40694main ()
40695{
40696 _finitel(0);
40697  ;
40698  return 0;
40699}
40700_ACEOF
40701if ac_fn_cxx_try_compile "$LINENO"; then :
40702  glibcxx_cv_func__finitel_use=yes
40703else
40704  glibcxx_cv_func__finitel_use=no
40705fi
40706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40707      ac_ext=c
40708ac_cpp='$CPP $CPPFLAGS'
40709ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40710ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40711ac_compiler_gnu=$ac_cv_c_compiler_gnu
40712
40713
40714fi
40715
40716  fi
40717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40718$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40719
40720    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40721      for ac_func in _finitel
40722do :
40723  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40724if test "x$ac_cv_func__finitel" = x""yes; then :
40725  cat >>confdefs.h <<_ACEOF
40726#define HAVE__FINITEL 1
40727_ACEOF
40728
40729fi
40730done
40731
40732    fi
40733  fi
40734
40735
40736
40737
40738  LIBS="$ac_save_LIBS"
40739  CXXFLAGS="$ac_save_CXXFLAGS"
40740
40741
40742  ac_test_CXXFLAGS="${CXXFLAGS+set}"
40743  ac_save_CXXFLAGS="$CXXFLAGS"
40744  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40745
40746
40747  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40748$as_echo_n "checking for at_quick_exit declaration... " >&6; }
40749  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40750    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40751  $as_echo_n "(cached) " >&6
40752else
40753
40754
40755      ac_ext=cpp
40756ac_cpp='$CXXCPP $CPPFLAGS'
40757ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40758ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40759ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40760
40761      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40762/* end confdefs.h.  */
40763#include <stdlib.h>
40764int
40765main ()
40766{
40767 at_quick_exit(0);
40768  ;
40769  return 0;
40770}
40771_ACEOF
40772if ac_fn_cxx_try_compile "$LINENO"; then :
40773  glibcxx_cv_func_at_quick_exit_use=yes
40774else
40775  glibcxx_cv_func_at_quick_exit_use=no
40776fi
40777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40778      ac_ext=c
40779ac_cpp='$CPP $CPPFLAGS'
40780ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40781ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40782ac_compiler_gnu=$ac_cv_c_compiler_gnu
40783
40784
40785fi
40786
40787  fi
40788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40789$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40790  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40791    for ac_func in at_quick_exit
40792do :
40793  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40794if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40795  cat >>confdefs.h <<_ACEOF
40796#define HAVE_AT_QUICK_EXIT 1
40797_ACEOF
40798
40799fi
40800done
40801
40802  fi
40803
40804
40805  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40806$as_echo_n "checking for quick_exit declaration... " >&6; }
40807  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40808    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40809  $as_echo_n "(cached) " >&6
40810else
40811
40812
40813      ac_ext=cpp
40814ac_cpp='$CXXCPP $CPPFLAGS'
40815ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40816ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40817ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40818
40819      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40820/* end confdefs.h.  */
40821#include <stdlib.h>
40822int
40823main ()
40824{
40825 quick_exit(0);
40826  ;
40827  return 0;
40828}
40829_ACEOF
40830if ac_fn_cxx_try_compile "$LINENO"; then :
40831  glibcxx_cv_func_quick_exit_use=yes
40832else
40833  glibcxx_cv_func_quick_exit_use=no
40834fi
40835rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40836      ac_ext=c
40837ac_cpp='$CPP $CPPFLAGS'
40838ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40839ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40840ac_compiler_gnu=$ac_cv_c_compiler_gnu
40841
40842
40843fi
40844
40845  fi
40846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40847$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40848  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40849    for ac_func in quick_exit
40850do :
40851  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40852if test "x$ac_cv_func_quick_exit" = x""yes; then :
40853  cat >>confdefs.h <<_ACEOF
40854#define HAVE_QUICK_EXIT 1
40855_ACEOF
40856
40857fi
40858done
40859
40860  fi
40861
40862
40863  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40864$as_echo_n "checking for strtold declaration... " >&6; }
40865  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40866    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40867  $as_echo_n "(cached) " >&6
40868else
40869
40870
40871      ac_ext=cpp
40872ac_cpp='$CXXCPP $CPPFLAGS'
40873ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40874ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40875ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40876
40877      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40878/* end confdefs.h.  */
40879#include <stdlib.h>
40880int
40881main ()
40882{
40883 strtold(0, 0);
40884  ;
40885  return 0;
40886}
40887_ACEOF
40888if ac_fn_cxx_try_compile "$LINENO"; then :
40889  glibcxx_cv_func_strtold_use=yes
40890else
40891  glibcxx_cv_func_strtold_use=no
40892fi
40893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40894      ac_ext=c
40895ac_cpp='$CPP $CPPFLAGS'
40896ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40897ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40898ac_compiler_gnu=$ac_cv_c_compiler_gnu
40899
40900
40901fi
40902
40903  fi
40904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40905$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40906  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40907    for ac_func in strtold
40908do :
40909  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40910if test "x$ac_cv_func_strtold" = x""yes; then :
40911  cat >>confdefs.h <<_ACEOF
40912#define HAVE_STRTOLD 1
40913_ACEOF
40914
40915fi
40916done
40917
40918  fi
40919
40920
40921
40922
40923  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40924$as_echo_n "checking for strtof declaration... " >&6; }
40925  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40926    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40927  $as_echo_n "(cached) " >&6
40928else
40929
40930
40931      ac_ext=cpp
40932ac_cpp='$CXXCPP $CPPFLAGS'
40933ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40934ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40935ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40936
40937      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40938/* end confdefs.h.  */
40939#include <stdlib.h>
40940int
40941main ()
40942{
40943 strtof(0, 0);
40944  ;
40945  return 0;
40946}
40947_ACEOF
40948if ac_fn_cxx_try_compile "$LINENO"; then :
40949  glibcxx_cv_func_strtof_use=yes
40950else
40951  glibcxx_cv_func_strtof_use=no
40952fi
40953rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40954      ac_ext=c
40955ac_cpp='$CPP $CPPFLAGS'
40956ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40957ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40958ac_compiler_gnu=$ac_cv_c_compiler_gnu
40959
40960
40961fi
40962
40963  fi
40964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40965$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40966  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40967    for ac_func in strtof
40968do :
40969  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40970if test "x$ac_cv_func_strtof" = x""yes; then :
40971  cat >>confdefs.h <<_ACEOF
40972#define HAVE_STRTOF 1
40973_ACEOF
40974
40975fi
40976done
40977
40978  fi
40979
40980
40981
40982
40983  CXXFLAGS="$ac_save_CXXFLAGS"
40984
40985
40986
40987
40988
40989
40990  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40991$as_echo_n "checking for iconv... " >&6; }
40992if test "${am_cv_func_iconv+set}" = set; then :
40993  $as_echo_n "(cached) " >&6
40994else
40995
40996    am_cv_func_iconv="no, consider installing GNU libiconv"
40997    am_cv_lib_iconv=no
40998                    am_save_CPPFLAGS="$CPPFLAGS"
40999    CPPFLAGS="$CPPFLAGS $INCICONV"
41000    if test x$gcc_no_link = xyes; then
41001  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41002fi
41003cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41004/* end confdefs.h.  */
41005#include <stdlib.h>
41006#include <iconv.h>
41007int
41008main ()
41009{
41010iconv_t cd = iconv_open("","");
41011       iconv(cd,NULL,NULL,NULL,NULL);
41012       iconv_close(cd);
41013  ;
41014  return 0;
41015}
41016_ACEOF
41017if ac_fn_c_try_link "$LINENO"; then :
41018  am_cv_func_iconv=yes
41019fi
41020rm -f core conftest.err conftest.$ac_objext \
41021    conftest$ac_exeext conftest.$ac_ext
41022    CPPFLAGS="$am_save_CPPFLAGS"
41023
41024    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41025      for _libs in .libs _libs; do
41026        am_save_CPPFLAGS="$CPPFLAGS"
41027        am_save_LIBS="$LIBS"
41028        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41029        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41030        if test x$gcc_no_link = xyes; then
41031  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41032fi
41033cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41034/* end confdefs.h.  */
41035#include <stdlib.h>
41036#include <iconv.h>
41037int
41038main ()
41039{
41040iconv_t cd = iconv_open("","");
41041           iconv(cd,NULL,NULL,NULL,NULL);
41042           iconv_close(cd);
41043  ;
41044  return 0;
41045}
41046_ACEOF
41047if ac_fn_c_try_link "$LINENO"; then :
41048  INCICONV="-I../libiconv/include"
41049          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41050          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41051          am_cv_lib_iconv=yes
41052          am_cv_func_iconv=yes
41053fi
41054rm -f core conftest.err conftest.$ac_objext \
41055    conftest$ac_exeext conftest.$ac_ext
41056        CPPFLAGS="$am_save_CPPFLAGS"
41057        LIBS="$am_save_LIBS"
41058        if test "$am_cv_func_iconv" = "yes"; then
41059          break
41060        fi
41061      done
41062    fi
41063
41064    if test "$am_cv_func_iconv" != yes; then
41065      am_save_CPPFLAGS="$CPPFLAGS"
41066      am_save_LIBS="$LIBS"
41067      CPPFLAGS="$LIBS $INCICONV"
41068      LIBS="$LIBS $LIBICONV"
41069      if test x$gcc_no_link = xyes; then
41070  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41071fi
41072cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41073/* end confdefs.h.  */
41074#include <stdlib.h>
41075#include <iconv.h>
41076int
41077main ()
41078{
41079iconv_t cd = iconv_open("","");
41080         iconv(cd,NULL,NULL,NULL,NULL);
41081         iconv_close(cd);
41082  ;
41083  return 0;
41084}
41085_ACEOF
41086if ac_fn_c_try_link "$LINENO"; then :
41087  am_cv_lib_iconv=yes
41088        am_cv_func_iconv=yes
41089fi
41090rm -f core conftest.err conftest.$ac_objext \
41091    conftest$ac_exeext conftest.$ac_ext
41092      CPPFLAGS="$am_save_CPPFLAGS"
41093      LIBS="$am_save_LIBS"
41094    fi
41095
41096fi
41097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41098$as_echo "$am_cv_func_iconv" >&6; }
41099  if test "$am_cv_func_iconv" = yes; then
41100
41101$as_echo "#define HAVE_ICONV 1" >>confdefs.h
41102
41103  fi
41104  if test "$am_cv_lib_iconv" = yes; then
41105
41106  for element in $INCICONV; do
41107    haveit=
41108    for x in $CPPFLAGS; do
41109
41110  acl_save_prefix="$prefix"
41111  prefix="$acl_final_prefix"
41112  acl_save_exec_prefix="$exec_prefix"
41113  exec_prefix="$acl_final_exec_prefix"
41114  eval x=\"$x\"
41115  exec_prefix="$acl_save_exec_prefix"
41116  prefix="$acl_save_prefix"
41117
41118      if test "X$x" = "X$element"; then
41119        haveit=yes
41120        break
41121      fi
41122    done
41123    if test -z "$haveit"; then
41124      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41125    fi
41126  done
41127
41128    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41129$as_echo_n "checking how to link with libiconv... " >&6; }
41130    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41131$as_echo "$LIBICONV" >&6; }
41132  else
41133    LIBICONV=
41134    LTLIBICONV=
41135  fi
41136
41137
41138
41139  if test "$am_cv_func_iconv" = yes; then
41140    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41141$as_echo_n "checking for iconv declaration... " >&6; }
41142    if test "${am_cv_proto_iconv+set}" = set; then :
41143  $as_echo_n "(cached) " >&6
41144else
41145
41146      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41147/* end confdefs.h.  */
41148
41149#include <stdlib.h>
41150#include <iconv.h>
41151extern
41152#ifdef __cplusplus
41153"C"
41154#endif
41155#if defined(__STDC__) || defined(__cplusplus)
41156size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41157#else
41158size_t iconv();
41159#endif
41160
41161int
41162main ()
41163{
41164
41165  ;
41166  return 0;
41167}
41168_ACEOF
41169if ac_fn_c_try_compile "$LINENO"; then :
41170  am_cv_proto_iconv_arg1=""
41171else
41172  am_cv_proto_iconv_arg1="const"
41173fi
41174rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41175      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);"
41176fi
41177
41178    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41179    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41180         }$am_cv_proto_iconv" >&5
41181$as_echo "${ac_t:-
41182         }$am_cv_proto_iconv" >&6; }
41183
41184cat >>confdefs.h <<_ACEOF
41185#define ICONV_CONST $am_cv_proto_iconv_arg1
41186_ACEOF
41187
41188  fi
41189
41190    ;;
41191
41192  *-aix*)
41193
41194  # If we're not using GNU ld, then there's no point in even trying these
41195  # tests.  Check for that first.  We should have already tested for gld
41196  # by now (in libtool), but require it now just to be safe...
41197  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41198  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41199
41200
41201
41202  # The name set by libtool depends on the version of libtool.  Shame on us
41203  # for depending on an impl detail, but c'est la vie.  Older versions used
41204  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41205  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41206  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
41207  # set (hence we're using an older libtool), then set it.
41208  if test x${with_gnu_ld+set} != xset; then
41209    if test x${ac_cv_prog_gnu_ld+set} != xset; then
41210      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
41211      with_gnu_ld=no
41212    else
41213      with_gnu_ld=$ac_cv_prog_gnu_ld
41214    fi
41215  fi
41216
41217  # Start by getting the version number.  I think the libtool test already
41218  # does some of this, but throws away the result.
41219  glibcxx_ld_is_gold=no
41220  if test x"$with_gnu_ld" = x"yes"; then
41221    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41222$as_echo_n "checking for ld version... " >&6; }
41223
41224    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41225      glibcxx_ld_is_gold=yes
41226    fi
41227    ldver=`$LD --version 2>/dev/null |
41228	   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'`
41229
41230    glibcxx_gnu_ld_version=`echo $ldver | \
41231	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41232    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41233$as_echo "$glibcxx_gnu_ld_version" >&6; }
41234  fi
41235
41236  # Set --gc-sections.
41237  glibcxx_have_gc_sections=no
41238  if test "$glibcxx_ld_is_gold" = "yes"; then
41239    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41240      glibcxx_have_gc_sections=yes
41241    fi
41242  else
41243    glibcxx_gcsections_min_ld=21602
41244    if test x"$with_gnu_ld" = x"yes" &&
41245	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41246      glibcxx_have_gc_sections=yes
41247    fi
41248  fi
41249  if test "$glibcxx_have_gc_sections" = "yes"; then
41250    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
41251    # NB: This flag only works reliably after 2.16.1. Configure tests
41252    # for this are difficult, so hard wire a value that should work.
41253
41254    ac_test_CFLAGS="${CFLAGS+set}"
41255    ac_save_CFLAGS="$CFLAGS"
41256    CFLAGS='-Wl,--gc-sections'
41257
41258    # Check for -Wl,--gc-sections
41259    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41260$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41261    if test x$gcc_no_link = xyes; then
41262  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41263fi
41264cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41265/* end confdefs.h.  */
41266 int one(void) { return 1; }
41267     int two(void) { return 2; }
41268
41269int
41270main ()
41271{
41272 two();
41273  ;
41274  return 0;
41275}
41276_ACEOF
41277if ac_fn_c_try_link "$LINENO"; then :
41278  ac_gcsections=yes
41279else
41280  ac_gcsections=no
41281fi
41282rm -f core conftest.err conftest.$ac_objext \
41283    conftest$ac_exeext conftest.$ac_ext
41284    if test "$ac_gcsections" = "yes"; then
41285      rm -f conftest.c
41286      touch conftest.c
41287      if $CC -c conftest.c; then
41288	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41289	   grep "Warning: gc-sections option ignored" > /dev/null; then
41290	  ac_gcsections=no
41291	fi
41292      fi
41293      rm -f conftest.c conftest.o conftest
41294    fi
41295    if test "$ac_gcsections" = "yes"; then
41296      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41297    fi
41298    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41299$as_echo "$ac_gcsections" >&6; }
41300
41301    if test "$ac_test_CFLAGS" = set; then
41302      CFLAGS="$ac_save_CFLAGS"
41303    else
41304      # this is the suspicious part
41305      CFLAGS=''
41306    fi
41307  fi
41308
41309  # Set -z,relro.
41310  # Note this is only for shared objects.
41311  ac_ld_relro=no
41312  if test x"$with_gnu_ld" = x"yes"; then
41313    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41314$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41315    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41316    if test -n "$cxx_z_relo"; then
41317      OPT_LDFLAGS="-Wl,-z,relro"
41318      ac_ld_relro=yes
41319    fi
41320    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41321$as_echo "$ac_ld_relro" >&6; }
41322  fi
41323
41324  # Set linker optimization flags.
41325  if test x"$with_gnu_ld" = x"yes"; then
41326    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41327  fi
41328
41329
41330
41331
41332
41333  ac_test_CXXFLAGS="${CXXFLAGS+set}"
41334  ac_save_CXXFLAGS="$CXXFLAGS"
41335  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41336
41337    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41338$as_echo_n "checking for sin in -lm... " >&6; }
41339if test "${ac_cv_lib_m_sin+set}" = set; then :
41340  $as_echo_n "(cached) " >&6
41341else
41342  ac_check_lib_save_LIBS=$LIBS
41343LIBS="-lm  $LIBS"
41344if test x$gcc_no_link = xyes; then
41345  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41346fi
41347cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41348/* end confdefs.h.  */
41349
41350/* Override any GCC internal prototype to avoid an error.
41351   Use char because int might match the return type of a GCC
41352   builtin and then its argument prototype would still apply.  */
41353#ifdef __cplusplus
41354extern "C"
41355#endif
41356char sin ();
41357int
41358main ()
41359{
41360return sin ();
41361  ;
41362  return 0;
41363}
41364_ACEOF
41365if ac_fn_c_try_link "$LINENO"; then :
41366  ac_cv_lib_m_sin=yes
41367else
41368  ac_cv_lib_m_sin=no
41369fi
41370rm -f core conftest.err conftest.$ac_objext \
41371    conftest$ac_exeext conftest.$ac_ext
41372LIBS=$ac_check_lib_save_LIBS
41373fi
41374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41375$as_echo "$ac_cv_lib_m_sin" >&6; }
41376if test "x$ac_cv_lib_m_sin" = x""yes; then :
41377  libm="-lm"
41378fi
41379
41380  ac_save_LIBS="$LIBS"
41381  LIBS="$LIBS $libm"
41382
41383
41384
41385  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41386$as_echo_n "checking for isinf declaration... " >&6; }
41387  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41388    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41389  $as_echo_n "(cached) " >&6
41390else
41391
41392
41393      ac_ext=cpp
41394ac_cpp='$CXXCPP $CPPFLAGS'
41395ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41396ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41397ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41398
41399      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41400/* end confdefs.h.  */
41401#include <math.h>
41402		      #ifdef HAVE_IEEEFP_H
41403		      #include <ieeefp.h>
41404		      #endif
41405
41406int
41407main ()
41408{
41409 isinf(0);
41410  ;
41411  return 0;
41412}
41413_ACEOF
41414if ac_fn_cxx_try_compile "$LINENO"; then :
41415  glibcxx_cv_func_isinf_use=yes
41416else
41417  glibcxx_cv_func_isinf_use=no
41418fi
41419rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41420      ac_ext=c
41421ac_cpp='$CPP $CPPFLAGS'
41422ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41423ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41424ac_compiler_gnu=$ac_cv_c_compiler_gnu
41425
41426
41427fi
41428
41429  fi
41430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41431$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41432
41433  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41434    for ac_func in isinf
41435do :
41436  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41437if test "x$ac_cv_func_isinf" = x""yes; then :
41438  cat >>confdefs.h <<_ACEOF
41439#define HAVE_ISINF 1
41440_ACEOF
41441
41442fi
41443done
41444
41445  else
41446
41447  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41448$as_echo_n "checking for _isinf declaration... " >&6; }
41449  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41450    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41451  $as_echo_n "(cached) " >&6
41452else
41453
41454
41455      ac_ext=cpp
41456ac_cpp='$CXXCPP $CPPFLAGS'
41457ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41458ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41459ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41460
41461      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41462/* end confdefs.h.  */
41463#include <math.h>
41464		      #ifdef HAVE_IEEEFP_H
41465		      #include <ieeefp.h>
41466		      #endif
41467
41468int
41469main ()
41470{
41471 _isinf(0);
41472  ;
41473  return 0;
41474}
41475_ACEOF
41476if ac_fn_cxx_try_compile "$LINENO"; then :
41477  glibcxx_cv_func__isinf_use=yes
41478else
41479  glibcxx_cv_func__isinf_use=no
41480fi
41481rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41482      ac_ext=c
41483ac_cpp='$CPP $CPPFLAGS'
41484ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41485ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41486ac_compiler_gnu=$ac_cv_c_compiler_gnu
41487
41488
41489fi
41490
41491  fi
41492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41493$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41494
41495    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41496      for ac_func in _isinf
41497do :
41498  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41499if test "x$ac_cv_func__isinf" = x""yes; then :
41500  cat >>confdefs.h <<_ACEOF
41501#define HAVE__ISINF 1
41502_ACEOF
41503
41504fi
41505done
41506
41507    fi
41508  fi
41509
41510
41511
41512
41513
41514  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41515$as_echo_n "checking for isnan declaration... " >&6; }
41516  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41517    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41518  $as_echo_n "(cached) " >&6
41519else
41520
41521
41522      ac_ext=cpp
41523ac_cpp='$CXXCPP $CPPFLAGS'
41524ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41525ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41526ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41527
41528      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41529/* end confdefs.h.  */
41530#include <math.h>
41531		      #ifdef HAVE_IEEEFP_H
41532		      #include <ieeefp.h>
41533		      #endif
41534
41535int
41536main ()
41537{
41538 isnan(0);
41539  ;
41540  return 0;
41541}
41542_ACEOF
41543if ac_fn_cxx_try_compile "$LINENO"; then :
41544  glibcxx_cv_func_isnan_use=yes
41545else
41546  glibcxx_cv_func_isnan_use=no
41547fi
41548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41549      ac_ext=c
41550ac_cpp='$CPP $CPPFLAGS'
41551ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41552ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41553ac_compiler_gnu=$ac_cv_c_compiler_gnu
41554
41555
41556fi
41557
41558  fi
41559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41560$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41561
41562  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41563    for ac_func in isnan
41564do :
41565  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41566if test "x$ac_cv_func_isnan" = x""yes; then :
41567  cat >>confdefs.h <<_ACEOF
41568#define HAVE_ISNAN 1
41569_ACEOF
41570
41571fi
41572done
41573
41574  else
41575
41576  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41577$as_echo_n "checking for _isnan declaration... " >&6; }
41578  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41579    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41580  $as_echo_n "(cached) " >&6
41581else
41582
41583
41584      ac_ext=cpp
41585ac_cpp='$CXXCPP $CPPFLAGS'
41586ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41587ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41588ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41589
41590      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41591/* end confdefs.h.  */
41592#include <math.h>
41593		      #ifdef HAVE_IEEEFP_H
41594		      #include <ieeefp.h>
41595		      #endif
41596
41597int
41598main ()
41599{
41600 _isnan(0);
41601  ;
41602  return 0;
41603}
41604_ACEOF
41605if ac_fn_cxx_try_compile "$LINENO"; then :
41606  glibcxx_cv_func__isnan_use=yes
41607else
41608  glibcxx_cv_func__isnan_use=no
41609fi
41610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41611      ac_ext=c
41612ac_cpp='$CPP $CPPFLAGS'
41613ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41614ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41615ac_compiler_gnu=$ac_cv_c_compiler_gnu
41616
41617
41618fi
41619
41620  fi
41621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41622$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41623
41624    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41625      for ac_func in _isnan
41626do :
41627  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41628if test "x$ac_cv_func__isnan" = x""yes; then :
41629  cat >>confdefs.h <<_ACEOF
41630#define HAVE__ISNAN 1
41631_ACEOF
41632
41633fi
41634done
41635
41636    fi
41637  fi
41638
41639
41640
41641
41642
41643  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41644$as_echo_n "checking for finite declaration... " >&6; }
41645  if test x${glibcxx_cv_func_finite_use+set} != xset; then
41646    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41647  $as_echo_n "(cached) " >&6
41648else
41649
41650
41651      ac_ext=cpp
41652ac_cpp='$CXXCPP $CPPFLAGS'
41653ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41654ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41655ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41656
41657      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41658/* end confdefs.h.  */
41659#include <math.h>
41660		      #ifdef HAVE_IEEEFP_H
41661		      #include <ieeefp.h>
41662		      #endif
41663
41664int
41665main ()
41666{
41667 finite(0);
41668  ;
41669  return 0;
41670}
41671_ACEOF
41672if ac_fn_cxx_try_compile "$LINENO"; then :
41673  glibcxx_cv_func_finite_use=yes
41674else
41675  glibcxx_cv_func_finite_use=no
41676fi
41677rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41678      ac_ext=c
41679ac_cpp='$CPP $CPPFLAGS'
41680ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41681ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41682ac_compiler_gnu=$ac_cv_c_compiler_gnu
41683
41684
41685fi
41686
41687  fi
41688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41689$as_echo "$glibcxx_cv_func_finite_use" >&6; }
41690
41691  if test x$glibcxx_cv_func_finite_use = x"yes"; then
41692    for ac_func in finite
41693do :
41694  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41695if test "x$ac_cv_func_finite" = x""yes; then :
41696  cat >>confdefs.h <<_ACEOF
41697#define HAVE_FINITE 1
41698_ACEOF
41699
41700fi
41701done
41702
41703  else
41704
41705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41706$as_echo_n "checking for _finite declaration... " >&6; }
41707  if test x${glibcxx_cv_func__finite_use+set} != xset; then
41708    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41709  $as_echo_n "(cached) " >&6
41710else
41711
41712
41713      ac_ext=cpp
41714ac_cpp='$CXXCPP $CPPFLAGS'
41715ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41716ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41717ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41718
41719      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41720/* end confdefs.h.  */
41721#include <math.h>
41722		      #ifdef HAVE_IEEEFP_H
41723		      #include <ieeefp.h>
41724		      #endif
41725
41726int
41727main ()
41728{
41729 _finite(0);
41730  ;
41731  return 0;
41732}
41733_ACEOF
41734if ac_fn_cxx_try_compile "$LINENO"; then :
41735  glibcxx_cv_func__finite_use=yes
41736else
41737  glibcxx_cv_func__finite_use=no
41738fi
41739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41740      ac_ext=c
41741ac_cpp='$CPP $CPPFLAGS'
41742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41744ac_compiler_gnu=$ac_cv_c_compiler_gnu
41745
41746
41747fi
41748
41749  fi
41750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41751$as_echo "$glibcxx_cv_func__finite_use" >&6; }
41752
41753    if test x$glibcxx_cv_func__finite_use = x"yes"; then
41754      for ac_func in _finite
41755do :
41756  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41757if test "x$ac_cv_func__finite" = x""yes; then :
41758  cat >>confdefs.h <<_ACEOF
41759#define HAVE__FINITE 1
41760_ACEOF
41761
41762fi
41763done
41764
41765    fi
41766  fi
41767
41768
41769
41770
41771
41772  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41773$as_echo_n "checking for sincos declaration... " >&6; }
41774  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41775    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41776  $as_echo_n "(cached) " >&6
41777else
41778
41779
41780      ac_ext=cpp
41781ac_cpp='$CXXCPP $CPPFLAGS'
41782ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41783ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41784ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41785
41786      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41787/* end confdefs.h.  */
41788#include <math.h>
41789int
41790main ()
41791{
41792 sincos(0, 0, 0);
41793  ;
41794  return 0;
41795}
41796_ACEOF
41797if ac_fn_cxx_try_compile "$LINENO"; then :
41798  glibcxx_cv_func_sincos_use=yes
41799else
41800  glibcxx_cv_func_sincos_use=no
41801fi
41802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41803      ac_ext=c
41804ac_cpp='$CPP $CPPFLAGS'
41805ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41806ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41807ac_compiler_gnu=$ac_cv_c_compiler_gnu
41808
41809
41810fi
41811
41812  fi
41813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41814$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41815
41816  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41817    for ac_func in sincos
41818do :
41819  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41820if test "x$ac_cv_func_sincos" = x""yes; then :
41821  cat >>confdefs.h <<_ACEOF
41822#define HAVE_SINCOS 1
41823_ACEOF
41824
41825fi
41826done
41827
41828  else
41829
41830  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41831$as_echo_n "checking for _sincos declaration... " >&6; }
41832  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41833    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41834  $as_echo_n "(cached) " >&6
41835else
41836
41837
41838      ac_ext=cpp
41839ac_cpp='$CXXCPP $CPPFLAGS'
41840ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41841ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41842ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41843
41844      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41845/* end confdefs.h.  */
41846#include <math.h>
41847int
41848main ()
41849{
41850 _sincos(0, 0, 0);
41851  ;
41852  return 0;
41853}
41854_ACEOF
41855if ac_fn_cxx_try_compile "$LINENO"; then :
41856  glibcxx_cv_func__sincos_use=yes
41857else
41858  glibcxx_cv_func__sincos_use=no
41859fi
41860rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41861      ac_ext=c
41862ac_cpp='$CPP $CPPFLAGS'
41863ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41864ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41865ac_compiler_gnu=$ac_cv_c_compiler_gnu
41866
41867
41868fi
41869
41870  fi
41871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41872$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41873
41874    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41875      for ac_func in _sincos
41876do :
41877  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41878if test "x$ac_cv_func__sincos" = x""yes; then :
41879  cat >>confdefs.h <<_ACEOF
41880#define HAVE__SINCOS 1
41881_ACEOF
41882
41883fi
41884done
41885
41886    fi
41887  fi
41888
41889
41890
41891
41892
41893  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41894$as_echo_n "checking for fpclass declaration... " >&6; }
41895  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41896    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41897  $as_echo_n "(cached) " >&6
41898else
41899
41900
41901      ac_ext=cpp
41902ac_cpp='$CXXCPP $CPPFLAGS'
41903ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41904ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41905ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41906
41907      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41908/* end confdefs.h.  */
41909#include <math.h>
41910		      #ifdef HAVE_IEEEFP_H
41911		      #include <ieeefp.h>
41912		      #endif
41913
41914int
41915main ()
41916{
41917 fpclass(0);
41918  ;
41919  return 0;
41920}
41921_ACEOF
41922if ac_fn_cxx_try_compile "$LINENO"; then :
41923  glibcxx_cv_func_fpclass_use=yes
41924else
41925  glibcxx_cv_func_fpclass_use=no
41926fi
41927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41928      ac_ext=c
41929ac_cpp='$CPP $CPPFLAGS'
41930ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41931ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41932ac_compiler_gnu=$ac_cv_c_compiler_gnu
41933
41934
41935fi
41936
41937  fi
41938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41939$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41940
41941  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41942    for ac_func in fpclass
41943do :
41944  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41945if test "x$ac_cv_func_fpclass" = x""yes; then :
41946  cat >>confdefs.h <<_ACEOF
41947#define HAVE_FPCLASS 1
41948_ACEOF
41949
41950fi
41951done
41952
41953  else
41954
41955  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41956$as_echo_n "checking for _fpclass declaration... " >&6; }
41957  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41958    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41959  $as_echo_n "(cached) " >&6
41960else
41961
41962
41963      ac_ext=cpp
41964ac_cpp='$CXXCPP $CPPFLAGS'
41965ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41966ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41967ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41968
41969      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41970/* end confdefs.h.  */
41971#include <math.h>
41972		      #ifdef HAVE_IEEEFP_H
41973		      #include <ieeefp.h>
41974		      #endif
41975
41976int
41977main ()
41978{
41979 _fpclass(0);
41980  ;
41981  return 0;
41982}
41983_ACEOF
41984if ac_fn_cxx_try_compile "$LINENO"; then :
41985  glibcxx_cv_func__fpclass_use=yes
41986else
41987  glibcxx_cv_func__fpclass_use=no
41988fi
41989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41990      ac_ext=c
41991ac_cpp='$CPP $CPPFLAGS'
41992ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41994ac_compiler_gnu=$ac_cv_c_compiler_gnu
41995
41996
41997fi
41998
41999  fi
42000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42001$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42002
42003    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42004      for ac_func in _fpclass
42005do :
42006  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42007if test "x$ac_cv_func__fpclass" = x""yes; then :
42008  cat >>confdefs.h <<_ACEOF
42009#define HAVE__FPCLASS 1
42010_ACEOF
42011
42012fi
42013done
42014
42015    fi
42016  fi
42017
42018
42019
42020
42021
42022  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42023$as_echo_n "checking for qfpclass declaration... " >&6; }
42024  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42025    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
42026  $as_echo_n "(cached) " >&6
42027else
42028
42029
42030      ac_ext=cpp
42031ac_cpp='$CXXCPP $CPPFLAGS'
42032ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42033ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42034ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42035
42036      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42037/* end confdefs.h.  */
42038#include <math.h>
42039		      #ifdef HAVE_IEEEFP_H
42040		      #include <ieeefp.h>
42041		      #endif
42042
42043int
42044main ()
42045{
42046 qfpclass(0);
42047  ;
42048  return 0;
42049}
42050_ACEOF
42051if ac_fn_cxx_try_compile "$LINENO"; then :
42052  glibcxx_cv_func_qfpclass_use=yes
42053else
42054  glibcxx_cv_func_qfpclass_use=no
42055fi
42056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42057      ac_ext=c
42058ac_cpp='$CPP $CPPFLAGS'
42059ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42060ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42061ac_compiler_gnu=$ac_cv_c_compiler_gnu
42062
42063
42064fi
42065
42066  fi
42067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42068$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42069
42070  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42071    for ac_func in qfpclass
42072do :
42073  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42074if test "x$ac_cv_func_qfpclass" = x""yes; then :
42075  cat >>confdefs.h <<_ACEOF
42076#define HAVE_QFPCLASS 1
42077_ACEOF
42078
42079fi
42080done
42081
42082  else
42083
42084  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42085$as_echo_n "checking for _qfpclass declaration... " >&6; }
42086  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42087    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
42088  $as_echo_n "(cached) " >&6
42089else
42090
42091
42092      ac_ext=cpp
42093ac_cpp='$CXXCPP $CPPFLAGS'
42094ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42095ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42096ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42097
42098      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42099/* end confdefs.h.  */
42100#include <math.h>
42101		      #ifdef HAVE_IEEEFP_H
42102		      #include <ieeefp.h>
42103		      #endif
42104
42105int
42106main ()
42107{
42108 _qfpclass(0);
42109  ;
42110  return 0;
42111}
42112_ACEOF
42113if ac_fn_cxx_try_compile "$LINENO"; then :
42114  glibcxx_cv_func__qfpclass_use=yes
42115else
42116  glibcxx_cv_func__qfpclass_use=no
42117fi
42118rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42119      ac_ext=c
42120ac_cpp='$CPP $CPPFLAGS'
42121ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42122ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42123ac_compiler_gnu=$ac_cv_c_compiler_gnu
42124
42125
42126fi
42127
42128  fi
42129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42130$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42131
42132    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42133      for ac_func in _qfpclass
42134do :
42135  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42136if test "x$ac_cv_func__qfpclass" = x""yes; then :
42137  cat >>confdefs.h <<_ACEOF
42138#define HAVE__QFPCLASS 1
42139_ACEOF
42140
42141fi
42142done
42143
42144    fi
42145  fi
42146
42147
42148
42149
42150
42151  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42152$as_echo_n "checking for hypot declaration... " >&6; }
42153  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42154    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
42155  $as_echo_n "(cached) " >&6
42156else
42157
42158
42159      ac_ext=cpp
42160ac_cpp='$CXXCPP $CPPFLAGS'
42161ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42162ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42163ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42164
42165      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42166/* end confdefs.h.  */
42167#include <math.h>
42168int
42169main ()
42170{
42171 hypot(0, 0);
42172  ;
42173  return 0;
42174}
42175_ACEOF
42176if ac_fn_cxx_try_compile "$LINENO"; then :
42177  glibcxx_cv_func_hypot_use=yes
42178else
42179  glibcxx_cv_func_hypot_use=no
42180fi
42181rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42182      ac_ext=c
42183ac_cpp='$CPP $CPPFLAGS'
42184ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42185ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42186ac_compiler_gnu=$ac_cv_c_compiler_gnu
42187
42188
42189fi
42190
42191  fi
42192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42193$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42194
42195  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42196    for ac_func in hypot
42197do :
42198  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42199if test "x$ac_cv_func_hypot" = x""yes; then :
42200  cat >>confdefs.h <<_ACEOF
42201#define HAVE_HYPOT 1
42202_ACEOF
42203
42204fi
42205done
42206
42207  else
42208
42209  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42210$as_echo_n "checking for _hypot declaration... " >&6; }
42211  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42212    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42213  $as_echo_n "(cached) " >&6
42214else
42215
42216
42217      ac_ext=cpp
42218ac_cpp='$CXXCPP $CPPFLAGS'
42219ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42220ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42221ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42222
42223      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42224/* end confdefs.h.  */
42225#include <math.h>
42226int
42227main ()
42228{
42229 _hypot(0, 0);
42230  ;
42231  return 0;
42232}
42233_ACEOF
42234if ac_fn_cxx_try_compile "$LINENO"; then :
42235  glibcxx_cv_func__hypot_use=yes
42236else
42237  glibcxx_cv_func__hypot_use=no
42238fi
42239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42240      ac_ext=c
42241ac_cpp='$CPP $CPPFLAGS'
42242ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42243ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42244ac_compiler_gnu=$ac_cv_c_compiler_gnu
42245
42246
42247fi
42248
42249  fi
42250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42251$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42252
42253    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42254      for ac_func in _hypot
42255do :
42256  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42257if test "x$ac_cv_func__hypot" = x""yes; then :
42258  cat >>confdefs.h <<_ACEOF
42259#define HAVE__HYPOT 1
42260_ACEOF
42261
42262fi
42263done
42264
42265    fi
42266  fi
42267
42268
42269
42270
42271
42272    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42273$as_echo_n "checking for float trig functions... " >&6; }
42274  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42275  $as_echo_n "(cached) " >&6
42276else
42277
42278
42279    ac_ext=cpp
42280ac_cpp='$CXXCPP $CPPFLAGS'
42281ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42282ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42283ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42284
42285    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42286/* end confdefs.h.  */
42287#include <math.h>
42288int
42289main ()
42290{
42291acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42292  ;
42293  return 0;
42294}
42295_ACEOF
42296if ac_fn_cxx_try_compile "$LINENO"; then :
42297  glibcxx_cv_func_float_trig_use=yes
42298else
42299  glibcxx_cv_func_float_trig_use=no
42300fi
42301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42302    ac_ext=c
42303ac_cpp='$CPP $CPPFLAGS'
42304ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42305ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42306ac_compiler_gnu=$ac_cv_c_compiler_gnu
42307
42308fi
42309
42310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42311$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42312  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42313    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42314do :
42315  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42316ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42317eval as_val=\$$as_ac_var
42318   if test "x$as_val" = x""yes; then :
42319  cat >>confdefs.h <<_ACEOF
42320#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42321_ACEOF
42322
42323fi
42324done
42325
42326  else
42327    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42328$as_echo_n "checking for _float trig functions... " >&6; }
42329    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42330  $as_echo_n "(cached) " >&6
42331else
42332
42333
42334      ac_ext=cpp
42335ac_cpp='$CXXCPP $CPPFLAGS'
42336ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42337ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42338ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42339
42340      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42341/* end confdefs.h.  */
42342#include <math.h>
42343int
42344main ()
42345{
42346_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42347  ;
42348  return 0;
42349}
42350_ACEOF
42351if ac_fn_cxx_try_compile "$LINENO"; then :
42352  glibcxx_cv_func__float_trig_use=yes
42353else
42354  glibcxx_cv_func__float_trig_use=no
42355fi
42356rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42357      ac_ext=c
42358ac_cpp='$CPP $CPPFLAGS'
42359ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42360ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42361ac_compiler_gnu=$ac_cv_c_compiler_gnu
42362
42363fi
42364
42365    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42366$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42367    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42368      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42369do :
42370  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42371ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42372eval as_val=\$$as_ac_var
42373   if test "x$as_val" = x""yes; then :
42374  cat >>confdefs.h <<_ACEOF
42375#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42376_ACEOF
42377
42378fi
42379done
42380
42381    fi
42382  fi
42383
42384
42385
42386
42387
42388    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42389$as_echo_n "checking for float round functions... " >&6; }
42390  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42391  $as_echo_n "(cached) " >&6
42392else
42393
42394
42395    ac_ext=cpp
42396ac_cpp='$CXXCPP $CPPFLAGS'
42397ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42398ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42399ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42400
42401    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42402/* end confdefs.h.  */
42403#include <math.h>
42404int
42405main ()
42406{
42407ceilf (0); floorf (0);
42408  ;
42409  return 0;
42410}
42411_ACEOF
42412if ac_fn_cxx_try_compile "$LINENO"; then :
42413  glibcxx_cv_func_float_round_use=yes
42414else
42415  glibcxx_cv_func_float_round_use=no
42416fi
42417rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42418    ac_ext=c
42419ac_cpp='$CPP $CPPFLAGS'
42420ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42421ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42422ac_compiler_gnu=$ac_cv_c_compiler_gnu
42423
42424fi
42425
42426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42427$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42428  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42429    for ac_func in ceilf floorf
42430do :
42431  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42432ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42433eval as_val=\$$as_ac_var
42434   if test "x$as_val" = x""yes; then :
42435  cat >>confdefs.h <<_ACEOF
42436#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42437_ACEOF
42438
42439fi
42440done
42441
42442  else
42443    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42444$as_echo_n "checking for _float round functions... " >&6; }
42445    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42446  $as_echo_n "(cached) " >&6
42447else
42448
42449
42450      ac_ext=cpp
42451ac_cpp='$CXXCPP $CPPFLAGS'
42452ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42453ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42454ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42455
42456      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42457/* end confdefs.h.  */
42458#include <math.h>
42459int
42460main ()
42461{
42462_ceilf (0); _floorf (0);
42463  ;
42464  return 0;
42465}
42466_ACEOF
42467if ac_fn_cxx_try_compile "$LINENO"; then :
42468  glibcxx_cv_func__float_round_use=yes
42469else
42470  glibcxx_cv_func__float_round_use=no
42471fi
42472rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42473      ac_ext=c
42474ac_cpp='$CPP $CPPFLAGS'
42475ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42476ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42477ac_compiler_gnu=$ac_cv_c_compiler_gnu
42478
42479fi
42480
42481    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42482$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42483    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42484      for ac_func in _ceilf _floorf
42485do :
42486  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42487ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42488eval as_val=\$$as_ac_var
42489   if test "x$as_val" = x""yes; then :
42490  cat >>confdefs.h <<_ACEOF
42491#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42492_ACEOF
42493
42494fi
42495done
42496
42497    fi
42498  fi
42499
42500
42501
42502
42503
42504
42505  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42506$as_echo_n "checking for expf declaration... " >&6; }
42507  if test x${glibcxx_cv_func_expf_use+set} != xset; then
42508    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42509  $as_echo_n "(cached) " >&6
42510else
42511
42512
42513      ac_ext=cpp
42514ac_cpp='$CXXCPP $CPPFLAGS'
42515ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42516ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42517ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42518
42519      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42520/* end confdefs.h.  */
42521#include <math.h>
42522		      #ifdef HAVE_IEEEFP_H
42523		      #include <ieeefp.h>
42524		      #endif
42525
42526int
42527main ()
42528{
42529 expf(0);
42530  ;
42531  return 0;
42532}
42533_ACEOF
42534if ac_fn_cxx_try_compile "$LINENO"; then :
42535  glibcxx_cv_func_expf_use=yes
42536else
42537  glibcxx_cv_func_expf_use=no
42538fi
42539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42540      ac_ext=c
42541ac_cpp='$CPP $CPPFLAGS'
42542ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42543ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42544ac_compiler_gnu=$ac_cv_c_compiler_gnu
42545
42546
42547fi
42548
42549  fi
42550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42551$as_echo "$glibcxx_cv_func_expf_use" >&6; }
42552
42553  if test x$glibcxx_cv_func_expf_use = x"yes"; then
42554    for ac_func in expf
42555do :
42556  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42557if test "x$ac_cv_func_expf" = x""yes; then :
42558  cat >>confdefs.h <<_ACEOF
42559#define HAVE_EXPF 1
42560_ACEOF
42561
42562fi
42563done
42564
42565  else
42566
42567  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42568$as_echo_n "checking for _expf declaration... " >&6; }
42569  if test x${glibcxx_cv_func__expf_use+set} != xset; then
42570    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42571  $as_echo_n "(cached) " >&6
42572else
42573
42574
42575      ac_ext=cpp
42576ac_cpp='$CXXCPP $CPPFLAGS'
42577ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42578ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42579ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42580
42581      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42582/* end confdefs.h.  */
42583#include <math.h>
42584		      #ifdef HAVE_IEEEFP_H
42585		      #include <ieeefp.h>
42586		      #endif
42587
42588int
42589main ()
42590{
42591 _expf(0);
42592  ;
42593  return 0;
42594}
42595_ACEOF
42596if ac_fn_cxx_try_compile "$LINENO"; then :
42597  glibcxx_cv_func__expf_use=yes
42598else
42599  glibcxx_cv_func__expf_use=no
42600fi
42601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42602      ac_ext=c
42603ac_cpp='$CPP $CPPFLAGS'
42604ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42605ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42606ac_compiler_gnu=$ac_cv_c_compiler_gnu
42607
42608
42609fi
42610
42611  fi
42612  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42613$as_echo "$glibcxx_cv_func__expf_use" >&6; }
42614
42615    if test x$glibcxx_cv_func__expf_use = x"yes"; then
42616      for ac_func in _expf
42617do :
42618  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42619if test "x$ac_cv_func__expf" = x""yes; then :
42620  cat >>confdefs.h <<_ACEOF
42621#define HAVE__EXPF 1
42622_ACEOF
42623
42624fi
42625done
42626
42627    fi
42628  fi
42629
42630
42631
42632
42633
42634  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42635$as_echo_n "checking for isnanf declaration... " >&6; }
42636  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42637    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42638  $as_echo_n "(cached) " >&6
42639else
42640
42641
42642      ac_ext=cpp
42643ac_cpp='$CXXCPP $CPPFLAGS'
42644ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42645ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42646ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42647
42648      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42649/* end confdefs.h.  */
42650#include <math.h>
42651		      #ifdef HAVE_IEEEFP_H
42652		      #include <ieeefp.h>
42653		      #endif
42654
42655int
42656main ()
42657{
42658 isnanf(0);
42659  ;
42660  return 0;
42661}
42662_ACEOF
42663if ac_fn_cxx_try_compile "$LINENO"; then :
42664  glibcxx_cv_func_isnanf_use=yes
42665else
42666  glibcxx_cv_func_isnanf_use=no
42667fi
42668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42669      ac_ext=c
42670ac_cpp='$CPP $CPPFLAGS'
42671ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42672ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42673ac_compiler_gnu=$ac_cv_c_compiler_gnu
42674
42675
42676fi
42677
42678  fi
42679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42680$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42681
42682  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42683    for ac_func in isnanf
42684do :
42685  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42686if test "x$ac_cv_func_isnanf" = x""yes; then :
42687  cat >>confdefs.h <<_ACEOF
42688#define HAVE_ISNANF 1
42689_ACEOF
42690
42691fi
42692done
42693
42694  else
42695
42696  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42697$as_echo_n "checking for _isnanf declaration... " >&6; }
42698  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42699    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42700  $as_echo_n "(cached) " >&6
42701else
42702
42703
42704      ac_ext=cpp
42705ac_cpp='$CXXCPP $CPPFLAGS'
42706ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42707ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42708ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42709
42710      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42711/* end confdefs.h.  */
42712#include <math.h>
42713		      #ifdef HAVE_IEEEFP_H
42714		      #include <ieeefp.h>
42715		      #endif
42716
42717int
42718main ()
42719{
42720 _isnanf(0);
42721  ;
42722  return 0;
42723}
42724_ACEOF
42725if ac_fn_cxx_try_compile "$LINENO"; then :
42726  glibcxx_cv_func__isnanf_use=yes
42727else
42728  glibcxx_cv_func__isnanf_use=no
42729fi
42730rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42731      ac_ext=c
42732ac_cpp='$CPP $CPPFLAGS'
42733ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42734ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42735ac_compiler_gnu=$ac_cv_c_compiler_gnu
42736
42737
42738fi
42739
42740  fi
42741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42742$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42743
42744    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42745      for ac_func in _isnanf
42746do :
42747  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42748if test "x$ac_cv_func__isnanf" = x""yes; then :
42749  cat >>confdefs.h <<_ACEOF
42750#define HAVE__ISNANF 1
42751_ACEOF
42752
42753fi
42754done
42755
42756    fi
42757  fi
42758
42759
42760
42761
42762
42763  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42764$as_echo_n "checking for isinff declaration... " >&6; }
42765  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42766    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42767  $as_echo_n "(cached) " >&6
42768else
42769
42770
42771      ac_ext=cpp
42772ac_cpp='$CXXCPP $CPPFLAGS'
42773ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42774ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42775ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42776
42777      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42778/* end confdefs.h.  */
42779#include <math.h>
42780		      #ifdef HAVE_IEEEFP_H
42781		      #include <ieeefp.h>
42782		      #endif
42783
42784int
42785main ()
42786{
42787 isinff(0);
42788  ;
42789  return 0;
42790}
42791_ACEOF
42792if ac_fn_cxx_try_compile "$LINENO"; then :
42793  glibcxx_cv_func_isinff_use=yes
42794else
42795  glibcxx_cv_func_isinff_use=no
42796fi
42797rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42798      ac_ext=c
42799ac_cpp='$CPP $CPPFLAGS'
42800ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42801ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42802ac_compiler_gnu=$ac_cv_c_compiler_gnu
42803
42804
42805fi
42806
42807  fi
42808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42809$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42810
42811  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42812    for ac_func in isinff
42813do :
42814  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42815if test "x$ac_cv_func_isinff" = x""yes; then :
42816  cat >>confdefs.h <<_ACEOF
42817#define HAVE_ISINFF 1
42818_ACEOF
42819
42820fi
42821done
42822
42823  else
42824
42825  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42826$as_echo_n "checking for _isinff declaration... " >&6; }
42827  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42828    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42829  $as_echo_n "(cached) " >&6
42830else
42831
42832
42833      ac_ext=cpp
42834ac_cpp='$CXXCPP $CPPFLAGS'
42835ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42836ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42837ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42838
42839      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42840/* end confdefs.h.  */
42841#include <math.h>
42842		      #ifdef HAVE_IEEEFP_H
42843		      #include <ieeefp.h>
42844		      #endif
42845
42846int
42847main ()
42848{
42849 _isinff(0);
42850  ;
42851  return 0;
42852}
42853_ACEOF
42854if ac_fn_cxx_try_compile "$LINENO"; then :
42855  glibcxx_cv_func__isinff_use=yes
42856else
42857  glibcxx_cv_func__isinff_use=no
42858fi
42859rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42860      ac_ext=c
42861ac_cpp='$CPP $CPPFLAGS'
42862ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42863ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42864ac_compiler_gnu=$ac_cv_c_compiler_gnu
42865
42866
42867fi
42868
42869  fi
42870  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42871$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42872
42873    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42874      for ac_func in _isinff
42875do :
42876  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42877if test "x$ac_cv_func__isinff" = x""yes; then :
42878  cat >>confdefs.h <<_ACEOF
42879#define HAVE__ISINFF 1
42880_ACEOF
42881
42882fi
42883done
42884
42885    fi
42886  fi
42887
42888
42889
42890
42891
42892  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42893$as_echo_n "checking for atan2f declaration... " >&6; }
42894  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42895    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42896  $as_echo_n "(cached) " >&6
42897else
42898
42899
42900      ac_ext=cpp
42901ac_cpp='$CXXCPP $CPPFLAGS'
42902ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42903ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42904ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42905
42906      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42907/* end confdefs.h.  */
42908#include <math.h>
42909int
42910main ()
42911{
42912 atan2f(0, 0);
42913  ;
42914  return 0;
42915}
42916_ACEOF
42917if ac_fn_cxx_try_compile "$LINENO"; then :
42918  glibcxx_cv_func_atan2f_use=yes
42919else
42920  glibcxx_cv_func_atan2f_use=no
42921fi
42922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42923      ac_ext=c
42924ac_cpp='$CPP $CPPFLAGS'
42925ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42926ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42927ac_compiler_gnu=$ac_cv_c_compiler_gnu
42928
42929
42930fi
42931
42932  fi
42933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42934$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42935
42936  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42937    for ac_func in atan2f
42938do :
42939  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42940if test "x$ac_cv_func_atan2f" = x""yes; then :
42941  cat >>confdefs.h <<_ACEOF
42942#define HAVE_ATAN2F 1
42943_ACEOF
42944
42945fi
42946done
42947
42948  else
42949
42950  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42951$as_echo_n "checking for _atan2f declaration... " >&6; }
42952  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42953    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42954  $as_echo_n "(cached) " >&6
42955else
42956
42957
42958      ac_ext=cpp
42959ac_cpp='$CXXCPP $CPPFLAGS'
42960ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42961ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42962ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42963
42964      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42965/* end confdefs.h.  */
42966#include <math.h>
42967int
42968main ()
42969{
42970 _atan2f(0, 0);
42971  ;
42972  return 0;
42973}
42974_ACEOF
42975if ac_fn_cxx_try_compile "$LINENO"; then :
42976  glibcxx_cv_func__atan2f_use=yes
42977else
42978  glibcxx_cv_func__atan2f_use=no
42979fi
42980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42981      ac_ext=c
42982ac_cpp='$CPP $CPPFLAGS'
42983ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42984ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42985ac_compiler_gnu=$ac_cv_c_compiler_gnu
42986
42987
42988fi
42989
42990  fi
42991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42992$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42993
42994    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42995      for ac_func in _atan2f
42996do :
42997  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42998if test "x$ac_cv_func__atan2f" = x""yes; then :
42999  cat >>confdefs.h <<_ACEOF
43000#define HAVE__ATAN2F 1
43001_ACEOF
43002
43003fi
43004done
43005
43006    fi
43007  fi
43008
43009
43010
43011
43012
43013  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43014$as_echo_n "checking for fabsf declaration... " >&6; }
43015  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43016    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
43017  $as_echo_n "(cached) " >&6
43018else
43019
43020
43021      ac_ext=cpp
43022ac_cpp='$CXXCPP $CPPFLAGS'
43023ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43024ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43025ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43026
43027      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43028/* end confdefs.h.  */
43029#include <math.h>
43030		      #ifdef HAVE_IEEEFP_H
43031		      #include <ieeefp.h>
43032		      #endif
43033
43034int
43035main ()
43036{
43037 fabsf(0);
43038  ;
43039  return 0;
43040}
43041_ACEOF
43042if ac_fn_cxx_try_compile "$LINENO"; then :
43043  glibcxx_cv_func_fabsf_use=yes
43044else
43045  glibcxx_cv_func_fabsf_use=no
43046fi
43047rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43048      ac_ext=c
43049ac_cpp='$CPP $CPPFLAGS'
43050ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43051ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43052ac_compiler_gnu=$ac_cv_c_compiler_gnu
43053
43054
43055fi
43056
43057  fi
43058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43059$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43060
43061  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43062    for ac_func in fabsf
43063do :
43064  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43065if test "x$ac_cv_func_fabsf" = x""yes; then :
43066  cat >>confdefs.h <<_ACEOF
43067#define HAVE_FABSF 1
43068_ACEOF
43069
43070fi
43071done
43072
43073  else
43074
43075  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43076$as_echo_n "checking for _fabsf declaration... " >&6; }
43077  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43078    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
43079  $as_echo_n "(cached) " >&6
43080else
43081
43082
43083      ac_ext=cpp
43084ac_cpp='$CXXCPP $CPPFLAGS'
43085ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43086ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43087ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43088
43089      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43090/* end confdefs.h.  */
43091#include <math.h>
43092		      #ifdef HAVE_IEEEFP_H
43093		      #include <ieeefp.h>
43094		      #endif
43095
43096int
43097main ()
43098{
43099 _fabsf(0);
43100  ;
43101  return 0;
43102}
43103_ACEOF
43104if ac_fn_cxx_try_compile "$LINENO"; then :
43105  glibcxx_cv_func__fabsf_use=yes
43106else
43107  glibcxx_cv_func__fabsf_use=no
43108fi
43109rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43110      ac_ext=c
43111ac_cpp='$CPP $CPPFLAGS'
43112ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43113ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43114ac_compiler_gnu=$ac_cv_c_compiler_gnu
43115
43116
43117fi
43118
43119  fi
43120  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43121$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43122
43123    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43124      for ac_func in _fabsf
43125do :
43126  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43127if test "x$ac_cv_func__fabsf" = x""yes; then :
43128  cat >>confdefs.h <<_ACEOF
43129#define HAVE__FABSF 1
43130_ACEOF
43131
43132fi
43133done
43134
43135    fi
43136  fi
43137
43138
43139
43140
43141
43142  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43143$as_echo_n "checking for fmodf declaration... " >&6; }
43144  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43145    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
43146  $as_echo_n "(cached) " >&6
43147else
43148
43149
43150      ac_ext=cpp
43151ac_cpp='$CXXCPP $CPPFLAGS'
43152ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43153ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43154ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43155
43156      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43157/* end confdefs.h.  */
43158#include <math.h>
43159int
43160main ()
43161{
43162 fmodf(0, 0);
43163  ;
43164  return 0;
43165}
43166_ACEOF
43167if ac_fn_cxx_try_compile "$LINENO"; then :
43168  glibcxx_cv_func_fmodf_use=yes
43169else
43170  glibcxx_cv_func_fmodf_use=no
43171fi
43172rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43173      ac_ext=c
43174ac_cpp='$CPP $CPPFLAGS'
43175ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43176ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43177ac_compiler_gnu=$ac_cv_c_compiler_gnu
43178
43179
43180fi
43181
43182  fi
43183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43184$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43185
43186  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43187    for ac_func in fmodf
43188do :
43189  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43190if test "x$ac_cv_func_fmodf" = x""yes; then :
43191  cat >>confdefs.h <<_ACEOF
43192#define HAVE_FMODF 1
43193_ACEOF
43194
43195fi
43196done
43197
43198  else
43199
43200  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43201$as_echo_n "checking for _fmodf declaration... " >&6; }
43202  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43203    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43204  $as_echo_n "(cached) " >&6
43205else
43206
43207
43208      ac_ext=cpp
43209ac_cpp='$CXXCPP $CPPFLAGS'
43210ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43211ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43212ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43213
43214      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43215/* end confdefs.h.  */
43216#include <math.h>
43217int
43218main ()
43219{
43220 _fmodf(0, 0);
43221  ;
43222  return 0;
43223}
43224_ACEOF
43225if ac_fn_cxx_try_compile "$LINENO"; then :
43226  glibcxx_cv_func__fmodf_use=yes
43227else
43228  glibcxx_cv_func__fmodf_use=no
43229fi
43230rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43231      ac_ext=c
43232ac_cpp='$CPP $CPPFLAGS'
43233ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43234ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43235ac_compiler_gnu=$ac_cv_c_compiler_gnu
43236
43237
43238fi
43239
43240  fi
43241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43242$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43243
43244    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43245      for ac_func in _fmodf
43246do :
43247  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43248if test "x$ac_cv_func__fmodf" = x""yes; then :
43249  cat >>confdefs.h <<_ACEOF
43250#define HAVE__FMODF 1
43251_ACEOF
43252
43253fi
43254done
43255
43256    fi
43257  fi
43258
43259
43260
43261
43262
43263  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43264$as_echo_n "checking for frexpf declaration... " >&6; }
43265  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43266    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43267  $as_echo_n "(cached) " >&6
43268else
43269
43270
43271      ac_ext=cpp
43272ac_cpp='$CXXCPP $CPPFLAGS'
43273ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43274ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43275ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43276
43277      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43278/* end confdefs.h.  */
43279#include <math.h>
43280int
43281main ()
43282{
43283 frexpf(0, 0);
43284  ;
43285  return 0;
43286}
43287_ACEOF
43288if ac_fn_cxx_try_compile "$LINENO"; then :
43289  glibcxx_cv_func_frexpf_use=yes
43290else
43291  glibcxx_cv_func_frexpf_use=no
43292fi
43293rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43294      ac_ext=c
43295ac_cpp='$CPP $CPPFLAGS'
43296ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43297ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43298ac_compiler_gnu=$ac_cv_c_compiler_gnu
43299
43300
43301fi
43302
43303  fi
43304  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43305$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43306
43307  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43308    for ac_func in frexpf
43309do :
43310  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43311if test "x$ac_cv_func_frexpf" = x""yes; then :
43312  cat >>confdefs.h <<_ACEOF
43313#define HAVE_FREXPF 1
43314_ACEOF
43315
43316fi
43317done
43318
43319  else
43320
43321  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43322$as_echo_n "checking for _frexpf declaration... " >&6; }
43323  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43324    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43325  $as_echo_n "(cached) " >&6
43326else
43327
43328
43329      ac_ext=cpp
43330ac_cpp='$CXXCPP $CPPFLAGS'
43331ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43332ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43333ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43334
43335      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43336/* end confdefs.h.  */
43337#include <math.h>
43338int
43339main ()
43340{
43341 _frexpf(0, 0);
43342  ;
43343  return 0;
43344}
43345_ACEOF
43346if ac_fn_cxx_try_compile "$LINENO"; then :
43347  glibcxx_cv_func__frexpf_use=yes
43348else
43349  glibcxx_cv_func__frexpf_use=no
43350fi
43351rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43352      ac_ext=c
43353ac_cpp='$CPP $CPPFLAGS'
43354ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43355ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43356ac_compiler_gnu=$ac_cv_c_compiler_gnu
43357
43358
43359fi
43360
43361  fi
43362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43363$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43364
43365    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43366      for ac_func in _frexpf
43367do :
43368  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43369if test "x$ac_cv_func__frexpf" = x""yes; then :
43370  cat >>confdefs.h <<_ACEOF
43371#define HAVE__FREXPF 1
43372_ACEOF
43373
43374fi
43375done
43376
43377    fi
43378  fi
43379
43380
43381
43382
43383
43384  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43385$as_echo_n "checking for hypotf declaration... " >&6; }
43386  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43387    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43388  $as_echo_n "(cached) " >&6
43389else
43390
43391
43392      ac_ext=cpp
43393ac_cpp='$CXXCPP $CPPFLAGS'
43394ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43395ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43396ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43397
43398      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43399/* end confdefs.h.  */
43400#include <math.h>
43401int
43402main ()
43403{
43404 hypotf(0, 0);
43405  ;
43406  return 0;
43407}
43408_ACEOF
43409if ac_fn_cxx_try_compile "$LINENO"; then :
43410  glibcxx_cv_func_hypotf_use=yes
43411else
43412  glibcxx_cv_func_hypotf_use=no
43413fi
43414rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43415      ac_ext=c
43416ac_cpp='$CPP $CPPFLAGS'
43417ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43418ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43419ac_compiler_gnu=$ac_cv_c_compiler_gnu
43420
43421
43422fi
43423
43424  fi
43425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43426$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43427
43428  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43429    for ac_func in hypotf
43430do :
43431  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43432if test "x$ac_cv_func_hypotf" = x""yes; then :
43433  cat >>confdefs.h <<_ACEOF
43434#define HAVE_HYPOTF 1
43435_ACEOF
43436
43437fi
43438done
43439
43440  else
43441
43442  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43443$as_echo_n "checking for _hypotf declaration... " >&6; }
43444  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43445    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43446  $as_echo_n "(cached) " >&6
43447else
43448
43449
43450      ac_ext=cpp
43451ac_cpp='$CXXCPP $CPPFLAGS'
43452ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43453ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43454ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43455
43456      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43457/* end confdefs.h.  */
43458#include <math.h>
43459int
43460main ()
43461{
43462 _hypotf(0, 0);
43463  ;
43464  return 0;
43465}
43466_ACEOF
43467if ac_fn_cxx_try_compile "$LINENO"; then :
43468  glibcxx_cv_func__hypotf_use=yes
43469else
43470  glibcxx_cv_func__hypotf_use=no
43471fi
43472rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43473      ac_ext=c
43474ac_cpp='$CPP $CPPFLAGS'
43475ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43476ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43477ac_compiler_gnu=$ac_cv_c_compiler_gnu
43478
43479
43480fi
43481
43482  fi
43483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43484$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43485
43486    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43487      for ac_func in _hypotf
43488do :
43489  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43490if test "x$ac_cv_func__hypotf" = x""yes; then :
43491  cat >>confdefs.h <<_ACEOF
43492#define HAVE__HYPOTF 1
43493_ACEOF
43494
43495fi
43496done
43497
43498    fi
43499  fi
43500
43501
43502
43503
43504
43505  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43506$as_echo_n "checking for ldexpf declaration... " >&6; }
43507  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43508    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43509  $as_echo_n "(cached) " >&6
43510else
43511
43512
43513      ac_ext=cpp
43514ac_cpp='$CXXCPP $CPPFLAGS'
43515ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43516ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43517ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43518
43519      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43520/* end confdefs.h.  */
43521#include <math.h>
43522int
43523main ()
43524{
43525 ldexpf(0, 0);
43526  ;
43527  return 0;
43528}
43529_ACEOF
43530if ac_fn_cxx_try_compile "$LINENO"; then :
43531  glibcxx_cv_func_ldexpf_use=yes
43532else
43533  glibcxx_cv_func_ldexpf_use=no
43534fi
43535rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43536      ac_ext=c
43537ac_cpp='$CPP $CPPFLAGS'
43538ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43539ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43540ac_compiler_gnu=$ac_cv_c_compiler_gnu
43541
43542
43543fi
43544
43545  fi
43546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43547$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43548
43549  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43550    for ac_func in ldexpf
43551do :
43552  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43553if test "x$ac_cv_func_ldexpf" = x""yes; then :
43554  cat >>confdefs.h <<_ACEOF
43555#define HAVE_LDEXPF 1
43556_ACEOF
43557
43558fi
43559done
43560
43561  else
43562
43563  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43564$as_echo_n "checking for _ldexpf declaration... " >&6; }
43565  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43566    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43567  $as_echo_n "(cached) " >&6
43568else
43569
43570
43571      ac_ext=cpp
43572ac_cpp='$CXXCPP $CPPFLAGS'
43573ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43574ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43575ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43576
43577      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43578/* end confdefs.h.  */
43579#include <math.h>
43580int
43581main ()
43582{
43583 _ldexpf(0, 0);
43584  ;
43585  return 0;
43586}
43587_ACEOF
43588if ac_fn_cxx_try_compile "$LINENO"; then :
43589  glibcxx_cv_func__ldexpf_use=yes
43590else
43591  glibcxx_cv_func__ldexpf_use=no
43592fi
43593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43594      ac_ext=c
43595ac_cpp='$CPP $CPPFLAGS'
43596ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43597ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43598ac_compiler_gnu=$ac_cv_c_compiler_gnu
43599
43600
43601fi
43602
43603  fi
43604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43605$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43606
43607    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43608      for ac_func in _ldexpf
43609do :
43610  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43611if test "x$ac_cv_func__ldexpf" = x""yes; then :
43612  cat >>confdefs.h <<_ACEOF
43613#define HAVE__LDEXPF 1
43614_ACEOF
43615
43616fi
43617done
43618
43619    fi
43620  fi
43621
43622
43623
43624
43625
43626  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43627$as_echo_n "checking for logf declaration... " >&6; }
43628  if test x${glibcxx_cv_func_logf_use+set} != xset; then
43629    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43630  $as_echo_n "(cached) " >&6
43631else
43632
43633
43634      ac_ext=cpp
43635ac_cpp='$CXXCPP $CPPFLAGS'
43636ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43637ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43638ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43639
43640      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43641/* end confdefs.h.  */
43642#include <math.h>
43643		      #ifdef HAVE_IEEEFP_H
43644		      #include <ieeefp.h>
43645		      #endif
43646
43647int
43648main ()
43649{
43650 logf(0);
43651  ;
43652  return 0;
43653}
43654_ACEOF
43655if ac_fn_cxx_try_compile "$LINENO"; then :
43656  glibcxx_cv_func_logf_use=yes
43657else
43658  glibcxx_cv_func_logf_use=no
43659fi
43660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43661      ac_ext=c
43662ac_cpp='$CPP $CPPFLAGS'
43663ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43664ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43665ac_compiler_gnu=$ac_cv_c_compiler_gnu
43666
43667
43668fi
43669
43670  fi
43671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43672$as_echo "$glibcxx_cv_func_logf_use" >&6; }
43673
43674  if test x$glibcxx_cv_func_logf_use = x"yes"; then
43675    for ac_func in logf
43676do :
43677  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43678if test "x$ac_cv_func_logf" = x""yes; then :
43679  cat >>confdefs.h <<_ACEOF
43680#define HAVE_LOGF 1
43681_ACEOF
43682
43683fi
43684done
43685
43686  else
43687
43688  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43689$as_echo_n "checking for _logf declaration... " >&6; }
43690  if test x${glibcxx_cv_func__logf_use+set} != xset; then
43691    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43692  $as_echo_n "(cached) " >&6
43693else
43694
43695
43696      ac_ext=cpp
43697ac_cpp='$CXXCPP $CPPFLAGS'
43698ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43699ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43700ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43701
43702      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43703/* end confdefs.h.  */
43704#include <math.h>
43705		      #ifdef HAVE_IEEEFP_H
43706		      #include <ieeefp.h>
43707		      #endif
43708
43709int
43710main ()
43711{
43712 _logf(0);
43713  ;
43714  return 0;
43715}
43716_ACEOF
43717if ac_fn_cxx_try_compile "$LINENO"; then :
43718  glibcxx_cv_func__logf_use=yes
43719else
43720  glibcxx_cv_func__logf_use=no
43721fi
43722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43723      ac_ext=c
43724ac_cpp='$CPP $CPPFLAGS'
43725ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43726ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43727ac_compiler_gnu=$ac_cv_c_compiler_gnu
43728
43729
43730fi
43731
43732  fi
43733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43734$as_echo "$glibcxx_cv_func__logf_use" >&6; }
43735
43736    if test x$glibcxx_cv_func__logf_use = x"yes"; then
43737      for ac_func in _logf
43738do :
43739  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43740if test "x$ac_cv_func__logf" = x""yes; then :
43741  cat >>confdefs.h <<_ACEOF
43742#define HAVE__LOGF 1
43743_ACEOF
43744
43745fi
43746done
43747
43748    fi
43749  fi
43750
43751
43752
43753
43754
43755  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43756$as_echo_n "checking for log10f declaration... " >&6; }
43757  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43758    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43759  $as_echo_n "(cached) " >&6
43760else
43761
43762
43763      ac_ext=cpp
43764ac_cpp='$CXXCPP $CPPFLAGS'
43765ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43766ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43767ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43768
43769      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43770/* end confdefs.h.  */
43771#include <math.h>
43772		      #ifdef HAVE_IEEEFP_H
43773		      #include <ieeefp.h>
43774		      #endif
43775
43776int
43777main ()
43778{
43779 log10f(0);
43780  ;
43781  return 0;
43782}
43783_ACEOF
43784if ac_fn_cxx_try_compile "$LINENO"; then :
43785  glibcxx_cv_func_log10f_use=yes
43786else
43787  glibcxx_cv_func_log10f_use=no
43788fi
43789rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43790      ac_ext=c
43791ac_cpp='$CPP $CPPFLAGS'
43792ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43793ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43794ac_compiler_gnu=$ac_cv_c_compiler_gnu
43795
43796
43797fi
43798
43799  fi
43800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43801$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43802
43803  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43804    for ac_func in log10f
43805do :
43806  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43807if test "x$ac_cv_func_log10f" = x""yes; then :
43808  cat >>confdefs.h <<_ACEOF
43809#define HAVE_LOG10F 1
43810_ACEOF
43811
43812fi
43813done
43814
43815  else
43816
43817  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43818$as_echo_n "checking for _log10f declaration... " >&6; }
43819  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43820    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43821  $as_echo_n "(cached) " >&6
43822else
43823
43824
43825      ac_ext=cpp
43826ac_cpp='$CXXCPP $CPPFLAGS'
43827ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43828ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43829ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43830
43831      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43832/* end confdefs.h.  */
43833#include <math.h>
43834		      #ifdef HAVE_IEEEFP_H
43835		      #include <ieeefp.h>
43836		      #endif
43837
43838int
43839main ()
43840{
43841 _log10f(0);
43842  ;
43843  return 0;
43844}
43845_ACEOF
43846if ac_fn_cxx_try_compile "$LINENO"; then :
43847  glibcxx_cv_func__log10f_use=yes
43848else
43849  glibcxx_cv_func__log10f_use=no
43850fi
43851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43852      ac_ext=c
43853ac_cpp='$CPP $CPPFLAGS'
43854ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43855ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43856ac_compiler_gnu=$ac_cv_c_compiler_gnu
43857
43858
43859fi
43860
43861  fi
43862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43863$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43864
43865    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43866      for ac_func in _log10f
43867do :
43868  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43869if test "x$ac_cv_func__log10f" = x""yes; then :
43870  cat >>confdefs.h <<_ACEOF
43871#define HAVE__LOG10F 1
43872_ACEOF
43873
43874fi
43875done
43876
43877    fi
43878  fi
43879
43880
43881
43882
43883
43884  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43885$as_echo_n "checking for modff declaration... " >&6; }
43886  if test x${glibcxx_cv_func_modff_use+set} != xset; then
43887    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43888  $as_echo_n "(cached) " >&6
43889else
43890
43891
43892      ac_ext=cpp
43893ac_cpp='$CXXCPP $CPPFLAGS'
43894ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43895ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43896ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43897
43898      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43899/* end confdefs.h.  */
43900#include <math.h>
43901int
43902main ()
43903{
43904 modff(0, 0);
43905  ;
43906  return 0;
43907}
43908_ACEOF
43909if ac_fn_cxx_try_compile "$LINENO"; then :
43910  glibcxx_cv_func_modff_use=yes
43911else
43912  glibcxx_cv_func_modff_use=no
43913fi
43914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43915      ac_ext=c
43916ac_cpp='$CPP $CPPFLAGS'
43917ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43918ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43919ac_compiler_gnu=$ac_cv_c_compiler_gnu
43920
43921
43922fi
43923
43924  fi
43925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43926$as_echo "$glibcxx_cv_func_modff_use" >&6; }
43927
43928  if test x$glibcxx_cv_func_modff_use = x"yes"; then
43929    for ac_func in modff
43930do :
43931  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43932if test "x$ac_cv_func_modff" = x""yes; then :
43933  cat >>confdefs.h <<_ACEOF
43934#define HAVE_MODFF 1
43935_ACEOF
43936
43937fi
43938done
43939
43940  else
43941
43942  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43943$as_echo_n "checking for _modff declaration... " >&6; }
43944  if test x${glibcxx_cv_func__modff_use+set} != xset; then
43945    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43946  $as_echo_n "(cached) " >&6
43947else
43948
43949
43950      ac_ext=cpp
43951ac_cpp='$CXXCPP $CPPFLAGS'
43952ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43953ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43954ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43955
43956      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43957/* end confdefs.h.  */
43958#include <math.h>
43959int
43960main ()
43961{
43962 _modff(0, 0);
43963  ;
43964  return 0;
43965}
43966_ACEOF
43967if ac_fn_cxx_try_compile "$LINENO"; then :
43968  glibcxx_cv_func__modff_use=yes
43969else
43970  glibcxx_cv_func__modff_use=no
43971fi
43972rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43973      ac_ext=c
43974ac_cpp='$CPP $CPPFLAGS'
43975ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43976ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43977ac_compiler_gnu=$ac_cv_c_compiler_gnu
43978
43979
43980fi
43981
43982  fi
43983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43984$as_echo "$glibcxx_cv_func__modff_use" >&6; }
43985
43986    if test x$glibcxx_cv_func__modff_use = x"yes"; then
43987      for ac_func in _modff
43988do :
43989  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43990if test "x$ac_cv_func__modff" = x""yes; then :
43991  cat >>confdefs.h <<_ACEOF
43992#define HAVE__MODFF 1
43993_ACEOF
43994
43995fi
43996done
43997
43998    fi
43999  fi
44000
44001
44002
44003
44004
44005  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44006$as_echo_n "checking for modf declaration... " >&6; }
44007  if test x${glibcxx_cv_func_modf_use+set} != xset; then
44008    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
44009  $as_echo_n "(cached) " >&6
44010else
44011
44012
44013      ac_ext=cpp
44014ac_cpp='$CXXCPP $CPPFLAGS'
44015ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44016ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44017ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44018
44019      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44020/* end confdefs.h.  */
44021#include <math.h>
44022int
44023main ()
44024{
44025 modf(0, 0);
44026  ;
44027  return 0;
44028}
44029_ACEOF
44030if ac_fn_cxx_try_compile "$LINENO"; then :
44031  glibcxx_cv_func_modf_use=yes
44032else
44033  glibcxx_cv_func_modf_use=no
44034fi
44035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44036      ac_ext=c
44037ac_cpp='$CPP $CPPFLAGS'
44038ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44039ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44040ac_compiler_gnu=$ac_cv_c_compiler_gnu
44041
44042
44043fi
44044
44045  fi
44046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44047$as_echo "$glibcxx_cv_func_modf_use" >&6; }
44048
44049  if test x$glibcxx_cv_func_modf_use = x"yes"; then
44050    for ac_func in modf
44051do :
44052  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44053if test "x$ac_cv_func_modf" = x""yes; then :
44054  cat >>confdefs.h <<_ACEOF
44055#define HAVE_MODF 1
44056_ACEOF
44057
44058fi
44059done
44060
44061  else
44062
44063  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44064$as_echo_n "checking for _modf declaration... " >&6; }
44065  if test x${glibcxx_cv_func__modf_use+set} != xset; then
44066    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
44067  $as_echo_n "(cached) " >&6
44068else
44069
44070
44071      ac_ext=cpp
44072ac_cpp='$CXXCPP $CPPFLAGS'
44073ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44074ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44075ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44076
44077      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44078/* end confdefs.h.  */
44079#include <math.h>
44080int
44081main ()
44082{
44083 _modf(0, 0);
44084  ;
44085  return 0;
44086}
44087_ACEOF
44088if ac_fn_cxx_try_compile "$LINENO"; then :
44089  glibcxx_cv_func__modf_use=yes
44090else
44091  glibcxx_cv_func__modf_use=no
44092fi
44093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44094      ac_ext=c
44095ac_cpp='$CPP $CPPFLAGS'
44096ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44097ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44098ac_compiler_gnu=$ac_cv_c_compiler_gnu
44099
44100
44101fi
44102
44103  fi
44104  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44105$as_echo "$glibcxx_cv_func__modf_use" >&6; }
44106
44107    if test x$glibcxx_cv_func__modf_use = x"yes"; then
44108      for ac_func in _modf
44109do :
44110  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44111if test "x$ac_cv_func__modf" = x""yes; then :
44112  cat >>confdefs.h <<_ACEOF
44113#define HAVE__MODF 1
44114_ACEOF
44115
44116fi
44117done
44118
44119    fi
44120  fi
44121
44122
44123
44124
44125
44126  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44127$as_echo_n "checking for powf declaration... " >&6; }
44128  if test x${glibcxx_cv_func_powf_use+set} != xset; then
44129    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
44130  $as_echo_n "(cached) " >&6
44131else
44132
44133
44134      ac_ext=cpp
44135ac_cpp='$CXXCPP $CPPFLAGS'
44136ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44137ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44138ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44139
44140      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44141/* end confdefs.h.  */
44142#include <math.h>
44143int
44144main ()
44145{
44146 powf(0, 0);
44147  ;
44148  return 0;
44149}
44150_ACEOF
44151if ac_fn_cxx_try_compile "$LINENO"; then :
44152  glibcxx_cv_func_powf_use=yes
44153else
44154  glibcxx_cv_func_powf_use=no
44155fi
44156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44157      ac_ext=c
44158ac_cpp='$CPP $CPPFLAGS'
44159ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44160ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44161ac_compiler_gnu=$ac_cv_c_compiler_gnu
44162
44163
44164fi
44165
44166  fi
44167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44168$as_echo "$glibcxx_cv_func_powf_use" >&6; }
44169
44170  if test x$glibcxx_cv_func_powf_use = x"yes"; then
44171    for ac_func in powf
44172do :
44173  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44174if test "x$ac_cv_func_powf" = x""yes; then :
44175  cat >>confdefs.h <<_ACEOF
44176#define HAVE_POWF 1
44177_ACEOF
44178
44179fi
44180done
44181
44182  else
44183
44184  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44185$as_echo_n "checking for _powf declaration... " >&6; }
44186  if test x${glibcxx_cv_func__powf_use+set} != xset; then
44187    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44188  $as_echo_n "(cached) " >&6
44189else
44190
44191
44192      ac_ext=cpp
44193ac_cpp='$CXXCPP $CPPFLAGS'
44194ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44195ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44196ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44197
44198      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44199/* end confdefs.h.  */
44200#include <math.h>
44201int
44202main ()
44203{
44204 _powf(0, 0);
44205  ;
44206  return 0;
44207}
44208_ACEOF
44209if ac_fn_cxx_try_compile "$LINENO"; then :
44210  glibcxx_cv_func__powf_use=yes
44211else
44212  glibcxx_cv_func__powf_use=no
44213fi
44214rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44215      ac_ext=c
44216ac_cpp='$CPP $CPPFLAGS'
44217ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44218ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44219ac_compiler_gnu=$ac_cv_c_compiler_gnu
44220
44221
44222fi
44223
44224  fi
44225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44226$as_echo "$glibcxx_cv_func__powf_use" >&6; }
44227
44228    if test x$glibcxx_cv_func__powf_use = x"yes"; then
44229      for ac_func in _powf
44230do :
44231  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44232if test "x$ac_cv_func__powf" = x""yes; then :
44233  cat >>confdefs.h <<_ACEOF
44234#define HAVE__POWF 1
44235_ACEOF
44236
44237fi
44238done
44239
44240    fi
44241  fi
44242
44243
44244
44245
44246
44247  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44248$as_echo_n "checking for sqrtf declaration... " >&6; }
44249  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44250    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44251  $as_echo_n "(cached) " >&6
44252else
44253
44254
44255      ac_ext=cpp
44256ac_cpp='$CXXCPP $CPPFLAGS'
44257ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44258ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44259ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44260
44261      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44262/* end confdefs.h.  */
44263#include <math.h>
44264		      #ifdef HAVE_IEEEFP_H
44265		      #include <ieeefp.h>
44266		      #endif
44267
44268int
44269main ()
44270{
44271 sqrtf(0);
44272  ;
44273  return 0;
44274}
44275_ACEOF
44276if ac_fn_cxx_try_compile "$LINENO"; then :
44277  glibcxx_cv_func_sqrtf_use=yes
44278else
44279  glibcxx_cv_func_sqrtf_use=no
44280fi
44281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44282      ac_ext=c
44283ac_cpp='$CPP $CPPFLAGS'
44284ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44285ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44286ac_compiler_gnu=$ac_cv_c_compiler_gnu
44287
44288
44289fi
44290
44291  fi
44292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44293$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44294
44295  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44296    for ac_func in sqrtf
44297do :
44298  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44299if test "x$ac_cv_func_sqrtf" = x""yes; then :
44300  cat >>confdefs.h <<_ACEOF
44301#define HAVE_SQRTF 1
44302_ACEOF
44303
44304fi
44305done
44306
44307  else
44308
44309  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44310$as_echo_n "checking for _sqrtf declaration... " >&6; }
44311  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44312    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44313  $as_echo_n "(cached) " >&6
44314else
44315
44316
44317      ac_ext=cpp
44318ac_cpp='$CXXCPP $CPPFLAGS'
44319ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44320ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44321ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44322
44323      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44324/* end confdefs.h.  */
44325#include <math.h>
44326		      #ifdef HAVE_IEEEFP_H
44327		      #include <ieeefp.h>
44328		      #endif
44329
44330int
44331main ()
44332{
44333 _sqrtf(0);
44334  ;
44335  return 0;
44336}
44337_ACEOF
44338if ac_fn_cxx_try_compile "$LINENO"; then :
44339  glibcxx_cv_func__sqrtf_use=yes
44340else
44341  glibcxx_cv_func__sqrtf_use=no
44342fi
44343rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44344      ac_ext=c
44345ac_cpp='$CPP $CPPFLAGS'
44346ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44347ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44348ac_compiler_gnu=$ac_cv_c_compiler_gnu
44349
44350
44351fi
44352
44353  fi
44354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44355$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44356
44357    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44358      for ac_func in _sqrtf
44359do :
44360  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44361if test "x$ac_cv_func__sqrtf" = x""yes; then :
44362  cat >>confdefs.h <<_ACEOF
44363#define HAVE__SQRTF 1
44364_ACEOF
44365
44366fi
44367done
44368
44369    fi
44370  fi
44371
44372
44373
44374
44375
44376  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44377$as_echo_n "checking for sincosf declaration... " >&6; }
44378  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44379    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44380  $as_echo_n "(cached) " >&6
44381else
44382
44383
44384      ac_ext=cpp
44385ac_cpp='$CXXCPP $CPPFLAGS'
44386ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44387ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44388ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44389
44390      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44391/* end confdefs.h.  */
44392#include <math.h>
44393int
44394main ()
44395{
44396 sincosf(0, 0, 0);
44397  ;
44398  return 0;
44399}
44400_ACEOF
44401if ac_fn_cxx_try_compile "$LINENO"; then :
44402  glibcxx_cv_func_sincosf_use=yes
44403else
44404  glibcxx_cv_func_sincosf_use=no
44405fi
44406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44407      ac_ext=c
44408ac_cpp='$CPP $CPPFLAGS'
44409ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44410ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44411ac_compiler_gnu=$ac_cv_c_compiler_gnu
44412
44413
44414fi
44415
44416  fi
44417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44418$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44419
44420  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44421    for ac_func in sincosf
44422do :
44423  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44424if test "x$ac_cv_func_sincosf" = x""yes; then :
44425  cat >>confdefs.h <<_ACEOF
44426#define HAVE_SINCOSF 1
44427_ACEOF
44428
44429fi
44430done
44431
44432  else
44433
44434  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44435$as_echo_n "checking for _sincosf declaration... " >&6; }
44436  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44437    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44438  $as_echo_n "(cached) " >&6
44439else
44440
44441
44442      ac_ext=cpp
44443ac_cpp='$CXXCPP $CPPFLAGS'
44444ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44445ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44446ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44447
44448      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44449/* end confdefs.h.  */
44450#include <math.h>
44451int
44452main ()
44453{
44454 _sincosf(0, 0, 0);
44455  ;
44456  return 0;
44457}
44458_ACEOF
44459if ac_fn_cxx_try_compile "$LINENO"; then :
44460  glibcxx_cv_func__sincosf_use=yes
44461else
44462  glibcxx_cv_func__sincosf_use=no
44463fi
44464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44465      ac_ext=c
44466ac_cpp='$CPP $CPPFLAGS'
44467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44468ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44469ac_compiler_gnu=$ac_cv_c_compiler_gnu
44470
44471
44472fi
44473
44474  fi
44475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44476$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44477
44478    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44479      for ac_func in _sincosf
44480do :
44481  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44482if test "x$ac_cv_func__sincosf" = x""yes; then :
44483  cat >>confdefs.h <<_ACEOF
44484#define HAVE__SINCOSF 1
44485_ACEOF
44486
44487fi
44488done
44489
44490    fi
44491  fi
44492
44493
44494
44495
44496
44497  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44498$as_echo_n "checking for finitef declaration... " >&6; }
44499  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44500    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44501  $as_echo_n "(cached) " >&6
44502else
44503
44504
44505      ac_ext=cpp
44506ac_cpp='$CXXCPP $CPPFLAGS'
44507ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44508ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44509ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44510
44511      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44512/* end confdefs.h.  */
44513#include <math.h>
44514		      #ifdef HAVE_IEEEFP_H
44515		      #include <ieeefp.h>
44516		      #endif
44517
44518int
44519main ()
44520{
44521 finitef(0);
44522  ;
44523  return 0;
44524}
44525_ACEOF
44526if ac_fn_cxx_try_compile "$LINENO"; then :
44527  glibcxx_cv_func_finitef_use=yes
44528else
44529  glibcxx_cv_func_finitef_use=no
44530fi
44531rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44532      ac_ext=c
44533ac_cpp='$CPP $CPPFLAGS'
44534ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44535ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44536ac_compiler_gnu=$ac_cv_c_compiler_gnu
44537
44538
44539fi
44540
44541  fi
44542  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44543$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44544
44545  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44546    for ac_func in finitef
44547do :
44548  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44549if test "x$ac_cv_func_finitef" = x""yes; then :
44550  cat >>confdefs.h <<_ACEOF
44551#define HAVE_FINITEF 1
44552_ACEOF
44553
44554fi
44555done
44556
44557  else
44558
44559  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44560$as_echo_n "checking for _finitef declaration... " >&6; }
44561  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44562    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44563  $as_echo_n "(cached) " >&6
44564else
44565
44566
44567      ac_ext=cpp
44568ac_cpp='$CXXCPP $CPPFLAGS'
44569ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44570ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44571ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44572
44573      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44574/* end confdefs.h.  */
44575#include <math.h>
44576		      #ifdef HAVE_IEEEFP_H
44577		      #include <ieeefp.h>
44578		      #endif
44579
44580int
44581main ()
44582{
44583 _finitef(0);
44584  ;
44585  return 0;
44586}
44587_ACEOF
44588if ac_fn_cxx_try_compile "$LINENO"; then :
44589  glibcxx_cv_func__finitef_use=yes
44590else
44591  glibcxx_cv_func__finitef_use=no
44592fi
44593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44594      ac_ext=c
44595ac_cpp='$CPP $CPPFLAGS'
44596ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44597ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44598ac_compiler_gnu=$ac_cv_c_compiler_gnu
44599
44600
44601fi
44602
44603  fi
44604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44605$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44606
44607    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44608      for ac_func in _finitef
44609do :
44610  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44611if test "x$ac_cv_func__finitef" = x""yes; then :
44612  cat >>confdefs.h <<_ACEOF
44613#define HAVE__FINITEF 1
44614_ACEOF
44615
44616fi
44617done
44618
44619    fi
44620  fi
44621
44622
44623
44624
44625
44626    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44627$as_echo_n "checking for long double trig functions... " >&6; }
44628  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44629  $as_echo_n "(cached) " >&6
44630else
44631
44632
44633    ac_ext=cpp
44634ac_cpp='$CXXCPP $CPPFLAGS'
44635ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44636ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44637ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44638
44639    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44640/* end confdefs.h.  */
44641#include <math.h>
44642int
44643main ()
44644{
44645acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44646  ;
44647  return 0;
44648}
44649_ACEOF
44650if ac_fn_cxx_try_compile "$LINENO"; then :
44651  glibcxx_cv_func_long_double_trig_use=yes
44652else
44653  glibcxx_cv_func_long_double_trig_use=no
44654fi
44655rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44656    ac_ext=c
44657ac_cpp='$CPP $CPPFLAGS'
44658ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44659ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44660ac_compiler_gnu=$ac_cv_c_compiler_gnu
44661
44662fi
44663
44664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44665$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44666  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44667    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44668do :
44669  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44670ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44671eval as_val=\$$as_ac_var
44672   if test "x$as_val" = x""yes; then :
44673  cat >>confdefs.h <<_ACEOF
44674#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44675_ACEOF
44676
44677fi
44678done
44679
44680  else
44681    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44682$as_echo_n "checking for _long double trig functions... " >&6; }
44683    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44684  $as_echo_n "(cached) " >&6
44685else
44686
44687
44688      ac_ext=cpp
44689ac_cpp='$CXXCPP $CPPFLAGS'
44690ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44691ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44692ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44693
44694      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44695/* end confdefs.h.  */
44696#include <math.h>
44697int
44698main ()
44699{
44700_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44701  ;
44702  return 0;
44703}
44704_ACEOF
44705if ac_fn_cxx_try_compile "$LINENO"; then :
44706  glibcxx_cv_func__long_double_trig_use=yes
44707else
44708  glibcxx_cv_func__long_double_trig_use=no
44709fi
44710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44711      ac_ext=c
44712ac_cpp='$CPP $CPPFLAGS'
44713ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44714ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44715ac_compiler_gnu=$ac_cv_c_compiler_gnu
44716
44717fi
44718
44719    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44720$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44721    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44722      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44723do :
44724  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44725ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44726eval as_val=\$$as_ac_var
44727   if test "x$as_val" = x""yes; then :
44728  cat >>confdefs.h <<_ACEOF
44729#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44730_ACEOF
44731
44732fi
44733done
44734
44735    fi
44736  fi
44737
44738
44739
44740
44741
44742    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44743$as_echo_n "checking for long double round functions... " >&6; }
44744  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44745  $as_echo_n "(cached) " >&6
44746else
44747
44748
44749    ac_ext=cpp
44750ac_cpp='$CXXCPP $CPPFLAGS'
44751ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44752ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44753ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44754
44755    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44756/* end confdefs.h.  */
44757#include <math.h>
44758int
44759main ()
44760{
44761ceill (0); floorl (0);
44762  ;
44763  return 0;
44764}
44765_ACEOF
44766if ac_fn_cxx_try_compile "$LINENO"; then :
44767  glibcxx_cv_func_long_double_round_use=yes
44768else
44769  glibcxx_cv_func_long_double_round_use=no
44770fi
44771rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44772    ac_ext=c
44773ac_cpp='$CPP $CPPFLAGS'
44774ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44775ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44776ac_compiler_gnu=$ac_cv_c_compiler_gnu
44777
44778fi
44779
44780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44781$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44782  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44783    for ac_func in ceill floorl
44784do :
44785  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44786ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44787eval as_val=\$$as_ac_var
44788   if test "x$as_val" = x""yes; then :
44789  cat >>confdefs.h <<_ACEOF
44790#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44791_ACEOF
44792
44793fi
44794done
44795
44796  else
44797    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44798$as_echo_n "checking for _long double round functions... " >&6; }
44799    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44800  $as_echo_n "(cached) " >&6
44801else
44802
44803
44804      ac_ext=cpp
44805ac_cpp='$CXXCPP $CPPFLAGS'
44806ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44807ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44808ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44809
44810      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44811/* end confdefs.h.  */
44812#include <math.h>
44813int
44814main ()
44815{
44816_ceill (0); _floorl (0);
44817  ;
44818  return 0;
44819}
44820_ACEOF
44821if ac_fn_cxx_try_compile "$LINENO"; then :
44822  glibcxx_cv_func__long_double_round_use=yes
44823else
44824  glibcxx_cv_func__long_double_round_use=no
44825fi
44826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44827      ac_ext=c
44828ac_cpp='$CPP $CPPFLAGS'
44829ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44830ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44831ac_compiler_gnu=$ac_cv_c_compiler_gnu
44832
44833fi
44834
44835    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44836$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44837    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44838      for ac_func in _ceill _floorl
44839do :
44840  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44841ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44842eval as_val=\$$as_ac_var
44843   if test "x$as_val" = x""yes; then :
44844  cat >>confdefs.h <<_ACEOF
44845#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44846_ACEOF
44847
44848fi
44849done
44850
44851    fi
44852  fi
44853
44854
44855
44856
44857
44858
44859  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44860$as_echo_n "checking for isnanl declaration... " >&6; }
44861  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44862    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44863  $as_echo_n "(cached) " >&6
44864else
44865
44866
44867      ac_ext=cpp
44868ac_cpp='$CXXCPP $CPPFLAGS'
44869ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44870ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44871ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44872
44873      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44874/* end confdefs.h.  */
44875#include <math.h>
44876		      #ifdef HAVE_IEEEFP_H
44877		      #include <ieeefp.h>
44878		      #endif
44879
44880int
44881main ()
44882{
44883 isnanl(0);
44884  ;
44885  return 0;
44886}
44887_ACEOF
44888if ac_fn_cxx_try_compile "$LINENO"; then :
44889  glibcxx_cv_func_isnanl_use=yes
44890else
44891  glibcxx_cv_func_isnanl_use=no
44892fi
44893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44894      ac_ext=c
44895ac_cpp='$CPP $CPPFLAGS'
44896ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44897ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44898ac_compiler_gnu=$ac_cv_c_compiler_gnu
44899
44900
44901fi
44902
44903  fi
44904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44905$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44906
44907  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44908    for ac_func in isnanl
44909do :
44910  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44911if test "x$ac_cv_func_isnanl" = x""yes; then :
44912  cat >>confdefs.h <<_ACEOF
44913#define HAVE_ISNANL 1
44914_ACEOF
44915
44916fi
44917done
44918
44919  else
44920
44921  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44922$as_echo_n "checking for _isnanl declaration... " >&6; }
44923  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44924    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44925  $as_echo_n "(cached) " >&6
44926else
44927
44928
44929      ac_ext=cpp
44930ac_cpp='$CXXCPP $CPPFLAGS'
44931ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44932ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44933ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44934
44935      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44936/* end confdefs.h.  */
44937#include <math.h>
44938		      #ifdef HAVE_IEEEFP_H
44939		      #include <ieeefp.h>
44940		      #endif
44941
44942int
44943main ()
44944{
44945 _isnanl(0);
44946  ;
44947  return 0;
44948}
44949_ACEOF
44950if ac_fn_cxx_try_compile "$LINENO"; then :
44951  glibcxx_cv_func__isnanl_use=yes
44952else
44953  glibcxx_cv_func__isnanl_use=no
44954fi
44955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44956      ac_ext=c
44957ac_cpp='$CPP $CPPFLAGS'
44958ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44959ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44960ac_compiler_gnu=$ac_cv_c_compiler_gnu
44961
44962
44963fi
44964
44965  fi
44966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44967$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44968
44969    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44970      for ac_func in _isnanl
44971do :
44972  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44973if test "x$ac_cv_func__isnanl" = x""yes; then :
44974  cat >>confdefs.h <<_ACEOF
44975#define HAVE__ISNANL 1
44976_ACEOF
44977
44978fi
44979done
44980
44981    fi
44982  fi
44983
44984
44985
44986
44987
44988  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44989$as_echo_n "checking for isinfl declaration... " >&6; }
44990  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44991    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44992  $as_echo_n "(cached) " >&6
44993else
44994
44995
44996      ac_ext=cpp
44997ac_cpp='$CXXCPP $CPPFLAGS'
44998ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44999ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45000ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45001
45002      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45003/* end confdefs.h.  */
45004#include <math.h>
45005		      #ifdef HAVE_IEEEFP_H
45006		      #include <ieeefp.h>
45007		      #endif
45008
45009int
45010main ()
45011{
45012 isinfl(0);
45013  ;
45014  return 0;
45015}
45016_ACEOF
45017if ac_fn_cxx_try_compile "$LINENO"; then :
45018  glibcxx_cv_func_isinfl_use=yes
45019else
45020  glibcxx_cv_func_isinfl_use=no
45021fi
45022rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45023      ac_ext=c
45024ac_cpp='$CPP $CPPFLAGS'
45025ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45026ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45027ac_compiler_gnu=$ac_cv_c_compiler_gnu
45028
45029
45030fi
45031
45032  fi
45033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45034$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45035
45036  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45037    for ac_func in isinfl
45038do :
45039  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45040if test "x$ac_cv_func_isinfl" = x""yes; then :
45041  cat >>confdefs.h <<_ACEOF
45042#define HAVE_ISINFL 1
45043_ACEOF
45044
45045fi
45046done
45047
45048  else
45049
45050  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45051$as_echo_n "checking for _isinfl declaration... " >&6; }
45052  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45053    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
45054  $as_echo_n "(cached) " >&6
45055else
45056
45057
45058      ac_ext=cpp
45059ac_cpp='$CXXCPP $CPPFLAGS'
45060ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45061ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45062ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45063
45064      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45065/* end confdefs.h.  */
45066#include <math.h>
45067		      #ifdef HAVE_IEEEFP_H
45068		      #include <ieeefp.h>
45069		      #endif
45070
45071int
45072main ()
45073{
45074 _isinfl(0);
45075  ;
45076  return 0;
45077}
45078_ACEOF
45079if ac_fn_cxx_try_compile "$LINENO"; then :
45080  glibcxx_cv_func__isinfl_use=yes
45081else
45082  glibcxx_cv_func__isinfl_use=no
45083fi
45084rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45085      ac_ext=c
45086ac_cpp='$CPP $CPPFLAGS'
45087ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45088ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45089ac_compiler_gnu=$ac_cv_c_compiler_gnu
45090
45091
45092fi
45093
45094  fi
45095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45096$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45097
45098    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45099      for ac_func in _isinfl
45100do :
45101  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45102if test "x$ac_cv_func__isinfl" = x""yes; then :
45103  cat >>confdefs.h <<_ACEOF
45104#define HAVE__ISINFL 1
45105_ACEOF
45106
45107fi
45108done
45109
45110    fi
45111  fi
45112
45113
45114
45115
45116
45117  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45118$as_echo_n "checking for atan2l declaration... " >&6; }
45119  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45120    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
45121  $as_echo_n "(cached) " >&6
45122else
45123
45124
45125      ac_ext=cpp
45126ac_cpp='$CXXCPP $CPPFLAGS'
45127ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45128ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45129ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45130
45131      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45132/* end confdefs.h.  */
45133#include <math.h>
45134int
45135main ()
45136{
45137 atan2l(0, 0);
45138  ;
45139  return 0;
45140}
45141_ACEOF
45142if ac_fn_cxx_try_compile "$LINENO"; then :
45143  glibcxx_cv_func_atan2l_use=yes
45144else
45145  glibcxx_cv_func_atan2l_use=no
45146fi
45147rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45148      ac_ext=c
45149ac_cpp='$CPP $CPPFLAGS'
45150ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45151ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45152ac_compiler_gnu=$ac_cv_c_compiler_gnu
45153
45154
45155fi
45156
45157  fi
45158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45159$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45160
45161  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45162    for ac_func in atan2l
45163do :
45164  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45165if test "x$ac_cv_func_atan2l" = x""yes; then :
45166  cat >>confdefs.h <<_ACEOF
45167#define HAVE_ATAN2L 1
45168_ACEOF
45169
45170fi
45171done
45172
45173  else
45174
45175  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45176$as_echo_n "checking for _atan2l declaration... " >&6; }
45177  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45178    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45179  $as_echo_n "(cached) " >&6
45180else
45181
45182
45183      ac_ext=cpp
45184ac_cpp='$CXXCPP $CPPFLAGS'
45185ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45186ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45187ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45188
45189      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45190/* end confdefs.h.  */
45191#include <math.h>
45192int
45193main ()
45194{
45195 _atan2l(0, 0);
45196  ;
45197  return 0;
45198}
45199_ACEOF
45200if ac_fn_cxx_try_compile "$LINENO"; then :
45201  glibcxx_cv_func__atan2l_use=yes
45202else
45203  glibcxx_cv_func__atan2l_use=no
45204fi
45205rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45206      ac_ext=c
45207ac_cpp='$CPP $CPPFLAGS'
45208ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45209ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45210ac_compiler_gnu=$ac_cv_c_compiler_gnu
45211
45212
45213fi
45214
45215  fi
45216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45217$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45218
45219    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45220      for ac_func in _atan2l
45221do :
45222  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45223if test "x$ac_cv_func__atan2l" = x""yes; then :
45224  cat >>confdefs.h <<_ACEOF
45225#define HAVE__ATAN2L 1
45226_ACEOF
45227
45228fi
45229done
45230
45231    fi
45232  fi
45233
45234
45235
45236
45237
45238  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45239$as_echo_n "checking for expl declaration... " >&6; }
45240  if test x${glibcxx_cv_func_expl_use+set} != xset; then
45241    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45242  $as_echo_n "(cached) " >&6
45243else
45244
45245
45246      ac_ext=cpp
45247ac_cpp='$CXXCPP $CPPFLAGS'
45248ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45249ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45250ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45251
45252      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45253/* end confdefs.h.  */
45254#include <math.h>
45255		      #ifdef HAVE_IEEEFP_H
45256		      #include <ieeefp.h>
45257		      #endif
45258
45259int
45260main ()
45261{
45262 expl(0);
45263  ;
45264  return 0;
45265}
45266_ACEOF
45267if ac_fn_cxx_try_compile "$LINENO"; then :
45268  glibcxx_cv_func_expl_use=yes
45269else
45270  glibcxx_cv_func_expl_use=no
45271fi
45272rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45273      ac_ext=c
45274ac_cpp='$CPP $CPPFLAGS'
45275ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45276ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45277ac_compiler_gnu=$ac_cv_c_compiler_gnu
45278
45279
45280fi
45281
45282  fi
45283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45284$as_echo "$glibcxx_cv_func_expl_use" >&6; }
45285
45286  if test x$glibcxx_cv_func_expl_use = x"yes"; then
45287    for ac_func in expl
45288do :
45289  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45290if test "x$ac_cv_func_expl" = x""yes; then :
45291  cat >>confdefs.h <<_ACEOF
45292#define HAVE_EXPL 1
45293_ACEOF
45294
45295fi
45296done
45297
45298  else
45299
45300  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45301$as_echo_n "checking for _expl declaration... " >&6; }
45302  if test x${glibcxx_cv_func__expl_use+set} != xset; then
45303    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45304  $as_echo_n "(cached) " >&6
45305else
45306
45307
45308      ac_ext=cpp
45309ac_cpp='$CXXCPP $CPPFLAGS'
45310ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45311ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45312ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45313
45314      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45315/* end confdefs.h.  */
45316#include <math.h>
45317		      #ifdef HAVE_IEEEFP_H
45318		      #include <ieeefp.h>
45319		      #endif
45320
45321int
45322main ()
45323{
45324 _expl(0);
45325  ;
45326  return 0;
45327}
45328_ACEOF
45329if ac_fn_cxx_try_compile "$LINENO"; then :
45330  glibcxx_cv_func__expl_use=yes
45331else
45332  glibcxx_cv_func__expl_use=no
45333fi
45334rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45335      ac_ext=c
45336ac_cpp='$CPP $CPPFLAGS'
45337ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45338ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45339ac_compiler_gnu=$ac_cv_c_compiler_gnu
45340
45341
45342fi
45343
45344  fi
45345  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45346$as_echo "$glibcxx_cv_func__expl_use" >&6; }
45347
45348    if test x$glibcxx_cv_func__expl_use = x"yes"; then
45349      for ac_func in _expl
45350do :
45351  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45352if test "x$ac_cv_func__expl" = x""yes; then :
45353  cat >>confdefs.h <<_ACEOF
45354#define HAVE__EXPL 1
45355_ACEOF
45356
45357fi
45358done
45359
45360    fi
45361  fi
45362
45363
45364
45365
45366
45367  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45368$as_echo_n "checking for fabsl declaration... " >&6; }
45369  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45370    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45371  $as_echo_n "(cached) " >&6
45372else
45373
45374
45375      ac_ext=cpp
45376ac_cpp='$CXXCPP $CPPFLAGS'
45377ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45378ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45379ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45380
45381      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45382/* end confdefs.h.  */
45383#include <math.h>
45384		      #ifdef HAVE_IEEEFP_H
45385		      #include <ieeefp.h>
45386		      #endif
45387
45388int
45389main ()
45390{
45391 fabsl(0);
45392  ;
45393  return 0;
45394}
45395_ACEOF
45396if ac_fn_cxx_try_compile "$LINENO"; then :
45397  glibcxx_cv_func_fabsl_use=yes
45398else
45399  glibcxx_cv_func_fabsl_use=no
45400fi
45401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45402      ac_ext=c
45403ac_cpp='$CPP $CPPFLAGS'
45404ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45405ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45406ac_compiler_gnu=$ac_cv_c_compiler_gnu
45407
45408
45409fi
45410
45411  fi
45412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45413$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45414
45415  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45416    for ac_func in fabsl
45417do :
45418  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45419if test "x$ac_cv_func_fabsl" = x""yes; then :
45420  cat >>confdefs.h <<_ACEOF
45421#define HAVE_FABSL 1
45422_ACEOF
45423
45424fi
45425done
45426
45427  else
45428
45429  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45430$as_echo_n "checking for _fabsl declaration... " >&6; }
45431  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45432    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45433  $as_echo_n "(cached) " >&6
45434else
45435
45436
45437      ac_ext=cpp
45438ac_cpp='$CXXCPP $CPPFLAGS'
45439ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45440ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45441ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45442
45443      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45444/* end confdefs.h.  */
45445#include <math.h>
45446		      #ifdef HAVE_IEEEFP_H
45447		      #include <ieeefp.h>
45448		      #endif
45449
45450int
45451main ()
45452{
45453 _fabsl(0);
45454  ;
45455  return 0;
45456}
45457_ACEOF
45458if ac_fn_cxx_try_compile "$LINENO"; then :
45459  glibcxx_cv_func__fabsl_use=yes
45460else
45461  glibcxx_cv_func__fabsl_use=no
45462fi
45463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45464      ac_ext=c
45465ac_cpp='$CPP $CPPFLAGS'
45466ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45467ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45468ac_compiler_gnu=$ac_cv_c_compiler_gnu
45469
45470
45471fi
45472
45473  fi
45474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45475$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45476
45477    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45478      for ac_func in _fabsl
45479do :
45480  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45481if test "x$ac_cv_func__fabsl" = x""yes; then :
45482  cat >>confdefs.h <<_ACEOF
45483#define HAVE__FABSL 1
45484_ACEOF
45485
45486fi
45487done
45488
45489    fi
45490  fi
45491
45492
45493
45494
45495
45496  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45497$as_echo_n "checking for fmodl declaration... " >&6; }
45498  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45499    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45500  $as_echo_n "(cached) " >&6
45501else
45502
45503
45504      ac_ext=cpp
45505ac_cpp='$CXXCPP $CPPFLAGS'
45506ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45507ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45508ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45509
45510      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45511/* end confdefs.h.  */
45512#include <math.h>
45513int
45514main ()
45515{
45516 fmodl(0, 0);
45517  ;
45518  return 0;
45519}
45520_ACEOF
45521if ac_fn_cxx_try_compile "$LINENO"; then :
45522  glibcxx_cv_func_fmodl_use=yes
45523else
45524  glibcxx_cv_func_fmodl_use=no
45525fi
45526rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45527      ac_ext=c
45528ac_cpp='$CPP $CPPFLAGS'
45529ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45530ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45531ac_compiler_gnu=$ac_cv_c_compiler_gnu
45532
45533
45534fi
45535
45536  fi
45537  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45538$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45539
45540  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45541    for ac_func in fmodl
45542do :
45543  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45544if test "x$ac_cv_func_fmodl" = x""yes; then :
45545  cat >>confdefs.h <<_ACEOF
45546#define HAVE_FMODL 1
45547_ACEOF
45548
45549fi
45550done
45551
45552  else
45553
45554  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45555$as_echo_n "checking for _fmodl declaration... " >&6; }
45556  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45557    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45558  $as_echo_n "(cached) " >&6
45559else
45560
45561
45562      ac_ext=cpp
45563ac_cpp='$CXXCPP $CPPFLAGS'
45564ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45565ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45566ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45567
45568      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45569/* end confdefs.h.  */
45570#include <math.h>
45571int
45572main ()
45573{
45574 _fmodl(0, 0);
45575  ;
45576  return 0;
45577}
45578_ACEOF
45579if ac_fn_cxx_try_compile "$LINENO"; then :
45580  glibcxx_cv_func__fmodl_use=yes
45581else
45582  glibcxx_cv_func__fmodl_use=no
45583fi
45584rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45585      ac_ext=c
45586ac_cpp='$CPP $CPPFLAGS'
45587ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45588ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45589ac_compiler_gnu=$ac_cv_c_compiler_gnu
45590
45591
45592fi
45593
45594  fi
45595  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45596$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45597
45598    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45599      for ac_func in _fmodl
45600do :
45601  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45602if test "x$ac_cv_func__fmodl" = x""yes; then :
45603  cat >>confdefs.h <<_ACEOF
45604#define HAVE__FMODL 1
45605_ACEOF
45606
45607fi
45608done
45609
45610    fi
45611  fi
45612
45613
45614
45615
45616
45617  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45618$as_echo_n "checking for frexpl declaration... " >&6; }
45619  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45620    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45621  $as_echo_n "(cached) " >&6
45622else
45623
45624
45625      ac_ext=cpp
45626ac_cpp='$CXXCPP $CPPFLAGS'
45627ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45628ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45629ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45630
45631      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45632/* end confdefs.h.  */
45633#include <math.h>
45634int
45635main ()
45636{
45637 frexpl(0, 0);
45638  ;
45639  return 0;
45640}
45641_ACEOF
45642if ac_fn_cxx_try_compile "$LINENO"; then :
45643  glibcxx_cv_func_frexpl_use=yes
45644else
45645  glibcxx_cv_func_frexpl_use=no
45646fi
45647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45648      ac_ext=c
45649ac_cpp='$CPP $CPPFLAGS'
45650ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45651ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45652ac_compiler_gnu=$ac_cv_c_compiler_gnu
45653
45654
45655fi
45656
45657  fi
45658  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45659$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45660
45661  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45662    for ac_func in frexpl
45663do :
45664  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45665if test "x$ac_cv_func_frexpl" = x""yes; then :
45666  cat >>confdefs.h <<_ACEOF
45667#define HAVE_FREXPL 1
45668_ACEOF
45669
45670fi
45671done
45672
45673  else
45674
45675  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45676$as_echo_n "checking for _frexpl declaration... " >&6; }
45677  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45678    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45679  $as_echo_n "(cached) " >&6
45680else
45681
45682
45683      ac_ext=cpp
45684ac_cpp='$CXXCPP $CPPFLAGS'
45685ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45686ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45687ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45688
45689      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45690/* end confdefs.h.  */
45691#include <math.h>
45692int
45693main ()
45694{
45695 _frexpl(0, 0);
45696  ;
45697  return 0;
45698}
45699_ACEOF
45700if ac_fn_cxx_try_compile "$LINENO"; then :
45701  glibcxx_cv_func__frexpl_use=yes
45702else
45703  glibcxx_cv_func__frexpl_use=no
45704fi
45705rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45706      ac_ext=c
45707ac_cpp='$CPP $CPPFLAGS'
45708ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45709ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45710ac_compiler_gnu=$ac_cv_c_compiler_gnu
45711
45712
45713fi
45714
45715  fi
45716  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45717$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45718
45719    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45720      for ac_func in _frexpl
45721do :
45722  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45723if test "x$ac_cv_func__frexpl" = x""yes; then :
45724  cat >>confdefs.h <<_ACEOF
45725#define HAVE__FREXPL 1
45726_ACEOF
45727
45728fi
45729done
45730
45731    fi
45732  fi
45733
45734
45735
45736
45737
45738  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45739$as_echo_n "checking for hypotl declaration... " >&6; }
45740  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45741    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45742  $as_echo_n "(cached) " >&6
45743else
45744
45745
45746      ac_ext=cpp
45747ac_cpp='$CXXCPP $CPPFLAGS'
45748ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45749ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45750ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45751
45752      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45753/* end confdefs.h.  */
45754#include <math.h>
45755int
45756main ()
45757{
45758 hypotl(0, 0);
45759  ;
45760  return 0;
45761}
45762_ACEOF
45763if ac_fn_cxx_try_compile "$LINENO"; then :
45764  glibcxx_cv_func_hypotl_use=yes
45765else
45766  glibcxx_cv_func_hypotl_use=no
45767fi
45768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45769      ac_ext=c
45770ac_cpp='$CPP $CPPFLAGS'
45771ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45772ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45773ac_compiler_gnu=$ac_cv_c_compiler_gnu
45774
45775
45776fi
45777
45778  fi
45779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45780$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45781
45782  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45783    for ac_func in hypotl
45784do :
45785  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45786if test "x$ac_cv_func_hypotl" = x""yes; then :
45787  cat >>confdefs.h <<_ACEOF
45788#define HAVE_HYPOTL 1
45789_ACEOF
45790
45791fi
45792done
45793
45794  else
45795
45796  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45797$as_echo_n "checking for _hypotl declaration... " >&6; }
45798  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45799    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45800  $as_echo_n "(cached) " >&6
45801else
45802
45803
45804      ac_ext=cpp
45805ac_cpp='$CXXCPP $CPPFLAGS'
45806ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45807ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45808ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45809
45810      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45811/* end confdefs.h.  */
45812#include <math.h>
45813int
45814main ()
45815{
45816 _hypotl(0, 0);
45817  ;
45818  return 0;
45819}
45820_ACEOF
45821if ac_fn_cxx_try_compile "$LINENO"; then :
45822  glibcxx_cv_func__hypotl_use=yes
45823else
45824  glibcxx_cv_func__hypotl_use=no
45825fi
45826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45827      ac_ext=c
45828ac_cpp='$CPP $CPPFLAGS'
45829ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45830ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45831ac_compiler_gnu=$ac_cv_c_compiler_gnu
45832
45833
45834fi
45835
45836  fi
45837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45838$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45839
45840    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45841      for ac_func in _hypotl
45842do :
45843  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45844if test "x$ac_cv_func__hypotl" = x""yes; then :
45845  cat >>confdefs.h <<_ACEOF
45846#define HAVE__HYPOTL 1
45847_ACEOF
45848
45849fi
45850done
45851
45852    fi
45853  fi
45854
45855
45856
45857
45858
45859  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45860$as_echo_n "checking for ldexpl declaration... " >&6; }
45861  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45862    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45863  $as_echo_n "(cached) " >&6
45864else
45865
45866
45867      ac_ext=cpp
45868ac_cpp='$CXXCPP $CPPFLAGS'
45869ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45870ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45871ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45872
45873      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45874/* end confdefs.h.  */
45875#include <math.h>
45876int
45877main ()
45878{
45879 ldexpl(0, 0);
45880  ;
45881  return 0;
45882}
45883_ACEOF
45884if ac_fn_cxx_try_compile "$LINENO"; then :
45885  glibcxx_cv_func_ldexpl_use=yes
45886else
45887  glibcxx_cv_func_ldexpl_use=no
45888fi
45889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45890      ac_ext=c
45891ac_cpp='$CPP $CPPFLAGS'
45892ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45893ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45894ac_compiler_gnu=$ac_cv_c_compiler_gnu
45895
45896
45897fi
45898
45899  fi
45900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45901$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45902
45903  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45904    for ac_func in ldexpl
45905do :
45906  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45907if test "x$ac_cv_func_ldexpl" = x""yes; then :
45908  cat >>confdefs.h <<_ACEOF
45909#define HAVE_LDEXPL 1
45910_ACEOF
45911
45912fi
45913done
45914
45915  else
45916
45917  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45918$as_echo_n "checking for _ldexpl declaration... " >&6; }
45919  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45920    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45921  $as_echo_n "(cached) " >&6
45922else
45923
45924
45925      ac_ext=cpp
45926ac_cpp='$CXXCPP $CPPFLAGS'
45927ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45928ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45929ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45930
45931      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45932/* end confdefs.h.  */
45933#include <math.h>
45934int
45935main ()
45936{
45937 _ldexpl(0, 0);
45938  ;
45939  return 0;
45940}
45941_ACEOF
45942if ac_fn_cxx_try_compile "$LINENO"; then :
45943  glibcxx_cv_func__ldexpl_use=yes
45944else
45945  glibcxx_cv_func__ldexpl_use=no
45946fi
45947rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45948      ac_ext=c
45949ac_cpp='$CPP $CPPFLAGS'
45950ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45951ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45952ac_compiler_gnu=$ac_cv_c_compiler_gnu
45953
45954
45955fi
45956
45957  fi
45958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45959$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45960
45961    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45962      for ac_func in _ldexpl
45963do :
45964  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45965if test "x$ac_cv_func__ldexpl" = x""yes; then :
45966  cat >>confdefs.h <<_ACEOF
45967#define HAVE__LDEXPL 1
45968_ACEOF
45969
45970fi
45971done
45972
45973    fi
45974  fi
45975
45976
45977
45978
45979
45980  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45981$as_echo_n "checking for logl declaration... " >&6; }
45982  if test x${glibcxx_cv_func_logl_use+set} != xset; then
45983    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
45984  $as_echo_n "(cached) " >&6
45985else
45986
45987
45988      ac_ext=cpp
45989ac_cpp='$CXXCPP $CPPFLAGS'
45990ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45991ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45992ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45993
45994      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45995/* end confdefs.h.  */
45996#include <math.h>
45997		      #ifdef HAVE_IEEEFP_H
45998		      #include <ieeefp.h>
45999		      #endif
46000
46001int
46002main ()
46003{
46004 logl(0);
46005  ;
46006  return 0;
46007}
46008_ACEOF
46009if ac_fn_cxx_try_compile "$LINENO"; then :
46010  glibcxx_cv_func_logl_use=yes
46011else
46012  glibcxx_cv_func_logl_use=no
46013fi
46014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46015      ac_ext=c
46016ac_cpp='$CPP $CPPFLAGS'
46017ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46018ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46019ac_compiler_gnu=$ac_cv_c_compiler_gnu
46020
46021
46022fi
46023
46024  fi
46025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46026$as_echo "$glibcxx_cv_func_logl_use" >&6; }
46027
46028  if test x$glibcxx_cv_func_logl_use = x"yes"; then
46029    for ac_func in logl
46030do :
46031  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46032if test "x$ac_cv_func_logl" = x""yes; then :
46033  cat >>confdefs.h <<_ACEOF
46034#define HAVE_LOGL 1
46035_ACEOF
46036
46037fi
46038done
46039
46040  else
46041
46042  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46043$as_echo_n "checking for _logl declaration... " >&6; }
46044  if test x${glibcxx_cv_func__logl_use+set} != xset; then
46045    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
46046  $as_echo_n "(cached) " >&6
46047else
46048
46049
46050      ac_ext=cpp
46051ac_cpp='$CXXCPP $CPPFLAGS'
46052ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46053ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46054ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46055
46056      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46057/* end confdefs.h.  */
46058#include <math.h>
46059		      #ifdef HAVE_IEEEFP_H
46060		      #include <ieeefp.h>
46061		      #endif
46062
46063int
46064main ()
46065{
46066 _logl(0);
46067  ;
46068  return 0;
46069}
46070_ACEOF
46071if ac_fn_cxx_try_compile "$LINENO"; then :
46072  glibcxx_cv_func__logl_use=yes
46073else
46074  glibcxx_cv_func__logl_use=no
46075fi
46076rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46077      ac_ext=c
46078ac_cpp='$CPP $CPPFLAGS'
46079ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46080ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46081ac_compiler_gnu=$ac_cv_c_compiler_gnu
46082
46083
46084fi
46085
46086  fi
46087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46088$as_echo "$glibcxx_cv_func__logl_use" >&6; }
46089
46090    if test x$glibcxx_cv_func__logl_use = x"yes"; then
46091      for ac_func in _logl
46092do :
46093  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46094if test "x$ac_cv_func__logl" = x""yes; then :
46095  cat >>confdefs.h <<_ACEOF
46096#define HAVE__LOGL 1
46097_ACEOF
46098
46099fi
46100done
46101
46102    fi
46103  fi
46104
46105
46106
46107
46108
46109  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46110$as_echo_n "checking for log10l declaration... " >&6; }
46111  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46112    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
46113  $as_echo_n "(cached) " >&6
46114else
46115
46116
46117      ac_ext=cpp
46118ac_cpp='$CXXCPP $CPPFLAGS'
46119ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46120ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46121ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46122
46123      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46124/* end confdefs.h.  */
46125#include <math.h>
46126		      #ifdef HAVE_IEEEFP_H
46127		      #include <ieeefp.h>
46128		      #endif
46129
46130int
46131main ()
46132{
46133 log10l(0);
46134  ;
46135  return 0;
46136}
46137_ACEOF
46138if ac_fn_cxx_try_compile "$LINENO"; then :
46139  glibcxx_cv_func_log10l_use=yes
46140else
46141  glibcxx_cv_func_log10l_use=no
46142fi
46143rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46144      ac_ext=c
46145ac_cpp='$CPP $CPPFLAGS'
46146ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46147ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46148ac_compiler_gnu=$ac_cv_c_compiler_gnu
46149
46150
46151fi
46152
46153  fi
46154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46155$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46156
46157  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46158    for ac_func in log10l
46159do :
46160  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46161if test "x$ac_cv_func_log10l" = x""yes; then :
46162  cat >>confdefs.h <<_ACEOF
46163#define HAVE_LOG10L 1
46164_ACEOF
46165
46166fi
46167done
46168
46169  else
46170
46171  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46172$as_echo_n "checking for _log10l declaration... " >&6; }
46173  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46174    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46175  $as_echo_n "(cached) " >&6
46176else
46177
46178
46179      ac_ext=cpp
46180ac_cpp='$CXXCPP $CPPFLAGS'
46181ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46182ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46183ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46184
46185      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46186/* end confdefs.h.  */
46187#include <math.h>
46188		      #ifdef HAVE_IEEEFP_H
46189		      #include <ieeefp.h>
46190		      #endif
46191
46192int
46193main ()
46194{
46195 _log10l(0);
46196  ;
46197  return 0;
46198}
46199_ACEOF
46200if ac_fn_cxx_try_compile "$LINENO"; then :
46201  glibcxx_cv_func__log10l_use=yes
46202else
46203  glibcxx_cv_func__log10l_use=no
46204fi
46205rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46206      ac_ext=c
46207ac_cpp='$CPP $CPPFLAGS'
46208ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46209ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46210ac_compiler_gnu=$ac_cv_c_compiler_gnu
46211
46212
46213fi
46214
46215  fi
46216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46217$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46218
46219    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46220      for ac_func in _log10l
46221do :
46222  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46223if test "x$ac_cv_func__log10l" = x""yes; then :
46224  cat >>confdefs.h <<_ACEOF
46225#define HAVE__LOG10L 1
46226_ACEOF
46227
46228fi
46229done
46230
46231    fi
46232  fi
46233
46234
46235
46236
46237
46238  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46239$as_echo_n "checking for modfl declaration... " >&6; }
46240  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46241    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46242  $as_echo_n "(cached) " >&6
46243else
46244
46245
46246      ac_ext=cpp
46247ac_cpp='$CXXCPP $CPPFLAGS'
46248ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46249ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46250ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46251
46252      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46253/* end confdefs.h.  */
46254#include <math.h>
46255int
46256main ()
46257{
46258 modfl(0, 0);
46259  ;
46260  return 0;
46261}
46262_ACEOF
46263if ac_fn_cxx_try_compile "$LINENO"; then :
46264  glibcxx_cv_func_modfl_use=yes
46265else
46266  glibcxx_cv_func_modfl_use=no
46267fi
46268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46269      ac_ext=c
46270ac_cpp='$CPP $CPPFLAGS'
46271ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46272ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46273ac_compiler_gnu=$ac_cv_c_compiler_gnu
46274
46275
46276fi
46277
46278  fi
46279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46280$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46281
46282  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46283    for ac_func in modfl
46284do :
46285  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46286if test "x$ac_cv_func_modfl" = x""yes; then :
46287  cat >>confdefs.h <<_ACEOF
46288#define HAVE_MODFL 1
46289_ACEOF
46290
46291fi
46292done
46293
46294  else
46295
46296  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46297$as_echo_n "checking for _modfl declaration... " >&6; }
46298  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46299    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46300  $as_echo_n "(cached) " >&6
46301else
46302
46303
46304      ac_ext=cpp
46305ac_cpp='$CXXCPP $CPPFLAGS'
46306ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46307ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46308ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46309
46310      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46311/* end confdefs.h.  */
46312#include <math.h>
46313int
46314main ()
46315{
46316 _modfl(0, 0);
46317  ;
46318  return 0;
46319}
46320_ACEOF
46321if ac_fn_cxx_try_compile "$LINENO"; then :
46322  glibcxx_cv_func__modfl_use=yes
46323else
46324  glibcxx_cv_func__modfl_use=no
46325fi
46326rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46327      ac_ext=c
46328ac_cpp='$CPP $CPPFLAGS'
46329ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46330ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46331ac_compiler_gnu=$ac_cv_c_compiler_gnu
46332
46333
46334fi
46335
46336  fi
46337  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46338$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46339
46340    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46341      for ac_func in _modfl
46342do :
46343  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46344if test "x$ac_cv_func__modfl" = x""yes; then :
46345  cat >>confdefs.h <<_ACEOF
46346#define HAVE__MODFL 1
46347_ACEOF
46348
46349fi
46350done
46351
46352    fi
46353  fi
46354
46355
46356
46357
46358
46359  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46360$as_echo_n "checking for powl declaration... " >&6; }
46361  if test x${glibcxx_cv_func_powl_use+set} != xset; then
46362    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46363  $as_echo_n "(cached) " >&6
46364else
46365
46366
46367      ac_ext=cpp
46368ac_cpp='$CXXCPP $CPPFLAGS'
46369ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46370ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46371ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46372
46373      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46374/* end confdefs.h.  */
46375#include <math.h>
46376int
46377main ()
46378{
46379 powl(0, 0);
46380  ;
46381  return 0;
46382}
46383_ACEOF
46384if ac_fn_cxx_try_compile "$LINENO"; then :
46385  glibcxx_cv_func_powl_use=yes
46386else
46387  glibcxx_cv_func_powl_use=no
46388fi
46389rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46390      ac_ext=c
46391ac_cpp='$CPP $CPPFLAGS'
46392ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46393ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46394ac_compiler_gnu=$ac_cv_c_compiler_gnu
46395
46396
46397fi
46398
46399  fi
46400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46401$as_echo "$glibcxx_cv_func_powl_use" >&6; }
46402
46403  if test x$glibcxx_cv_func_powl_use = x"yes"; then
46404    for ac_func in powl
46405do :
46406  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46407if test "x$ac_cv_func_powl" = x""yes; then :
46408  cat >>confdefs.h <<_ACEOF
46409#define HAVE_POWL 1
46410_ACEOF
46411
46412fi
46413done
46414
46415  else
46416
46417  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46418$as_echo_n "checking for _powl declaration... " >&6; }
46419  if test x${glibcxx_cv_func__powl_use+set} != xset; then
46420    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46421  $as_echo_n "(cached) " >&6
46422else
46423
46424
46425      ac_ext=cpp
46426ac_cpp='$CXXCPP $CPPFLAGS'
46427ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46428ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46429ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46430
46431      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46432/* end confdefs.h.  */
46433#include <math.h>
46434int
46435main ()
46436{
46437 _powl(0, 0);
46438  ;
46439  return 0;
46440}
46441_ACEOF
46442if ac_fn_cxx_try_compile "$LINENO"; then :
46443  glibcxx_cv_func__powl_use=yes
46444else
46445  glibcxx_cv_func__powl_use=no
46446fi
46447rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46448      ac_ext=c
46449ac_cpp='$CPP $CPPFLAGS'
46450ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46451ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46452ac_compiler_gnu=$ac_cv_c_compiler_gnu
46453
46454
46455fi
46456
46457  fi
46458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46459$as_echo "$glibcxx_cv_func__powl_use" >&6; }
46460
46461    if test x$glibcxx_cv_func__powl_use = x"yes"; then
46462      for ac_func in _powl
46463do :
46464  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46465if test "x$ac_cv_func__powl" = x""yes; then :
46466  cat >>confdefs.h <<_ACEOF
46467#define HAVE__POWL 1
46468_ACEOF
46469
46470fi
46471done
46472
46473    fi
46474  fi
46475
46476
46477
46478
46479
46480  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46481$as_echo_n "checking for sqrtl declaration... " >&6; }
46482  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46483    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46484  $as_echo_n "(cached) " >&6
46485else
46486
46487
46488      ac_ext=cpp
46489ac_cpp='$CXXCPP $CPPFLAGS'
46490ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46491ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46492ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46493
46494      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46495/* end confdefs.h.  */
46496#include <math.h>
46497		      #ifdef HAVE_IEEEFP_H
46498		      #include <ieeefp.h>
46499		      #endif
46500
46501int
46502main ()
46503{
46504 sqrtl(0);
46505  ;
46506  return 0;
46507}
46508_ACEOF
46509if ac_fn_cxx_try_compile "$LINENO"; then :
46510  glibcxx_cv_func_sqrtl_use=yes
46511else
46512  glibcxx_cv_func_sqrtl_use=no
46513fi
46514rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46515      ac_ext=c
46516ac_cpp='$CPP $CPPFLAGS'
46517ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46518ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46519ac_compiler_gnu=$ac_cv_c_compiler_gnu
46520
46521
46522fi
46523
46524  fi
46525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46526$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46527
46528  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46529    for ac_func in sqrtl
46530do :
46531  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46532if test "x$ac_cv_func_sqrtl" = x""yes; then :
46533  cat >>confdefs.h <<_ACEOF
46534#define HAVE_SQRTL 1
46535_ACEOF
46536
46537fi
46538done
46539
46540  else
46541
46542  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46543$as_echo_n "checking for _sqrtl declaration... " >&6; }
46544  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46545    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46546  $as_echo_n "(cached) " >&6
46547else
46548
46549
46550      ac_ext=cpp
46551ac_cpp='$CXXCPP $CPPFLAGS'
46552ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46553ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46554ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46555
46556      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46557/* end confdefs.h.  */
46558#include <math.h>
46559		      #ifdef HAVE_IEEEFP_H
46560		      #include <ieeefp.h>
46561		      #endif
46562
46563int
46564main ()
46565{
46566 _sqrtl(0);
46567  ;
46568  return 0;
46569}
46570_ACEOF
46571if ac_fn_cxx_try_compile "$LINENO"; then :
46572  glibcxx_cv_func__sqrtl_use=yes
46573else
46574  glibcxx_cv_func__sqrtl_use=no
46575fi
46576rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46577      ac_ext=c
46578ac_cpp='$CPP $CPPFLAGS'
46579ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46580ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46581ac_compiler_gnu=$ac_cv_c_compiler_gnu
46582
46583
46584fi
46585
46586  fi
46587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46588$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46589
46590    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46591      for ac_func in _sqrtl
46592do :
46593  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46594if test "x$ac_cv_func__sqrtl" = x""yes; then :
46595  cat >>confdefs.h <<_ACEOF
46596#define HAVE__SQRTL 1
46597_ACEOF
46598
46599fi
46600done
46601
46602    fi
46603  fi
46604
46605
46606
46607
46608
46609  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46610$as_echo_n "checking for sincosl declaration... " >&6; }
46611  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46612    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46613  $as_echo_n "(cached) " >&6
46614else
46615
46616
46617      ac_ext=cpp
46618ac_cpp='$CXXCPP $CPPFLAGS'
46619ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46620ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46621ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46622
46623      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46624/* end confdefs.h.  */
46625#include <math.h>
46626int
46627main ()
46628{
46629 sincosl(0, 0, 0);
46630  ;
46631  return 0;
46632}
46633_ACEOF
46634if ac_fn_cxx_try_compile "$LINENO"; then :
46635  glibcxx_cv_func_sincosl_use=yes
46636else
46637  glibcxx_cv_func_sincosl_use=no
46638fi
46639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46640      ac_ext=c
46641ac_cpp='$CPP $CPPFLAGS'
46642ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46643ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46644ac_compiler_gnu=$ac_cv_c_compiler_gnu
46645
46646
46647fi
46648
46649  fi
46650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46651$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46652
46653  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46654    for ac_func in sincosl
46655do :
46656  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46657if test "x$ac_cv_func_sincosl" = x""yes; then :
46658  cat >>confdefs.h <<_ACEOF
46659#define HAVE_SINCOSL 1
46660_ACEOF
46661
46662fi
46663done
46664
46665  else
46666
46667  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46668$as_echo_n "checking for _sincosl declaration... " >&6; }
46669  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46670    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46671  $as_echo_n "(cached) " >&6
46672else
46673
46674
46675      ac_ext=cpp
46676ac_cpp='$CXXCPP $CPPFLAGS'
46677ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46678ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46679ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46680
46681      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46682/* end confdefs.h.  */
46683#include <math.h>
46684int
46685main ()
46686{
46687 _sincosl(0, 0, 0);
46688  ;
46689  return 0;
46690}
46691_ACEOF
46692if ac_fn_cxx_try_compile "$LINENO"; then :
46693  glibcxx_cv_func__sincosl_use=yes
46694else
46695  glibcxx_cv_func__sincosl_use=no
46696fi
46697rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46698      ac_ext=c
46699ac_cpp='$CPP $CPPFLAGS'
46700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46702ac_compiler_gnu=$ac_cv_c_compiler_gnu
46703
46704
46705fi
46706
46707  fi
46708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46709$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46710
46711    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46712      for ac_func in _sincosl
46713do :
46714  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46715if test "x$ac_cv_func__sincosl" = x""yes; then :
46716  cat >>confdefs.h <<_ACEOF
46717#define HAVE__SINCOSL 1
46718_ACEOF
46719
46720fi
46721done
46722
46723    fi
46724  fi
46725
46726
46727
46728
46729
46730  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46731$as_echo_n "checking for finitel declaration... " >&6; }
46732  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46733    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46734  $as_echo_n "(cached) " >&6
46735else
46736
46737
46738      ac_ext=cpp
46739ac_cpp='$CXXCPP $CPPFLAGS'
46740ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46741ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46742ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46743
46744      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46745/* end confdefs.h.  */
46746#include <math.h>
46747		      #ifdef HAVE_IEEEFP_H
46748		      #include <ieeefp.h>
46749		      #endif
46750
46751int
46752main ()
46753{
46754 finitel(0);
46755  ;
46756  return 0;
46757}
46758_ACEOF
46759if ac_fn_cxx_try_compile "$LINENO"; then :
46760  glibcxx_cv_func_finitel_use=yes
46761else
46762  glibcxx_cv_func_finitel_use=no
46763fi
46764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46765      ac_ext=c
46766ac_cpp='$CPP $CPPFLAGS'
46767ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46768ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46769ac_compiler_gnu=$ac_cv_c_compiler_gnu
46770
46771
46772fi
46773
46774  fi
46775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46776$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46777
46778  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46779    for ac_func in finitel
46780do :
46781  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46782if test "x$ac_cv_func_finitel" = x""yes; then :
46783  cat >>confdefs.h <<_ACEOF
46784#define HAVE_FINITEL 1
46785_ACEOF
46786
46787fi
46788done
46789
46790  else
46791
46792  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46793$as_echo_n "checking for _finitel declaration... " >&6; }
46794  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46795    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46796  $as_echo_n "(cached) " >&6
46797else
46798
46799
46800      ac_ext=cpp
46801ac_cpp='$CXXCPP $CPPFLAGS'
46802ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46803ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46804ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46805
46806      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46807/* end confdefs.h.  */
46808#include <math.h>
46809		      #ifdef HAVE_IEEEFP_H
46810		      #include <ieeefp.h>
46811		      #endif
46812
46813int
46814main ()
46815{
46816 _finitel(0);
46817  ;
46818  return 0;
46819}
46820_ACEOF
46821if ac_fn_cxx_try_compile "$LINENO"; then :
46822  glibcxx_cv_func__finitel_use=yes
46823else
46824  glibcxx_cv_func__finitel_use=no
46825fi
46826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46827      ac_ext=c
46828ac_cpp='$CPP $CPPFLAGS'
46829ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46830ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46831ac_compiler_gnu=$ac_cv_c_compiler_gnu
46832
46833
46834fi
46835
46836  fi
46837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46838$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46839
46840    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46841      for ac_func in _finitel
46842do :
46843  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46844if test "x$ac_cv_func__finitel" = x""yes; then :
46845  cat >>confdefs.h <<_ACEOF
46846#define HAVE__FINITEL 1
46847_ACEOF
46848
46849fi
46850done
46851
46852    fi
46853  fi
46854
46855
46856
46857
46858  LIBS="$ac_save_LIBS"
46859  CXXFLAGS="$ac_save_CXXFLAGS"
46860
46861
46862  ac_test_CXXFLAGS="${CXXFLAGS+set}"
46863  ac_save_CXXFLAGS="$CXXFLAGS"
46864  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46865
46866
46867  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46868$as_echo_n "checking for at_quick_exit declaration... " >&6; }
46869  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46870    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46871  $as_echo_n "(cached) " >&6
46872else
46873
46874
46875      ac_ext=cpp
46876ac_cpp='$CXXCPP $CPPFLAGS'
46877ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46878ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46879ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46880
46881      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46882/* end confdefs.h.  */
46883#include <stdlib.h>
46884int
46885main ()
46886{
46887 at_quick_exit(0);
46888  ;
46889  return 0;
46890}
46891_ACEOF
46892if ac_fn_cxx_try_compile "$LINENO"; then :
46893  glibcxx_cv_func_at_quick_exit_use=yes
46894else
46895  glibcxx_cv_func_at_quick_exit_use=no
46896fi
46897rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46898      ac_ext=c
46899ac_cpp='$CPP $CPPFLAGS'
46900ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46901ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46902ac_compiler_gnu=$ac_cv_c_compiler_gnu
46903
46904
46905fi
46906
46907  fi
46908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46909$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46910  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46911    for ac_func in at_quick_exit
46912do :
46913  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46914if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46915  cat >>confdefs.h <<_ACEOF
46916#define HAVE_AT_QUICK_EXIT 1
46917_ACEOF
46918
46919fi
46920done
46921
46922  fi
46923
46924
46925  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46926$as_echo_n "checking for quick_exit declaration... " >&6; }
46927  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46928    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46929  $as_echo_n "(cached) " >&6
46930else
46931
46932
46933      ac_ext=cpp
46934ac_cpp='$CXXCPP $CPPFLAGS'
46935ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46936ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46937ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46938
46939      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46940/* end confdefs.h.  */
46941#include <stdlib.h>
46942int
46943main ()
46944{
46945 quick_exit(0);
46946  ;
46947  return 0;
46948}
46949_ACEOF
46950if ac_fn_cxx_try_compile "$LINENO"; then :
46951  glibcxx_cv_func_quick_exit_use=yes
46952else
46953  glibcxx_cv_func_quick_exit_use=no
46954fi
46955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46956      ac_ext=c
46957ac_cpp='$CPP $CPPFLAGS'
46958ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46959ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46960ac_compiler_gnu=$ac_cv_c_compiler_gnu
46961
46962
46963fi
46964
46965  fi
46966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46967$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46968  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46969    for ac_func in quick_exit
46970do :
46971  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46972if test "x$ac_cv_func_quick_exit" = x""yes; then :
46973  cat >>confdefs.h <<_ACEOF
46974#define HAVE_QUICK_EXIT 1
46975_ACEOF
46976
46977fi
46978done
46979
46980  fi
46981
46982
46983  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46984$as_echo_n "checking for strtold declaration... " >&6; }
46985  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46986    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46987  $as_echo_n "(cached) " >&6
46988else
46989
46990
46991      ac_ext=cpp
46992ac_cpp='$CXXCPP $CPPFLAGS'
46993ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46994ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46995ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46996
46997      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46998/* end confdefs.h.  */
46999#include <stdlib.h>
47000int
47001main ()
47002{
47003 strtold(0, 0);
47004  ;
47005  return 0;
47006}
47007_ACEOF
47008if ac_fn_cxx_try_compile "$LINENO"; then :
47009  glibcxx_cv_func_strtold_use=yes
47010else
47011  glibcxx_cv_func_strtold_use=no
47012fi
47013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47014      ac_ext=c
47015ac_cpp='$CPP $CPPFLAGS'
47016ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47017ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47018ac_compiler_gnu=$ac_cv_c_compiler_gnu
47019
47020
47021fi
47022
47023  fi
47024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47025$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47026  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47027    for ac_func in strtold
47028do :
47029  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47030if test "x$ac_cv_func_strtold" = x""yes; then :
47031  cat >>confdefs.h <<_ACEOF
47032#define HAVE_STRTOLD 1
47033_ACEOF
47034
47035fi
47036done
47037
47038  fi
47039
47040
47041
47042
47043  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47044$as_echo_n "checking for strtof declaration... " >&6; }
47045  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47046    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
47047  $as_echo_n "(cached) " >&6
47048else
47049
47050
47051      ac_ext=cpp
47052ac_cpp='$CXXCPP $CPPFLAGS'
47053ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47054ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47055ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47056
47057      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47058/* end confdefs.h.  */
47059#include <stdlib.h>
47060int
47061main ()
47062{
47063 strtof(0, 0);
47064  ;
47065  return 0;
47066}
47067_ACEOF
47068if ac_fn_cxx_try_compile "$LINENO"; then :
47069  glibcxx_cv_func_strtof_use=yes
47070else
47071  glibcxx_cv_func_strtof_use=no
47072fi
47073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47074      ac_ext=c
47075ac_cpp='$CPP $CPPFLAGS'
47076ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47077ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47078ac_compiler_gnu=$ac_cv_c_compiler_gnu
47079
47080
47081fi
47082
47083  fi
47084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47085$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47086  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47087    for ac_func in strtof
47088do :
47089  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47090if test "x$ac_cv_func_strtof" = x""yes; then :
47091  cat >>confdefs.h <<_ACEOF
47092#define HAVE_STRTOF 1
47093_ACEOF
47094
47095fi
47096done
47097
47098  fi
47099
47100
47101
47102
47103  CXXFLAGS="$ac_save_CXXFLAGS"
47104
47105    $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47106
47107    # We don't yet support AIX's TLS ABI.
47108    #GCC_CHECK_TLS
47109
47110
47111
47112
47113
47114  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47115$as_echo_n "checking for iconv... " >&6; }
47116if test "${am_cv_func_iconv+set}" = set; then :
47117  $as_echo_n "(cached) " >&6
47118else
47119
47120    am_cv_func_iconv="no, consider installing GNU libiconv"
47121    am_cv_lib_iconv=no
47122                    am_save_CPPFLAGS="$CPPFLAGS"
47123    CPPFLAGS="$CPPFLAGS $INCICONV"
47124    if test x$gcc_no_link = xyes; then
47125  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47126fi
47127cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47128/* end confdefs.h.  */
47129#include <stdlib.h>
47130#include <iconv.h>
47131int
47132main ()
47133{
47134iconv_t cd = iconv_open("","");
47135       iconv(cd,NULL,NULL,NULL,NULL);
47136       iconv_close(cd);
47137  ;
47138  return 0;
47139}
47140_ACEOF
47141if ac_fn_c_try_link "$LINENO"; then :
47142  am_cv_func_iconv=yes
47143fi
47144rm -f core conftest.err conftest.$ac_objext \
47145    conftest$ac_exeext conftest.$ac_ext
47146    CPPFLAGS="$am_save_CPPFLAGS"
47147
47148    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47149      for _libs in .libs _libs; do
47150        am_save_CPPFLAGS="$CPPFLAGS"
47151        am_save_LIBS="$LIBS"
47152        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47153        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47154        if test x$gcc_no_link = xyes; then
47155  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47156fi
47157cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47158/* end confdefs.h.  */
47159#include <stdlib.h>
47160#include <iconv.h>
47161int
47162main ()
47163{
47164iconv_t cd = iconv_open("","");
47165           iconv(cd,NULL,NULL,NULL,NULL);
47166           iconv_close(cd);
47167  ;
47168  return 0;
47169}
47170_ACEOF
47171if ac_fn_c_try_link "$LINENO"; then :
47172  INCICONV="-I../libiconv/include"
47173          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47174          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47175          am_cv_lib_iconv=yes
47176          am_cv_func_iconv=yes
47177fi
47178rm -f core conftest.err conftest.$ac_objext \
47179    conftest$ac_exeext conftest.$ac_ext
47180        CPPFLAGS="$am_save_CPPFLAGS"
47181        LIBS="$am_save_LIBS"
47182        if test "$am_cv_func_iconv" = "yes"; then
47183          break
47184        fi
47185      done
47186    fi
47187
47188    if test "$am_cv_func_iconv" != yes; then
47189      am_save_CPPFLAGS="$CPPFLAGS"
47190      am_save_LIBS="$LIBS"
47191      CPPFLAGS="$LIBS $INCICONV"
47192      LIBS="$LIBS $LIBICONV"
47193      if test x$gcc_no_link = xyes; then
47194  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47195fi
47196cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47197/* end confdefs.h.  */
47198#include <stdlib.h>
47199#include <iconv.h>
47200int
47201main ()
47202{
47203iconv_t cd = iconv_open("","");
47204         iconv(cd,NULL,NULL,NULL,NULL);
47205         iconv_close(cd);
47206  ;
47207  return 0;
47208}
47209_ACEOF
47210if ac_fn_c_try_link "$LINENO"; then :
47211  am_cv_lib_iconv=yes
47212        am_cv_func_iconv=yes
47213fi
47214rm -f core conftest.err conftest.$ac_objext \
47215    conftest$ac_exeext conftest.$ac_ext
47216      CPPFLAGS="$am_save_CPPFLAGS"
47217      LIBS="$am_save_LIBS"
47218    fi
47219
47220fi
47221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47222$as_echo "$am_cv_func_iconv" >&6; }
47223  if test "$am_cv_func_iconv" = yes; then
47224
47225$as_echo "#define HAVE_ICONV 1" >>confdefs.h
47226
47227  fi
47228  if test "$am_cv_lib_iconv" = yes; then
47229
47230  for element in $INCICONV; do
47231    haveit=
47232    for x in $CPPFLAGS; do
47233
47234  acl_save_prefix="$prefix"
47235  prefix="$acl_final_prefix"
47236  acl_save_exec_prefix="$exec_prefix"
47237  exec_prefix="$acl_final_exec_prefix"
47238  eval x=\"$x\"
47239  exec_prefix="$acl_save_exec_prefix"
47240  prefix="$acl_save_prefix"
47241
47242      if test "X$x" = "X$element"; then
47243        haveit=yes
47244        break
47245      fi
47246    done
47247    if test -z "$haveit"; then
47248      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47249    fi
47250  done
47251
47252    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47253$as_echo_n "checking how to link with libiconv... " >&6; }
47254    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47255$as_echo "$LIBICONV" >&6; }
47256  else
47257    LIBICONV=
47258    LTLIBICONV=
47259  fi
47260
47261
47262
47263  if test "$am_cv_func_iconv" = yes; then
47264    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47265$as_echo_n "checking for iconv declaration... " >&6; }
47266    if test "${am_cv_proto_iconv+set}" = set; then :
47267  $as_echo_n "(cached) " >&6
47268else
47269
47270      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47271/* end confdefs.h.  */
47272
47273#include <stdlib.h>
47274#include <iconv.h>
47275extern
47276#ifdef __cplusplus
47277"C"
47278#endif
47279#if defined(__STDC__) || defined(__cplusplus)
47280size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47281#else
47282size_t iconv();
47283#endif
47284
47285int
47286main ()
47287{
47288
47289  ;
47290  return 0;
47291}
47292_ACEOF
47293if ac_fn_c_try_compile "$LINENO"; then :
47294  am_cv_proto_iconv_arg1=""
47295else
47296  am_cv_proto_iconv_arg1="const"
47297fi
47298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47299      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);"
47300fi
47301
47302    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47303    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47304         }$am_cv_proto_iconv" >&5
47305$as_echo "${ac_t:-
47306         }$am_cv_proto_iconv" >&6; }
47307
47308cat >>confdefs.h <<_ACEOF
47309#define ICONV_CONST $am_cv_proto_iconv_arg1
47310_ACEOF
47311
47312  fi
47313
47314    ;;
47315
47316  *-darwin*)
47317    # Darwin versions vary, but the linker should work in a cross environment,
47318    # so we just check for all the features here.
47319    # Check for available headers.
47320
47321    # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47322
47323  ac_test_CXXFLAGS="${CXXFLAGS+set}"
47324  ac_save_CXXFLAGS="$CXXFLAGS"
47325  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47326
47327    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47328$as_echo_n "checking for sin in -lm... " >&6; }
47329if test "${ac_cv_lib_m_sin+set}" = set; then :
47330  $as_echo_n "(cached) " >&6
47331else
47332  ac_check_lib_save_LIBS=$LIBS
47333LIBS="-lm  $LIBS"
47334if test x$gcc_no_link = xyes; then
47335  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47336fi
47337cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47338/* end confdefs.h.  */
47339
47340/* Override any GCC internal prototype to avoid an error.
47341   Use char because int might match the return type of a GCC
47342   builtin and then its argument prototype would still apply.  */
47343#ifdef __cplusplus
47344extern "C"
47345#endif
47346char sin ();
47347int
47348main ()
47349{
47350return sin ();
47351  ;
47352  return 0;
47353}
47354_ACEOF
47355if ac_fn_c_try_link "$LINENO"; then :
47356  ac_cv_lib_m_sin=yes
47357else
47358  ac_cv_lib_m_sin=no
47359fi
47360rm -f core conftest.err conftest.$ac_objext \
47361    conftest$ac_exeext conftest.$ac_ext
47362LIBS=$ac_check_lib_save_LIBS
47363fi
47364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47365$as_echo "$ac_cv_lib_m_sin" >&6; }
47366if test "x$ac_cv_lib_m_sin" = x""yes; then :
47367  libm="-lm"
47368fi
47369
47370  ac_save_LIBS="$LIBS"
47371  LIBS="$LIBS $libm"
47372
47373
47374
47375  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47376$as_echo_n "checking for isinf declaration... " >&6; }
47377  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47378    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47379  $as_echo_n "(cached) " >&6
47380else
47381
47382
47383      ac_ext=cpp
47384ac_cpp='$CXXCPP $CPPFLAGS'
47385ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47386ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47387ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47388
47389      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47390/* end confdefs.h.  */
47391#include <math.h>
47392		      #ifdef HAVE_IEEEFP_H
47393		      #include <ieeefp.h>
47394		      #endif
47395
47396int
47397main ()
47398{
47399 isinf(0);
47400  ;
47401  return 0;
47402}
47403_ACEOF
47404if ac_fn_cxx_try_compile "$LINENO"; then :
47405  glibcxx_cv_func_isinf_use=yes
47406else
47407  glibcxx_cv_func_isinf_use=no
47408fi
47409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47410      ac_ext=c
47411ac_cpp='$CPP $CPPFLAGS'
47412ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47413ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47414ac_compiler_gnu=$ac_cv_c_compiler_gnu
47415
47416
47417fi
47418
47419  fi
47420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47421$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47422
47423  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47424    for ac_func in isinf
47425do :
47426  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47427if test "x$ac_cv_func_isinf" = x""yes; then :
47428  cat >>confdefs.h <<_ACEOF
47429#define HAVE_ISINF 1
47430_ACEOF
47431
47432fi
47433done
47434
47435  else
47436
47437  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47438$as_echo_n "checking for _isinf declaration... " >&6; }
47439  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47440    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47441  $as_echo_n "(cached) " >&6
47442else
47443
47444
47445      ac_ext=cpp
47446ac_cpp='$CXXCPP $CPPFLAGS'
47447ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47448ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47449ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47450
47451      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47452/* end confdefs.h.  */
47453#include <math.h>
47454		      #ifdef HAVE_IEEEFP_H
47455		      #include <ieeefp.h>
47456		      #endif
47457
47458int
47459main ()
47460{
47461 _isinf(0);
47462  ;
47463  return 0;
47464}
47465_ACEOF
47466if ac_fn_cxx_try_compile "$LINENO"; then :
47467  glibcxx_cv_func__isinf_use=yes
47468else
47469  glibcxx_cv_func__isinf_use=no
47470fi
47471rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47472      ac_ext=c
47473ac_cpp='$CPP $CPPFLAGS'
47474ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47475ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47476ac_compiler_gnu=$ac_cv_c_compiler_gnu
47477
47478
47479fi
47480
47481  fi
47482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47483$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47484
47485    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47486      for ac_func in _isinf
47487do :
47488  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47489if test "x$ac_cv_func__isinf" = x""yes; then :
47490  cat >>confdefs.h <<_ACEOF
47491#define HAVE__ISINF 1
47492_ACEOF
47493
47494fi
47495done
47496
47497    fi
47498  fi
47499
47500
47501
47502
47503
47504  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47505$as_echo_n "checking for isnan declaration... " >&6; }
47506  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47507    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47508  $as_echo_n "(cached) " >&6
47509else
47510
47511
47512      ac_ext=cpp
47513ac_cpp='$CXXCPP $CPPFLAGS'
47514ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47515ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47516ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47517
47518      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47519/* end confdefs.h.  */
47520#include <math.h>
47521		      #ifdef HAVE_IEEEFP_H
47522		      #include <ieeefp.h>
47523		      #endif
47524
47525int
47526main ()
47527{
47528 isnan(0);
47529  ;
47530  return 0;
47531}
47532_ACEOF
47533if ac_fn_cxx_try_compile "$LINENO"; then :
47534  glibcxx_cv_func_isnan_use=yes
47535else
47536  glibcxx_cv_func_isnan_use=no
47537fi
47538rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47539      ac_ext=c
47540ac_cpp='$CPP $CPPFLAGS'
47541ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47542ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47543ac_compiler_gnu=$ac_cv_c_compiler_gnu
47544
47545
47546fi
47547
47548  fi
47549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47550$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47551
47552  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47553    for ac_func in isnan
47554do :
47555  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47556if test "x$ac_cv_func_isnan" = x""yes; then :
47557  cat >>confdefs.h <<_ACEOF
47558#define HAVE_ISNAN 1
47559_ACEOF
47560
47561fi
47562done
47563
47564  else
47565
47566  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47567$as_echo_n "checking for _isnan declaration... " >&6; }
47568  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47569    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47570  $as_echo_n "(cached) " >&6
47571else
47572
47573
47574      ac_ext=cpp
47575ac_cpp='$CXXCPP $CPPFLAGS'
47576ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47577ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47578ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47579
47580      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47581/* end confdefs.h.  */
47582#include <math.h>
47583		      #ifdef HAVE_IEEEFP_H
47584		      #include <ieeefp.h>
47585		      #endif
47586
47587int
47588main ()
47589{
47590 _isnan(0);
47591  ;
47592  return 0;
47593}
47594_ACEOF
47595if ac_fn_cxx_try_compile "$LINENO"; then :
47596  glibcxx_cv_func__isnan_use=yes
47597else
47598  glibcxx_cv_func__isnan_use=no
47599fi
47600rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47601      ac_ext=c
47602ac_cpp='$CPP $CPPFLAGS'
47603ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47604ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47605ac_compiler_gnu=$ac_cv_c_compiler_gnu
47606
47607
47608fi
47609
47610  fi
47611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47612$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47613
47614    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47615      for ac_func in _isnan
47616do :
47617  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47618if test "x$ac_cv_func__isnan" = x""yes; then :
47619  cat >>confdefs.h <<_ACEOF
47620#define HAVE__ISNAN 1
47621_ACEOF
47622
47623fi
47624done
47625
47626    fi
47627  fi
47628
47629
47630
47631
47632
47633  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47634$as_echo_n "checking for finite declaration... " >&6; }
47635  if test x${glibcxx_cv_func_finite_use+set} != xset; then
47636    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47637  $as_echo_n "(cached) " >&6
47638else
47639
47640
47641      ac_ext=cpp
47642ac_cpp='$CXXCPP $CPPFLAGS'
47643ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47644ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47645ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47646
47647      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47648/* end confdefs.h.  */
47649#include <math.h>
47650		      #ifdef HAVE_IEEEFP_H
47651		      #include <ieeefp.h>
47652		      #endif
47653
47654int
47655main ()
47656{
47657 finite(0);
47658  ;
47659  return 0;
47660}
47661_ACEOF
47662if ac_fn_cxx_try_compile "$LINENO"; then :
47663  glibcxx_cv_func_finite_use=yes
47664else
47665  glibcxx_cv_func_finite_use=no
47666fi
47667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47668      ac_ext=c
47669ac_cpp='$CPP $CPPFLAGS'
47670ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47671ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47672ac_compiler_gnu=$ac_cv_c_compiler_gnu
47673
47674
47675fi
47676
47677  fi
47678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47679$as_echo "$glibcxx_cv_func_finite_use" >&6; }
47680
47681  if test x$glibcxx_cv_func_finite_use = x"yes"; then
47682    for ac_func in finite
47683do :
47684  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47685if test "x$ac_cv_func_finite" = x""yes; then :
47686  cat >>confdefs.h <<_ACEOF
47687#define HAVE_FINITE 1
47688_ACEOF
47689
47690fi
47691done
47692
47693  else
47694
47695  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47696$as_echo_n "checking for _finite declaration... " >&6; }
47697  if test x${glibcxx_cv_func__finite_use+set} != xset; then
47698    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47699  $as_echo_n "(cached) " >&6
47700else
47701
47702
47703      ac_ext=cpp
47704ac_cpp='$CXXCPP $CPPFLAGS'
47705ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47706ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47707ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47708
47709      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47710/* end confdefs.h.  */
47711#include <math.h>
47712		      #ifdef HAVE_IEEEFP_H
47713		      #include <ieeefp.h>
47714		      #endif
47715
47716int
47717main ()
47718{
47719 _finite(0);
47720  ;
47721  return 0;
47722}
47723_ACEOF
47724if ac_fn_cxx_try_compile "$LINENO"; then :
47725  glibcxx_cv_func__finite_use=yes
47726else
47727  glibcxx_cv_func__finite_use=no
47728fi
47729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47730      ac_ext=c
47731ac_cpp='$CPP $CPPFLAGS'
47732ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47733ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47734ac_compiler_gnu=$ac_cv_c_compiler_gnu
47735
47736
47737fi
47738
47739  fi
47740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47741$as_echo "$glibcxx_cv_func__finite_use" >&6; }
47742
47743    if test x$glibcxx_cv_func__finite_use = x"yes"; then
47744      for ac_func in _finite
47745do :
47746  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47747if test "x$ac_cv_func__finite" = x""yes; then :
47748  cat >>confdefs.h <<_ACEOF
47749#define HAVE__FINITE 1
47750_ACEOF
47751
47752fi
47753done
47754
47755    fi
47756  fi
47757
47758
47759
47760
47761
47762  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47763$as_echo_n "checking for sincos declaration... " >&6; }
47764  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47765    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47766  $as_echo_n "(cached) " >&6
47767else
47768
47769
47770      ac_ext=cpp
47771ac_cpp='$CXXCPP $CPPFLAGS'
47772ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47773ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47774ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47775
47776      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47777/* end confdefs.h.  */
47778#include <math.h>
47779int
47780main ()
47781{
47782 sincos(0, 0, 0);
47783  ;
47784  return 0;
47785}
47786_ACEOF
47787if ac_fn_cxx_try_compile "$LINENO"; then :
47788  glibcxx_cv_func_sincos_use=yes
47789else
47790  glibcxx_cv_func_sincos_use=no
47791fi
47792rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47793      ac_ext=c
47794ac_cpp='$CPP $CPPFLAGS'
47795ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47796ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47797ac_compiler_gnu=$ac_cv_c_compiler_gnu
47798
47799
47800fi
47801
47802  fi
47803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47804$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47805
47806  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47807    for ac_func in sincos
47808do :
47809  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47810if test "x$ac_cv_func_sincos" = x""yes; then :
47811  cat >>confdefs.h <<_ACEOF
47812#define HAVE_SINCOS 1
47813_ACEOF
47814
47815fi
47816done
47817
47818  else
47819
47820  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47821$as_echo_n "checking for _sincos declaration... " >&6; }
47822  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47823    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47824  $as_echo_n "(cached) " >&6
47825else
47826
47827
47828      ac_ext=cpp
47829ac_cpp='$CXXCPP $CPPFLAGS'
47830ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47831ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47832ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47833
47834      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47835/* end confdefs.h.  */
47836#include <math.h>
47837int
47838main ()
47839{
47840 _sincos(0, 0, 0);
47841  ;
47842  return 0;
47843}
47844_ACEOF
47845if ac_fn_cxx_try_compile "$LINENO"; then :
47846  glibcxx_cv_func__sincos_use=yes
47847else
47848  glibcxx_cv_func__sincos_use=no
47849fi
47850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47851      ac_ext=c
47852ac_cpp='$CPP $CPPFLAGS'
47853ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47854ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47855ac_compiler_gnu=$ac_cv_c_compiler_gnu
47856
47857
47858fi
47859
47860  fi
47861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47862$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47863
47864    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47865      for ac_func in _sincos
47866do :
47867  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47868if test "x$ac_cv_func__sincos" = x""yes; then :
47869  cat >>confdefs.h <<_ACEOF
47870#define HAVE__SINCOS 1
47871_ACEOF
47872
47873fi
47874done
47875
47876    fi
47877  fi
47878
47879
47880
47881
47882
47883  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47884$as_echo_n "checking for fpclass declaration... " >&6; }
47885  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47886    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47887  $as_echo_n "(cached) " >&6
47888else
47889
47890
47891      ac_ext=cpp
47892ac_cpp='$CXXCPP $CPPFLAGS'
47893ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47894ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47895ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47896
47897      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47898/* end confdefs.h.  */
47899#include <math.h>
47900		      #ifdef HAVE_IEEEFP_H
47901		      #include <ieeefp.h>
47902		      #endif
47903
47904int
47905main ()
47906{
47907 fpclass(0);
47908  ;
47909  return 0;
47910}
47911_ACEOF
47912if ac_fn_cxx_try_compile "$LINENO"; then :
47913  glibcxx_cv_func_fpclass_use=yes
47914else
47915  glibcxx_cv_func_fpclass_use=no
47916fi
47917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47918      ac_ext=c
47919ac_cpp='$CPP $CPPFLAGS'
47920ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47921ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47922ac_compiler_gnu=$ac_cv_c_compiler_gnu
47923
47924
47925fi
47926
47927  fi
47928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47929$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47930
47931  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47932    for ac_func in fpclass
47933do :
47934  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47935if test "x$ac_cv_func_fpclass" = x""yes; then :
47936  cat >>confdefs.h <<_ACEOF
47937#define HAVE_FPCLASS 1
47938_ACEOF
47939
47940fi
47941done
47942
47943  else
47944
47945  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47946$as_echo_n "checking for _fpclass declaration... " >&6; }
47947  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47948    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47949  $as_echo_n "(cached) " >&6
47950else
47951
47952
47953      ac_ext=cpp
47954ac_cpp='$CXXCPP $CPPFLAGS'
47955ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47956ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47957ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47958
47959      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47960/* end confdefs.h.  */
47961#include <math.h>
47962		      #ifdef HAVE_IEEEFP_H
47963		      #include <ieeefp.h>
47964		      #endif
47965
47966int
47967main ()
47968{
47969 _fpclass(0);
47970  ;
47971  return 0;
47972}
47973_ACEOF
47974if ac_fn_cxx_try_compile "$LINENO"; then :
47975  glibcxx_cv_func__fpclass_use=yes
47976else
47977  glibcxx_cv_func__fpclass_use=no
47978fi
47979rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47980      ac_ext=c
47981ac_cpp='$CPP $CPPFLAGS'
47982ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47983ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47984ac_compiler_gnu=$ac_cv_c_compiler_gnu
47985
47986
47987fi
47988
47989  fi
47990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47991$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47992
47993    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47994      for ac_func in _fpclass
47995do :
47996  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47997if test "x$ac_cv_func__fpclass" = x""yes; then :
47998  cat >>confdefs.h <<_ACEOF
47999#define HAVE__FPCLASS 1
48000_ACEOF
48001
48002fi
48003done
48004
48005    fi
48006  fi
48007
48008
48009
48010
48011
48012  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48013$as_echo_n "checking for qfpclass declaration... " >&6; }
48014  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48015    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
48016  $as_echo_n "(cached) " >&6
48017else
48018
48019
48020      ac_ext=cpp
48021ac_cpp='$CXXCPP $CPPFLAGS'
48022ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48023ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48024ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48025
48026      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48027/* end confdefs.h.  */
48028#include <math.h>
48029		      #ifdef HAVE_IEEEFP_H
48030		      #include <ieeefp.h>
48031		      #endif
48032
48033int
48034main ()
48035{
48036 qfpclass(0);
48037  ;
48038  return 0;
48039}
48040_ACEOF
48041if ac_fn_cxx_try_compile "$LINENO"; then :
48042  glibcxx_cv_func_qfpclass_use=yes
48043else
48044  glibcxx_cv_func_qfpclass_use=no
48045fi
48046rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48047      ac_ext=c
48048ac_cpp='$CPP $CPPFLAGS'
48049ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48050ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48051ac_compiler_gnu=$ac_cv_c_compiler_gnu
48052
48053
48054fi
48055
48056  fi
48057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48058$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48059
48060  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48061    for ac_func in qfpclass
48062do :
48063  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48064if test "x$ac_cv_func_qfpclass" = x""yes; then :
48065  cat >>confdefs.h <<_ACEOF
48066#define HAVE_QFPCLASS 1
48067_ACEOF
48068
48069fi
48070done
48071
48072  else
48073
48074  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48075$as_echo_n "checking for _qfpclass declaration... " >&6; }
48076  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48077    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
48078  $as_echo_n "(cached) " >&6
48079else
48080
48081
48082      ac_ext=cpp
48083ac_cpp='$CXXCPP $CPPFLAGS'
48084ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48085ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48086ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48087
48088      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48089/* end confdefs.h.  */
48090#include <math.h>
48091		      #ifdef HAVE_IEEEFP_H
48092		      #include <ieeefp.h>
48093		      #endif
48094
48095int
48096main ()
48097{
48098 _qfpclass(0);
48099  ;
48100  return 0;
48101}
48102_ACEOF
48103if ac_fn_cxx_try_compile "$LINENO"; then :
48104  glibcxx_cv_func__qfpclass_use=yes
48105else
48106  glibcxx_cv_func__qfpclass_use=no
48107fi
48108rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48109      ac_ext=c
48110ac_cpp='$CPP $CPPFLAGS'
48111ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48112ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48113ac_compiler_gnu=$ac_cv_c_compiler_gnu
48114
48115
48116fi
48117
48118  fi
48119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48120$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48121
48122    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48123      for ac_func in _qfpclass
48124do :
48125  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48126if test "x$ac_cv_func__qfpclass" = x""yes; then :
48127  cat >>confdefs.h <<_ACEOF
48128#define HAVE__QFPCLASS 1
48129_ACEOF
48130
48131fi
48132done
48133
48134    fi
48135  fi
48136
48137
48138
48139
48140
48141  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48142$as_echo_n "checking for hypot declaration... " >&6; }
48143  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48144    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
48145  $as_echo_n "(cached) " >&6
48146else
48147
48148
48149      ac_ext=cpp
48150ac_cpp='$CXXCPP $CPPFLAGS'
48151ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48152ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48153ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48154
48155      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48156/* end confdefs.h.  */
48157#include <math.h>
48158int
48159main ()
48160{
48161 hypot(0, 0);
48162  ;
48163  return 0;
48164}
48165_ACEOF
48166if ac_fn_cxx_try_compile "$LINENO"; then :
48167  glibcxx_cv_func_hypot_use=yes
48168else
48169  glibcxx_cv_func_hypot_use=no
48170fi
48171rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48172      ac_ext=c
48173ac_cpp='$CPP $CPPFLAGS'
48174ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48175ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48176ac_compiler_gnu=$ac_cv_c_compiler_gnu
48177
48178
48179fi
48180
48181  fi
48182  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48183$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48184
48185  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48186    for ac_func in hypot
48187do :
48188  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48189if test "x$ac_cv_func_hypot" = x""yes; then :
48190  cat >>confdefs.h <<_ACEOF
48191#define HAVE_HYPOT 1
48192_ACEOF
48193
48194fi
48195done
48196
48197  else
48198
48199  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48200$as_echo_n "checking for _hypot declaration... " >&6; }
48201  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48202    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48203  $as_echo_n "(cached) " >&6
48204else
48205
48206
48207      ac_ext=cpp
48208ac_cpp='$CXXCPP $CPPFLAGS'
48209ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48210ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48211ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48212
48213      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48214/* end confdefs.h.  */
48215#include <math.h>
48216int
48217main ()
48218{
48219 _hypot(0, 0);
48220  ;
48221  return 0;
48222}
48223_ACEOF
48224if ac_fn_cxx_try_compile "$LINENO"; then :
48225  glibcxx_cv_func__hypot_use=yes
48226else
48227  glibcxx_cv_func__hypot_use=no
48228fi
48229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48230      ac_ext=c
48231ac_cpp='$CPP $CPPFLAGS'
48232ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48233ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48234ac_compiler_gnu=$ac_cv_c_compiler_gnu
48235
48236
48237fi
48238
48239  fi
48240  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48241$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48242
48243    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48244      for ac_func in _hypot
48245do :
48246  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48247if test "x$ac_cv_func__hypot" = x""yes; then :
48248  cat >>confdefs.h <<_ACEOF
48249#define HAVE__HYPOT 1
48250_ACEOF
48251
48252fi
48253done
48254
48255    fi
48256  fi
48257
48258
48259
48260
48261
48262    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48263$as_echo_n "checking for float trig functions... " >&6; }
48264  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48265  $as_echo_n "(cached) " >&6
48266else
48267
48268
48269    ac_ext=cpp
48270ac_cpp='$CXXCPP $CPPFLAGS'
48271ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48272ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48273ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48274
48275    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48276/* end confdefs.h.  */
48277#include <math.h>
48278int
48279main ()
48280{
48281acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48282  ;
48283  return 0;
48284}
48285_ACEOF
48286if ac_fn_cxx_try_compile "$LINENO"; then :
48287  glibcxx_cv_func_float_trig_use=yes
48288else
48289  glibcxx_cv_func_float_trig_use=no
48290fi
48291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48292    ac_ext=c
48293ac_cpp='$CPP $CPPFLAGS'
48294ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48295ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48296ac_compiler_gnu=$ac_cv_c_compiler_gnu
48297
48298fi
48299
48300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48301$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48302  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48303    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48304do :
48305  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48306ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48307eval as_val=\$$as_ac_var
48308   if test "x$as_val" = x""yes; then :
48309  cat >>confdefs.h <<_ACEOF
48310#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48311_ACEOF
48312
48313fi
48314done
48315
48316  else
48317    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48318$as_echo_n "checking for _float trig functions... " >&6; }
48319    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48320  $as_echo_n "(cached) " >&6
48321else
48322
48323
48324      ac_ext=cpp
48325ac_cpp='$CXXCPP $CPPFLAGS'
48326ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48327ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48328ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48329
48330      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48331/* end confdefs.h.  */
48332#include <math.h>
48333int
48334main ()
48335{
48336_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48337  ;
48338  return 0;
48339}
48340_ACEOF
48341if ac_fn_cxx_try_compile "$LINENO"; then :
48342  glibcxx_cv_func__float_trig_use=yes
48343else
48344  glibcxx_cv_func__float_trig_use=no
48345fi
48346rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48347      ac_ext=c
48348ac_cpp='$CPP $CPPFLAGS'
48349ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48350ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48351ac_compiler_gnu=$ac_cv_c_compiler_gnu
48352
48353fi
48354
48355    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48356$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48357    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48358      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48359do :
48360  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48361ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48362eval as_val=\$$as_ac_var
48363   if test "x$as_val" = x""yes; then :
48364  cat >>confdefs.h <<_ACEOF
48365#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48366_ACEOF
48367
48368fi
48369done
48370
48371    fi
48372  fi
48373
48374
48375
48376
48377
48378    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48379$as_echo_n "checking for float round functions... " >&6; }
48380  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48381  $as_echo_n "(cached) " >&6
48382else
48383
48384
48385    ac_ext=cpp
48386ac_cpp='$CXXCPP $CPPFLAGS'
48387ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48388ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48389ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48390
48391    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48392/* end confdefs.h.  */
48393#include <math.h>
48394int
48395main ()
48396{
48397ceilf (0); floorf (0);
48398  ;
48399  return 0;
48400}
48401_ACEOF
48402if ac_fn_cxx_try_compile "$LINENO"; then :
48403  glibcxx_cv_func_float_round_use=yes
48404else
48405  glibcxx_cv_func_float_round_use=no
48406fi
48407rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48408    ac_ext=c
48409ac_cpp='$CPP $CPPFLAGS'
48410ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48411ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48412ac_compiler_gnu=$ac_cv_c_compiler_gnu
48413
48414fi
48415
48416  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48417$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48418  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48419    for ac_func in ceilf floorf
48420do :
48421  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48422ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48423eval as_val=\$$as_ac_var
48424   if test "x$as_val" = x""yes; then :
48425  cat >>confdefs.h <<_ACEOF
48426#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48427_ACEOF
48428
48429fi
48430done
48431
48432  else
48433    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48434$as_echo_n "checking for _float round functions... " >&6; }
48435    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48436  $as_echo_n "(cached) " >&6
48437else
48438
48439
48440      ac_ext=cpp
48441ac_cpp='$CXXCPP $CPPFLAGS'
48442ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48443ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48444ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48445
48446      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48447/* end confdefs.h.  */
48448#include <math.h>
48449int
48450main ()
48451{
48452_ceilf (0); _floorf (0);
48453  ;
48454  return 0;
48455}
48456_ACEOF
48457if ac_fn_cxx_try_compile "$LINENO"; then :
48458  glibcxx_cv_func__float_round_use=yes
48459else
48460  glibcxx_cv_func__float_round_use=no
48461fi
48462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48463      ac_ext=c
48464ac_cpp='$CPP $CPPFLAGS'
48465ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48466ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48467ac_compiler_gnu=$ac_cv_c_compiler_gnu
48468
48469fi
48470
48471    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48472$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48473    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48474      for ac_func in _ceilf _floorf
48475do :
48476  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48477ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48478eval as_val=\$$as_ac_var
48479   if test "x$as_val" = x""yes; then :
48480  cat >>confdefs.h <<_ACEOF
48481#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48482_ACEOF
48483
48484fi
48485done
48486
48487    fi
48488  fi
48489
48490
48491
48492
48493
48494
48495  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48496$as_echo_n "checking for expf declaration... " >&6; }
48497  if test x${glibcxx_cv_func_expf_use+set} != xset; then
48498    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48499  $as_echo_n "(cached) " >&6
48500else
48501
48502
48503      ac_ext=cpp
48504ac_cpp='$CXXCPP $CPPFLAGS'
48505ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48506ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48507ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48508
48509      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48510/* end confdefs.h.  */
48511#include <math.h>
48512		      #ifdef HAVE_IEEEFP_H
48513		      #include <ieeefp.h>
48514		      #endif
48515
48516int
48517main ()
48518{
48519 expf(0);
48520  ;
48521  return 0;
48522}
48523_ACEOF
48524if ac_fn_cxx_try_compile "$LINENO"; then :
48525  glibcxx_cv_func_expf_use=yes
48526else
48527  glibcxx_cv_func_expf_use=no
48528fi
48529rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48530      ac_ext=c
48531ac_cpp='$CPP $CPPFLAGS'
48532ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48533ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48534ac_compiler_gnu=$ac_cv_c_compiler_gnu
48535
48536
48537fi
48538
48539  fi
48540  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48541$as_echo "$glibcxx_cv_func_expf_use" >&6; }
48542
48543  if test x$glibcxx_cv_func_expf_use = x"yes"; then
48544    for ac_func in expf
48545do :
48546  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48547if test "x$ac_cv_func_expf" = x""yes; then :
48548  cat >>confdefs.h <<_ACEOF
48549#define HAVE_EXPF 1
48550_ACEOF
48551
48552fi
48553done
48554
48555  else
48556
48557  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48558$as_echo_n "checking for _expf declaration... " >&6; }
48559  if test x${glibcxx_cv_func__expf_use+set} != xset; then
48560    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48561  $as_echo_n "(cached) " >&6
48562else
48563
48564
48565      ac_ext=cpp
48566ac_cpp='$CXXCPP $CPPFLAGS'
48567ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48568ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48569ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48570
48571      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48572/* end confdefs.h.  */
48573#include <math.h>
48574		      #ifdef HAVE_IEEEFP_H
48575		      #include <ieeefp.h>
48576		      #endif
48577
48578int
48579main ()
48580{
48581 _expf(0);
48582  ;
48583  return 0;
48584}
48585_ACEOF
48586if ac_fn_cxx_try_compile "$LINENO"; then :
48587  glibcxx_cv_func__expf_use=yes
48588else
48589  glibcxx_cv_func__expf_use=no
48590fi
48591rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48592      ac_ext=c
48593ac_cpp='$CPP $CPPFLAGS'
48594ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48595ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48596ac_compiler_gnu=$ac_cv_c_compiler_gnu
48597
48598
48599fi
48600
48601  fi
48602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48603$as_echo "$glibcxx_cv_func__expf_use" >&6; }
48604
48605    if test x$glibcxx_cv_func__expf_use = x"yes"; then
48606      for ac_func in _expf
48607do :
48608  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48609if test "x$ac_cv_func__expf" = x""yes; then :
48610  cat >>confdefs.h <<_ACEOF
48611#define HAVE__EXPF 1
48612_ACEOF
48613
48614fi
48615done
48616
48617    fi
48618  fi
48619
48620
48621
48622
48623
48624  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48625$as_echo_n "checking for isnanf declaration... " >&6; }
48626  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48627    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48628  $as_echo_n "(cached) " >&6
48629else
48630
48631
48632      ac_ext=cpp
48633ac_cpp='$CXXCPP $CPPFLAGS'
48634ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48635ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48636ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48637
48638      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48639/* end confdefs.h.  */
48640#include <math.h>
48641		      #ifdef HAVE_IEEEFP_H
48642		      #include <ieeefp.h>
48643		      #endif
48644
48645int
48646main ()
48647{
48648 isnanf(0);
48649  ;
48650  return 0;
48651}
48652_ACEOF
48653if ac_fn_cxx_try_compile "$LINENO"; then :
48654  glibcxx_cv_func_isnanf_use=yes
48655else
48656  glibcxx_cv_func_isnanf_use=no
48657fi
48658rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48659      ac_ext=c
48660ac_cpp='$CPP $CPPFLAGS'
48661ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48662ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48663ac_compiler_gnu=$ac_cv_c_compiler_gnu
48664
48665
48666fi
48667
48668  fi
48669  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48670$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48671
48672  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48673    for ac_func in isnanf
48674do :
48675  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48676if test "x$ac_cv_func_isnanf" = x""yes; then :
48677  cat >>confdefs.h <<_ACEOF
48678#define HAVE_ISNANF 1
48679_ACEOF
48680
48681fi
48682done
48683
48684  else
48685
48686  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48687$as_echo_n "checking for _isnanf declaration... " >&6; }
48688  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48689    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48690  $as_echo_n "(cached) " >&6
48691else
48692
48693
48694      ac_ext=cpp
48695ac_cpp='$CXXCPP $CPPFLAGS'
48696ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48697ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48698ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48699
48700      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48701/* end confdefs.h.  */
48702#include <math.h>
48703		      #ifdef HAVE_IEEEFP_H
48704		      #include <ieeefp.h>
48705		      #endif
48706
48707int
48708main ()
48709{
48710 _isnanf(0);
48711  ;
48712  return 0;
48713}
48714_ACEOF
48715if ac_fn_cxx_try_compile "$LINENO"; then :
48716  glibcxx_cv_func__isnanf_use=yes
48717else
48718  glibcxx_cv_func__isnanf_use=no
48719fi
48720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48721      ac_ext=c
48722ac_cpp='$CPP $CPPFLAGS'
48723ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48724ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48725ac_compiler_gnu=$ac_cv_c_compiler_gnu
48726
48727
48728fi
48729
48730  fi
48731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48732$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48733
48734    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48735      for ac_func in _isnanf
48736do :
48737  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48738if test "x$ac_cv_func__isnanf" = x""yes; then :
48739  cat >>confdefs.h <<_ACEOF
48740#define HAVE__ISNANF 1
48741_ACEOF
48742
48743fi
48744done
48745
48746    fi
48747  fi
48748
48749
48750
48751
48752
48753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48754$as_echo_n "checking for isinff declaration... " >&6; }
48755  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48756    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48757  $as_echo_n "(cached) " >&6
48758else
48759
48760
48761      ac_ext=cpp
48762ac_cpp='$CXXCPP $CPPFLAGS'
48763ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48764ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48765ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48766
48767      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48768/* end confdefs.h.  */
48769#include <math.h>
48770		      #ifdef HAVE_IEEEFP_H
48771		      #include <ieeefp.h>
48772		      #endif
48773
48774int
48775main ()
48776{
48777 isinff(0);
48778  ;
48779  return 0;
48780}
48781_ACEOF
48782if ac_fn_cxx_try_compile "$LINENO"; then :
48783  glibcxx_cv_func_isinff_use=yes
48784else
48785  glibcxx_cv_func_isinff_use=no
48786fi
48787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48788      ac_ext=c
48789ac_cpp='$CPP $CPPFLAGS'
48790ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48791ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48792ac_compiler_gnu=$ac_cv_c_compiler_gnu
48793
48794
48795fi
48796
48797  fi
48798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48799$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48800
48801  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48802    for ac_func in isinff
48803do :
48804  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48805if test "x$ac_cv_func_isinff" = x""yes; then :
48806  cat >>confdefs.h <<_ACEOF
48807#define HAVE_ISINFF 1
48808_ACEOF
48809
48810fi
48811done
48812
48813  else
48814
48815  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48816$as_echo_n "checking for _isinff declaration... " >&6; }
48817  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48818    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48819  $as_echo_n "(cached) " >&6
48820else
48821
48822
48823      ac_ext=cpp
48824ac_cpp='$CXXCPP $CPPFLAGS'
48825ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48826ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48827ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48828
48829      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48830/* end confdefs.h.  */
48831#include <math.h>
48832		      #ifdef HAVE_IEEEFP_H
48833		      #include <ieeefp.h>
48834		      #endif
48835
48836int
48837main ()
48838{
48839 _isinff(0);
48840  ;
48841  return 0;
48842}
48843_ACEOF
48844if ac_fn_cxx_try_compile "$LINENO"; then :
48845  glibcxx_cv_func__isinff_use=yes
48846else
48847  glibcxx_cv_func__isinff_use=no
48848fi
48849rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48850      ac_ext=c
48851ac_cpp='$CPP $CPPFLAGS'
48852ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48853ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48854ac_compiler_gnu=$ac_cv_c_compiler_gnu
48855
48856
48857fi
48858
48859  fi
48860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48861$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48862
48863    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48864      for ac_func in _isinff
48865do :
48866  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48867if test "x$ac_cv_func__isinff" = x""yes; then :
48868  cat >>confdefs.h <<_ACEOF
48869#define HAVE__ISINFF 1
48870_ACEOF
48871
48872fi
48873done
48874
48875    fi
48876  fi
48877
48878
48879
48880
48881
48882  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48883$as_echo_n "checking for atan2f declaration... " >&6; }
48884  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48885    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48886  $as_echo_n "(cached) " >&6
48887else
48888
48889
48890      ac_ext=cpp
48891ac_cpp='$CXXCPP $CPPFLAGS'
48892ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48893ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48894ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48895
48896      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48897/* end confdefs.h.  */
48898#include <math.h>
48899int
48900main ()
48901{
48902 atan2f(0, 0);
48903  ;
48904  return 0;
48905}
48906_ACEOF
48907if ac_fn_cxx_try_compile "$LINENO"; then :
48908  glibcxx_cv_func_atan2f_use=yes
48909else
48910  glibcxx_cv_func_atan2f_use=no
48911fi
48912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48913      ac_ext=c
48914ac_cpp='$CPP $CPPFLAGS'
48915ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48916ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48917ac_compiler_gnu=$ac_cv_c_compiler_gnu
48918
48919
48920fi
48921
48922  fi
48923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48924$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48925
48926  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48927    for ac_func in atan2f
48928do :
48929  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48930if test "x$ac_cv_func_atan2f" = x""yes; then :
48931  cat >>confdefs.h <<_ACEOF
48932#define HAVE_ATAN2F 1
48933_ACEOF
48934
48935fi
48936done
48937
48938  else
48939
48940  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48941$as_echo_n "checking for _atan2f declaration... " >&6; }
48942  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48943    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48944  $as_echo_n "(cached) " >&6
48945else
48946
48947
48948      ac_ext=cpp
48949ac_cpp='$CXXCPP $CPPFLAGS'
48950ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48951ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48952ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48953
48954      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48955/* end confdefs.h.  */
48956#include <math.h>
48957int
48958main ()
48959{
48960 _atan2f(0, 0);
48961  ;
48962  return 0;
48963}
48964_ACEOF
48965if ac_fn_cxx_try_compile "$LINENO"; then :
48966  glibcxx_cv_func__atan2f_use=yes
48967else
48968  glibcxx_cv_func__atan2f_use=no
48969fi
48970rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48971      ac_ext=c
48972ac_cpp='$CPP $CPPFLAGS'
48973ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48974ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48975ac_compiler_gnu=$ac_cv_c_compiler_gnu
48976
48977
48978fi
48979
48980  fi
48981  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48982$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48983
48984    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48985      for ac_func in _atan2f
48986do :
48987  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48988if test "x$ac_cv_func__atan2f" = x""yes; then :
48989  cat >>confdefs.h <<_ACEOF
48990#define HAVE__ATAN2F 1
48991_ACEOF
48992
48993fi
48994done
48995
48996    fi
48997  fi
48998
48999
49000
49001
49002
49003  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49004$as_echo_n "checking for fabsf declaration... " >&6; }
49005  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49006    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
49007  $as_echo_n "(cached) " >&6
49008else
49009
49010
49011      ac_ext=cpp
49012ac_cpp='$CXXCPP $CPPFLAGS'
49013ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49014ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49015ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49016
49017      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49018/* end confdefs.h.  */
49019#include <math.h>
49020		      #ifdef HAVE_IEEEFP_H
49021		      #include <ieeefp.h>
49022		      #endif
49023
49024int
49025main ()
49026{
49027 fabsf(0);
49028  ;
49029  return 0;
49030}
49031_ACEOF
49032if ac_fn_cxx_try_compile "$LINENO"; then :
49033  glibcxx_cv_func_fabsf_use=yes
49034else
49035  glibcxx_cv_func_fabsf_use=no
49036fi
49037rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49038      ac_ext=c
49039ac_cpp='$CPP $CPPFLAGS'
49040ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49041ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49042ac_compiler_gnu=$ac_cv_c_compiler_gnu
49043
49044
49045fi
49046
49047  fi
49048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49049$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49050
49051  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49052    for ac_func in fabsf
49053do :
49054  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49055if test "x$ac_cv_func_fabsf" = x""yes; then :
49056  cat >>confdefs.h <<_ACEOF
49057#define HAVE_FABSF 1
49058_ACEOF
49059
49060fi
49061done
49062
49063  else
49064
49065  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49066$as_echo_n "checking for _fabsf declaration... " >&6; }
49067  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49068    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
49069  $as_echo_n "(cached) " >&6
49070else
49071
49072
49073      ac_ext=cpp
49074ac_cpp='$CXXCPP $CPPFLAGS'
49075ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49076ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49077ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49078
49079      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49080/* end confdefs.h.  */
49081#include <math.h>
49082		      #ifdef HAVE_IEEEFP_H
49083		      #include <ieeefp.h>
49084		      #endif
49085
49086int
49087main ()
49088{
49089 _fabsf(0);
49090  ;
49091  return 0;
49092}
49093_ACEOF
49094if ac_fn_cxx_try_compile "$LINENO"; then :
49095  glibcxx_cv_func__fabsf_use=yes
49096else
49097  glibcxx_cv_func__fabsf_use=no
49098fi
49099rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49100      ac_ext=c
49101ac_cpp='$CPP $CPPFLAGS'
49102ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49103ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49104ac_compiler_gnu=$ac_cv_c_compiler_gnu
49105
49106
49107fi
49108
49109  fi
49110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49111$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49112
49113    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49114      for ac_func in _fabsf
49115do :
49116  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49117if test "x$ac_cv_func__fabsf" = x""yes; then :
49118  cat >>confdefs.h <<_ACEOF
49119#define HAVE__FABSF 1
49120_ACEOF
49121
49122fi
49123done
49124
49125    fi
49126  fi
49127
49128
49129
49130
49131
49132  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49133$as_echo_n "checking for fmodf declaration... " >&6; }
49134  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49135    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
49136  $as_echo_n "(cached) " >&6
49137else
49138
49139
49140      ac_ext=cpp
49141ac_cpp='$CXXCPP $CPPFLAGS'
49142ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49143ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49144ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49145
49146      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49147/* end confdefs.h.  */
49148#include <math.h>
49149int
49150main ()
49151{
49152 fmodf(0, 0);
49153  ;
49154  return 0;
49155}
49156_ACEOF
49157if ac_fn_cxx_try_compile "$LINENO"; then :
49158  glibcxx_cv_func_fmodf_use=yes
49159else
49160  glibcxx_cv_func_fmodf_use=no
49161fi
49162rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49163      ac_ext=c
49164ac_cpp='$CPP $CPPFLAGS'
49165ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49166ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49167ac_compiler_gnu=$ac_cv_c_compiler_gnu
49168
49169
49170fi
49171
49172  fi
49173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49174$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49175
49176  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49177    for ac_func in fmodf
49178do :
49179  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49180if test "x$ac_cv_func_fmodf" = x""yes; then :
49181  cat >>confdefs.h <<_ACEOF
49182#define HAVE_FMODF 1
49183_ACEOF
49184
49185fi
49186done
49187
49188  else
49189
49190  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49191$as_echo_n "checking for _fmodf declaration... " >&6; }
49192  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49193    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49194  $as_echo_n "(cached) " >&6
49195else
49196
49197
49198      ac_ext=cpp
49199ac_cpp='$CXXCPP $CPPFLAGS'
49200ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49201ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49202ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49203
49204      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49205/* end confdefs.h.  */
49206#include <math.h>
49207int
49208main ()
49209{
49210 _fmodf(0, 0);
49211  ;
49212  return 0;
49213}
49214_ACEOF
49215if ac_fn_cxx_try_compile "$LINENO"; then :
49216  glibcxx_cv_func__fmodf_use=yes
49217else
49218  glibcxx_cv_func__fmodf_use=no
49219fi
49220rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49221      ac_ext=c
49222ac_cpp='$CPP $CPPFLAGS'
49223ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49224ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49225ac_compiler_gnu=$ac_cv_c_compiler_gnu
49226
49227
49228fi
49229
49230  fi
49231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49232$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49233
49234    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49235      for ac_func in _fmodf
49236do :
49237  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49238if test "x$ac_cv_func__fmodf" = x""yes; then :
49239  cat >>confdefs.h <<_ACEOF
49240#define HAVE__FMODF 1
49241_ACEOF
49242
49243fi
49244done
49245
49246    fi
49247  fi
49248
49249
49250
49251
49252
49253  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49254$as_echo_n "checking for frexpf declaration... " >&6; }
49255  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49256    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49257  $as_echo_n "(cached) " >&6
49258else
49259
49260
49261      ac_ext=cpp
49262ac_cpp='$CXXCPP $CPPFLAGS'
49263ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49264ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49265ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49266
49267      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49268/* end confdefs.h.  */
49269#include <math.h>
49270int
49271main ()
49272{
49273 frexpf(0, 0);
49274  ;
49275  return 0;
49276}
49277_ACEOF
49278if ac_fn_cxx_try_compile "$LINENO"; then :
49279  glibcxx_cv_func_frexpf_use=yes
49280else
49281  glibcxx_cv_func_frexpf_use=no
49282fi
49283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49284      ac_ext=c
49285ac_cpp='$CPP $CPPFLAGS'
49286ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49287ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49288ac_compiler_gnu=$ac_cv_c_compiler_gnu
49289
49290
49291fi
49292
49293  fi
49294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49295$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49296
49297  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49298    for ac_func in frexpf
49299do :
49300  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49301if test "x$ac_cv_func_frexpf" = x""yes; then :
49302  cat >>confdefs.h <<_ACEOF
49303#define HAVE_FREXPF 1
49304_ACEOF
49305
49306fi
49307done
49308
49309  else
49310
49311  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49312$as_echo_n "checking for _frexpf declaration... " >&6; }
49313  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49314    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49315  $as_echo_n "(cached) " >&6
49316else
49317
49318
49319      ac_ext=cpp
49320ac_cpp='$CXXCPP $CPPFLAGS'
49321ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49322ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49323ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49324
49325      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49326/* end confdefs.h.  */
49327#include <math.h>
49328int
49329main ()
49330{
49331 _frexpf(0, 0);
49332  ;
49333  return 0;
49334}
49335_ACEOF
49336if ac_fn_cxx_try_compile "$LINENO"; then :
49337  glibcxx_cv_func__frexpf_use=yes
49338else
49339  glibcxx_cv_func__frexpf_use=no
49340fi
49341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49342      ac_ext=c
49343ac_cpp='$CPP $CPPFLAGS'
49344ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49345ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49346ac_compiler_gnu=$ac_cv_c_compiler_gnu
49347
49348
49349fi
49350
49351  fi
49352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49353$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49354
49355    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49356      for ac_func in _frexpf
49357do :
49358  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49359if test "x$ac_cv_func__frexpf" = x""yes; then :
49360  cat >>confdefs.h <<_ACEOF
49361#define HAVE__FREXPF 1
49362_ACEOF
49363
49364fi
49365done
49366
49367    fi
49368  fi
49369
49370
49371
49372
49373
49374  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49375$as_echo_n "checking for hypotf declaration... " >&6; }
49376  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49377    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49378  $as_echo_n "(cached) " >&6
49379else
49380
49381
49382      ac_ext=cpp
49383ac_cpp='$CXXCPP $CPPFLAGS'
49384ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49385ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49386ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49387
49388      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49389/* end confdefs.h.  */
49390#include <math.h>
49391int
49392main ()
49393{
49394 hypotf(0, 0);
49395  ;
49396  return 0;
49397}
49398_ACEOF
49399if ac_fn_cxx_try_compile "$LINENO"; then :
49400  glibcxx_cv_func_hypotf_use=yes
49401else
49402  glibcxx_cv_func_hypotf_use=no
49403fi
49404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49405      ac_ext=c
49406ac_cpp='$CPP $CPPFLAGS'
49407ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49408ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49409ac_compiler_gnu=$ac_cv_c_compiler_gnu
49410
49411
49412fi
49413
49414  fi
49415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49416$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49417
49418  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49419    for ac_func in hypotf
49420do :
49421  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49422if test "x$ac_cv_func_hypotf" = x""yes; then :
49423  cat >>confdefs.h <<_ACEOF
49424#define HAVE_HYPOTF 1
49425_ACEOF
49426
49427fi
49428done
49429
49430  else
49431
49432  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49433$as_echo_n "checking for _hypotf declaration... " >&6; }
49434  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49435    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49436  $as_echo_n "(cached) " >&6
49437else
49438
49439
49440      ac_ext=cpp
49441ac_cpp='$CXXCPP $CPPFLAGS'
49442ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49443ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49444ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49445
49446      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49447/* end confdefs.h.  */
49448#include <math.h>
49449int
49450main ()
49451{
49452 _hypotf(0, 0);
49453  ;
49454  return 0;
49455}
49456_ACEOF
49457if ac_fn_cxx_try_compile "$LINENO"; then :
49458  glibcxx_cv_func__hypotf_use=yes
49459else
49460  glibcxx_cv_func__hypotf_use=no
49461fi
49462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49463      ac_ext=c
49464ac_cpp='$CPP $CPPFLAGS'
49465ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49466ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49467ac_compiler_gnu=$ac_cv_c_compiler_gnu
49468
49469
49470fi
49471
49472  fi
49473  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49474$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49475
49476    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49477      for ac_func in _hypotf
49478do :
49479  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49480if test "x$ac_cv_func__hypotf" = x""yes; then :
49481  cat >>confdefs.h <<_ACEOF
49482#define HAVE__HYPOTF 1
49483_ACEOF
49484
49485fi
49486done
49487
49488    fi
49489  fi
49490
49491
49492
49493
49494
49495  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49496$as_echo_n "checking for ldexpf declaration... " >&6; }
49497  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49498    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49499  $as_echo_n "(cached) " >&6
49500else
49501
49502
49503      ac_ext=cpp
49504ac_cpp='$CXXCPP $CPPFLAGS'
49505ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49506ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49507ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49508
49509      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49510/* end confdefs.h.  */
49511#include <math.h>
49512int
49513main ()
49514{
49515 ldexpf(0, 0);
49516  ;
49517  return 0;
49518}
49519_ACEOF
49520if ac_fn_cxx_try_compile "$LINENO"; then :
49521  glibcxx_cv_func_ldexpf_use=yes
49522else
49523  glibcxx_cv_func_ldexpf_use=no
49524fi
49525rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49526      ac_ext=c
49527ac_cpp='$CPP $CPPFLAGS'
49528ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49529ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49530ac_compiler_gnu=$ac_cv_c_compiler_gnu
49531
49532
49533fi
49534
49535  fi
49536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49537$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49538
49539  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49540    for ac_func in ldexpf
49541do :
49542  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49543if test "x$ac_cv_func_ldexpf" = x""yes; then :
49544  cat >>confdefs.h <<_ACEOF
49545#define HAVE_LDEXPF 1
49546_ACEOF
49547
49548fi
49549done
49550
49551  else
49552
49553  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49554$as_echo_n "checking for _ldexpf declaration... " >&6; }
49555  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49556    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49557  $as_echo_n "(cached) " >&6
49558else
49559
49560
49561      ac_ext=cpp
49562ac_cpp='$CXXCPP $CPPFLAGS'
49563ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49564ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49565ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49566
49567      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49568/* end confdefs.h.  */
49569#include <math.h>
49570int
49571main ()
49572{
49573 _ldexpf(0, 0);
49574  ;
49575  return 0;
49576}
49577_ACEOF
49578if ac_fn_cxx_try_compile "$LINENO"; then :
49579  glibcxx_cv_func__ldexpf_use=yes
49580else
49581  glibcxx_cv_func__ldexpf_use=no
49582fi
49583rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49584      ac_ext=c
49585ac_cpp='$CPP $CPPFLAGS'
49586ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49587ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49588ac_compiler_gnu=$ac_cv_c_compiler_gnu
49589
49590
49591fi
49592
49593  fi
49594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49595$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49596
49597    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49598      for ac_func in _ldexpf
49599do :
49600  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49601if test "x$ac_cv_func__ldexpf" = x""yes; then :
49602  cat >>confdefs.h <<_ACEOF
49603#define HAVE__LDEXPF 1
49604_ACEOF
49605
49606fi
49607done
49608
49609    fi
49610  fi
49611
49612
49613
49614
49615
49616  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49617$as_echo_n "checking for logf declaration... " >&6; }
49618  if test x${glibcxx_cv_func_logf_use+set} != xset; then
49619    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49620  $as_echo_n "(cached) " >&6
49621else
49622
49623
49624      ac_ext=cpp
49625ac_cpp='$CXXCPP $CPPFLAGS'
49626ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49627ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49628ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49629
49630      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49631/* end confdefs.h.  */
49632#include <math.h>
49633		      #ifdef HAVE_IEEEFP_H
49634		      #include <ieeefp.h>
49635		      #endif
49636
49637int
49638main ()
49639{
49640 logf(0);
49641  ;
49642  return 0;
49643}
49644_ACEOF
49645if ac_fn_cxx_try_compile "$LINENO"; then :
49646  glibcxx_cv_func_logf_use=yes
49647else
49648  glibcxx_cv_func_logf_use=no
49649fi
49650rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49651      ac_ext=c
49652ac_cpp='$CPP $CPPFLAGS'
49653ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49654ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49655ac_compiler_gnu=$ac_cv_c_compiler_gnu
49656
49657
49658fi
49659
49660  fi
49661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49662$as_echo "$glibcxx_cv_func_logf_use" >&6; }
49663
49664  if test x$glibcxx_cv_func_logf_use = x"yes"; then
49665    for ac_func in logf
49666do :
49667  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49668if test "x$ac_cv_func_logf" = x""yes; then :
49669  cat >>confdefs.h <<_ACEOF
49670#define HAVE_LOGF 1
49671_ACEOF
49672
49673fi
49674done
49675
49676  else
49677
49678  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49679$as_echo_n "checking for _logf declaration... " >&6; }
49680  if test x${glibcxx_cv_func__logf_use+set} != xset; then
49681    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49682  $as_echo_n "(cached) " >&6
49683else
49684
49685
49686      ac_ext=cpp
49687ac_cpp='$CXXCPP $CPPFLAGS'
49688ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49689ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49690ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49691
49692      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49693/* end confdefs.h.  */
49694#include <math.h>
49695		      #ifdef HAVE_IEEEFP_H
49696		      #include <ieeefp.h>
49697		      #endif
49698
49699int
49700main ()
49701{
49702 _logf(0);
49703  ;
49704  return 0;
49705}
49706_ACEOF
49707if ac_fn_cxx_try_compile "$LINENO"; then :
49708  glibcxx_cv_func__logf_use=yes
49709else
49710  glibcxx_cv_func__logf_use=no
49711fi
49712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49713      ac_ext=c
49714ac_cpp='$CPP $CPPFLAGS'
49715ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49716ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49717ac_compiler_gnu=$ac_cv_c_compiler_gnu
49718
49719
49720fi
49721
49722  fi
49723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49724$as_echo "$glibcxx_cv_func__logf_use" >&6; }
49725
49726    if test x$glibcxx_cv_func__logf_use = x"yes"; then
49727      for ac_func in _logf
49728do :
49729  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49730if test "x$ac_cv_func__logf" = x""yes; then :
49731  cat >>confdefs.h <<_ACEOF
49732#define HAVE__LOGF 1
49733_ACEOF
49734
49735fi
49736done
49737
49738    fi
49739  fi
49740
49741
49742
49743
49744
49745  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49746$as_echo_n "checking for log10f declaration... " >&6; }
49747  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49748    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49749  $as_echo_n "(cached) " >&6
49750else
49751
49752
49753      ac_ext=cpp
49754ac_cpp='$CXXCPP $CPPFLAGS'
49755ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49756ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49757ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49758
49759      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49760/* end confdefs.h.  */
49761#include <math.h>
49762		      #ifdef HAVE_IEEEFP_H
49763		      #include <ieeefp.h>
49764		      #endif
49765
49766int
49767main ()
49768{
49769 log10f(0);
49770  ;
49771  return 0;
49772}
49773_ACEOF
49774if ac_fn_cxx_try_compile "$LINENO"; then :
49775  glibcxx_cv_func_log10f_use=yes
49776else
49777  glibcxx_cv_func_log10f_use=no
49778fi
49779rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49780      ac_ext=c
49781ac_cpp='$CPP $CPPFLAGS'
49782ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49783ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49784ac_compiler_gnu=$ac_cv_c_compiler_gnu
49785
49786
49787fi
49788
49789  fi
49790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49791$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49792
49793  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49794    for ac_func in log10f
49795do :
49796  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49797if test "x$ac_cv_func_log10f" = x""yes; then :
49798  cat >>confdefs.h <<_ACEOF
49799#define HAVE_LOG10F 1
49800_ACEOF
49801
49802fi
49803done
49804
49805  else
49806
49807  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49808$as_echo_n "checking for _log10f declaration... " >&6; }
49809  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49810    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49811  $as_echo_n "(cached) " >&6
49812else
49813
49814
49815      ac_ext=cpp
49816ac_cpp='$CXXCPP $CPPFLAGS'
49817ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49818ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49819ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49820
49821      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49822/* end confdefs.h.  */
49823#include <math.h>
49824		      #ifdef HAVE_IEEEFP_H
49825		      #include <ieeefp.h>
49826		      #endif
49827
49828int
49829main ()
49830{
49831 _log10f(0);
49832  ;
49833  return 0;
49834}
49835_ACEOF
49836if ac_fn_cxx_try_compile "$LINENO"; then :
49837  glibcxx_cv_func__log10f_use=yes
49838else
49839  glibcxx_cv_func__log10f_use=no
49840fi
49841rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49842      ac_ext=c
49843ac_cpp='$CPP $CPPFLAGS'
49844ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49845ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49846ac_compiler_gnu=$ac_cv_c_compiler_gnu
49847
49848
49849fi
49850
49851  fi
49852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49853$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49854
49855    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49856      for ac_func in _log10f
49857do :
49858  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49859if test "x$ac_cv_func__log10f" = x""yes; then :
49860  cat >>confdefs.h <<_ACEOF
49861#define HAVE__LOG10F 1
49862_ACEOF
49863
49864fi
49865done
49866
49867    fi
49868  fi
49869
49870
49871
49872
49873
49874  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49875$as_echo_n "checking for modff declaration... " >&6; }
49876  if test x${glibcxx_cv_func_modff_use+set} != xset; then
49877    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49878  $as_echo_n "(cached) " >&6
49879else
49880
49881
49882      ac_ext=cpp
49883ac_cpp='$CXXCPP $CPPFLAGS'
49884ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49885ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49886ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49887
49888      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49889/* end confdefs.h.  */
49890#include <math.h>
49891int
49892main ()
49893{
49894 modff(0, 0);
49895  ;
49896  return 0;
49897}
49898_ACEOF
49899if ac_fn_cxx_try_compile "$LINENO"; then :
49900  glibcxx_cv_func_modff_use=yes
49901else
49902  glibcxx_cv_func_modff_use=no
49903fi
49904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49905      ac_ext=c
49906ac_cpp='$CPP $CPPFLAGS'
49907ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49908ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49909ac_compiler_gnu=$ac_cv_c_compiler_gnu
49910
49911
49912fi
49913
49914  fi
49915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49916$as_echo "$glibcxx_cv_func_modff_use" >&6; }
49917
49918  if test x$glibcxx_cv_func_modff_use = x"yes"; then
49919    for ac_func in modff
49920do :
49921  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49922if test "x$ac_cv_func_modff" = x""yes; then :
49923  cat >>confdefs.h <<_ACEOF
49924#define HAVE_MODFF 1
49925_ACEOF
49926
49927fi
49928done
49929
49930  else
49931
49932  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49933$as_echo_n "checking for _modff declaration... " >&6; }
49934  if test x${glibcxx_cv_func__modff_use+set} != xset; then
49935    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49936  $as_echo_n "(cached) " >&6
49937else
49938
49939
49940      ac_ext=cpp
49941ac_cpp='$CXXCPP $CPPFLAGS'
49942ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49943ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49944ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49945
49946      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49947/* end confdefs.h.  */
49948#include <math.h>
49949int
49950main ()
49951{
49952 _modff(0, 0);
49953  ;
49954  return 0;
49955}
49956_ACEOF
49957if ac_fn_cxx_try_compile "$LINENO"; then :
49958  glibcxx_cv_func__modff_use=yes
49959else
49960  glibcxx_cv_func__modff_use=no
49961fi
49962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49963      ac_ext=c
49964ac_cpp='$CPP $CPPFLAGS'
49965ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49966ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49967ac_compiler_gnu=$ac_cv_c_compiler_gnu
49968
49969
49970fi
49971
49972  fi
49973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49974$as_echo "$glibcxx_cv_func__modff_use" >&6; }
49975
49976    if test x$glibcxx_cv_func__modff_use = x"yes"; then
49977      for ac_func in _modff
49978do :
49979  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49980if test "x$ac_cv_func__modff" = x""yes; then :
49981  cat >>confdefs.h <<_ACEOF
49982#define HAVE__MODFF 1
49983_ACEOF
49984
49985fi
49986done
49987
49988    fi
49989  fi
49990
49991
49992
49993
49994
49995  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49996$as_echo_n "checking for modf declaration... " >&6; }
49997  if test x${glibcxx_cv_func_modf_use+set} != xset; then
49998    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49999  $as_echo_n "(cached) " >&6
50000else
50001
50002
50003      ac_ext=cpp
50004ac_cpp='$CXXCPP $CPPFLAGS'
50005ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50006ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50007ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50008
50009      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50010/* end confdefs.h.  */
50011#include <math.h>
50012int
50013main ()
50014{
50015 modf(0, 0);
50016  ;
50017  return 0;
50018}
50019_ACEOF
50020if ac_fn_cxx_try_compile "$LINENO"; then :
50021  glibcxx_cv_func_modf_use=yes
50022else
50023  glibcxx_cv_func_modf_use=no
50024fi
50025rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50026      ac_ext=c
50027ac_cpp='$CPP $CPPFLAGS'
50028ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50029ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50030ac_compiler_gnu=$ac_cv_c_compiler_gnu
50031
50032
50033fi
50034
50035  fi
50036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50037$as_echo "$glibcxx_cv_func_modf_use" >&6; }
50038
50039  if test x$glibcxx_cv_func_modf_use = x"yes"; then
50040    for ac_func in modf
50041do :
50042  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50043if test "x$ac_cv_func_modf" = x""yes; then :
50044  cat >>confdefs.h <<_ACEOF
50045#define HAVE_MODF 1
50046_ACEOF
50047
50048fi
50049done
50050
50051  else
50052
50053  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50054$as_echo_n "checking for _modf declaration... " >&6; }
50055  if test x${glibcxx_cv_func__modf_use+set} != xset; then
50056    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
50057  $as_echo_n "(cached) " >&6
50058else
50059
50060
50061      ac_ext=cpp
50062ac_cpp='$CXXCPP $CPPFLAGS'
50063ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50064ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50065ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50066
50067      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50068/* end confdefs.h.  */
50069#include <math.h>
50070int
50071main ()
50072{
50073 _modf(0, 0);
50074  ;
50075  return 0;
50076}
50077_ACEOF
50078if ac_fn_cxx_try_compile "$LINENO"; then :
50079  glibcxx_cv_func__modf_use=yes
50080else
50081  glibcxx_cv_func__modf_use=no
50082fi
50083rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50084      ac_ext=c
50085ac_cpp='$CPP $CPPFLAGS'
50086ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50087ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50088ac_compiler_gnu=$ac_cv_c_compiler_gnu
50089
50090
50091fi
50092
50093  fi
50094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50095$as_echo "$glibcxx_cv_func__modf_use" >&6; }
50096
50097    if test x$glibcxx_cv_func__modf_use = x"yes"; then
50098      for ac_func in _modf
50099do :
50100  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50101if test "x$ac_cv_func__modf" = x""yes; then :
50102  cat >>confdefs.h <<_ACEOF
50103#define HAVE__MODF 1
50104_ACEOF
50105
50106fi
50107done
50108
50109    fi
50110  fi
50111
50112
50113
50114
50115
50116  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50117$as_echo_n "checking for powf declaration... " >&6; }
50118  if test x${glibcxx_cv_func_powf_use+set} != xset; then
50119    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
50120  $as_echo_n "(cached) " >&6
50121else
50122
50123
50124      ac_ext=cpp
50125ac_cpp='$CXXCPP $CPPFLAGS'
50126ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50127ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50128ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50129
50130      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50131/* end confdefs.h.  */
50132#include <math.h>
50133int
50134main ()
50135{
50136 powf(0, 0);
50137  ;
50138  return 0;
50139}
50140_ACEOF
50141if ac_fn_cxx_try_compile "$LINENO"; then :
50142  glibcxx_cv_func_powf_use=yes
50143else
50144  glibcxx_cv_func_powf_use=no
50145fi
50146rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50147      ac_ext=c
50148ac_cpp='$CPP $CPPFLAGS'
50149ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50150ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50151ac_compiler_gnu=$ac_cv_c_compiler_gnu
50152
50153
50154fi
50155
50156  fi
50157  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50158$as_echo "$glibcxx_cv_func_powf_use" >&6; }
50159
50160  if test x$glibcxx_cv_func_powf_use = x"yes"; then
50161    for ac_func in powf
50162do :
50163  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50164if test "x$ac_cv_func_powf" = x""yes; then :
50165  cat >>confdefs.h <<_ACEOF
50166#define HAVE_POWF 1
50167_ACEOF
50168
50169fi
50170done
50171
50172  else
50173
50174  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50175$as_echo_n "checking for _powf declaration... " >&6; }
50176  if test x${glibcxx_cv_func__powf_use+set} != xset; then
50177    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50178  $as_echo_n "(cached) " >&6
50179else
50180
50181
50182      ac_ext=cpp
50183ac_cpp='$CXXCPP $CPPFLAGS'
50184ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50185ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50186ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50187
50188      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50189/* end confdefs.h.  */
50190#include <math.h>
50191int
50192main ()
50193{
50194 _powf(0, 0);
50195  ;
50196  return 0;
50197}
50198_ACEOF
50199if ac_fn_cxx_try_compile "$LINENO"; then :
50200  glibcxx_cv_func__powf_use=yes
50201else
50202  glibcxx_cv_func__powf_use=no
50203fi
50204rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50205      ac_ext=c
50206ac_cpp='$CPP $CPPFLAGS'
50207ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50208ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50209ac_compiler_gnu=$ac_cv_c_compiler_gnu
50210
50211
50212fi
50213
50214  fi
50215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50216$as_echo "$glibcxx_cv_func__powf_use" >&6; }
50217
50218    if test x$glibcxx_cv_func__powf_use = x"yes"; then
50219      for ac_func in _powf
50220do :
50221  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50222if test "x$ac_cv_func__powf" = x""yes; then :
50223  cat >>confdefs.h <<_ACEOF
50224#define HAVE__POWF 1
50225_ACEOF
50226
50227fi
50228done
50229
50230    fi
50231  fi
50232
50233
50234
50235
50236
50237  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50238$as_echo_n "checking for sqrtf declaration... " >&6; }
50239  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50240    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50241  $as_echo_n "(cached) " >&6
50242else
50243
50244
50245      ac_ext=cpp
50246ac_cpp='$CXXCPP $CPPFLAGS'
50247ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50248ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50249ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50250
50251      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50252/* end confdefs.h.  */
50253#include <math.h>
50254		      #ifdef HAVE_IEEEFP_H
50255		      #include <ieeefp.h>
50256		      #endif
50257
50258int
50259main ()
50260{
50261 sqrtf(0);
50262  ;
50263  return 0;
50264}
50265_ACEOF
50266if ac_fn_cxx_try_compile "$LINENO"; then :
50267  glibcxx_cv_func_sqrtf_use=yes
50268else
50269  glibcxx_cv_func_sqrtf_use=no
50270fi
50271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50272      ac_ext=c
50273ac_cpp='$CPP $CPPFLAGS'
50274ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50275ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50276ac_compiler_gnu=$ac_cv_c_compiler_gnu
50277
50278
50279fi
50280
50281  fi
50282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50283$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50284
50285  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50286    for ac_func in sqrtf
50287do :
50288  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50289if test "x$ac_cv_func_sqrtf" = x""yes; then :
50290  cat >>confdefs.h <<_ACEOF
50291#define HAVE_SQRTF 1
50292_ACEOF
50293
50294fi
50295done
50296
50297  else
50298
50299  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50300$as_echo_n "checking for _sqrtf declaration... " >&6; }
50301  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50302    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50303  $as_echo_n "(cached) " >&6
50304else
50305
50306
50307      ac_ext=cpp
50308ac_cpp='$CXXCPP $CPPFLAGS'
50309ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50310ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50311ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50312
50313      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50314/* end confdefs.h.  */
50315#include <math.h>
50316		      #ifdef HAVE_IEEEFP_H
50317		      #include <ieeefp.h>
50318		      #endif
50319
50320int
50321main ()
50322{
50323 _sqrtf(0);
50324  ;
50325  return 0;
50326}
50327_ACEOF
50328if ac_fn_cxx_try_compile "$LINENO"; then :
50329  glibcxx_cv_func__sqrtf_use=yes
50330else
50331  glibcxx_cv_func__sqrtf_use=no
50332fi
50333rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50334      ac_ext=c
50335ac_cpp='$CPP $CPPFLAGS'
50336ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50337ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50338ac_compiler_gnu=$ac_cv_c_compiler_gnu
50339
50340
50341fi
50342
50343  fi
50344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50345$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50346
50347    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50348      for ac_func in _sqrtf
50349do :
50350  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50351if test "x$ac_cv_func__sqrtf" = x""yes; then :
50352  cat >>confdefs.h <<_ACEOF
50353#define HAVE__SQRTF 1
50354_ACEOF
50355
50356fi
50357done
50358
50359    fi
50360  fi
50361
50362
50363
50364
50365
50366  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50367$as_echo_n "checking for sincosf declaration... " >&6; }
50368  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50369    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50370  $as_echo_n "(cached) " >&6
50371else
50372
50373
50374      ac_ext=cpp
50375ac_cpp='$CXXCPP $CPPFLAGS'
50376ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50377ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50378ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50379
50380      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50381/* end confdefs.h.  */
50382#include <math.h>
50383int
50384main ()
50385{
50386 sincosf(0, 0, 0);
50387  ;
50388  return 0;
50389}
50390_ACEOF
50391if ac_fn_cxx_try_compile "$LINENO"; then :
50392  glibcxx_cv_func_sincosf_use=yes
50393else
50394  glibcxx_cv_func_sincosf_use=no
50395fi
50396rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50397      ac_ext=c
50398ac_cpp='$CPP $CPPFLAGS'
50399ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50400ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50401ac_compiler_gnu=$ac_cv_c_compiler_gnu
50402
50403
50404fi
50405
50406  fi
50407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50408$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50409
50410  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50411    for ac_func in sincosf
50412do :
50413  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50414if test "x$ac_cv_func_sincosf" = x""yes; then :
50415  cat >>confdefs.h <<_ACEOF
50416#define HAVE_SINCOSF 1
50417_ACEOF
50418
50419fi
50420done
50421
50422  else
50423
50424  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50425$as_echo_n "checking for _sincosf declaration... " >&6; }
50426  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50427    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50428  $as_echo_n "(cached) " >&6
50429else
50430
50431
50432      ac_ext=cpp
50433ac_cpp='$CXXCPP $CPPFLAGS'
50434ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50435ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50436ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50437
50438      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50439/* end confdefs.h.  */
50440#include <math.h>
50441int
50442main ()
50443{
50444 _sincosf(0, 0, 0);
50445  ;
50446  return 0;
50447}
50448_ACEOF
50449if ac_fn_cxx_try_compile "$LINENO"; then :
50450  glibcxx_cv_func__sincosf_use=yes
50451else
50452  glibcxx_cv_func__sincosf_use=no
50453fi
50454rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50455      ac_ext=c
50456ac_cpp='$CPP $CPPFLAGS'
50457ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50458ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50459ac_compiler_gnu=$ac_cv_c_compiler_gnu
50460
50461
50462fi
50463
50464  fi
50465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50466$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50467
50468    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50469      for ac_func in _sincosf
50470do :
50471  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50472if test "x$ac_cv_func__sincosf" = x""yes; then :
50473  cat >>confdefs.h <<_ACEOF
50474#define HAVE__SINCOSF 1
50475_ACEOF
50476
50477fi
50478done
50479
50480    fi
50481  fi
50482
50483
50484
50485
50486
50487  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50488$as_echo_n "checking for finitef declaration... " >&6; }
50489  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50490    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50491  $as_echo_n "(cached) " >&6
50492else
50493
50494
50495      ac_ext=cpp
50496ac_cpp='$CXXCPP $CPPFLAGS'
50497ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50498ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50499ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50500
50501      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50502/* end confdefs.h.  */
50503#include <math.h>
50504		      #ifdef HAVE_IEEEFP_H
50505		      #include <ieeefp.h>
50506		      #endif
50507
50508int
50509main ()
50510{
50511 finitef(0);
50512  ;
50513  return 0;
50514}
50515_ACEOF
50516if ac_fn_cxx_try_compile "$LINENO"; then :
50517  glibcxx_cv_func_finitef_use=yes
50518else
50519  glibcxx_cv_func_finitef_use=no
50520fi
50521rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50522      ac_ext=c
50523ac_cpp='$CPP $CPPFLAGS'
50524ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50525ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50526ac_compiler_gnu=$ac_cv_c_compiler_gnu
50527
50528
50529fi
50530
50531  fi
50532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50533$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50534
50535  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50536    for ac_func in finitef
50537do :
50538  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50539if test "x$ac_cv_func_finitef" = x""yes; then :
50540  cat >>confdefs.h <<_ACEOF
50541#define HAVE_FINITEF 1
50542_ACEOF
50543
50544fi
50545done
50546
50547  else
50548
50549  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50550$as_echo_n "checking for _finitef declaration... " >&6; }
50551  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50552    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50553  $as_echo_n "(cached) " >&6
50554else
50555
50556
50557      ac_ext=cpp
50558ac_cpp='$CXXCPP $CPPFLAGS'
50559ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50560ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50561ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50562
50563      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50564/* end confdefs.h.  */
50565#include <math.h>
50566		      #ifdef HAVE_IEEEFP_H
50567		      #include <ieeefp.h>
50568		      #endif
50569
50570int
50571main ()
50572{
50573 _finitef(0);
50574  ;
50575  return 0;
50576}
50577_ACEOF
50578if ac_fn_cxx_try_compile "$LINENO"; then :
50579  glibcxx_cv_func__finitef_use=yes
50580else
50581  glibcxx_cv_func__finitef_use=no
50582fi
50583rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50584      ac_ext=c
50585ac_cpp='$CPP $CPPFLAGS'
50586ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50587ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50588ac_compiler_gnu=$ac_cv_c_compiler_gnu
50589
50590
50591fi
50592
50593  fi
50594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50595$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50596
50597    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50598      for ac_func in _finitef
50599do :
50600  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50601if test "x$ac_cv_func__finitef" = x""yes; then :
50602  cat >>confdefs.h <<_ACEOF
50603#define HAVE__FINITEF 1
50604_ACEOF
50605
50606fi
50607done
50608
50609    fi
50610  fi
50611
50612
50613
50614
50615
50616    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50617$as_echo_n "checking for long double trig functions... " >&6; }
50618  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50619  $as_echo_n "(cached) " >&6
50620else
50621
50622
50623    ac_ext=cpp
50624ac_cpp='$CXXCPP $CPPFLAGS'
50625ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50626ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50627ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50628
50629    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50630/* end confdefs.h.  */
50631#include <math.h>
50632int
50633main ()
50634{
50635acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50636  ;
50637  return 0;
50638}
50639_ACEOF
50640if ac_fn_cxx_try_compile "$LINENO"; then :
50641  glibcxx_cv_func_long_double_trig_use=yes
50642else
50643  glibcxx_cv_func_long_double_trig_use=no
50644fi
50645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50646    ac_ext=c
50647ac_cpp='$CPP $CPPFLAGS'
50648ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50649ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50650ac_compiler_gnu=$ac_cv_c_compiler_gnu
50651
50652fi
50653
50654  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50655$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50656  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50657    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50658do :
50659  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50660ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50661eval as_val=\$$as_ac_var
50662   if test "x$as_val" = x""yes; then :
50663  cat >>confdefs.h <<_ACEOF
50664#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50665_ACEOF
50666
50667fi
50668done
50669
50670  else
50671    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50672$as_echo_n "checking for _long double trig functions... " >&6; }
50673    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50674  $as_echo_n "(cached) " >&6
50675else
50676
50677
50678      ac_ext=cpp
50679ac_cpp='$CXXCPP $CPPFLAGS'
50680ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50681ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50682ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50683
50684      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50685/* end confdefs.h.  */
50686#include <math.h>
50687int
50688main ()
50689{
50690_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50691  ;
50692  return 0;
50693}
50694_ACEOF
50695if ac_fn_cxx_try_compile "$LINENO"; then :
50696  glibcxx_cv_func__long_double_trig_use=yes
50697else
50698  glibcxx_cv_func__long_double_trig_use=no
50699fi
50700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50701      ac_ext=c
50702ac_cpp='$CPP $CPPFLAGS'
50703ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50704ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50705ac_compiler_gnu=$ac_cv_c_compiler_gnu
50706
50707fi
50708
50709    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50710$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50711    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50712      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50713do :
50714  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50715ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50716eval as_val=\$$as_ac_var
50717   if test "x$as_val" = x""yes; then :
50718  cat >>confdefs.h <<_ACEOF
50719#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50720_ACEOF
50721
50722fi
50723done
50724
50725    fi
50726  fi
50727
50728
50729
50730
50731
50732    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50733$as_echo_n "checking for long double round functions... " >&6; }
50734  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50735  $as_echo_n "(cached) " >&6
50736else
50737
50738
50739    ac_ext=cpp
50740ac_cpp='$CXXCPP $CPPFLAGS'
50741ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50742ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50743ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50744
50745    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50746/* end confdefs.h.  */
50747#include <math.h>
50748int
50749main ()
50750{
50751ceill (0); floorl (0);
50752  ;
50753  return 0;
50754}
50755_ACEOF
50756if ac_fn_cxx_try_compile "$LINENO"; then :
50757  glibcxx_cv_func_long_double_round_use=yes
50758else
50759  glibcxx_cv_func_long_double_round_use=no
50760fi
50761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50762    ac_ext=c
50763ac_cpp='$CPP $CPPFLAGS'
50764ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50765ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50766ac_compiler_gnu=$ac_cv_c_compiler_gnu
50767
50768fi
50769
50770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50771$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50772  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50773    for ac_func in ceill floorl
50774do :
50775  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50776ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50777eval as_val=\$$as_ac_var
50778   if test "x$as_val" = x""yes; then :
50779  cat >>confdefs.h <<_ACEOF
50780#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50781_ACEOF
50782
50783fi
50784done
50785
50786  else
50787    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50788$as_echo_n "checking for _long double round functions... " >&6; }
50789    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50790  $as_echo_n "(cached) " >&6
50791else
50792
50793
50794      ac_ext=cpp
50795ac_cpp='$CXXCPP $CPPFLAGS'
50796ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50797ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50798ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50799
50800      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50801/* end confdefs.h.  */
50802#include <math.h>
50803int
50804main ()
50805{
50806_ceill (0); _floorl (0);
50807  ;
50808  return 0;
50809}
50810_ACEOF
50811if ac_fn_cxx_try_compile "$LINENO"; then :
50812  glibcxx_cv_func__long_double_round_use=yes
50813else
50814  glibcxx_cv_func__long_double_round_use=no
50815fi
50816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50817      ac_ext=c
50818ac_cpp='$CPP $CPPFLAGS'
50819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50821ac_compiler_gnu=$ac_cv_c_compiler_gnu
50822
50823fi
50824
50825    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50826$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50827    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50828      for ac_func in _ceill _floorl
50829do :
50830  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50831ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50832eval as_val=\$$as_ac_var
50833   if test "x$as_val" = x""yes; then :
50834  cat >>confdefs.h <<_ACEOF
50835#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50836_ACEOF
50837
50838fi
50839done
50840
50841    fi
50842  fi
50843
50844
50845
50846
50847
50848
50849  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50850$as_echo_n "checking for isnanl declaration... " >&6; }
50851  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50852    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50853  $as_echo_n "(cached) " >&6
50854else
50855
50856
50857      ac_ext=cpp
50858ac_cpp='$CXXCPP $CPPFLAGS'
50859ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50860ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50861ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50862
50863      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50864/* end confdefs.h.  */
50865#include <math.h>
50866		      #ifdef HAVE_IEEEFP_H
50867		      #include <ieeefp.h>
50868		      #endif
50869
50870int
50871main ()
50872{
50873 isnanl(0);
50874  ;
50875  return 0;
50876}
50877_ACEOF
50878if ac_fn_cxx_try_compile "$LINENO"; then :
50879  glibcxx_cv_func_isnanl_use=yes
50880else
50881  glibcxx_cv_func_isnanl_use=no
50882fi
50883rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50884      ac_ext=c
50885ac_cpp='$CPP $CPPFLAGS'
50886ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50887ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50888ac_compiler_gnu=$ac_cv_c_compiler_gnu
50889
50890
50891fi
50892
50893  fi
50894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50895$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50896
50897  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50898    for ac_func in isnanl
50899do :
50900  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50901if test "x$ac_cv_func_isnanl" = x""yes; then :
50902  cat >>confdefs.h <<_ACEOF
50903#define HAVE_ISNANL 1
50904_ACEOF
50905
50906fi
50907done
50908
50909  else
50910
50911  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50912$as_echo_n "checking for _isnanl declaration... " >&6; }
50913  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50914    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50915  $as_echo_n "(cached) " >&6
50916else
50917
50918
50919      ac_ext=cpp
50920ac_cpp='$CXXCPP $CPPFLAGS'
50921ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50922ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50923ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50924
50925      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50926/* end confdefs.h.  */
50927#include <math.h>
50928		      #ifdef HAVE_IEEEFP_H
50929		      #include <ieeefp.h>
50930		      #endif
50931
50932int
50933main ()
50934{
50935 _isnanl(0);
50936  ;
50937  return 0;
50938}
50939_ACEOF
50940if ac_fn_cxx_try_compile "$LINENO"; then :
50941  glibcxx_cv_func__isnanl_use=yes
50942else
50943  glibcxx_cv_func__isnanl_use=no
50944fi
50945rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50946      ac_ext=c
50947ac_cpp='$CPP $CPPFLAGS'
50948ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50949ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50950ac_compiler_gnu=$ac_cv_c_compiler_gnu
50951
50952
50953fi
50954
50955  fi
50956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50957$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50958
50959    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50960      for ac_func in _isnanl
50961do :
50962  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50963if test "x$ac_cv_func__isnanl" = x""yes; then :
50964  cat >>confdefs.h <<_ACEOF
50965#define HAVE__ISNANL 1
50966_ACEOF
50967
50968fi
50969done
50970
50971    fi
50972  fi
50973
50974
50975
50976
50977
50978  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50979$as_echo_n "checking for isinfl declaration... " >&6; }
50980  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50981    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50982  $as_echo_n "(cached) " >&6
50983else
50984
50985
50986      ac_ext=cpp
50987ac_cpp='$CXXCPP $CPPFLAGS'
50988ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50989ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50990ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50991
50992      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50993/* end confdefs.h.  */
50994#include <math.h>
50995		      #ifdef HAVE_IEEEFP_H
50996		      #include <ieeefp.h>
50997		      #endif
50998
50999int
51000main ()
51001{
51002 isinfl(0);
51003  ;
51004  return 0;
51005}
51006_ACEOF
51007if ac_fn_cxx_try_compile "$LINENO"; then :
51008  glibcxx_cv_func_isinfl_use=yes
51009else
51010  glibcxx_cv_func_isinfl_use=no
51011fi
51012rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51013      ac_ext=c
51014ac_cpp='$CPP $CPPFLAGS'
51015ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51016ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51017ac_compiler_gnu=$ac_cv_c_compiler_gnu
51018
51019
51020fi
51021
51022  fi
51023  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51024$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51025
51026  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51027    for ac_func in isinfl
51028do :
51029  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51030if test "x$ac_cv_func_isinfl" = x""yes; then :
51031  cat >>confdefs.h <<_ACEOF
51032#define HAVE_ISINFL 1
51033_ACEOF
51034
51035fi
51036done
51037
51038  else
51039
51040  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51041$as_echo_n "checking for _isinfl declaration... " >&6; }
51042  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51043    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
51044  $as_echo_n "(cached) " >&6
51045else
51046
51047
51048      ac_ext=cpp
51049ac_cpp='$CXXCPP $CPPFLAGS'
51050ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51051ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51052ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51053
51054      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51055/* end confdefs.h.  */
51056#include <math.h>
51057		      #ifdef HAVE_IEEEFP_H
51058		      #include <ieeefp.h>
51059		      #endif
51060
51061int
51062main ()
51063{
51064 _isinfl(0);
51065  ;
51066  return 0;
51067}
51068_ACEOF
51069if ac_fn_cxx_try_compile "$LINENO"; then :
51070  glibcxx_cv_func__isinfl_use=yes
51071else
51072  glibcxx_cv_func__isinfl_use=no
51073fi
51074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51075      ac_ext=c
51076ac_cpp='$CPP $CPPFLAGS'
51077ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51078ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51079ac_compiler_gnu=$ac_cv_c_compiler_gnu
51080
51081
51082fi
51083
51084  fi
51085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51086$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51087
51088    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51089      for ac_func in _isinfl
51090do :
51091  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51092if test "x$ac_cv_func__isinfl" = x""yes; then :
51093  cat >>confdefs.h <<_ACEOF
51094#define HAVE__ISINFL 1
51095_ACEOF
51096
51097fi
51098done
51099
51100    fi
51101  fi
51102
51103
51104
51105
51106
51107  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51108$as_echo_n "checking for atan2l declaration... " >&6; }
51109  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51110    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
51111  $as_echo_n "(cached) " >&6
51112else
51113
51114
51115      ac_ext=cpp
51116ac_cpp='$CXXCPP $CPPFLAGS'
51117ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51118ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51119ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51120
51121      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51122/* end confdefs.h.  */
51123#include <math.h>
51124int
51125main ()
51126{
51127 atan2l(0, 0);
51128  ;
51129  return 0;
51130}
51131_ACEOF
51132if ac_fn_cxx_try_compile "$LINENO"; then :
51133  glibcxx_cv_func_atan2l_use=yes
51134else
51135  glibcxx_cv_func_atan2l_use=no
51136fi
51137rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51138      ac_ext=c
51139ac_cpp='$CPP $CPPFLAGS'
51140ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51141ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51142ac_compiler_gnu=$ac_cv_c_compiler_gnu
51143
51144
51145fi
51146
51147  fi
51148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51149$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51150
51151  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51152    for ac_func in atan2l
51153do :
51154  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51155if test "x$ac_cv_func_atan2l" = x""yes; then :
51156  cat >>confdefs.h <<_ACEOF
51157#define HAVE_ATAN2L 1
51158_ACEOF
51159
51160fi
51161done
51162
51163  else
51164
51165  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51166$as_echo_n "checking for _atan2l declaration... " >&6; }
51167  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51168    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51169  $as_echo_n "(cached) " >&6
51170else
51171
51172
51173      ac_ext=cpp
51174ac_cpp='$CXXCPP $CPPFLAGS'
51175ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51176ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51177ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51178
51179      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51180/* end confdefs.h.  */
51181#include <math.h>
51182int
51183main ()
51184{
51185 _atan2l(0, 0);
51186  ;
51187  return 0;
51188}
51189_ACEOF
51190if ac_fn_cxx_try_compile "$LINENO"; then :
51191  glibcxx_cv_func__atan2l_use=yes
51192else
51193  glibcxx_cv_func__atan2l_use=no
51194fi
51195rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51196      ac_ext=c
51197ac_cpp='$CPP $CPPFLAGS'
51198ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51199ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51200ac_compiler_gnu=$ac_cv_c_compiler_gnu
51201
51202
51203fi
51204
51205  fi
51206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51207$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51208
51209    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51210      for ac_func in _atan2l
51211do :
51212  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51213if test "x$ac_cv_func__atan2l" = x""yes; then :
51214  cat >>confdefs.h <<_ACEOF
51215#define HAVE__ATAN2L 1
51216_ACEOF
51217
51218fi
51219done
51220
51221    fi
51222  fi
51223
51224
51225
51226
51227
51228  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51229$as_echo_n "checking for expl declaration... " >&6; }
51230  if test x${glibcxx_cv_func_expl_use+set} != xset; then
51231    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51232  $as_echo_n "(cached) " >&6
51233else
51234
51235
51236      ac_ext=cpp
51237ac_cpp='$CXXCPP $CPPFLAGS'
51238ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51239ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51240ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51241
51242      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51243/* end confdefs.h.  */
51244#include <math.h>
51245		      #ifdef HAVE_IEEEFP_H
51246		      #include <ieeefp.h>
51247		      #endif
51248
51249int
51250main ()
51251{
51252 expl(0);
51253  ;
51254  return 0;
51255}
51256_ACEOF
51257if ac_fn_cxx_try_compile "$LINENO"; then :
51258  glibcxx_cv_func_expl_use=yes
51259else
51260  glibcxx_cv_func_expl_use=no
51261fi
51262rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51263      ac_ext=c
51264ac_cpp='$CPP $CPPFLAGS'
51265ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51266ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51267ac_compiler_gnu=$ac_cv_c_compiler_gnu
51268
51269
51270fi
51271
51272  fi
51273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51274$as_echo "$glibcxx_cv_func_expl_use" >&6; }
51275
51276  if test x$glibcxx_cv_func_expl_use = x"yes"; then
51277    for ac_func in expl
51278do :
51279  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51280if test "x$ac_cv_func_expl" = x""yes; then :
51281  cat >>confdefs.h <<_ACEOF
51282#define HAVE_EXPL 1
51283_ACEOF
51284
51285fi
51286done
51287
51288  else
51289
51290  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51291$as_echo_n "checking for _expl declaration... " >&6; }
51292  if test x${glibcxx_cv_func__expl_use+set} != xset; then
51293    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51294  $as_echo_n "(cached) " >&6
51295else
51296
51297
51298      ac_ext=cpp
51299ac_cpp='$CXXCPP $CPPFLAGS'
51300ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51301ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51302ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51303
51304      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51305/* end confdefs.h.  */
51306#include <math.h>
51307		      #ifdef HAVE_IEEEFP_H
51308		      #include <ieeefp.h>
51309		      #endif
51310
51311int
51312main ()
51313{
51314 _expl(0);
51315  ;
51316  return 0;
51317}
51318_ACEOF
51319if ac_fn_cxx_try_compile "$LINENO"; then :
51320  glibcxx_cv_func__expl_use=yes
51321else
51322  glibcxx_cv_func__expl_use=no
51323fi
51324rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51325      ac_ext=c
51326ac_cpp='$CPP $CPPFLAGS'
51327ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51328ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51329ac_compiler_gnu=$ac_cv_c_compiler_gnu
51330
51331
51332fi
51333
51334  fi
51335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51336$as_echo "$glibcxx_cv_func__expl_use" >&6; }
51337
51338    if test x$glibcxx_cv_func__expl_use = x"yes"; then
51339      for ac_func in _expl
51340do :
51341  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51342if test "x$ac_cv_func__expl" = x""yes; then :
51343  cat >>confdefs.h <<_ACEOF
51344#define HAVE__EXPL 1
51345_ACEOF
51346
51347fi
51348done
51349
51350    fi
51351  fi
51352
51353
51354
51355
51356
51357  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51358$as_echo_n "checking for fabsl declaration... " >&6; }
51359  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51360    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51361  $as_echo_n "(cached) " >&6
51362else
51363
51364
51365      ac_ext=cpp
51366ac_cpp='$CXXCPP $CPPFLAGS'
51367ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51368ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51369ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51370
51371      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51372/* end confdefs.h.  */
51373#include <math.h>
51374		      #ifdef HAVE_IEEEFP_H
51375		      #include <ieeefp.h>
51376		      #endif
51377
51378int
51379main ()
51380{
51381 fabsl(0);
51382  ;
51383  return 0;
51384}
51385_ACEOF
51386if ac_fn_cxx_try_compile "$LINENO"; then :
51387  glibcxx_cv_func_fabsl_use=yes
51388else
51389  glibcxx_cv_func_fabsl_use=no
51390fi
51391rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51392      ac_ext=c
51393ac_cpp='$CPP $CPPFLAGS'
51394ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51395ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51396ac_compiler_gnu=$ac_cv_c_compiler_gnu
51397
51398
51399fi
51400
51401  fi
51402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51403$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51404
51405  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51406    for ac_func in fabsl
51407do :
51408  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51409if test "x$ac_cv_func_fabsl" = x""yes; then :
51410  cat >>confdefs.h <<_ACEOF
51411#define HAVE_FABSL 1
51412_ACEOF
51413
51414fi
51415done
51416
51417  else
51418
51419  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51420$as_echo_n "checking for _fabsl declaration... " >&6; }
51421  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51422    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51423  $as_echo_n "(cached) " >&6
51424else
51425
51426
51427      ac_ext=cpp
51428ac_cpp='$CXXCPP $CPPFLAGS'
51429ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51430ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51431ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51432
51433      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51434/* end confdefs.h.  */
51435#include <math.h>
51436		      #ifdef HAVE_IEEEFP_H
51437		      #include <ieeefp.h>
51438		      #endif
51439
51440int
51441main ()
51442{
51443 _fabsl(0);
51444  ;
51445  return 0;
51446}
51447_ACEOF
51448if ac_fn_cxx_try_compile "$LINENO"; then :
51449  glibcxx_cv_func__fabsl_use=yes
51450else
51451  glibcxx_cv_func__fabsl_use=no
51452fi
51453rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51454      ac_ext=c
51455ac_cpp='$CPP $CPPFLAGS'
51456ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51457ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51458ac_compiler_gnu=$ac_cv_c_compiler_gnu
51459
51460
51461fi
51462
51463  fi
51464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51465$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51466
51467    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51468      for ac_func in _fabsl
51469do :
51470  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51471if test "x$ac_cv_func__fabsl" = x""yes; then :
51472  cat >>confdefs.h <<_ACEOF
51473#define HAVE__FABSL 1
51474_ACEOF
51475
51476fi
51477done
51478
51479    fi
51480  fi
51481
51482
51483
51484
51485
51486  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51487$as_echo_n "checking for fmodl declaration... " >&6; }
51488  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51489    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51490  $as_echo_n "(cached) " >&6
51491else
51492
51493
51494      ac_ext=cpp
51495ac_cpp='$CXXCPP $CPPFLAGS'
51496ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51497ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51498ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51499
51500      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51501/* end confdefs.h.  */
51502#include <math.h>
51503int
51504main ()
51505{
51506 fmodl(0, 0);
51507  ;
51508  return 0;
51509}
51510_ACEOF
51511if ac_fn_cxx_try_compile "$LINENO"; then :
51512  glibcxx_cv_func_fmodl_use=yes
51513else
51514  glibcxx_cv_func_fmodl_use=no
51515fi
51516rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51517      ac_ext=c
51518ac_cpp='$CPP $CPPFLAGS'
51519ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51520ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51521ac_compiler_gnu=$ac_cv_c_compiler_gnu
51522
51523
51524fi
51525
51526  fi
51527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51528$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51529
51530  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51531    for ac_func in fmodl
51532do :
51533  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51534if test "x$ac_cv_func_fmodl" = x""yes; then :
51535  cat >>confdefs.h <<_ACEOF
51536#define HAVE_FMODL 1
51537_ACEOF
51538
51539fi
51540done
51541
51542  else
51543
51544  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51545$as_echo_n "checking for _fmodl declaration... " >&6; }
51546  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51547    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51548  $as_echo_n "(cached) " >&6
51549else
51550
51551
51552      ac_ext=cpp
51553ac_cpp='$CXXCPP $CPPFLAGS'
51554ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51555ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51556ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51557
51558      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51559/* end confdefs.h.  */
51560#include <math.h>
51561int
51562main ()
51563{
51564 _fmodl(0, 0);
51565  ;
51566  return 0;
51567}
51568_ACEOF
51569if ac_fn_cxx_try_compile "$LINENO"; then :
51570  glibcxx_cv_func__fmodl_use=yes
51571else
51572  glibcxx_cv_func__fmodl_use=no
51573fi
51574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51575      ac_ext=c
51576ac_cpp='$CPP $CPPFLAGS'
51577ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51578ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51579ac_compiler_gnu=$ac_cv_c_compiler_gnu
51580
51581
51582fi
51583
51584  fi
51585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51586$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51587
51588    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51589      for ac_func in _fmodl
51590do :
51591  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51592if test "x$ac_cv_func__fmodl" = x""yes; then :
51593  cat >>confdefs.h <<_ACEOF
51594#define HAVE__FMODL 1
51595_ACEOF
51596
51597fi
51598done
51599
51600    fi
51601  fi
51602
51603
51604
51605
51606
51607  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51608$as_echo_n "checking for frexpl declaration... " >&6; }
51609  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51610    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51611  $as_echo_n "(cached) " >&6
51612else
51613
51614
51615      ac_ext=cpp
51616ac_cpp='$CXXCPP $CPPFLAGS'
51617ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51618ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51619ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51620
51621      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51622/* end confdefs.h.  */
51623#include <math.h>
51624int
51625main ()
51626{
51627 frexpl(0, 0);
51628  ;
51629  return 0;
51630}
51631_ACEOF
51632if ac_fn_cxx_try_compile "$LINENO"; then :
51633  glibcxx_cv_func_frexpl_use=yes
51634else
51635  glibcxx_cv_func_frexpl_use=no
51636fi
51637rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51638      ac_ext=c
51639ac_cpp='$CPP $CPPFLAGS'
51640ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51641ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51642ac_compiler_gnu=$ac_cv_c_compiler_gnu
51643
51644
51645fi
51646
51647  fi
51648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51649$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51650
51651  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51652    for ac_func in frexpl
51653do :
51654  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51655if test "x$ac_cv_func_frexpl" = x""yes; then :
51656  cat >>confdefs.h <<_ACEOF
51657#define HAVE_FREXPL 1
51658_ACEOF
51659
51660fi
51661done
51662
51663  else
51664
51665  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51666$as_echo_n "checking for _frexpl declaration... " >&6; }
51667  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51668    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51669  $as_echo_n "(cached) " >&6
51670else
51671
51672
51673      ac_ext=cpp
51674ac_cpp='$CXXCPP $CPPFLAGS'
51675ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51676ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51677ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51678
51679      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51680/* end confdefs.h.  */
51681#include <math.h>
51682int
51683main ()
51684{
51685 _frexpl(0, 0);
51686  ;
51687  return 0;
51688}
51689_ACEOF
51690if ac_fn_cxx_try_compile "$LINENO"; then :
51691  glibcxx_cv_func__frexpl_use=yes
51692else
51693  glibcxx_cv_func__frexpl_use=no
51694fi
51695rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51696      ac_ext=c
51697ac_cpp='$CPP $CPPFLAGS'
51698ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51699ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51700ac_compiler_gnu=$ac_cv_c_compiler_gnu
51701
51702
51703fi
51704
51705  fi
51706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51707$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51708
51709    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51710      for ac_func in _frexpl
51711do :
51712  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51713if test "x$ac_cv_func__frexpl" = x""yes; then :
51714  cat >>confdefs.h <<_ACEOF
51715#define HAVE__FREXPL 1
51716_ACEOF
51717
51718fi
51719done
51720
51721    fi
51722  fi
51723
51724
51725
51726
51727
51728  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51729$as_echo_n "checking for hypotl declaration... " >&6; }
51730  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51731    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51732  $as_echo_n "(cached) " >&6
51733else
51734
51735
51736      ac_ext=cpp
51737ac_cpp='$CXXCPP $CPPFLAGS'
51738ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51739ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51740ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51741
51742      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51743/* end confdefs.h.  */
51744#include <math.h>
51745int
51746main ()
51747{
51748 hypotl(0, 0);
51749  ;
51750  return 0;
51751}
51752_ACEOF
51753if ac_fn_cxx_try_compile "$LINENO"; then :
51754  glibcxx_cv_func_hypotl_use=yes
51755else
51756  glibcxx_cv_func_hypotl_use=no
51757fi
51758rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51759      ac_ext=c
51760ac_cpp='$CPP $CPPFLAGS'
51761ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51762ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51763ac_compiler_gnu=$ac_cv_c_compiler_gnu
51764
51765
51766fi
51767
51768  fi
51769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51770$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51771
51772  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51773    for ac_func in hypotl
51774do :
51775  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51776if test "x$ac_cv_func_hypotl" = x""yes; then :
51777  cat >>confdefs.h <<_ACEOF
51778#define HAVE_HYPOTL 1
51779_ACEOF
51780
51781fi
51782done
51783
51784  else
51785
51786  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51787$as_echo_n "checking for _hypotl declaration... " >&6; }
51788  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51789    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51790  $as_echo_n "(cached) " >&6
51791else
51792
51793
51794      ac_ext=cpp
51795ac_cpp='$CXXCPP $CPPFLAGS'
51796ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51797ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51798ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51799
51800      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51801/* end confdefs.h.  */
51802#include <math.h>
51803int
51804main ()
51805{
51806 _hypotl(0, 0);
51807  ;
51808  return 0;
51809}
51810_ACEOF
51811if ac_fn_cxx_try_compile "$LINENO"; then :
51812  glibcxx_cv_func__hypotl_use=yes
51813else
51814  glibcxx_cv_func__hypotl_use=no
51815fi
51816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51817      ac_ext=c
51818ac_cpp='$CPP $CPPFLAGS'
51819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51821ac_compiler_gnu=$ac_cv_c_compiler_gnu
51822
51823
51824fi
51825
51826  fi
51827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51828$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51829
51830    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51831      for ac_func in _hypotl
51832do :
51833  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51834if test "x$ac_cv_func__hypotl" = x""yes; then :
51835  cat >>confdefs.h <<_ACEOF
51836#define HAVE__HYPOTL 1
51837_ACEOF
51838
51839fi
51840done
51841
51842    fi
51843  fi
51844
51845
51846
51847
51848
51849  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51850$as_echo_n "checking for ldexpl declaration... " >&6; }
51851  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51852    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51853  $as_echo_n "(cached) " >&6
51854else
51855
51856
51857      ac_ext=cpp
51858ac_cpp='$CXXCPP $CPPFLAGS'
51859ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51860ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51861ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51862
51863      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51864/* end confdefs.h.  */
51865#include <math.h>
51866int
51867main ()
51868{
51869 ldexpl(0, 0);
51870  ;
51871  return 0;
51872}
51873_ACEOF
51874if ac_fn_cxx_try_compile "$LINENO"; then :
51875  glibcxx_cv_func_ldexpl_use=yes
51876else
51877  glibcxx_cv_func_ldexpl_use=no
51878fi
51879rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51880      ac_ext=c
51881ac_cpp='$CPP $CPPFLAGS'
51882ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51883ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51884ac_compiler_gnu=$ac_cv_c_compiler_gnu
51885
51886
51887fi
51888
51889  fi
51890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51891$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51892
51893  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51894    for ac_func in ldexpl
51895do :
51896  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51897if test "x$ac_cv_func_ldexpl" = x""yes; then :
51898  cat >>confdefs.h <<_ACEOF
51899#define HAVE_LDEXPL 1
51900_ACEOF
51901
51902fi
51903done
51904
51905  else
51906
51907  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51908$as_echo_n "checking for _ldexpl declaration... " >&6; }
51909  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51910    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51911  $as_echo_n "(cached) " >&6
51912else
51913
51914
51915      ac_ext=cpp
51916ac_cpp='$CXXCPP $CPPFLAGS'
51917ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51918ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51919ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51920
51921      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51922/* end confdefs.h.  */
51923#include <math.h>
51924int
51925main ()
51926{
51927 _ldexpl(0, 0);
51928  ;
51929  return 0;
51930}
51931_ACEOF
51932if ac_fn_cxx_try_compile "$LINENO"; then :
51933  glibcxx_cv_func__ldexpl_use=yes
51934else
51935  glibcxx_cv_func__ldexpl_use=no
51936fi
51937rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51938      ac_ext=c
51939ac_cpp='$CPP $CPPFLAGS'
51940ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51941ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51942ac_compiler_gnu=$ac_cv_c_compiler_gnu
51943
51944
51945fi
51946
51947  fi
51948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51949$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51950
51951    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51952      for ac_func in _ldexpl
51953do :
51954  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51955if test "x$ac_cv_func__ldexpl" = x""yes; then :
51956  cat >>confdefs.h <<_ACEOF
51957#define HAVE__LDEXPL 1
51958_ACEOF
51959
51960fi
51961done
51962
51963    fi
51964  fi
51965
51966
51967
51968
51969
51970  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51971$as_echo_n "checking for logl declaration... " >&6; }
51972  if test x${glibcxx_cv_func_logl_use+set} != xset; then
51973    if test "${glibcxx_cv_func_logl_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 <math.h>
51987		      #ifdef HAVE_IEEEFP_H
51988		      #include <ieeefp.h>
51989		      #endif
51990
51991int
51992main ()
51993{
51994 logl(0);
51995  ;
51996  return 0;
51997}
51998_ACEOF
51999if ac_fn_cxx_try_compile "$LINENO"; then :
52000  glibcxx_cv_func_logl_use=yes
52001else
52002  glibcxx_cv_func_logl_use=no
52003fi
52004rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52005      ac_ext=c
52006ac_cpp='$CPP $CPPFLAGS'
52007ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52008ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52009ac_compiler_gnu=$ac_cv_c_compiler_gnu
52010
52011
52012fi
52013
52014  fi
52015  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52016$as_echo "$glibcxx_cv_func_logl_use" >&6; }
52017
52018  if test x$glibcxx_cv_func_logl_use = x"yes"; then
52019    for ac_func in logl
52020do :
52021  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52022if test "x$ac_cv_func_logl" = x""yes; then :
52023  cat >>confdefs.h <<_ACEOF
52024#define HAVE_LOGL 1
52025_ACEOF
52026
52027fi
52028done
52029
52030  else
52031
52032  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52033$as_echo_n "checking for _logl declaration... " >&6; }
52034  if test x${glibcxx_cv_func__logl_use+set} != xset; then
52035    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
52036  $as_echo_n "(cached) " >&6
52037else
52038
52039
52040      ac_ext=cpp
52041ac_cpp='$CXXCPP $CPPFLAGS'
52042ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52043ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52044ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52045
52046      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52047/* end confdefs.h.  */
52048#include <math.h>
52049		      #ifdef HAVE_IEEEFP_H
52050		      #include <ieeefp.h>
52051		      #endif
52052
52053int
52054main ()
52055{
52056 _logl(0);
52057  ;
52058  return 0;
52059}
52060_ACEOF
52061if ac_fn_cxx_try_compile "$LINENO"; then :
52062  glibcxx_cv_func__logl_use=yes
52063else
52064  glibcxx_cv_func__logl_use=no
52065fi
52066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52067      ac_ext=c
52068ac_cpp='$CPP $CPPFLAGS'
52069ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52070ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52071ac_compiler_gnu=$ac_cv_c_compiler_gnu
52072
52073
52074fi
52075
52076  fi
52077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52078$as_echo "$glibcxx_cv_func__logl_use" >&6; }
52079
52080    if test x$glibcxx_cv_func__logl_use = x"yes"; then
52081      for ac_func in _logl
52082do :
52083  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52084if test "x$ac_cv_func__logl" = x""yes; then :
52085  cat >>confdefs.h <<_ACEOF
52086#define HAVE__LOGL 1
52087_ACEOF
52088
52089fi
52090done
52091
52092    fi
52093  fi
52094
52095
52096
52097
52098
52099  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52100$as_echo_n "checking for log10l declaration... " >&6; }
52101  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52102    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
52103  $as_echo_n "(cached) " >&6
52104else
52105
52106
52107      ac_ext=cpp
52108ac_cpp='$CXXCPP $CPPFLAGS'
52109ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52110ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52111ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52112
52113      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52114/* end confdefs.h.  */
52115#include <math.h>
52116		      #ifdef HAVE_IEEEFP_H
52117		      #include <ieeefp.h>
52118		      #endif
52119
52120int
52121main ()
52122{
52123 log10l(0);
52124  ;
52125  return 0;
52126}
52127_ACEOF
52128if ac_fn_cxx_try_compile "$LINENO"; then :
52129  glibcxx_cv_func_log10l_use=yes
52130else
52131  glibcxx_cv_func_log10l_use=no
52132fi
52133rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52134      ac_ext=c
52135ac_cpp='$CPP $CPPFLAGS'
52136ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52137ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52138ac_compiler_gnu=$ac_cv_c_compiler_gnu
52139
52140
52141fi
52142
52143  fi
52144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52145$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52146
52147  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52148    for ac_func in log10l
52149do :
52150  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52151if test "x$ac_cv_func_log10l" = x""yes; then :
52152  cat >>confdefs.h <<_ACEOF
52153#define HAVE_LOG10L 1
52154_ACEOF
52155
52156fi
52157done
52158
52159  else
52160
52161  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52162$as_echo_n "checking for _log10l declaration... " >&6; }
52163  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52164    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
52165  $as_echo_n "(cached) " >&6
52166else
52167
52168
52169      ac_ext=cpp
52170ac_cpp='$CXXCPP $CPPFLAGS'
52171ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52172ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52173ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52174
52175      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52176/* end confdefs.h.  */
52177#include <math.h>
52178		      #ifdef HAVE_IEEEFP_H
52179		      #include <ieeefp.h>
52180		      #endif
52181
52182int
52183main ()
52184{
52185 _log10l(0);
52186  ;
52187  return 0;
52188}
52189_ACEOF
52190if ac_fn_cxx_try_compile "$LINENO"; then :
52191  glibcxx_cv_func__log10l_use=yes
52192else
52193  glibcxx_cv_func__log10l_use=no
52194fi
52195rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52196      ac_ext=c
52197ac_cpp='$CPP $CPPFLAGS'
52198ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52199ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52200ac_compiler_gnu=$ac_cv_c_compiler_gnu
52201
52202
52203fi
52204
52205  fi
52206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52207$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52208
52209    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52210      for ac_func in _log10l
52211do :
52212  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52213if test "x$ac_cv_func__log10l" = x""yes; then :
52214  cat >>confdefs.h <<_ACEOF
52215#define HAVE__LOG10L 1
52216_ACEOF
52217
52218fi
52219done
52220
52221    fi
52222  fi
52223
52224
52225
52226
52227
52228  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52229$as_echo_n "checking for modfl declaration... " >&6; }
52230  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52231    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52232  $as_echo_n "(cached) " >&6
52233else
52234
52235
52236      ac_ext=cpp
52237ac_cpp='$CXXCPP $CPPFLAGS'
52238ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52239ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52240ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52241
52242      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52243/* end confdefs.h.  */
52244#include <math.h>
52245int
52246main ()
52247{
52248 modfl(0, 0);
52249  ;
52250  return 0;
52251}
52252_ACEOF
52253if ac_fn_cxx_try_compile "$LINENO"; then :
52254  glibcxx_cv_func_modfl_use=yes
52255else
52256  glibcxx_cv_func_modfl_use=no
52257fi
52258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52259      ac_ext=c
52260ac_cpp='$CPP $CPPFLAGS'
52261ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52262ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52263ac_compiler_gnu=$ac_cv_c_compiler_gnu
52264
52265
52266fi
52267
52268  fi
52269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52270$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52271
52272  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52273    for ac_func in modfl
52274do :
52275  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52276if test "x$ac_cv_func_modfl" = x""yes; then :
52277  cat >>confdefs.h <<_ACEOF
52278#define HAVE_MODFL 1
52279_ACEOF
52280
52281fi
52282done
52283
52284  else
52285
52286  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52287$as_echo_n "checking for _modfl declaration... " >&6; }
52288  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52289    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52290  $as_echo_n "(cached) " >&6
52291else
52292
52293
52294      ac_ext=cpp
52295ac_cpp='$CXXCPP $CPPFLAGS'
52296ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52297ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52298ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52299
52300      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52301/* end confdefs.h.  */
52302#include <math.h>
52303int
52304main ()
52305{
52306 _modfl(0, 0);
52307  ;
52308  return 0;
52309}
52310_ACEOF
52311if ac_fn_cxx_try_compile "$LINENO"; then :
52312  glibcxx_cv_func__modfl_use=yes
52313else
52314  glibcxx_cv_func__modfl_use=no
52315fi
52316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52317      ac_ext=c
52318ac_cpp='$CPP $CPPFLAGS'
52319ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52320ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52321ac_compiler_gnu=$ac_cv_c_compiler_gnu
52322
52323
52324fi
52325
52326  fi
52327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52328$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52329
52330    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52331      for ac_func in _modfl
52332do :
52333  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52334if test "x$ac_cv_func__modfl" = x""yes; then :
52335  cat >>confdefs.h <<_ACEOF
52336#define HAVE__MODFL 1
52337_ACEOF
52338
52339fi
52340done
52341
52342    fi
52343  fi
52344
52345
52346
52347
52348
52349  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52350$as_echo_n "checking for powl declaration... " >&6; }
52351  if test x${glibcxx_cv_func_powl_use+set} != xset; then
52352    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52353  $as_echo_n "(cached) " >&6
52354else
52355
52356
52357      ac_ext=cpp
52358ac_cpp='$CXXCPP $CPPFLAGS'
52359ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52360ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52361ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52362
52363      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52364/* end confdefs.h.  */
52365#include <math.h>
52366int
52367main ()
52368{
52369 powl(0, 0);
52370  ;
52371  return 0;
52372}
52373_ACEOF
52374if ac_fn_cxx_try_compile "$LINENO"; then :
52375  glibcxx_cv_func_powl_use=yes
52376else
52377  glibcxx_cv_func_powl_use=no
52378fi
52379rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52380      ac_ext=c
52381ac_cpp='$CPP $CPPFLAGS'
52382ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52383ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52384ac_compiler_gnu=$ac_cv_c_compiler_gnu
52385
52386
52387fi
52388
52389  fi
52390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52391$as_echo "$glibcxx_cv_func_powl_use" >&6; }
52392
52393  if test x$glibcxx_cv_func_powl_use = x"yes"; then
52394    for ac_func in powl
52395do :
52396  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52397if test "x$ac_cv_func_powl" = x""yes; then :
52398  cat >>confdefs.h <<_ACEOF
52399#define HAVE_POWL 1
52400_ACEOF
52401
52402fi
52403done
52404
52405  else
52406
52407  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52408$as_echo_n "checking for _powl declaration... " >&6; }
52409  if test x${glibcxx_cv_func__powl_use+set} != xset; then
52410    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52411  $as_echo_n "(cached) " >&6
52412else
52413
52414
52415      ac_ext=cpp
52416ac_cpp='$CXXCPP $CPPFLAGS'
52417ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52418ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52419ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52420
52421      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52422/* end confdefs.h.  */
52423#include <math.h>
52424int
52425main ()
52426{
52427 _powl(0, 0);
52428  ;
52429  return 0;
52430}
52431_ACEOF
52432if ac_fn_cxx_try_compile "$LINENO"; then :
52433  glibcxx_cv_func__powl_use=yes
52434else
52435  glibcxx_cv_func__powl_use=no
52436fi
52437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52438      ac_ext=c
52439ac_cpp='$CPP $CPPFLAGS'
52440ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52441ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52442ac_compiler_gnu=$ac_cv_c_compiler_gnu
52443
52444
52445fi
52446
52447  fi
52448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52449$as_echo "$glibcxx_cv_func__powl_use" >&6; }
52450
52451    if test x$glibcxx_cv_func__powl_use = x"yes"; then
52452      for ac_func in _powl
52453do :
52454  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52455if test "x$ac_cv_func__powl" = x""yes; then :
52456  cat >>confdefs.h <<_ACEOF
52457#define HAVE__POWL 1
52458_ACEOF
52459
52460fi
52461done
52462
52463    fi
52464  fi
52465
52466
52467
52468
52469
52470  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52471$as_echo_n "checking for sqrtl declaration... " >&6; }
52472  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52473    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52474  $as_echo_n "(cached) " >&6
52475else
52476
52477
52478      ac_ext=cpp
52479ac_cpp='$CXXCPP $CPPFLAGS'
52480ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52481ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52482ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52483
52484      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52485/* end confdefs.h.  */
52486#include <math.h>
52487		      #ifdef HAVE_IEEEFP_H
52488		      #include <ieeefp.h>
52489		      #endif
52490
52491int
52492main ()
52493{
52494 sqrtl(0);
52495  ;
52496  return 0;
52497}
52498_ACEOF
52499if ac_fn_cxx_try_compile "$LINENO"; then :
52500  glibcxx_cv_func_sqrtl_use=yes
52501else
52502  glibcxx_cv_func_sqrtl_use=no
52503fi
52504rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52505      ac_ext=c
52506ac_cpp='$CPP $CPPFLAGS'
52507ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52508ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52509ac_compiler_gnu=$ac_cv_c_compiler_gnu
52510
52511
52512fi
52513
52514  fi
52515  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52516$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52517
52518  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52519    for ac_func in sqrtl
52520do :
52521  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52522if test "x$ac_cv_func_sqrtl" = x""yes; then :
52523  cat >>confdefs.h <<_ACEOF
52524#define HAVE_SQRTL 1
52525_ACEOF
52526
52527fi
52528done
52529
52530  else
52531
52532  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52533$as_echo_n "checking for _sqrtl declaration... " >&6; }
52534  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52535    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52536  $as_echo_n "(cached) " >&6
52537else
52538
52539
52540      ac_ext=cpp
52541ac_cpp='$CXXCPP $CPPFLAGS'
52542ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52543ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52544ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52545
52546      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52547/* end confdefs.h.  */
52548#include <math.h>
52549		      #ifdef HAVE_IEEEFP_H
52550		      #include <ieeefp.h>
52551		      #endif
52552
52553int
52554main ()
52555{
52556 _sqrtl(0);
52557  ;
52558  return 0;
52559}
52560_ACEOF
52561if ac_fn_cxx_try_compile "$LINENO"; then :
52562  glibcxx_cv_func__sqrtl_use=yes
52563else
52564  glibcxx_cv_func__sqrtl_use=no
52565fi
52566rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52567      ac_ext=c
52568ac_cpp='$CPP $CPPFLAGS'
52569ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52570ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52571ac_compiler_gnu=$ac_cv_c_compiler_gnu
52572
52573
52574fi
52575
52576  fi
52577  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52578$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52579
52580    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52581      for ac_func in _sqrtl
52582do :
52583  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52584if test "x$ac_cv_func__sqrtl" = x""yes; then :
52585  cat >>confdefs.h <<_ACEOF
52586#define HAVE__SQRTL 1
52587_ACEOF
52588
52589fi
52590done
52591
52592    fi
52593  fi
52594
52595
52596
52597
52598
52599  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52600$as_echo_n "checking for sincosl declaration... " >&6; }
52601  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52602    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52603  $as_echo_n "(cached) " >&6
52604else
52605
52606
52607      ac_ext=cpp
52608ac_cpp='$CXXCPP $CPPFLAGS'
52609ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52610ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52611ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52612
52613      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52614/* end confdefs.h.  */
52615#include <math.h>
52616int
52617main ()
52618{
52619 sincosl(0, 0, 0);
52620  ;
52621  return 0;
52622}
52623_ACEOF
52624if ac_fn_cxx_try_compile "$LINENO"; then :
52625  glibcxx_cv_func_sincosl_use=yes
52626else
52627  glibcxx_cv_func_sincosl_use=no
52628fi
52629rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52630      ac_ext=c
52631ac_cpp='$CPP $CPPFLAGS'
52632ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52633ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52634ac_compiler_gnu=$ac_cv_c_compiler_gnu
52635
52636
52637fi
52638
52639  fi
52640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52641$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52642
52643  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52644    for ac_func in sincosl
52645do :
52646  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52647if test "x$ac_cv_func_sincosl" = x""yes; then :
52648  cat >>confdefs.h <<_ACEOF
52649#define HAVE_SINCOSL 1
52650_ACEOF
52651
52652fi
52653done
52654
52655  else
52656
52657  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52658$as_echo_n "checking for _sincosl declaration... " >&6; }
52659  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52660    if test "${glibcxx_cv_func__sincosl_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>
52674int
52675main ()
52676{
52677 _sincosl(0, 0, 0);
52678  ;
52679  return 0;
52680}
52681_ACEOF
52682if ac_fn_cxx_try_compile "$LINENO"; then :
52683  glibcxx_cv_func__sincosl_use=yes
52684else
52685  glibcxx_cv_func__sincosl_use=no
52686fi
52687rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52688      ac_ext=c
52689ac_cpp='$CPP $CPPFLAGS'
52690ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52691ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52692ac_compiler_gnu=$ac_cv_c_compiler_gnu
52693
52694
52695fi
52696
52697  fi
52698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52699$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52700
52701    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52702      for ac_func in _sincosl
52703do :
52704  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52705if test "x$ac_cv_func__sincosl" = x""yes; then :
52706  cat >>confdefs.h <<_ACEOF
52707#define HAVE__SINCOSL 1
52708_ACEOF
52709
52710fi
52711done
52712
52713    fi
52714  fi
52715
52716
52717
52718
52719
52720  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52721$as_echo_n "checking for finitel declaration... " >&6; }
52722  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52723    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52724  $as_echo_n "(cached) " >&6
52725else
52726
52727
52728      ac_ext=cpp
52729ac_cpp='$CXXCPP $CPPFLAGS'
52730ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52731ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52732ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52733
52734      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52735/* end confdefs.h.  */
52736#include <math.h>
52737		      #ifdef HAVE_IEEEFP_H
52738		      #include <ieeefp.h>
52739		      #endif
52740
52741int
52742main ()
52743{
52744 finitel(0);
52745  ;
52746  return 0;
52747}
52748_ACEOF
52749if ac_fn_cxx_try_compile "$LINENO"; then :
52750  glibcxx_cv_func_finitel_use=yes
52751else
52752  glibcxx_cv_func_finitel_use=no
52753fi
52754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52755      ac_ext=c
52756ac_cpp='$CPP $CPPFLAGS'
52757ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52758ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52759ac_compiler_gnu=$ac_cv_c_compiler_gnu
52760
52761
52762fi
52763
52764  fi
52765  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52766$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52767
52768  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52769    for ac_func in finitel
52770do :
52771  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52772if test "x$ac_cv_func_finitel" = x""yes; then :
52773  cat >>confdefs.h <<_ACEOF
52774#define HAVE_FINITEL 1
52775_ACEOF
52776
52777fi
52778done
52779
52780  else
52781
52782  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52783$as_echo_n "checking for _finitel declaration... " >&6; }
52784  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52785    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52786  $as_echo_n "(cached) " >&6
52787else
52788
52789
52790      ac_ext=cpp
52791ac_cpp='$CXXCPP $CPPFLAGS'
52792ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52793ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52794ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52795
52796      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52797/* end confdefs.h.  */
52798#include <math.h>
52799		      #ifdef HAVE_IEEEFP_H
52800		      #include <ieeefp.h>
52801		      #endif
52802
52803int
52804main ()
52805{
52806 _finitel(0);
52807  ;
52808  return 0;
52809}
52810_ACEOF
52811if ac_fn_cxx_try_compile "$LINENO"; then :
52812  glibcxx_cv_func__finitel_use=yes
52813else
52814  glibcxx_cv_func__finitel_use=no
52815fi
52816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52817      ac_ext=c
52818ac_cpp='$CPP $CPPFLAGS'
52819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52821ac_compiler_gnu=$ac_cv_c_compiler_gnu
52822
52823
52824fi
52825
52826  fi
52827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52828$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52829
52830    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52831      for ac_func in _finitel
52832do :
52833  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52834if test "x$ac_cv_func__finitel" = x""yes; then :
52835  cat >>confdefs.h <<_ACEOF
52836#define HAVE__FINITEL 1
52837_ACEOF
52838
52839fi
52840done
52841
52842    fi
52843  fi
52844
52845
52846
52847
52848  LIBS="$ac_save_LIBS"
52849  CXXFLAGS="$ac_save_CXXFLAGS"
52850
52851
52852  ac_test_CXXFLAGS="${CXXFLAGS+set}"
52853  ac_save_CXXFLAGS="$CXXFLAGS"
52854  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52855
52856
52857  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52858$as_echo_n "checking for at_quick_exit declaration... " >&6; }
52859  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52860    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52861  $as_echo_n "(cached) " >&6
52862else
52863
52864
52865      ac_ext=cpp
52866ac_cpp='$CXXCPP $CPPFLAGS'
52867ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52868ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52869ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52870
52871      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52872/* end confdefs.h.  */
52873#include <stdlib.h>
52874int
52875main ()
52876{
52877 at_quick_exit(0);
52878  ;
52879  return 0;
52880}
52881_ACEOF
52882if ac_fn_cxx_try_compile "$LINENO"; then :
52883  glibcxx_cv_func_at_quick_exit_use=yes
52884else
52885  glibcxx_cv_func_at_quick_exit_use=no
52886fi
52887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52888      ac_ext=c
52889ac_cpp='$CPP $CPPFLAGS'
52890ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52891ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52892ac_compiler_gnu=$ac_cv_c_compiler_gnu
52893
52894
52895fi
52896
52897  fi
52898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52899$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52900  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52901    for ac_func in at_quick_exit
52902do :
52903  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52904if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52905  cat >>confdefs.h <<_ACEOF
52906#define HAVE_AT_QUICK_EXIT 1
52907_ACEOF
52908
52909fi
52910done
52911
52912  fi
52913
52914
52915  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52916$as_echo_n "checking for quick_exit declaration... " >&6; }
52917  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52918    if test "${glibcxx_cv_func_quick_exit_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 <stdlib.h>
52932int
52933main ()
52934{
52935 quick_exit(0);
52936  ;
52937  return 0;
52938}
52939_ACEOF
52940if ac_fn_cxx_try_compile "$LINENO"; then :
52941  glibcxx_cv_func_quick_exit_use=yes
52942else
52943  glibcxx_cv_func_quick_exit_use=no
52944fi
52945rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52946      ac_ext=c
52947ac_cpp='$CPP $CPPFLAGS'
52948ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52949ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52950ac_compiler_gnu=$ac_cv_c_compiler_gnu
52951
52952
52953fi
52954
52955  fi
52956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52957$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52958  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52959    for ac_func in quick_exit
52960do :
52961  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52962if test "x$ac_cv_func_quick_exit" = x""yes; then :
52963  cat >>confdefs.h <<_ACEOF
52964#define HAVE_QUICK_EXIT 1
52965_ACEOF
52966
52967fi
52968done
52969
52970  fi
52971
52972
52973  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52974$as_echo_n "checking for strtold declaration... " >&6; }
52975  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52976    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52977  $as_echo_n "(cached) " >&6
52978else
52979
52980
52981      ac_ext=cpp
52982ac_cpp='$CXXCPP $CPPFLAGS'
52983ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52984ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52985ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52986
52987      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52988/* end confdefs.h.  */
52989#include <stdlib.h>
52990int
52991main ()
52992{
52993 strtold(0, 0);
52994  ;
52995  return 0;
52996}
52997_ACEOF
52998if ac_fn_cxx_try_compile "$LINENO"; then :
52999  glibcxx_cv_func_strtold_use=yes
53000else
53001  glibcxx_cv_func_strtold_use=no
53002fi
53003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53004      ac_ext=c
53005ac_cpp='$CPP $CPPFLAGS'
53006ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53007ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53008ac_compiler_gnu=$ac_cv_c_compiler_gnu
53009
53010
53011fi
53012
53013  fi
53014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53015$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53016  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53017    for ac_func in strtold
53018do :
53019  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53020if test "x$ac_cv_func_strtold" = x""yes; then :
53021  cat >>confdefs.h <<_ACEOF
53022#define HAVE_STRTOLD 1
53023_ACEOF
53024
53025fi
53026done
53027
53028  fi
53029
53030
53031
53032
53033  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53034$as_echo_n "checking for strtof declaration... " >&6; }
53035  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53036    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
53037  $as_echo_n "(cached) " >&6
53038else
53039
53040
53041      ac_ext=cpp
53042ac_cpp='$CXXCPP $CPPFLAGS'
53043ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53044ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53045ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53046
53047      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53048/* end confdefs.h.  */
53049#include <stdlib.h>
53050int
53051main ()
53052{
53053 strtof(0, 0);
53054  ;
53055  return 0;
53056}
53057_ACEOF
53058if ac_fn_cxx_try_compile "$LINENO"; then :
53059  glibcxx_cv_func_strtof_use=yes
53060else
53061  glibcxx_cv_func_strtof_use=no
53062fi
53063rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53064      ac_ext=c
53065ac_cpp='$CPP $CPPFLAGS'
53066ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53067ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53068ac_compiler_gnu=$ac_cv_c_compiler_gnu
53069
53070
53071fi
53072
53073  fi
53074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53075$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53076  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53077    for ac_func in strtof
53078do :
53079  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53080if test "x$ac_cv_func_strtof" = x""yes; then :
53081  cat >>confdefs.h <<_ACEOF
53082#define HAVE_STRTOF 1
53083_ACEOF
53084
53085fi
53086done
53087
53088  fi
53089
53090
53091
53092
53093  CXXFLAGS="$ac_save_CXXFLAGS"
53094
53095    ;;
53096
53097  *djgpp)
53098    # GLIBCXX_CHECK_MATH_SUPPORT
53099    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53100
53101    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53102
53103    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53104
53105    $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53106
53107    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53108
53109    ;;
53110
53111  *-freebsd*)
53112    SECTION_FLAGS='-ffunction-sections -fdata-sections'
53113
53114
53115  # If we're not using GNU ld, then there's no point in even trying these
53116  # tests.  Check for that first.  We should have already tested for gld
53117  # by now (in libtool), but require it now just to be safe...
53118  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53119  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53120
53121
53122
53123  # The name set by libtool depends on the version of libtool.  Shame on us
53124  # for depending on an impl detail, but c'est la vie.  Older versions used
53125  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53126  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53127  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53128  # set (hence we're using an older libtool), then set it.
53129  if test x${with_gnu_ld+set} != xset; then
53130    if test x${ac_cv_prog_gnu_ld+set} != xset; then
53131      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53132      with_gnu_ld=no
53133    else
53134      with_gnu_ld=$ac_cv_prog_gnu_ld
53135    fi
53136  fi
53137
53138  # Start by getting the version number.  I think the libtool test already
53139  # does some of this, but throws away the result.
53140  glibcxx_ld_is_gold=no
53141  if test x"$with_gnu_ld" = x"yes"; then
53142    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53143$as_echo_n "checking for ld version... " >&6; }
53144
53145    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53146      glibcxx_ld_is_gold=yes
53147    fi
53148    ldver=`$LD --version 2>/dev/null |
53149	   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'`
53150
53151    glibcxx_gnu_ld_version=`echo $ldver | \
53152	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53153    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53154$as_echo "$glibcxx_gnu_ld_version" >&6; }
53155  fi
53156
53157  # Set --gc-sections.
53158  glibcxx_have_gc_sections=no
53159  if test "$glibcxx_ld_is_gold" = "yes"; then
53160    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53161      glibcxx_have_gc_sections=yes
53162    fi
53163  else
53164    glibcxx_gcsections_min_ld=21602
53165    if test x"$with_gnu_ld" = x"yes" &&
53166	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53167      glibcxx_have_gc_sections=yes
53168    fi
53169  fi
53170  if test "$glibcxx_have_gc_sections" = "yes"; then
53171    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
53172    # NB: This flag only works reliably after 2.16.1. Configure tests
53173    # for this are difficult, so hard wire a value that should work.
53174
53175    ac_test_CFLAGS="${CFLAGS+set}"
53176    ac_save_CFLAGS="$CFLAGS"
53177    CFLAGS='-Wl,--gc-sections'
53178
53179    # Check for -Wl,--gc-sections
53180    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53181$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53182    if test x$gcc_no_link = xyes; then
53183  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53184fi
53185cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53186/* end confdefs.h.  */
53187 int one(void) { return 1; }
53188     int two(void) { return 2; }
53189
53190int
53191main ()
53192{
53193 two();
53194  ;
53195  return 0;
53196}
53197_ACEOF
53198if ac_fn_c_try_link "$LINENO"; then :
53199  ac_gcsections=yes
53200else
53201  ac_gcsections=no
53202fi
53203rm -f core conftest.err conftest.$ac_objext \
53204    conftest$ac_exeext conftest.$ac_ext
53205    if test "$ac_gcsections" = "yes"; then
53206      rm -f conftest.c
53207      touch conftest.c
53208      if $CC -c conftest.c; then
53209	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53210	   grep "Warning: gc-sections option ignored" > /dev/null; then
53211	  ac_gcsections=no
53212	fi
53213      fi
53214      rm -f conftest.c conftest.o conftest
53215    fi
53216    if test "$ac_gcsections" = "yes"; then
53217      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53218    fi
53219    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53220$as_echo "$ac_gcsections" >&6; }
53221
53222    if test "$ac_test_CFLAGS" = set; then
53223      CFLAGS="$ac_save_CFLAGS"
53224    else
53225      # this is the suspicious part
53226      CFLAGS=''
53227    fi
53228  fi
53229
53230  # Set -z,relro.
53231  # Note this is only for shared objects.
53232  ac_ld_relro=no
53233  if test x"$with_gnu_ld" = x"yes"; then
53234    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53235$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53236    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53237    if test -n "$cxx_z_relo"; then
53238      OPT_LDFLAGS="-Wl,-z,relro"
53239      ac_ld_relro=yes
53240    fi
53241    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53242$as_echo "$ac_ld_relro" >&6; }
53243  fi
53244
53245  # Set linker optimization flags.
53246  if test x"$with_gnu_ld" = x"yes"; then
53247    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53248  fi
53249
53250
53251
53252
53253    $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53254
53255    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53256
53257    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53258
53259    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53260
53261    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53262
53263    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53264
53265    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53266
53267    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53268
53269    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53270
53271
53272    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53273
53274    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53275
53276    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53277
53278    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53279
53280    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53281
53282    $as_echo "#define HAVE_COSF 1" >>confdefs.h
53283
53284    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53285
53286    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53287
53288    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53289
53290    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53291
53292    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53293
53294    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53295
53296    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53297
53298    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53299
53300    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53301
53302    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53303
53304    $as_echo "#define HAVE_POWF 1" >>confdefs.h
53305
53306    $as_echo "#define HAVE_SINF 1" >>confdefs.h
53307
53308    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53309
53310    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53311
53312    $as_echo "#define HAVE_TANF 1" >>confdefs.h
53313
53314    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53315
53316    if test x"long_double_math_on_this_cpu" = x"yes"; then
53317      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53318
53319      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53320
53321      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53322
53323    fi
53324    for ac_func in __cxa_thread_atexit
53325do :
53326  ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53327if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
53328  cat >>confdefs.h <<_ACEOF
53329#define HAVE___CXA_THREAD_ATEXIT 1
53330_ACEOF
53331
53332fi
53333done
53334
53335    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
53336do :
53337  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53338ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53339eval as_val=\$$as_ac_var
53340   if test "x$as_val" = x""yes; then :
53341  cat >>confdefs.h <<_ACEOF
53342#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53343_ACEOF
53344
53345fi
53346done
53347
53348    ;;
53349
53350  *-fuchsia*)
53351    SECTION_FLAGS='-ffunction-sections -fdata-sections'
53352
53353    ;;
53354
53355  *-hpux*)
53356    SECTION_FLAGS='-ffunction-sections -fdata-sections'
53357
53358
53359  # If we're not using GNU ld, then there's no point in even trying these
53360  # tests.  Check for that first.  We should have already tested for gld
53361  # by now (in libtool), but require it now just to be safe...
53362  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53363  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53364
53365
53366
53367  # The name set by libtool depends on the version of libtool.  Shame on us
53368  # for depending on an impl detail, but c'est la vie.  Older versions used
53369  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53370  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53371  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53372  # set (hence we're using an older libtool), then set it.
53373  if test x${with_gnu_ld+set} != xset; then
53374    if test x${ac_cv_prog_gnu_ld+set} != xset; then
53375      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53376      with_gnu_ld=no
53377    else
53378      with_gnu_ld=$ac_cv_prog_gnu_ld
53379    fi
53380  fi
53381
53382  # Start by getting the version number.  I think the libtool test already
53383  # does some of this, but throws away the result.
53384  glibcxx_ld_is_gold=no
53385  if test x"$with_gnu_ld" = x"yes"; then
53386    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53387$as_echo_n "checking for ld version... " >&6; }
53388
53389    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53390      glibcxx_ld_is_gold=yes
53391    fi
53392    ldver=`$LD --version 2>/dev/null |
53393	   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'`
53394
53395    glibcxx_gnu_ld_version=`echo $ldver | \
53396	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53397    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53398$as_echo "$glibcxx_gnu_ld_version" >&6; }
53399  fi
53400
53401  # Set --gc-sections.
53402  glibcxx_have_gc_sections=no
53403  if test "$glibcxx_ld_is_gold" = "yes"; then
53404    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53405      glibcxx_have_gc_sections=yes
53406    fi
53407  else
53408    glibcxx_gcsections_min_ld=21602
53409    if test x"$with_gnu_ld" = x"yes" &&
53410	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53411      glibcxx_have_gc_sections=yes
53412    fi
53413  fi
53414  if test "$glibcxx_have_gc_sections" = "yes"; then
53415    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
53416    # NB: This flag only works reliably after 2.16.1. Configure tests
53417    # for this are difficult, so hard wire a value that should work.
53418
53419    ac_test_CFLAGS="${CFLAGS+set}"
53420    ac_save_CFLAGS="$CFLAGS"
53421    CFLAGS='-Wl,--gc-sections'
53422
53423    # Check for -Wl,--gc-sections
53424    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53425$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53426    if test x$gcc_no_link = xyes; then
53427  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53428fi
53429cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53430/* end confdefs.h.  */
53431 int one(void) { return 1; }
53432     int two(void) { return 2; }
53433
53434int
53435main ()
53436{
53437 two();
53438  ;
53439  return 0;
53440}
53441_ACEOF
53442if ac_fn_c_try_link "$LINENO"; then :
53443  ac_gcsections=yes
53444else
53445  ac_gcsections=no
53446fi
53447rm -f core conftest.err conftest.$ac_objext \
53448    conftest$ac_exeext conftest.$ac_ext
53449    if test "$ac_gcsections" = "yes"; then
53450      rm -f conftest.c
53451      touch conftest.c
53452      if $CC -c conftest.c; then
53453	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53454	   grep "Warning: gc-sections option ignored" > /dev/null; then
53455	  ac_gcsections=no
53456	fi
53457      fi
53458      rm -f conftest.c conftest.o conftest
53459    fi
53460    if test "$ac_gcsections" = "yes"; then
53461      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53462    fi
53463    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53464$as_echo "$ac_gcsections" >&6; }
53465
53466    if test "$ac_test_CFLAGS" = set; then
53467      CFLAGS="$ac_save_CFLAGS"
53468    else
53469      # this is the suspicious part
53470      CFLAGS=''
53471    fi
53472  fi
53473
53474  # Set -z,relro.
53475  # Note this is only for shared objects.
53476  ac_ld_relro=no
53477  if test x"$with_gnu_ld" = x"yes"; then
53478    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53479$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53480    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53481    if test -n "$cxx_z_relo"; then
53482      OPT_LDFLAGS="-Wl,-z,relro"
53483      ac_ld_relro=yes
53484    fi
53485    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53486$as_echo "$ac_ld_relro" >&6; }
53487  fi
53488
53489  # Set linker optimization flags.
53490  if test x"$with_gnu_ld" = x"yes"; then
53491    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53492  fi
53493
53494
53495
53496
53497
53498    # GLIBCXX_CHECK_MATH_SUPPORT
53499    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53500
53501    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53502
53503    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53504
53505    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53506
53507    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53508
53509    $as_echo "#define HAVE_COSF 1" >>confdefs.h
53510
53511    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53512
53513    $as_echo "#define HAVE_SINF 1" >>confdefs.h
53514
53515    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53516
53517    $as_echo "#define HAVE_TANF 1" >>confdefs.h
53518
53519    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53520
53521    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53522
53523    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53524
53525    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53526
53527    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53528
53529    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53530
53531    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53532
53533    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53534
53535    $as_echo "#define HAVE_MODF 1" >>confdefs.h
53536
53537    $as_echo "#define HAVE_POWF 1" >>confdefs.h
53538
53539    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53540
53541
53542    # GLIBCXX_CHECK_STDLIB_SUPPORT
53543    $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53544
53545
53546
53547
53548   # Check whether --enable-tls was given.
53549if test "${enable_tls+set}" = set; then :
53550  enableval=$enable_tls;
53551      case "$enableval" in
53552       yes|no) ;;
53553       *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53554      esac
53555
53556else
53557  enable_tls=yes
53558fi
53559
53560
53561  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53562$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53563if test "${gcc_cv_have_tls+set}" = set; then :
53564  $as_echo_n "(cached) " >&6
53565else
53566
53567    if test "$cross_compiling" = yes; then :
53568                if test x$gcc_no_link = xyes; then
53569  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53570fi
53571cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53572/* end confdefs.h.  */
53573__thread int a; int b; int main() { return a = b; }
53574_ACEOF
53575if ac_fn_c_try_link "$LINENO"; then :
53576  chktls_save_LDFLAGS="$LDFLAGS"
53577	  	  	  case $host in
53578	    *-*-linux*)
53579	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53580	      ;;
53581	  esac
53582	  chktls_save_CFLAGS="$CFLAGS"
53583	  CFLAGS="-fPIC $CFLAGS"
53584	  	  if test x$gcc_no_link = xyes; then
53585  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53586fi
53587cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53588/* end confdefs.h.  */
53589int f() { return 0; }
53590_ACEOF
53591if ac_fn_c_try_link "$LINENO"; then :
53592  if test x$gcc_no_link = xyes; then
53593  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53594fi
53595cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53596/* end confdefs.h.  */
53597__thread int a; int b; int f() { return a = b; }
53598_ACEOF
53599if ac_fn_c_try_link "$LINENO"; then :
53600  gcc_cv_have_tls=yes
53601else
53602  gcc_cv_have_tls=no
53603fi
53604rm -f core conftest.err conftest.$ac_objext \
53605    conftest$ac_exeext conftest.$ac_ext
53606else
53607  gcc_cv_have_tls=yes
53608fi
53609rm -f core conftest.err conftest.$ac_objext \
53610    conftest$ac_exeext conftest.$ac_ext
53611	  CFLAGS="$chktls_save_CFLAGS"
53612	  LDFLAGS="$chktls_save_LDFLAGS"
53613else
53614  gcc_cv_have_tls=no
53615fi
53616rm -f core conftest.err conftest.$ac_objext \
53617    conftest$ac_exeext conftest.$ac_ext
53618
53619
53620else
53621  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53622/* end confdefs.h.  */
53623__thread int a; int b; int main() { return a = b; }
53624_ACEOF
53625if ac_fn_c_try_run "$LINENO"; then :
53626                      chktls_save_LDFLAGS="$LDFLAGS"
53627      LDFLAGS="-static $LDFLAGS"
53628      if test x$gcc_no_link = xyes; then
53629  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53630fi
53631cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53632/* end confdefs.h.  */
53633int main() { return 0; }
53634_ACEOF
53635if ac_fn_c_try_link "$LINENO"; then :
53636  if test "$cross_compiling" = yes; then :
53637  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53638$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53639as_fn_error "cannot run test program while cross compiling
53640See \`config.log' for more details." "$LINENO" 5; }
53641else
53642  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53643/* end confdefs.h.  */
53644__thread int a; int b; int main() { return a = b; }
53645_ACEOF
53646if ac_fn_c_try_run "$LINENO"; then :
53647  gcc_cv_have_tls=yes
53648else
53649  gcc_cv_have_tls=no
53650fi
53651rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53652  conftest.$ac_objext conftest.beam conftest.$ac_ext
53653fi
53654
53655else
53656  gcc_cv_have_tls=yes
53657fi
53658rm -f core conftest.err conftest.$ac_objext \
53659    conftest$ac_exeext conftest.$ac_ext
53660      LDFLAGS="$chktls_save_LDFLAGS"
53661      if test $gcc_cv_have_tls = yes; then
53662						chktls_save_CFLAGS="$CFLAGS"
53663	thread_CFLAGS=failed
53664	for flag in '' '-pthread' '-lpthread'; do
53665	  CFLAGS="$flag $chktls_save_CFLAGS"
53666	  if test x$gcc_no_link = xyes; then
53667  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53668fi
53669cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53670/* end confdefs.h.  */
53671#include <pthread.h>
53672		void *g(void *d) { return NULL; }
53673int
53674main ()
53675{
53676pthread_t t; pthread_create(&t,NULL,g,NULL);
53677  ;
53678  return 0;
53679}
53680_ACEOF
53681if ac_fn_c_try_link "$LINENO"; then :
53682  thread_CFLAGS="$flag"
53683fi
53684rm -f core conftest.err conftest.$ac_objext \
53685    conftest$ac_exeext conftest.$ac_ext
53686	  if test "X$thread_CFLAGS" != Xfailed; then
53687	    break
53688	  fi
53689	done
53690	CFLAGS="$chktls_save_CFLAGS"
53691	if test "X$thread_CFLAGS" != Xfailed; then
53692	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53693 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
53694  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53695$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53696as_fn_error "cannot run test program while cross compiling
53697See \`config.log' for more details." "$LINENO" 5; }
53698else
53699  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53700/* end confdefs.h.  */
53701#include <pthread.h>
53702		__thread int a;
53703		static int *volatile a_in_other_thread;
53704		static void *
53705		thread_func (void *arg)
53706		{
53707		  a_in_other_thread = &a;
53708		  return (void *)0;
53709		}
53710int
53711main ()
53712{
53713pthread_t thread;
53714		void *thread_retval;
53715		int *volatile a_in_main_thread;
53716		a_in_main_thread = &a;
53717		if (pthread_create (&thread, (pthread_attr_t *)0,
53718				    thread_func, (void *)0))
53719		  return 0;
53720		if (pthread_join (thread, &thread_retval))
53721		  return 0;
53722		return (a_in_other_thread == a_in_main_thread);
53723  ;
53724  return 0;
53725}
53726_ACEOF
53727if ac_fn_c_try_run "$LINENO"; then :
53728  gcc_cv_have_tls=yes
53729else
53730  gcc_cv_have_tls=no
53731fi
53732rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53733  conftest.$ac_objext conftest.beam conftest.$ac_ext
53734fi
53735
53736	  CFLAGS="$chktls_save_CFLAGS"
53737	fi
53738      fi
53739else
53740  gcc_cv_have_tls=no
53741fi
53742rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53743  conftest.$ac_objext conftest.beam conftest.$ac_ext
53744fi
53745
53746fi
53747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53748$as_echo "$gcc_cv_have_tls" >&6; }
53749  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53750
53751$as_echo "#define HAVE_TLS 1" >>confdefs.h
53752
53753  fi
53754    case "$target" in
53755      *-hpux10*)
53756	$as_echo "#define HAVE_ISINF 1" >>confdefs.h
53757
53758	$as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53759
53760	$as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53761
53762	$as_echo "#define HAVE_FINITE 1" >>confdefs.h
53763
53764	$as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53765
53766	;;
53767    esac
53768    ;;
53769  *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin*)
53770
53771  # All these tests are for C++; save the language and the compiler flags.
53772  # The CXXFLAGS thing is suspicious, but based on similar bits previously
53773  # found in GLIBCXX_CONFIGURE.
53774
53775  ac_ext=cpp
53776ac_cpp='$CXXCPP $CPPFLAGS'
53777ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53778ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53779ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53780
53781  ac_test_CXXFLAGS="${CXXFLAGS+set}"
53782  ac_save_CXXFLAGS="$CXXFLAGS"
53783
53784  # Check for maintainer-mode bits.
53785  if test x"$USE_MAINTAINER_MODE" = xno; then
53786    WERROR=''
53787  else
53788    WERROR='-Werror'
53789  fi
53790
53791  # Check for -ffunction-sections -fdata-sections
53792  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53793$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53794  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53795  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53796/* end confdefs.h.  */
53797int foo; void bar() { };
53798int
53799main ()
53800{
53801
53802  ;
53803  return 0;
53804}
53805_ACEOF
53806if ac_fn_cxx_try_compile "$LINENO"; then :
53807  ac_fdsections=yes
53808else
53809  ac_fdsections=no
53810fi
53811rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53812  if test "$ac_test_CXXFLAGS" = set; then
53813    CXXFLAGS="$ac_save_CXXFLAGS"
53814  else
53815    # this is the suspicious part
53816    CXXFLAGS=''
53817  fi
53818  if test x"$ac_fdsections" = x"yes"; then
53819    SECTION_FLAGS='-ffunction-sections -fdata-sections'
53820  fi
53821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53822$as_echo "$ac_fdsections" >&6; }
53823
53824  ac_ext=c
53825ac_cpp='$CPP $CPPFLAGS'
53826ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53827ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53828ac_compiler_gnu=$ac_cv_c_compiler_gnu
53829
53830
53831
53832
53833
53834  # If we're not using GNU ld, then there's no point in even trying these
53835  # tests.  Check for that first.  We should have already tested for gld
53836  # by now (in libtool), but require it now just to be safe...
53837  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53838  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53839
53840
53841
53842  # The name set by libtool depends on the version of libtool.  Shame on us
53843  # for depending on an impl detail, but c'est la vie.  Older versions used
53844  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53845  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53846  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53847  # set (hence we're using an older libtool), then set it.
53848  if test x${with_gnu_ld+set} != xset; then
53849    if test x${ac_cv_prog_gnu_ld+set} != xset; then
53850      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53851      with_gnu_ld=no
53852    else
53853      with_gnu_ld=$ac_cv_prog_gnu_ld
53854    fi
53855  fi
53856
53857  # Start by getting the version number.  I think the libtool test already
53858  # does some of this, but throws away the result.
53859  glibcxx_ld_is_gold=no
53860  if test x"$with_gnu_ld" = x"yes"; then
53861    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53862$as_echo_n "checking for ld version... " >&6; }
53863
53864    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53865      glibcxx_ld_is_gold=yes
53866    fi
53867    ldver=`$LD --version 2>/dev/null |
53868	   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'`
53869
53870    glibcxx_gnu_ld_version=`echo $ldver | \
53871	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53872    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53873$as_echo "$glibcxx_gnu_ld_version" >&6; }
53874  fi
53875
53876  # Set --gc-sections.
53877  glibcxx_have_gc_sections=no
53878  if test "$glibcxx_ld_is_gold" = "yes"; then
53879    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53880      glibcxx_have_gc_sections=yes
53881    fi
53882  else
53883    glibcxx_gcsections_min_ld=21602
53884    if test x"$with_gnu_ld" = x"yes" &&
53885	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53886      glibcxx_have_gc_sections=yes
53887    fi
53888  fi
53889  if test "$glibcxx_have_gc_sections" = "yes"; then
53890    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
53891    # NB: This flag only works reliably after 2.16.1. Configure tests
53892    # for this are difficult, so hard wire a value that should work.
53893
53894    ac_test_CFLAGS="${CFLAGS+set}"
53895    ac_save_CFLAGS="$CFLAGS"
53896    CFLAGS='-Wl,--gc-sections'
53897
53898    # Check for -Wl,--gc-sections
53899    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53900$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53901    if test x$gcc_no_link = xyes; then
53902  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53903fi
53904cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53905/* end confdefs.h.  */
53906 int one(void) { return 1; }
53907     int two(void) { return 2; }
53908
53909int
53910main ()
53911{
53912 two();
53913  ;
53914  return 0;
53915}
53916_ACEOF
53917if ac_fn_c_try_link "$LINENO"; then :
53918  ac_gcsections=yes
53919else
53920  ac_gcsections=no
53921fi
53922rm -f core conftest.err conftest.$ac_objext \
53923    conftest$ac_exeext conftest.$ac_ext
53924    if test "$ac_gcsections" = "yes"; then
53925      rm -f conftest.c
53926      touch conftest.c
53927      if $CC -c conftest.c; then
53928	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53929	   grep "Warning: gc-sections option ignored" > /dev/null; then
53930	  ac_gcsections=no
53931	fi
53932      fi
53933      rm -f conftest.c conftest.o conftest
53934    fi
53935    if test "$ac_gcsections" = "yes"; then
53936      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53937    fi
53938    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53939$as_echo "$ac_gcsections" >&6; }
53940
53941    if test "$ac_test_CFLAGS" = set; then
53942      CFLAGS="$ac_save_CFLAGS"
53943    else
53944      # this is the suspicious part
53945      CFLAGS=''
53946    fi
53947  fi
53948
53949  # Set -z,relro.
53950  # Note this is only for shared objects.
53951  ac_ld_relro=no
53952  if test x"$with_gnu_ld" = x"yes"; then
53953    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53954$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53955    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53956    if test -n "$cxx_z_relo"; then
53957      OPT_LDFLAGS="-Wl,-z,relro"
53958      ac_ld_relro=yes
53959    fi
53960    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53961$as_echo "$ac_ld_relro" >&6; }
53962  fi
53963
53964  # Set linker optimization flags.
53965  if test x"$with_gnu_ld" = x"yes"; then
53966    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53967  fi
53968
53969
53970
53971
53972
53973  ac_test_CXXFLAGS="${CXXFLAGS+set}"
53974  ac_save_CXXFLAGS="$CXXFLAGS"
53975  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53976
53977    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53978$as_echo_n "checking for sin in -lm... " >&6; }
53979if test "${ac_cv_lib_m_sin+set}" = set; then :
53980  $as_echo_n "(cached) " >&6
53981else
53982  ac_check_lib_save_LIBS=$LIBS
53983LIBS="-lm  $LIBS"
53984if test x$gcc_no_link = xyes; then
53985  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53986fi
53987cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53988/* end confdefs.h.  */
53989
53990/* Override any GCC internal prototype to avoid an error.
53991   Use char because int might match the return type of a GCC
53992   builtin and then its argument prototype would still apply.  */
53993#ifdef __cplusplus
53994extern "C"
53995#endif
53996char sin ();
53997int
53998main ()
53999{
54000return sin ();
54001  ;
54002  return 0;
54003}
54004_ACEOF
54005if ac_fn_c_try_link "$LINENO"; then :
54006  ac_cv_lib_m_sin=yes
54007else
54008  ac_cv_lib_m_sin=no
54009fi
54010rm -f core conftest.err conftest.$ac_objext \
54011    conftest$ac_exeext conftest.$ac_ext
54012LIBS=$ac_check_lib_save_LIBS
54013fi
54014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54015$as_echo "$ac_cv_lib_m_sin" >&6; }
54016if test "x$ac_cv_lib_m_sin" = x""yes; then :
54017  libm="-lm"
54018fi
54019
54020  ac_save_LIBS="$LIBS"
54021  LIBS="$LIBS $libm"
54022
54023
54024
54025  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54026$as_echo_n "checking for isinf declaration... " >&6; }
54027  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54028    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
54029  $as_echo_n "(cached) " >&6
54030else
54031
54032
54033      ac_ext=cpp
54034ac_cpp='$CXXCPP $CPPFLAGS'
54035ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54036ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54037ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54038
54039      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54040/* end confdefs.h.  */
54041#include <math.h>
54042		      #ifdef HAVE_IEEEFP_H
54043		      #include <ieeefp.h>
54044		      #endif
54045
54046int
54047main ()
54048{
54049 isinf(0);
54050  ;
54051  return 0;
54052}
54053_ACEOF
54054if ac_fn_cxx_try_compile "$LINENO"; then :
54055  glibcxx_cv_func_isinf_use=yes
54056else
54057  glibcxx_cv_func_isinf_use=no
54058fi
54059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54060      ac_ext=c
54061ac_cpp='$CPP $CPPFLAGS'
54062ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54063ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54064ac_compiler_gnu=$ac_cv_c_compiler_gnu
54065
54066
54067fi
54068
54069  fi
54070  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54071$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54072
54073  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54074    for ac_func in isinf
54075do :
54076  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54077if test "x$ac_cv_func_isinf" = x""yes; then :
54078  cat >>confdefs.h <<_ACEOF
54079#define HAVE_ISINF 1
54080_ACEOF
54081
54082fi
54083done
54084
54085  else
54086
54087  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54088$as_echo_n "checking for _isinf declaration... " >&6; }
54089  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54090    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
54091  $as_echo_n "(cached) " >&6
54092else
54093
54094
54095      ac_ext=cpp
54096ac_cpp='$CXXCPP $CPPFLAGS'
54097ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54098ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54099ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54100
54101      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54102/* end confdefs.h.  */
54103#include <math.h>
54104		      #ifdef HAVE_IEEEFP_H
54105		      #include <ieeefp.h>
54106		      #endif
54107
54108int
54109main ()
54110{
54111 _isinf(0);
54112  ;
54113  return 0;
54114}
54115_ACEOF
54116if ac_fn_cxx_try_compile "$LINENO"; then :
54117  glibcxx_cv_func__isinf_use=yes
54118else
54119  glibcxx_cv_func__isinf_use=no
54120fi
54121rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54122      ac_ext=c
54123ac_cpp='$CPP $CPPFLAGS'
54124ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54125ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54126ac_compiler_gnu=$ac_cv_c_compiler_gnu
54127
54128
54129fi
54130
54131  fi
54132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54133$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54134
54135    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54136      for ac_func in _isinf
54137do :
54138  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54139if test "x$ac_cv_func__isinf" = x""yes; then :
54140  cat >>confdefs.h <<_ACEOF
54141#define HAVE__ISINF 1
54142_ACEOF
54143
54144fi
54145done
54146
54147    fi
54148  fi
54149
54150
54151
54152
54153
54154  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54155$as_echo_n "checking for isnan declaration... " >&6; }
54156  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54157    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
54158  $as_echo_n "(cached) " >&6
54159else
54160
54161
54162      ac_ext=cpp
54163ac_cpp='$CXXCPP $CPPFLAGS'
54164ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54165ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54166ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54167
54168      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54169/* end confdefs.h.  */
54170#include <math.h>
54171		      #ifdef HAVE_IEEEFP_H
54172		      #include <ieeefp.h>
54173		      #endif
54174
54175int
54176main ()
54177{
54178 isnan(0);
54179  ;
54180  return 0;
54181}
54182_ACEOF
54183if ac_fn_cxx_try_compile "$LINENO"; then :
54184  glibcxx_cv_func_isnan_use=yes
54185else
54186  glibcxx_cv_func_isnan_use=no
54187fi
54188rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54189      ac_ext=c
54190ac_cpp='$CPP $CPPFLAGS'
54191ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54192ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54193ac_compiler_gnu=$ac_cv_c_compiler_gnu
54194
54195
54196fi
54197
54198  fi
54199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54200$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54201
54202  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54203    for ac_func in isnan
54204do :
54205  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54206if test "x$ac_cv_func_isnan" = x""yes; then :
54207  cat >>confdefs.h <<_ACEOF
54208#define HAVE_ISNAN 1
54209_ACEOF
54210
54211fi
54212done
54213
54214  else
54215
54216  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54217$as_echo_n "checking for _isnan declaration... " >&6; }
54218  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54219    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54220  $as_echo_n "(cached) " >&6
54221else
54222
54223
54224      ac_ext=cpp
54225ac_cpp='$CXXCPP $CPPFLAGS'
54226ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54227ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54228ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54229
54230      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54231/* end confdefs.h.  */
54232#include <math.h>
54233		      #ifdef HAVE_IEEEFP_H
54234		      #include <ieeefp.h>
54235		      #endif
54236
54237int
54238main ()
54239{
54240 _isnan(0);
54241  ;
54242  return 0;
54243}
54244_ACEOF
54245if ac_fn_cxx_try_compile "$LINENO"; then :
54246  glibcxx_cv_func__isnan_use=yes
54247else
54248  glibcxx_cv_func__isnan_use=no
54249fi
54250rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54251      ac_ext=c
54252ac_cpp='$CPP $CPPFLAGS'
54253ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54254ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54255ac_compiler_gnu=$ac_cv_c_compiler_gnu
54256
54257
54258fi
54259
54260  fi
54261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54262$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54263
54264    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54265      for ac_func in _isnan
54266do :
54267  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54268if test "x$ac_cv_func__isnan" = x""yes; then :
54269  cat >>confdefs.h <<_ACEOF
54270#define HAVE__ISNAN 1
54271_ACEOF
54272
54273fi
54274done
54275
54276    fi
54277  fi
54278
54279
54280
54281
54282
54283  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54284$as_echo_n "checking for finite declaration... " >&6; }
54285  if test x${glibcxx_cv_func_finite_use+set} != xset; then
54286    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54287  $as_echo_n "(cached) " >&6
54288else
54289
54290
54291      ac_ext=cpp
54292ac_cpp='$CXXCPP $CPPFLAGS'
54293ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54294ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54295ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54296
54297      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54298/* end confdefs.h.  */
54299#include <math.h>
54300		      #ifdef HAVE_IEEEFP_H
54301		      #include <ieeefp.h>
54302		      #endif
54303
54304int
54305main ()
54306{
54307 finite(0);
54308  ;
54309  return 0;
54310}
54311_ACEOF
54312if ac_fn_cxx_try_compile "$LINENO"; then :
54313  glibcxx_cv_func_finite_use=yes
54314else
54315  glibcxx_cv_func_finite_use=no
54316fi
54317rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54318      ac_ext=c
54319ac_cpp='$CPP $CPPFLAGS'
54320ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54321ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54322ac_compiler_gnu=$ac_cv_c_compiler_gnu
54323
54324
54325fi
54326
54327  fi
54328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54329$as_echo "$glibcxx_cv_func_finite_use" >&6; }
54330
54331  if test x$glibcxx_cv_func_finite_use = x"yes"; then
54332    for ac_func in finite
54333do :
54334  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54335if test "x$ac_cv_func_finite" = x""yes; then :
54336  cat >>confdefs.h <<_ACEOF
54337#define HAVE_FINITE 1
54338_ACEOF
54339
54340fi
54341done
54342
54343  else
54344
54345  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54346$as_echo_n "checking for _finite declaration... " >&6; }
54347  if test x${glibcxx_cv_func__finite_use+set} != xset; then
54348    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54349  $as_echo_n "(cached) " >&6
54350else
54351
54352
54353      ac_ext=cpp
54354ac_cpp='$CXXCPP $CPPFLAGS'
54355ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54356ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54357ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54358
54359      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54360/* end confdefs.h.  */
54361#include <math.h>
54362		      #ifdef HAVE_IEEEFP_H
54363		      #include <ieeefp.h>
54364		      #endif
54365
54366int
54367main ()
54368{
54369 _finite(0);
54370  ;
54371  return 0;
54372}
54373_ACEOF
54374if ac_fn_cxx_try_compile "$LINENO"; then :
54375  glibcxx_cv_func__finite_use=yes
54376else
54377  glibcxx_cv_func__finite_use=no
54378fi
54379rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54380      ac_ext=c
54381ac_cpp='$CPP $CPPFLAGS'
54382ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54383ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54384ac_compiler_gnu=$ac_cv_c_compiler_gnu
54385
54386
54387fi
54388
54389  fi
54390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54391$as_echo "$glibcxx_cv_func__finite_use" >&6; }
54392
54393    if test x$glibcxx_cv_func__finite_use = x"yes"; then
54394      for ac_func in _finite
54395do :
54396  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54397if test "x$ac_cv_func__finite" = x""yes; then :
54398  cat >>confdefs.h <<_ACEOF
54399#define HAVE__FINITE 1
54400_ACEOF
54401
54402fi
54403done
54404
54405    fi
54406  fi
54407
54408
54409
54410
54411
54412  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54413$as_echo_n "checking for sincos declaration... " >&6; }
54414  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54415    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54416  $as_echo_n "(cached) " >&6
54417else
54418
54419
54420      ac_ext=cpp
54421ac_cpp='$CXXCPP $CPPFLAGS'
54422ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54423ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54424ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54425
54426      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54427/* end confdefs.h.  */
54428#include <math.h>
54429int
54430main ()
54431{
54432 sincos(0, 0, 0);
54433  ;
54434  return 0;
54435}
54436_ACEOF
54437if ac_fn_cxx_try_compile "$LINENO"; then :
54438  glibcxx_cv_func_sincos_use=yes
54439else
54440  glibcxx_cv_func_sincos_use=no
54441fi
54442rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54443      ac_ext=c
54444ac_cpp='$CPP $CPPFLAGS'
54445ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54446ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54447ac_compiler_gnu=$ac_cv_c_compiler_gnu
54448
54449
54450fi
54451
54452  fi
54453  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54454$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54455
54456  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54457    for ac_func in sincos
54458do :
54459  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54460if test "x$ac_cv_func_sincos" = x""yes; then :
54461  cat >>confdefs.h <<_ACEOF
54462#define HAVE_SINCOS 1
54463_ACEOF
54464
54465fi
54466done
54467
54468  else
54469
54470  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54471$as_echo_n "checking for _sincos declaration... " >&6; }
54472  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54473    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54474  $as_echo_n "(cached) " >&6
54475else
54476
54477
54478      ac_ext=cpp
54479ac_cpp='$CXXCPP $CPPFLAGS'
54480ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54481ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54482ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54483
54484      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54485/* end confdefs.h.  */
54486#include <math.h>
54487int
54488main ()
54489{
54490 _sincos(0, 0, 0);
54491  ;
54492  return 0;
54493}
54494_ACEOF
54495if ac_fn_cxx_try_compile "$LINENO"; then :
54496  glibcxx_cv_func__sincos_use=yes
54497else
54498  glibcxx_cv_func__sincos_use=no
54499fi
54500rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54501      ac_ext=c
54502ac_cpp='$CPP $CPPFLAGS'
54503ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54504ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54505ac_compiler_gnu=$ac_cv_c_compiler_gnu
54506
54507
54508fi
54509
54510  fi
54511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54512$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54513
54514    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54515      for ac_func in _sincos
54516do :
54517  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54518if test "x$ac_cv_func__sincos" = x""yes; then :
54519  cat >>confdefs.h <<_ACEOF
54520#define HAVE__SINCOS 1
54521_ACEOF
54522
54523fi
54524done
54525
54526    fi
54527  fi
54528
54529
54530
54531
54532
54533  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54534$as_echo_n "checking for fpclass declaration... " >&6; }
54535  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54536    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54537  $as_echo_n "(cached) " >&6
54538else
54539
54540
54541      ac_ext=cpp
54542ac_cpp='$CXXCPP $CPPFLAGS'
54543ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54544ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54545ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54546
54547      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54548/* end confdefs.h.  */
54549#include <math.h>
54550		      #ifdef HAVE_IEEEFP_H
54551		      #include <ieeefp.h>
54552		      #endif
54553
54554int
54555main ()
54556{
54557 fpclass(0);
54558  ;
54559  return 0;
54560}
54561_ACEOF
54562if ac_fn_cxx_try_compile "$LINENO"; then :
54563  glibcxx_cv_func_fpclass_use=yes
54564else
54565  glibcxx_cv_func_fpclass_use=no
54566fi
54567rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54568      ac_ext=c
54569ac_cpp='$CPP $CPPFLAGS'
54570ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54571ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54572ac_compiler_gnu=$ac_cv_c_compiler_gnu
54573
54574
54575fi
54576
54577  fi
54578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54579$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54580
54581  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54582    for ac_func in fpclass
54583do :
54584  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54585if test "x$ac_cv_func_fpclass" = x""yes; then :
54586  cat >>confdefs.h <<_ACEOF
54587#define HAVE_FPCLASS 1
54588_ACEOF
54589
54590fi
54591done
54592
54593  else
54594
54595  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54596$as_echo_n "checking for _fpclass declaration... " >&6; }
54597  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54598    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54599  $as_echo_n "(cached) " >&6
54600else
54601
54602
54603      ac_ext=cpp
54604ac_cpp='$CXXCPP $CPPFLAGS'
54605ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54606ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54607ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54608
54609      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54610/* end confdefs.h.  */
54611#include <math.h>
54612		      #ifdef HAVE_IEEEFP_H
54613		      #include <ieeefp.h>
54614		      #endif
54615
54616int
54617main ()
54618{
54619 _fpclass(0);
54620  ;
54621  return 0;
54622}
54623_ACEOF
54624if ac_fn_cxx_try_compile "$LINENO"; then :
54625  glibcxx_cv_func__fpclass_use=yes
54626else
54627  glibcxx_cv_func__fpclass_use=no
54628fi
54629rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54630      ac_ext=c
54631ac_cpp='$CPP $CPPFLAGS'
54632ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54633ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54634ac_compiler_gnu=$ac_cv_c_compiler_gnu
54635
54636
54637fi
54638
54639  fi
54640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54641$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54642
54643    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54644      for ac_func in _fpclass
54645do :
54646  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54647if test "x$ac_cv_func__fpclass" = x""yes; then :
54648  cat >>confdefs.h <<_ACEOF
54649#define HAVE__FPCLASS 1
54650_ACEOF
54651
54652fi
54653done
54654
54655    fi
54656  fi
54657
54658
54659
54660
54661
54662  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54663$as_echo_n "checking for qfpclass declaration... " >&6; }
54664  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54665    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54666  $as_echo_n "(cached) " >&6
54667else
54668
54669
54670      ac_ext=cpp
54671ac_cpp='$CXXCPP $CPPFLAGS'
54672ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54673ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54674ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54675
54676      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54677/* end confdefs.h.  */
54678#include <math.h>
54679		      #ifdef HAVE_IEEEFP_H
54680		      #include <ieeefp.h>
54681		      #endif
54682
54683int
54684main ()
54685{
54686 qfpclass(0);
54687  ;
54688  return 0;
54689}
54690_ACEOF
54691if ac_fn_cxx_try_compile "$LINENO"; then :
54692  glibcxx_cv_func_qfpclass_use=yes
54693else
54694  glibcxx_cv_func_qfpclass_use=no
54695fi
54696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54697      ac_ext=c
54698ac_cpp='$CPP $CPPFLAGS'
54699ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54700ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54701ac_compiler_gnu=$ac_cv_c_compiler_gnu
54702
54703
54704fi
54705
54706  fi
54707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54708$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54709
54710  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54711    for ac_func in qfpclass
54712do :
54713  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54714if test "x$ac_cv_func_qfpclass" = x""yes; then :
54715  cat >>confdefs.h <<_ACEOF
54716#define HAVE_QFPCLASS 1
54717_ACEOF
54718
54719fi
54720done
54721
54722  else
54723
54724  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54725$as_echo_n "checking for _qfpclass declaration... " >&6; }
54726  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54727    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54728  $as_echo_n "(cached) " >&6
54729else
54730
54731
54732      ac_ext=cpp
54733ac_cpp='$CXXCPP $CPPFLAGS'
54734ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54735ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54736ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54737
54738      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54739/* end confdefs.h.  */
54740#include <math.h>
54741		      #ifdef HAVE_IEEEFP_H
54742		      #include <ieeefp.h>
54743		      #endif
54744
54745int
54746main ()
54747{
54748 _qfpclass(0);
54749  ;
54750  return 0;
54751}
54752_ACEOF
54753if ac_fn_cxx_try_compile "$LINENO"; then :
54754  glibcxx_cv_func__qfpclass_use=yes
54755else
54756  glibcxx_cv_func__qfpclass_use=no
54757fi
54758rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54759      ac_ext=c
54760ac_cpp='$CPP $CPPFLAGS'
54761ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54762ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54763ac_compiler_gnu=$ac_cv_c_compiler_gnu
54764
54765
54766fi
54767
54768  fi
54769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54770$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54771
54772    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54773      for ac_func in _qfpclass
54774do :
54775  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54776if test "x$ac_cv_func__qfpclass" = x""yes; then :
54777  cat >>confdefs.h <<_ACEOF
54778#define HAVE__QFPCLASS 1
54779_ACEOF
54780
54781fi
54782done
54783
54784    fi
54785  fi
54786
54787
54788
54789
54790
54791  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54792$as_echo_n "checking for hypot declaration... " >&6; }
54793  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54794    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54795  $as_echo_n "(cached) " >&6
54796else
54797
54798
54799      ac_ext=cpp
54800ac_cpp='$CXXCPP $CPPFLAGS'
54801ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54802ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54803ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54804
54805      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54806/* end confdefs.h.  */
54807#include <math.h>
54808int
54809main ()
54810{
54811 hypot(0, 0);
54812  ;
54813  return 0;
54814}
54815_ACEOF
54816if ac_fn_cxx_try_compile "$LINENO"; then :
54817  glibcxx_cv_func_hypot_use=yes
54818else
54819  glibcxx_cv_func_hypot_use=no
54820fi
54821rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54822      ac_ext=c
54823ac_cpp='$CPP $CPPFLAGS'
54824ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54825ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54826ac_compiler_gnu=$ac_cv_c_compiler_gnu
54827
54828
54829fi
54830
54831  fi
54832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54833$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54834
54835  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54836    for ac_func in hypot
54837do :
54838  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54839if test "x$ac_cv_func_hypot" = x""yes; then :
54840  cat >>confdefs.h <<_ACEOF
54841#define HAVE_HYPOT 1
54842_ACEOF
54843
54844fi
54845done
54846
54847  else
54848
54849  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54850$as_echo_n "checking for _hypot declaration... " >&6; }
54851  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54852    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54853  $as_echo_n "(cached) " >&6
54854else
54855
54856
54857      ac_ext=cpp
54858ac_cpp='$CXXCPP $CPPFLAGS'
54859ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54860ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54861ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54862
54863      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54864/* end confdefs.h.  */
54865#include <math.h>
54866int
54867main ()
54868{
54869 _hypot(0, 0);
54870  ;
54871  return 0;
54872}
54873_ACEOF
54874if ac_fn_cxx_try_compile "$LINENO"; then :
54875  glibcxx_cv_func__hypot_use=yes
54876else
54877  glibcxx_cv_func__hypot_use=no
54878fi
54879rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54880      ac_ext=c
54881ac_cpp='$CPP $CPPFLAGS'
54882ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54883ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54884ac_compiler_gnu=$ac_cv_c_compiler_gnu
54885
54886
54887fi
54888
54889  fi
54890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54891$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54892
54893    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54894      for ac_func in _hypot
54895do :
54896  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54897if test "x$ac_cv_func__hypot" = x""yes; then :
54898  cat >>confdefs.h <<_ACEOF
54899#define HAVE__HYPOT 1
54900_ACEOF
54901
54902fi
54903done
54904
54905    fi
54906  fi
54907
54908
54909
54910
54911
54912    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54913$as_echo_n "checking for float trig functions... " >&6; }
54914  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54915  $as_echo_n "(cached) " >&6
54916else
54917
54918
54919    ac_ext=cpp
54920ac_cpp='$CXXCPP $CPPFLAGS'
54921ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54922ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54923ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54924
54925    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54926/* end confdefs.h.  */
54927#include <math.h>
54928int
54929main ()
54930{
54931acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54932  ;
54933  return 0;
54934}
54935_ACEOF
54936if ac_fn_cxx_try_compile "$LINENO"; then :
54937  glibcxx_cv_func_float_trig_use=yes
54938else
54939  glibcxx_cv_func_float_trig_use=no
54940fi
54941rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54942    ac_ext=c
54943ac_cpp='$CPP $CPPFLAGS'
54944ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54945ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54946ac_compiler_gnu=$ac_cv_c_compiler_gnu
54947
54948fi
54949
54950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54951$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54952  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54953    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54954do :
54955  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54956ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54957eval as_val=\$$as_ac_var
54958   if test "x$as_val" = x""yes; then :
54959  cat >>confdefs.h <<_ACEOF
54960#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54961_ACEOF
54962
54963fi
54964done
54965
54966  else
54967    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54968$as_echo_n "checking for _float trig functions... " >&6; }
54969    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54970  $as_echo_n "(cached) " >&6
54971else
54972
54973
54974      ac_ext=cpp
54975ac_cpp='$CXXCPP $CPPFLAGS'
54976ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54977ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54978ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54979
54980      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54981/* end confdefs.h.  */
54982#include <math.h>
54983int
54984main ()
54985{
54986_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54987  ;
54988  return 0;
54989}
54990_ACEOF
54991if ac_fn_cxx_try_compile "$LINENO"; then :
54992  glibcxx_cv_func__float_trig_use=yes
54993else
54994  glibcxx_cv_func__float_trig_use=no
54995fi
54996rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54997      ac_ext=c
54998ac_cpp='$CPP $CPPFLAGS'
54999ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55000ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55001ac_compiler_gnu=$ac_cv_c_compiler_gnu
55002
55003fi
55004
55005    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55006$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55007    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55008      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55009do :
55010  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55011ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55012eval as_val=\$$as_ac_var
55013   if test "x$as_val" = x""yes; then :
55014  cat >>confdefs.h <<_ACEOF
55015#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55016_ACEOF
55017
55018fi
55019done
55020
55021    fi
55022  fi
55023
55024
55025
55026
55027
55028    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55029$as_echo_n "checking for float round functions... " >&6; }
55030  if test "${glibcxx_cv_func_float_round_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>
55044int
55045main ()
55046{
55047ceilf (0); floorf (0);
55048  ;
55049  return 0;
55050}
55051_ACEOF
55052if ac_fn_cxx_try_compile "$LINENO"; then :
55053  glibcxx_cv_func_float_round_use=yes
55054else
55055  glibcxx_cv_func_float_round_use=no
55056fi
55057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55058    ac_ext=c
55059ac_cpp='$CPP $CPPFLAGS'
55060ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55061ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55062ac_compiler_gnu=$ac_cv_c_compiler_gnu
55063
55064fi
55065
55066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55067$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55068  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55069    for ac_func in ceilf floorf
55070do :
55071  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55072ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55073eval as_val=\$$as_ac_var
55074   if test "x$as_val" = x""yes; then :
55075  cat >>confdefs.h <<_ACEOF
55076#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55077_ACEOF
55078
55079fi
55080done
55081
55082  else
55083    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55084$as_echo_n "checking for _float round functions... " >&6; }
55085    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
55086  $as_echo_n "(cached) " >&6
55087else
55088
55089
55090      ac_ext=cpp
55091ac_cpp='$CXXCPP $CPPFLAGS'
55092ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55093ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55094ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55095
55096      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55097/* end confdefs.h.  */
55098#include <math.h>
55099int
55100main ()
55101{
55102_ceilf (0); _floorf (0);
55103  ;
55104  return 0;
55105}
55106_ACEOF
55107if ac_fn_cxx_try_compile "$LINENO"; then :
55108  glibcxx_cv_func__float_round_use=yes
55109else
55110  glibcxx_cv_func__float_round_use=no
55111fi
55112rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55113      ac_ext=c
55114ac_cpp='$CPP $CPPFLAGS'
55115ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55116ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55117ac_compiler_gnu=$ac_cv_c_compiler_gnu
55118
55119fi
55120
55121    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55122$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55123    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55124      for ac_func in _ceilf _floorf
55125do :
55126  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55127ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55128eval as_val=\$$as_ac_var
55129   if test "x$as_val" = x""yes; then :
55130  cat >>confdefs.h <<_ACEOF
55131#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55132_ACEOF
55133
55134fi
55135done
55136
55137    fi
55138  fi
55139
55140
55141
55142
55143
55144
55145  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55146$as_echo_n "checking for expf declaration... " >&6; }
55147  if test x${glibcxx_cv_func_expf_use+set} != xset; then
55148    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
55149  $as_echo_n "(cached) " >&6
55150else
55151
55152
55153      ac_ext=cpp
55154ac_cpp='$CXXCPP $CPPFLAGS'
55155ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55156ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55157ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55158
55159      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55160/* end confdefs.h.  */
55161#include <math.h>
55162		      #ifdef HAVE_IEEEFP_H
55163		      #include <ieeefp.h>
55164		      #endif
55165
55166int
55167main ()
55168{
55169 expf(0);
55170  ;
55171  return 0;
55172}
55173_ACEOF
55174if ac_fn_cxx_try_compile "$LINENO"; then :
55175  glibcxx_cv_func_expf_use=yes
55176else
55177  glibcxx_cv_func_expf_use=no
55178fi
55179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55180      ac_ext=c
55181ac_cpp='$CPP $CPPFLAGS'
55182ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55183ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55184ac_compiler_gnu=$ac_cv_c_compiler_gnu
55185
55186
55187fi
55188
55189  fi
55190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55191$as_echo "$glibcxx_cv_func_expf_use" >&6; }
55192
55193  if test x$glibcxx_cv_func_expf_use = x"yes"; then
55194    for ac_func in expf
55195do :
55196  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55197if test "x$ac_cv_func_expf" = x""yes; then :
55198  cat >>confdefs.h <<_ACEOF
55199#define HAVE_EXPF 1
55200_ACEOF
55201
55202fi
55203done
55204
55205  else
55206
55207  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55208$as_echo_n "checking for _expf declaration... " >&6; }
55209  if test x${glibcxx_cv_func__expf_use+set} != xset; then
55210    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55211  $as_echo_n "(cached) " >&6
55212else
55213
55214
55215      ac_ext=cpp
55216ac_cpp='$CXXCPP $CPPFLAGS'
55217ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55218ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55219ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55220
55221      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55222/* end confdefs.h.  */
55223#include <math.h>
55224		      #ifdef HAVE_IEEEFP_H
55225		      #include <ieeefp.h>
55226		      #endif
55227
55228int
55229main ()
55230{
55231 _expf(0);
55232  ;
55233  return 0;
55234}
55235_ACEOF
55236if ac_fn_cxx_try_compile "$LINENO"; then :
55237  glibcxx_cv_func__expf_use=yes
55238else
55239  glibcxx_cv_func__expf_use=no
55240fi
55241rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55242      ac_ext=c
55243ac_cpp='$CPP $CPPFLAGS'
55244ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55245ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55246ac_compiler_gnu=$ac_cv_c_compiler_gnu
55247
55248
55249fi
55250
55251  fi
55252  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55253$as_echo "$glibcxx_cv_func__expf_use" >&6; }
55254
55255    if test x$glibcxx_cv_func__expf_use = x"yes"; then
55256      for ac_func in _expf
55257do :
55258  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55259if test "x$ac_cv_func__expf" = x""yes; then :
55260  cat >>confdefs.h <<_ACEOF
55261#define HAVE__EXPF 1
55262_ACEOF
55263
55264fi
55265done
55266
55267    fi
55268  fi
55269
55270
55271
55272
55273
55274  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55275$as_echo_n "checking for isnanf declaration... " >&6; }
55276  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55277    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55278  $as_echo_n "(cached) " >&6
55279else
55280
55281
55282      ac_ext=cpp
55283ac_cpp='$CXXCPP $CPPFLAGS'
55284ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55285ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55286ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55287
55288      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55289/* end confdefs.h.  */
55290#include <math.h>
55291		      #ifdef HAVE_IEEEFP_H
55292		      #include <ieeefp.h>
55293		      #endif
55294
55295int
55296main ()
55297{
55298 isnanf(0);
55299  ;
55300  return 0;
55301}
55302_ACEOF
55303if ac_fn_cxx_try_compile "$LINENO"; then :
55304  glibcxx_cv_func_isnanf_use=yes
55305else
55306  glibcxx_cv_func_isnanf_use=no
55307fi
55308rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55309      ac_ext=c
55310ac_cpp='$CPP $CPPFLAGS'
55311ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55312ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55313ac_compiler_gnu=$ac_cv_c_compiler_gnu
55314
55315
55316fi
55317
55318  fi
55319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55320$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55321
55322  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55323    for ac_func in isnanf
55324do :
55325  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55326if test "x$ac_cv_func_isnanf" = x""yes; then :
55327  cat >>confdefs.h <<_ACEOF
55328#define HAVE_ISNANF 1
55329_ACEOF
55330
55331fi
55332done
55333
55334  else
55335
55336  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55337$as_echo_n "checking for _isnanf declaration... " >&6; }
55338  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55339    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55340  $as_echo_n "(cached) " >&6
55341else
55342
55343
55344      ac_ext=cpp
55345ac_cpp='$CXXCPP $CPPFLAGS'
55346ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55347ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55348ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55349
55350      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55351/* end confdefs.h.  */
55352#include <math.h>
55353		      #ifdef HAVE_IEEEFP_H
55354		      #include <ieeefp.h>
55355		      #endif
55356
55357int
55358main ()
55359{
55360 _isnanf(0);
55361  ;
55362  return 0;
55363}
55364_ACEOF
55365if ac_fn_cxx_try_compile "$LINENO"; then :
55366  glibcxx_cv_func__isnanf_use=yes
55367else
55368  glibcxx_cv_func__isnanf_use=no
55369fi
55370rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55371      ac_ext=c
55372ac_cpp='$CPP $CPPFLAGS'
55373ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55374ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55375ac_compiler_gnu=$ac_cv_c_compiler_gnu
55376
55377
55378fi
55379
55380  fi
55381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55382$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55383
55384    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55385      for ac_func in _isnanf
55386do :
55387  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55388if test "x$ac_cv_func__isnanf" = x""yes; then :
55389  cat >>confdefs.h <<_ACEOF
55390#define HAVE__ISNANF 1
55391_ACEOF
55392
55393fi
55394done
55395
55396    fi
55397  fi
55398
55399
55400
55401
55402
55403  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55404$as_echo_n "checking for isinff declaration... " >&6; }
55405  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55406    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55407  $as_echo_n "(cached) " >&6
55408else
55409
55410
55411      ac_ext=cpp
55412ac_cpp='$CXXCPP $CPPFLAGS'
55413ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55414ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55415ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55416
55417      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55418/* end confdefs.h.  */
55419#include <math.h>
55420		      #ifdef HAVE_IEEEFP_H
55421		      #include <ieeefp.h>
55422		      #endif
55423
55424int
55425main ()
55426{
55427 isinff(0);
55428  ;
55429  return 0;
55430}
55431_ACEOF
55432if ac_fn_cxx_try_compile "$LINENO"; then :
55433  glibcxx_cv_func_isinff_use=yes
55434else
55435  glibcxx_cv_func_isinff_use=no
55436fi
55437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55438      ac_ext=c
55439ac_cpp='$CPP $CPPFLAGS'
55440ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55441ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55442ac_compiler_gnu=$ac_cv_c_compiler_gnu
55443
55444
55445fi
55446
55447  fi
55448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55449$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55450
55451  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55452    for ac_func in isinff
55453do :
55454  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55455if test "x$ac_cv_func_isinff" = x""yes; then :
55456  cat >>confdefs.h <<_ACEOF
55457#define HAVE_ISINFF 1
55458_ACEOF
55459
55460fi
55461done
55462
55463  else
55464
55465  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55466$as_echo_n "checking for _isinff declaration... " >&6; }
55467  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55468    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55469  $as_echo_n "(cached) " >&6
55470else
55471
55472
55473      ac_ext=cpp
55474ac_cpp='$CXXCPP $CPPFLAGS'
55475ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55476ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55477ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55478
55479      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55480/* end confdefs.h.  */
55481#include <math.h>
55482		      #ifdef HAVE_IEEEFP_H
55483		      #include <ieeefp.h>
55484		      #endif
55485
55486int
55487main ()
55488{
55489 _isinff(0);
55490  ;
55491  return 0;
55492}
55493_ACEOF
55494if ac_fn_cxx_try_compile "$LINENO"; then :
55495  glibcxx_cv_func__isinff_use=yes
55496else
55497  glibcxx_cv_func__isinff_use=no
55498fi
55499rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55500      ac_ext=c
55501ac_cpp='$CPP $CPPFLAGS'
55502ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55503ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55504ac_compiler_gnu=$ac_cv_c_compiler_gnu
55505
55506
55507fi
55508
55509  fi
55510  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55511$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55512
55513    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55514      for ac_func in _isinff
55515do :
55516  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55517if test "x$ac_cv_func__isinff" = x""yes; then :
55518  cat >>confdefs.h <<_ACEOF
55519#define HAVE__ISINFF 1
55520_ACEOF
55521
55522fi
55523done
55524
55525    fi
55526  fi
55527
55528
55529
55530
55531
55532  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55533$as_echo_n "checking for atan2f declaration... " >&6; }
55534  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55535    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55536  $as_echo_n "(cached) " >&6
55537else
55538
55539
55540      ac_ext=cpp
55541ac_cpp='$CXXCPP $CPPFLAGS'
55542ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55543ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55544ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55545
55546      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55547/* end confdefs.h.  */
55548#include <math.h>
55549int
55550main ()
55551{
55552 atan2f(0, 0);
55553  ;
55554  return 0;
55555}
55556_ACEOF
55557if ac_fn_cxx_try_compile "$LINENO"; then :
55558  glibcxx_cv_func_atan2f_use=yes
55559else
55560  glibcxx_cv_func_atan2f_use=no
55561fi
55562rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55563      ac_ext=c
55564ac_cpp='$CPP $CPPFLAGS'
55565ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55566ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55567ac_compiler_gnu=$ac_cv_c_compiler_gnu
55568
55569
55570fi
55571
55572  fi
55573  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55574$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55575
55576  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55577    for ac_func in atan2f
55578do :
55579  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55580if test "x$ac_cv_func_atan2f" = x""yes; then :
55581  cat >>confdefs.h <<_ACEOF
55582#define HAVE_ATAN2F 1
55583_ACEOF
55584
55585fi
55586done
55587
55588  else
55589
55590  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55591$as_echo_n "checking for _atan2f declaration... " >&6; }
55592  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55593    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55594  $as_echo_n "(cached) " >&6
55595else
55596
55597
55598      ac_ext=cpp
55599ac_cpp='$CXXCPP $CPPFLAGS'
55600ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55601ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55602ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55603
55604      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55605/* end confdefs.h.  */
55606#include <math.h>
55607int
55608main ()
55609{
55610 _atan2f(0, 0);
55611  ;
55612  return 0;
55613}
55614_ACEOF
55615if ac_fn_cxx_try_compile "$LINENO"; then :
55616  glibcxx_cv_func__atan2f_use=yes
55617else
55618  glibcxx_cv_func__atan2f_use=no
55619fi
55620rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55621      ac_ext=c
55622ac_cpp='$CPP $CPPFLAGS'
55623ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55624ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55625ac_compiler_gnu=$ac_cv_c_compiler_gnu
55626
55627
55628fi
55629
55630  fi
55631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55632$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55633
55634    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55635      for ac_func in _atan2f
55636do :
55637  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55638if test "x$ac_cv_func__atan2f" = x""yes; then :
55639  cat >>confdefs.h <<_ACEOF
55640#define HAVE__ATAN2F 1
55641_ACEOF
55642
55643fi
55644done
55645
55646    fi
55647  fi
55648
55649
55650
55651
55652
55653  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55654$as_echo_n "checking for fabsf declaration... " >&6; }
55655  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55656    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55657  $as_echo_n "(cached) " >&6
55658else
55659
55660
55661      ac_ext=cpp
55662ac_cpp='$CXXCPP $CPPFLAGS'
55663ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55664ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55665ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55666
55667      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55668/* end confdefs.h.  */
55669#include <math.h>
55670		      #ifdef HAVE_IEEEFP_H
55671		      #include <ieeefp.h>
55672		      #endif
55673
55674int
55675main ()
55676{
55677 fabsf(0);
55678  ;
55679  return 0;
55680}
55681_ACEOF
55682if ac_fn_cxx_try_compile "$LINENO"; then :
55683  glibcxx_cv_func_fabsf_use=yes
55684else
55685  glibcxx_cv_func_fabsf_use=no
55686fi
55687rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55688      ac_ext=c
55689ac_cpp='$CPP $CPPFLAGS'
55690ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55691ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55692ac_compiler_gnu=$ac_cv_c_compiler_gnu
55693
55694
55695fi
55696
55697  fi
55698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55699$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55700
55701  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55702    for ac_func in fabsf
55703do :
55704  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55705if test "x$ac_cv_func_fabsf" = x""yes; then :
55706  cat >>confdefs.h <<_ACEOF
55707#define HAVE_FABSF 1
55708_ACEOF
55709
55710fi
55711done
55712
55713  else
55714
55715  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55716$as_echo_n "checking for _fabsf declaration... " >&6; }
55717  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55718    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55719  $as_echo_n "(cached) " >&6
55720else
55721
55722
55723      ac_ext=cpp
55724ac_cpp='$CXXCPP $CPPFLAGS'
55725ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55726ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55727ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55728
55729      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55730/* end confdefs.h.  */
55731#include <math.h>
55732		      #ifdef HAVE_IEEEFP_H
55733		      #include <ieeefp.h>
55734		      #endif
55735
55736int
55737main ()
55738{
55739 _fabsf(0);
55740  ;
55741  return 0;
55742}
55743_ACEOF
55744if ac_fn_cxx_try_compile "$LINENO"; then :
55745  glibcxx_cv_func__fabsf_use=yes
55746else
55747  glibcxx_cv_func__fabsf_use=no
55748fi
55749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55750      ac_ext=c
55751ac_cpp='$CPP $CPPFLAGS'
55752ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55753ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55754ac_compiler_gnu=$ac_cv_c_compiler_gnu
55755
55756
55757fi
55758
55759  fi
55760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55761$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55762
55763    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55764      for ac_func in _fabsf
55765do :
55766  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55767if test "x$ac_cv_func__fabsf" = x""yes; then :
55768  cat >>confdefs.h <<_ACEOF
55769#define HAVE__FABSF 1
55770_ACEOF
55771
55772fi
55773done
55774
55775    fi
55776  fi
55777
55778
55779
55780
55781
55782  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55783$as_echo_n "checking for fmodf declaration... " >&6; }
55784  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55785    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55786  $as_echo_n "(cached) " >&6
55787else
55788
55789
55790      ac_ext=cpp
55791ac_cpp='$CXXCPP $CPPFLAGS'
55792ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55793ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55794ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55795
55796      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55797/* end confdefs.h.  */
55798#include <math.h>
55799int
55800main ()
55801{
55802 fmodf(0, 0);
55803  ;
55804  return 0;
55805}
55806_ACEOF
55807if ac_fn_cxx_try_compile "$LINENO"; then :
55808  glibcxx_cv_func_fmodf_use=yes
55809else
55810  glibcxx_cv_func_fmodf_use=no
55811fi
55812rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55813      ac_ext=c
55814ac_cpp='$CPP $CPPFLAGS'
55815ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55816ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55817ac_compiler_gnu=$ac_cv_c_compiler_gnu
55818
55819
55820fi
55821
55822  fi
55823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55824$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55825
55826  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55827    for ac_func in fmodf
55828do :
55829  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55830if test "x$ac_cv_func_fmodf" = x""yes; then :
55831  cat >>confdefs.h <<_ACEOF
55832#define HAVE_FMODF 1
55833_ACEOF
55834
55835fi
55836done
55837
55838  else
55839
55840  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55841$as_echo_n "checking for _fmodf declaration... " >&6; }
55842  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55843    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55844  $as_echo_n "(cached) " >&6
55845else
55846
55847
55848      ac_ext=cpp
55849ac_cpp='$CXXCPP $CPPFLAGS'
55850ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55851ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55852ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55853
55854      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55855/* end confdefs.h.  */
55856#include <math.h>
55857int
55858main ()
55859{
55860 _fmodf(0, 0);
55861  ;
55862  return 0;
55863}
55864_ACEOF
55865if ac_fn_cxx_try_compile "$LINENO"; then :
55866  glibcxx_cv_func__fmodf_use=yes
55867else
55868  glibcxx_cv_func__fmodf_use=no
55869fi
55870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55871      ac_ext=c
55872ac_cpp='$CPP $CPPFLAGS'
55873ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55874ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55875ac_compiler_gnu=$ac_cv_c_compiler_gnu
55876
55877
55878fi
55879
55880  fi
55881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55882$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55883
55884    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55885      for ac_func in _fmodf
55886do :
55887  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55888if test "x$ac_cv_func__fmodf" = x""yes; then :
55889  cat >>confdefs.h <<_ACEOF
55890#define HAVE__FMODF 1
55891_ACEOF
55892
55893fi
55894done
55895
55896    fi
55897  fi
55898
55899
55900
55901
55902
55903  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55904$as_echo_n "checking for frexpf declaration... " >&6; }
55905  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55906    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55907  $as_echo_n "(cached) " >&6
55908else
55909
55910
55911      ac_ext=cpp
55912ac_cpp='$CXXCPP $CPPFLAGS'
55913ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55914ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55915ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55916
55917      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55918/* end confdefs.h.  */
55919#include <math.h>
55920int
55921main ()
55922{
55923 frexpf(0, 0);
55924  ;
55925  return 0;
55926}
55927_ACEOF
55928if ac_fn_cxx_try_compile "$LINENO"; then :
55929  glibcxx_cv_func_frexpf_use=yes
55930else
55931  glibcxx_cv_func_frexpf_use=no
55932fi
55933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55934      ac_ext=c
55935ac_cpp='$CPP $CPPFLAGS'
55936ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55937ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55938ac_compiler_gnu=$ac_cv_c_compiler_gnu
55939
55940
55941fi
55942
55943  fi
55944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55945$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55946
55947  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55948    for ac_func in frexpf
55949do :
55950  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55951if test "x$ac_cv_func_frexpf" = x""yes; then :
55952  cat >>confdefs.h <<_ACEOF
55953#define HAVE_FREXPF 1
55954_ACEOF
55955
55956fi
55957done
55958
55959  else
55960
55961  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55962$as_echo_n "checking for _frexpf declaration... " >&6; }
55963  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55964    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55965  $as_echo_n "(cached) " >&6
55966else
55967
55968
55969      ac_ext=cpp
55970ac_cpp='$CXXCPP $CPPFLAGS'
55971ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55972ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55973ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55974
55975      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55976/* end confdefs.h.  */
55977#include <math.h>
55978int
55979main ()
55980{
55981 _frexpf(0, 0);
55982  ;
55983  return 0;
55984}
55985_ACEOF
55986if ac_fn_cxx_try_compile "$LINENO"; then :
55987  glibcxx_cv_func__frexpf_use=yes
55988else
55989  glibcxx_cv_func__frexpf_use=no
55990fi
55991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55992      ac_ext=c
55993ac_cpp='$CPP $CPPFLAGS'
55994ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55995ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55996ac_compiler_gnu=$ac_cv_c_compiler_gnu
55997
55998
55999fi
56000
56001  fi
56002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56003$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56004
56005    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56006      for ac_func in _frexpf
56007do :
56008  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56009if test "x$ac_cv_func__frexpf" = x""yes; then :
56010  cat >>confdefs.h <<_ACEOF
56011#define HAVE__FREXPF 1
56012_ACEOF
56013
56014fi
56015done
56016
56017    fi
56018  fi
56019
56020
56021
56022
56023
56024  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56025$as_echo_n "checking for hypotf declaration... " >&6; }
56026  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56027    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
56028  $as_echo_n "(cached) " >&6
56029else
56030
56031
56032      ac_ext=cpp
56033ac_cpp='$CXXCPP $CPPFLAGS'
56034ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56035ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56036ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56037
56038      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56039/* end confdefs.h.  */
56040#include <math.h>
56041int
56042main ()
56043{
56044 hypotf(0, 0);
56045  ;
56046  return 0;
56047}
56048_ACEOF
56049if ac_fn_cxx_try_compile "$LINENO"; then :
56050  glibcxx_cv_func_hypotf_use=yes
56051else
56052  glibcxx_cv_func_hypotf_use=no
56053fi
56054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56055      ac_ext=c
56056ac_cpp='$CPP $CPPFLAGS'
56057ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56058ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56059ac_compiler_gnu=$ac_cv_c_compiler_gnu
56060
56061
56062fi
56063
56064  fi
56065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56066$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56067
56068  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56069    for ac_func in hypotf
56070do :
56071  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56072if test "x$ac_cv_func_hypotf" = x""yes; then :
56073  cat >>confdefs.h <<_ACEOF
56074#define HAVE_HYPOTF 1
56075_ACEOF
56076
56077fi
56078done
56079
56080  else
56081
56082  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56083$as_echo_n "checking for _hypotf declaration... " >&6; }
56084  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56085    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
56086  $as_echo_n "(cached) " >&6
56087else
56088
56089
56090      ac_ext=cpp
56091ac_cpp='$CXXCPP $CPPFLAGS'
56092ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56093ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56094ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56095
56096      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56097/* end confdefs.h.  */
56098#include <math.h>
56099int
56100main ()
56101{
56102 _hypotf(0, 0);
56103  ;
56104  return 0;
56105}
56106_ACEOF
56107if ac_fn_cxx_try_compile "$LINENO"; then :
56108  glibcxx_cv_func__hypotf_use=yes
56109else
56110  glibcxx_cv_func__hypotf_use=no
56111fi
56112rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56113      ac_ext=c
56114ac_cpp='$CPP $CPPFLAGS'
56115ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56116ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56117ac_compiler_gnu=$ac_cv_c_compiler_gnu
56118
56119
56120fi
56121
56122  fi
56123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56124$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56125
56126    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56127      for ac_func in _hypotf
56128do :
56129  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56130if test "x$ac_cv_func__hypotf" = x""yes; then :
56131  cat >>confdefs.h <<_ACEOF
56132#define HAVE__HYPOTF 1
56133_ACEOF
56134
56135fi
56136done
56137
56138    fi
56139  fi
56140
56141
56142
56143
56144
56145  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56146$as_echo_n "checking for ldexpf declaration... " >&6; }
56147  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56148    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
56149  $as_echo_n "(cached) " >&6
56150else
56151
56152
56153      ac_ext=cpp
56154ac_cpp='$CXXCPP $CPPFLAGS'
56155ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56156ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56157ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56158
56159      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56160/* end confdefs.h.  */
56161#include <math.h>
56162int
56163main ()
56164{
56165 ldexpf(0, 0);
56166  ;
56167  return 0;
56168}
56169_ACEOF
56170if ac_fn_cxx_try_compile "$LINENO"; then :
56171  glibcxx_cv_func_ldexpf_use=yes
56172else
56173  glibcxx_cv_func_ldexpf_use=no
56174fi
56175rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56176      ac_ext=c
56177ac_cpp='$CPP $CPPFLAGS'
56178ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56179ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56180ac_compiler_gnu=$ac_cv_c_compiler_gnu
56181
56182
56183fi
56184
56185  fi
56186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56187$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56188
56189  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56190    for ac_func in ldexpf
56191do :
56192  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56193if test "x$ac_cv_func_ldexpf" = x""yes; then :
56194  cat >>confdefs.h <<_ACEOF
56195#define HAVE_LDEXPF 1
56196_ACEOF
56197
56198fi
56199done
56200
56201  else
56202
56203  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56204$as_echo_n "checking for _ldexpf declaration... " >&6; }
56205  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56206    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56207  $as_echo_n "(cached) " >&6
56208else
56209
56210
56211      ac_ext=cpp
56212ac_cpp='$CXXCPP $CPPFLAGS'
56213ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56214ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56215ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56216
56217      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56218/* end confdefs.h.  */
56219#include <math.h>
56220int
56221main ()
56222{
56223 _ldexpf(0, 0);
56224  ;
56225  return 0;
56226}
56227_ACEOF
56228if ac_fn_cxx_try_compile "$LINENO"; then :
56229  glibcxx_cv_func__ldexpf_use=yes
56230else
56231  glibcxx_cv_func__ldexpf_use=no
56232fi
56233rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56234      ac_ext=c
56235ac_cpp='$CPP $CPPFLAGS'
56236ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56237ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56238ac_compiler_gnu=$ac_cv_c_compiler_gnu
56239
56240
56241fi
56242
56243  fi
56244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56245$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56246
56247    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56248      for ac_func in _ldexpf
56249do :
56250  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56251if test "x$ac_cv_func__ldexpf" = x""yes; then :
56252  cat >>confdefs.h <<_ACEOF
56253#define HAVE__LDEXPF 1
56254_ACEOF
56255
56256fi
56257done
56258
56259    fi
56260  fi
56261
56262
56263
56264
56265
56266  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56267$as_echo_n "checking for logf declaration... " >&6; }
56268  if test x${glibcxx_cv_func_logf_use+set} != xset; then
56269    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56270  $as_echo_n "(cached) " >&6
56271else
56272
56273
56274      ac_ext=cpp
56275ac_cpp='$CXXCPP $CPPFLAGS'
56276ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56277ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56278ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56279
56280      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56281/* end confdefs.h.  */
56282#include <math.h>
56283		      #ifdef HAVE_IEEEFP_H
56284		      #include <ieeefp.h>
56285		      #endif
56286
56287int
56288main ()
56289{
56290 logf(0);
56291  ;
56292  return 0;
56293}
56294_ACEOF
56295if ac_fn_cxx_try_compile "$LINENO"; then :
56296  glibcxx_cv_func_logf_use=yes
56297else
56298  glibcxx_cv_func_logf_use=no
56299fi
56300rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56301      ac_ext=c
56302ac_cpp='$CPP $CPPFLAGS'
56303ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56304ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56305ac_compiler_gnu=$ac_cv_c_compiler_gnu
56306
56307
56308fi
56309
56310  fi
56311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56312$as_echo "$glibcxx_cv_func_logf_use" >&6; }
56313
56314  if test x$glibcxx_cv_func_logf_use = x"yes"; then
56315    for ac_func in logf
56316do :
56317  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56318if test "x$ac_cv_func_logf" = x""yes; then :
56319  cat >>confdefs.h <<_ACEOF
56320#define HAVE_LOGF 1
56321_ACEOF
56322
56323fi
56324done
56325
56326  else
56327
56328  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56329$as_echo_n "checking for _logf declaration... " >&6; }
56330  if test x${glibcxx_cv_func__logf_use+set} != xset; then
56331    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56332  $as_echo_n "(cached) " >&6
56333else
56334
56335
56336      ac_ext=cpp
56337ac_cpp='$CXXCPP $CPPFLAGS'
56338ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56339ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56340ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56341
56342      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56343/* end confdefs.h.  */
56344#include <math.h>
56345		      #ifdef HAVE_IEEEFP_H
56346		      #include <ieeefp.h>
56347		      #endif
56348
56349int
56350main ()
56351{
56352 _logf(0);
56353  ;
56354  return 0;
56355}
56356_ACEOF
56357if ac_fn_cxx_try_compile "$LINENO"; then :
56358  glibcxx_cv_func__logf_use=yes
56359else
56360  glibcxx_cv_func__logf_use=no
56361fi
56362rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56363      ac_ext=c
56364ac_cpp='$CPP $CPPFLAGS'
56365ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56366ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56367ac_compiler_gnu=$ac_cv_c_compiler_gnu
56368
56369
56370fi
56371
56372  fi
56373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56374$as_echo "$glibcxx_cv_func__logf_use" >&6; }
56375
56376    if test x$glibcxx_cv_func__logf_use = x"yes"; then
56377      for ac_func in _logf
56378do :
56379  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56380if test "x$ac_cv_func__logf" = x""yes; then :
56381  cat >>confdefs.h <<_ACEOF
56382#define HAVE__LOGF 1
56383_ACEOF
56384
56385fi
56386done
56387
56388    fi
56389  fi
56390
56391
56392
56393
56394
56395  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56396$as_echo_n "checking for log10f declaration... " >&6; }
56397  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56398    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56399  $as_echo_n "(cached) " >&6
56400else
56401
56402
56403      ac_ext=cpp
56404ac_cpp='$CXXCPP $CPPFLAGS'
56405ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56406ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56407ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56408
56409      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56410/* end confdefs.h.  */
56411#include <math.h>
56412		      #ifdef HAVE_IEEEFP_H
56413		      #include <ieeefp.h>
56414		      #endif
56415
56416int
56417main ()
56418{
56419 log10f(0);
56420  ;
56421  return 0;
56422}
56423_ACEOF
56424if ac_fn_cxx_try_compile "$LINENO"; then :
56425  glibcxx_cv_func_log10f_use=yes
56426else
56427  glibcxx_cv_func_log10f_use=no
56428fi
56429rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56430      ac_ext=c
56431ac_cpp='$CPP $CPPFLAGS'
56432ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56433ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56434ac_compiler_gnu=$ac_cv_c_compiler_gnu
56435
56436
56437fi
56438
56439  fi
56440  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56441$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56442
56443  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56444    for ac_func in log10f
56445do :
56446  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56447if test "x$ac_cv_func_log10f" = x""yes; then :
56448  cat >>confdefs.h <<_ACEOF
56449#define HAVE_LOG10F 1
56450_ACEOF
56451
56452fi
56453done
56454
56455  else
56456
56457  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56458$as_echo_n "checking for _log10f declaration... " >&6; }
56459  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56460    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56461  $as_echo_n "(cached) " >&6
56462else
56463
56464
56465      ac_ext=cpp
56466ac_cpp='$CXXCPP $CPPFLAGS'
56467ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56468ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56469ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56470
56471      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56472/* end confdefs.h.  */
56473#include <math.h>
56474		      #ifdef HAVE_IEEEFP_H
56475		      #include <ieeefp.h>
56476		      #endif
56477
56478int
56479main ()
56480{
56481 _log10f(0);
56482  ;
56483  return 0;
56484}
56485_ACEOF
56486if ac_fn_cxx_try_compile "$LINENO"; then :
56487  glibcxx_cv_func__log10f_use=yes
56488else
56489  glibcxx_cv_func__log10f_use=no
56490fi
56491rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56492      ac_ext=c
56493ac_cpp='$CPP $CPPFLAGS'
56494ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56495ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56496ac_compiler_gnu=$ac_cv_c_compiler_gnu
56497
56498
56499fi
56500
56501  fi
56502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56503$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56504
56505    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56506      for ac_func in _log10f
56507do :
56508  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56509if test "x$ac_cv_func__log10f" = x""yes; then :
56510  cat >>confdefs.h <<_ACEOF
56511#define HAVE__LOG10F 1
56512_ACEOF
56513
56514fi
56515done
56516
56517    fi
56518  fi
56519
56520
56521
56522
56523
56524  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56525$as_echo_n "checking for modff declaration... " >&6; }
56526  if test x${glibcxx_cv_func_modff_use+set} != xset; then
56527    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56528  $as_echo_n "(cached) " >&6
56529else
56530
56531
56532      ac_ext=cpp
56533ac_cpp='$CXXCPP $CPPFLAGS'
56534ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56535ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56536ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56537
56538      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56539/* end confdefs.h.  */
56540#include <math.h>
56541int
56542main ()
56543{
56544 modff(0, 0);
56545  ;
56546  return 0;
56547}
56548_ACEOF
56549if ac_fn_cxx_try_compile "$LINENO"; then :
56550  glibcxx_cv_func_modff_use=yes
56551else
56552  glibcxx_cv_func_modff_use=no
56553fi
56554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56555      ac_ext=c
56556ac_cpp='$CPP $CPPFLAGS'
56557ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56558ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56559ac_compiler_gnu=$ac_cv_c_compiler_gnu
56560
56561
56562fi
56563
56564  fi
56565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56566$as_echo "$glibcxx_cv_func_modff_use" >&6; }
56567
56568  if test x$glibcxx_cv_func_modff_use = x"yes"; then
56569    for ac_func in modff
56570do :
56571  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56572if test "x$ac_cv_func_modff" = x""yes; then :
56573  cat >>confdefs.h <<_ACEOF
56574#define HAVE_MODFF 1
56575_ACEOF
56576
56577fi
56578done
56579
56580  else
56581
56582  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56583$as_echo_n "checking for _modff declaration... " >&6; }
56584  if test x${glibcxx_cv_func__modff_use+set} != xset; then
56585    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56586  $as_echo_n "(cached) " >&6
56587else
56588
56589
56590      ac_ext=cpp
56591ac_cpp='$CXXCPP $CPPFLAGS'
56592ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56593ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56594ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56595
56596      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56597/* end confdefs.h.  */
56598#include <math.h>
56599int
56600main ()
56601{
56602 _modff(0, 0);
56603  ;
56604  return 0;
56605}
56606_ACEOF
56607if ac_fn_cxx_try_compile "$LINENO"; then :
56608  glibcxx_cv_func__modff_use=yes
56609else
56610  glibcxx_cv_func__modff_use=no
56611fi
56612rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56613      ac_ext=c
56614ac_cpp='$CPP $CPPFLAGS'
56615ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56616ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56617ac_compiler_gnu=$ac_cv_c_compiler_gnu
56618
56619
56620fi
56621
56622  fi
56623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56624$as_echo "$glibcxx_cv_func__modff_use" >&6; }
56625
56626    if test x$glibcxx_cv_func__modff_use = x"yes"; then
56627      for ac_func in _modff
56628do :
56629  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56630if test "x$ac_cv_func__modff" = x""yes; then :
56631  cat >>confdefs.h <<_ACEOF
56632#define HAVE__MODFF 1
56633_ACEOF
56634
56635fi
56636done
56637
56638    fi
56639  fi
56640
56641
56642
56643
56644
56645  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56646$as_echo_n "checking for modf declaration... " >&6; }
56647  if test x${glibcxx_cv_func_modf_use+set} != xset; then
56648    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56649  $as_echo_n "(cached) " >&6
56650else
56651
56652
56653      ac_ext=cpp
56654ac_cpp='$CXXCPP $CPPFLAGS'
56655ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56656ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56657ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56658
56659      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56660/* end confdefs.h.  */
56661#include <math.h>
56662int
56663main ()
56664{
56665 modf(0, 0);
56666  ;
56667  return 0;
56668}
56669_ACEOF
56670if ac_fn_cxx_try_compile "$LINENO"; then :
56671  glibcxx_cv_func_modf_use=yes
56672else
56673  glibcxx_cv_func_modf_use=no
56674fi
56675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56676      ac_ext=c
56677ac_cpp='$CPP $CPPFLAGS'
56678ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56679ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56680ac_compiler_gnu=$ac_cv_c_compiler_gnu
56681
56682
56683fi
56684
56685  fi
56686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56687$as_echo "$glibcxx_cv_func_modf_use" >&6; }
56688
56689  if test x$glibcxx_cv_func_modf_use = x"yes"; then
56690    for ac_func in modf
56691do :
56692  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56693if test "x$ac_cv_func_modf" = x""yes; then :
56694  cat >>confdefs.h <<_ACEOF
56695#define HAVE_MODF 1
56696_ACEOF
56697
56698fi
56699done
56700
56701  else
56702
56703  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56704$as_echo_n "checking for _modf declaration... " >&6; }
56705  if test x${glibcxx_cv_func__modf_use+set} != xset; then
56706    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56707  $as_echo_n "(cached) " >&6
56708else
56709
56710
56711      ac_ext=cpp
56712ac_cpp='$CXXCPP $CPPFLAGS'
56713ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56714ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56715ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56716
56717      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56718/* end confdefs.h.  */
56719#include <math.h>
56720int
56721main ()
56722{
56723 _modf(0, 0);
56724  ;
56725  return 0;
56726}
56727_ACEOF
56728if ac_fn_cxx_try_compile "$LINENO"; then :
56729  glibcxx_cv_func__modf_use=yes
56730else
56731  glibcxx_cv_func__modf_use=no
56732fi
56733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56734      ac_ext=c
56735ac_cpp='$CPP $CPPFLAGS'
56736ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56737ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56738ac_compiler_gnu=$ac_cv_c_compiler_gnu
56739
56740
56741fi
56742
56743  fi
56744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56745$as_echo "$glibcxx_cv_func__modf_use" >&6; }
56746
56747    if test x$glibcxx_cv_func__modf_use = x"yes"; then
56748      for ac_func in _modf
56749do :
56750  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56751if test "x$ac_cv_func__modf" = x""yes; then :
56752  cat >>confdefs.h <<_ACEOF
56753#define HAVE__MODF 1
56754_ACEOF
56755
56756fi
56757done
56758
56759    fi
56760  fi
56761
56762
56763
56764
56765
56766  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56767$as_echo_n "checking for powf declaration... " >&6; }
56768  if test x${glibcxx_cv_func_powf_use+set} != xset; then
56769    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56770  $as_echo_n "(cached) " >&6
56771else
56772
56773
56774      ac_ext=cpp
56775ac_cpp='$CXXCPP $CPPFLAGS'
56776ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56777ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56778ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56779
56780      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56781/* end confdefs.h.  */
56782#include <math.h>
56783int
56784main ()
56785{
56786 powf(0, 0);
56787  ;
56788  return 0;
56789}
56790_ACEOF
56791if ac_fn_cxx_try_compile "$LINENO"; then :
56792  glibcxx_cv_func_powf_use=yes
56793else
56794  glibcxx_cv_func_powf_use=no
56795fi
56796rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56797      ac_ext=c
56798ac_cpp='$CPP $CPPFLAGS'
56799ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56800ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56801ac_compiler_gnu=$ac_cv_c_compiler_gnu
56802
56803
56804fi
56805
56806  fi
56807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56808$as_echo "$glibcxx_cv_func_powf_use" >&6; }
56809
56810  if test x$glibcxx_cv_func_powf_use = x"yes"; then
56811    for ac_func in powf
56812do :
56813  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56814if test "x$ac_cv_func_powf" = x""yes; then :
56815  cat >>confdefs.h <<_ACEOF
56816#define HAVE_POWF 1
56817_ACEOF
56818
56819fi
56820done
56821
56822  else
56823
56824  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56825$as_echo_n "checking for _powf declaration... " >&6; }
56826  if test x${glibcxx_cv_func__powf_use+set} != xset; then
56827    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56828  $as_echo_n "(cached) " >&6
56829else
56830
56831
56832      ac_ext=cpp
56833ac_cpp='$CXXCPP $CPPFLAGS'
56834ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56835ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56836ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56837
56838      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56839/* end confdefs.h.  */
56840#include <math.h>
56841int
56842main ()
56843{
56844 _powf(0, 0);
56845  ;
56846  return 0;
56847}
56848_ACEOF
56849if ac_fn_cxx_try_compile "$LINENO"; then :
56850  glibcxx_cv_func__powf_use=yes
56851else
56852  glibcxx_cv_func__powf_use=no
56853fi
56854rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56855      ac_ext=c
56856ac_cpp='$CPP $CPPFLAGS'
56857ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56858ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56859ac_compiler_gnu=$ac_cv_c_compiler_gnu
56860
56861
56862fi
56863
56864  fi
56865  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56866$as_echo "$glibcxx_cv_func__powf_use" >&6; }
56867
56868    if test x$glibcxx_cv_func__powf_use = x"yes"; then
56869      for ac_func in _powf
56870do :
56871  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56872if test "x$ac_cv_func__powf" = x""yes; then :
56873  cat >>confdefs.h <<_ACEOF
56874#define HAVE__POWF 1
56875_ACEOF
56876
56877fi
56878done
56879
56880    fi
56881  fi
56882
56883
56884
56885
56886
56887  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56888$as_echo_n "checking for sqrtf declaration... " >&6; }
56889  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56890    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56891  $as_echo_n "(cached) " >&6
56892else
56893
56894
56895      ac_ext=cpp
56896ac_cpp='$CXXCPP $CPPFLAGS'
56897ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56898ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56899ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56900
56901      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56902/* end confdefs.h.  */
56903#include <math.h>
56904		      #ifdef HAVE_IEEEFP_H
56905		      #include <ieeefp.h>
56906		      #endif
56907
56908int
56909main ()
56910{
56911 sqrtf(0);
56912  ;
56913  return 0;
56914}
56915_ACEOF
56916if ac_fn_cxx_try_compile "$LINENO"; then :
56917  glibcxx_cv_func_sqrtf_use=yes
56918else
56919  glibcxx_cv_func_sqrtf_use=no
56920fi
56921rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56922      ac_ext=c
56923ac_cpp='$CPP $CPPFLAGS'
56924ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56925ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56926ac_compiler_gnu=$ac_cv_c_compiler_gnu
56927
56928
56929fi
56930
56931  fi
56932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56933$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56934
56935  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56936    for ac_func in sqrtf
56937do :
56938  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56939if test "x$ac_cv_func_sqrtf" = x""yes; then :
56940  cat >>confdefs.h <<_ACEOF
56941#define HAVE_SQRTF 1
56942_ACEOF
56943
56944fi
56945done
56946
56947  else
56948
56949  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56950$as_echo_n "checking for _sqrtf declaration... " >&6; }
56951  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56952    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56953  $as_echo_n "(cached) " >&6
56954else
56955
56956
56957      ac_ext=cpp
56958ac_cpp='$CXXCPP $CPPFLAGS'
56959ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56960ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56961ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56962
56963      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56964/* end confdefs.h.  */
56965#include <math.h>
56966		      #ifdef HAVE_IEEEFP_H
56967		      #include <ieeefp.h>
56968		      #endif
56969
56970int
56971main ()
56972{
56973 _sqrtf(0);
56974  ;
56975  return 0;
56976}
56977_ACEOF
56978if ac_fn_cxx_try_compile "$LINENO"; then :
56979  glibcxx_cv_func__sqrtf_use=yes
56980else
56981  glibcxx_cv_func__sqrtf_use=no
56982fi
56983rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56984      ac_ext=c
56985ac_cpp='$CPP $CPPFLAGS'
56986ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56987ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56988ac_compiler_gnu=$ac_cv_c_compiler_gnu
56989
56990
56991fi
56992
56993  fi
56994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
56995$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56996
56997    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56998      for ac_func in _sqrtf
56999do :
57000  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57001if test "x$ac_cv_func__sqrtf" = x""yes; then :
57002  cat >>confdefs.h <<_ACEOF
57003#define HAVE__SQRTF 1
57004_ACEOF
57005
57006fi
57007done
57008
57009    fi
57010  fi
57011
57012
57013
57014
57015
57016  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57017$as_echo_n "checking for sincosf declaration... " >&6; }
57018  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57019    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
57020  $as_echo_n "(cached) " >&6
57021else
57022
57023
57024      ac_ext=cpp
57025ac_cpp='$CXXCPP $CPPFLAGS'
57026ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57027ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57028ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57029
57030      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57031/* end confdefs.h.  */
57032#include <math.h>
57033int
57034main ()
57035{
57036 sincosf(0, 0, 0);
57037  ;
57038  return 0;
57039}
57040_ACEOF
57041if ac_fn_cxx_try_compile "$LINENO"; then :
57042  glibcxx_cv_func_sincosf_use=yes
57043else
57044  glibcxx_cv_func_sincosf_use=no
57045fi
57046rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57047      ac_ext=c
57048ac_cpp='$CPP $CPPFLAGS'
57049ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57050ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57051ac_compiler_gnu=$ac_cv_c_compiler_gnu
57052
57053
57054fi
57055
57056  fi
57057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57058$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57059
57060  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57061    for ac_func in sincosf
57062do :
57063  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57064if test "x$ac_cv_func_sincosf" = x""yes; then :
57065  cat >>confdefs.h <<_ACEOF
57066#define HAVE_SINCOSF 1
57067_ACEOF
57068
57069fi
57070done
57071
57072  else
57073
57074  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57075$as_echo_n "checking for _sincosf declaration... " >&6; }
57076  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57077    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
57078  $as_echo_n "(cached) " >&6
57079else
57080
57081
57082      ac_ext=cpp
57083ac_cpp='$CXXCPP $CPPFLAGS'
57084ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57085ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57086ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57087
57088      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57089/* end confdefs.h.  */
57090#include <math.h>
57091int
57092main ()
57093{
57094 _sincosf(0, 0, 0);
57095  ;
57096  return 0;
57097}
57098_ACEOF
57099if ac_fn_cxx_try_compile "$LINENO"; then :
57100  glibcxx_cv_func__sincosf_use=yes
57101else
57102  glibcxx_cv_func__sincosf_use=no
57103fi
57104rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57105      ac_ext=c
57106ac_cpp='$CPP $CPPFLAGS'
57107ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57108ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57109ac_compiler_gnu=$ac_cv_c_compiler_gnu
57110
57111
57112fi
57113
57114  fi
57115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57116$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57117
57118    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57119      for ac_func in _sincosf
57120do :
57121  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57122if test "x$ac_cv_func__sincosf" = x""yes; then :
57123  cat >>confdefs.h <<_ACEOF
57124#define HAVE__SINCOSF 1
57125_ACEOF
57126
57127fi
57128done
57129
57130    fi
57131  fi
57132
57133
57134
57135
57136
57137  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57138$as_echo_n "checking for finitef declaration... " >&6; }
57139  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57140    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
57141  $as_echo_n "(cached) " >&6
57142else
57143
57144
57145      ac_ext=cpp
57146ac_cpp='$CXXCPP $CPPFLAGS'
57147ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57148ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57149ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57150
57151      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57152/* end confdefs.h.  */
57153#include <math.h>
57154		      #ifdef HAVE_IEEEFP_H
57155		      #include <ieeefp.h>
57156		      #endif
57157
57158int
57159main ()
57160{
57161 finitef(0);
57162  ;
57163  return 0;
57164}
57165_ACEOF
57166if ac_fn_cxx_try_compile "$LINENO"; then :
57167  glibcxx_cv_func_finitef_use=yes
57168else
57169  glibcxx_cv_func_finitef_use=no
57170fi
57171rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57172      ac_ext=c
57173ac_cpp='$CPP $CPPFLAGS'
57174ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57175ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57176ac_compiler_gnu=$ac_cv_c_compiler_gnu
57177
57178
57179fi
57180
57181  fi
57182  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57183$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57184
57185  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57186    for ac_func in finitef
57187do :
57188  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57189if test "x$ac_cv_func_finitef" = x""yes; then :
57190  cat >>confdefs.h <<_ACEOF
57191#define HAVE_FINITEF 1
57192_ACEOF
57193
57194fi
57195done
57196
57197  else
57198
57199  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57200$as_echo_n "checking for _finitef declaration... " >&6; }
57201  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57202    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57203  $as_echo_n "(cached) " >&6
57204else
57205
57206
57207      ac_ext=cpp
57208ac_cpp='$CXXCPP $CPPFLAGS'
57209ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57210ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57211ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57212
57213      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57214/* end confdefs.h.  */
57215#include <math.h>
57216		      #ifdef HAVE_IEEEFP_H
57217		      #include <ieeefp.h>
57218		      #endif
57219
57220int
57221main ()
57222{
57223 _finitef(0);
57224  ;
57225  return 0;
57226}
57227_ACEOF
57228if ac_fn_cxx_try_compile "$LINENO"; then :
57229  glibcxx_cv_func__finitef_use=yes
57230else
57231  glibcxx_cv_func__finitef_use=no
57232fi
57233rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57234      ac_ext=c
57235ac_cpp='$CPP $CPPFLAGS'
57236ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57237ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57238ac_compiler_gnu=$ac_cv_c_compiler_gnu
57239
57240
57241fi
57242
57243  fi
57244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57245$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57246
57247    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57248      for ac_func in _finitef
57249do :
57250  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57251if test "x$ac_cv_func__finitef" = x""yes; then :
57252  cat >>confdefs.h <<_ACEOF
57253#define HAVE__FINITEF 1
57254_ACEOF
57255
57256fi
57257done
57258
57259    fi
57260  fi
57261
57262
57263
57264
57265
57266    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57267$as_echo_n "checking for long double trig functions... " >&6; }
57268  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57269  $as_echo_n "(cached) " >&6
57270else
57271
57272
57273    ac_ext=cpp
57274ac_cpp='$CXXCPP $CPPFLAGS'
57275ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57276ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57277ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57278
57279    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57280/* end confdefs.h.  */
57281#include <math.h>
57282int
57283main ()
57284{
57285acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57286  ;
57287  return 0;
57288}
57289_ACEOF
57290if ac_fn_cxx_try_compile "$LINENO"; then :
57291  glibcxx_cv_func_long_double_trig_use=yes
57292else
57293  glibcxx_cv_func_long_double_trig_use=no
57294fi
57295rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57296    ac_ext=c
57297ac_cpp='$CPP $CPPFLAGS'
57298ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57299ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57300ac_compiler_gnu=$ac_cv_c_compiler_gnu
57301
57302fi
57303
57304  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57305$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57306  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57307    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57308do :
57309  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57310ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57311eval as_val=\$$as_ac_var
57312   if test "x$as_val" = x""yes; then :
57313  cat >>confdefs.h <<_ACEOF
57314#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57315_ACEOF
57316
57317fi
57318done
57319
57320  else
57321    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57322$as_echo_n "checking for _long double trig functions... " >&6; }
57323    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57324  $as_echo_n "(cached) " >&6
57325else
57326
57327
57328      ac_ext=cpp
57329ac_cpp='$CXXCPP $CPPFLAGS'
57330ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57331ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57332ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57333
57334      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57335/* end confdefs.h.  */
57336#include <math.h>
57337int
57338main ()
57339{
57340_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57341  ;
57342  return 0;
57343}
57344_ACEOF
57345if ac_fn_cxx_try_compile "$LINENO"; then :
57346  glibcxx_cv_func__long_double_trig_use=yes
57347else
57348  glibcxx_cv_func__long_double_trig_use=no
57349fi
57350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57351      ac_ext=c
57352ac_cpp='$CPP $CPPFLAGS'
57353ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57354ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57355ac_compiler_gnu=$ac_cv_c_compiler_gnu
57356
57357fi
57358
57359    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57360$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57361    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57362      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57363do :
57364  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57365ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57366eval as_val=\$$as_ac_var
57367   if test "x$as_val" = x""yes; then :
57368  cat >>confdefs.h <<_ACEOF
57369#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57370_ACEOF
57371
57372fi
57373done
57374
57375    fi
57376  fi
57377
57378
57379
57380
57381
57382    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57383$as_echo_n "checking for long double round functions... " >&6; }
57384  if test "${glibcxx_cv_func_long_double_round_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>
57398int
57399main ()
57400{
57401ceill (0); floorl (0);
57402  ;
57403  return 0;
57404}
57405_ACEOF
57406if ac_fn_cxx_try_compile "$LINENO"; then :
57407  glibcxx_cv_func_long_double_round_use=yes
57408else
57409  glibcxx_cv_func_long_double_round_use=no
57410fi
57411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57412    ac_ext=c
57413ac_cpp='$CPP $CPPFLAGS'
57414ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57415ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57416ac_compiler_gnu=$ac_cv_c_compiler_gnu
57417
57418fi
57419
57420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57421$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57422  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57423    for ac_func in ceill floorl
57424do :
57425  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57426ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57427eval as_val=\$$as_ac_var
57428   if test "x$as_val" = x""yes; then :
57429  cat >>confdefs.h <<_ACEOF
57430#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57431_ACEOF
57432
57433fi
57434done
57435
57436  else
57437    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57438$as_echo_n "checking for _long double round functions... " >&6; }
57439    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57440  $as_echo_n "(cached) " >&6
57441else
57442
57443
57444      ac_ext=cpp
57445ac_cpp='$CXXCPP $CPPFLAGS'
57446ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57447ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57448ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57449
57450      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57451/* end confdefs.h.  */
57452#include <math.h>
57453int
57454main ()
57455{
57456_ceill (0); _floorl (0);
57457  ;
57458  return 0;
57459}
57460_ACEOF
57461if ac_fn_cxx_try_compile "$LINENO"; then :
57462  glibcxx_cv_func__long_double_round_use=yes
57463else
57464  glibcxx_cv_func__long_double_round_use=no
57465fi
57466rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57467      ac_ext=c
57468ac_cpp='$CPP $CPPFLAGS'
57469ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57470ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57471ac_compiler_gnu=$ac_cv_c_compiler_gnu
57472
57473fi
57474
57475    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57476$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57477    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57478      for ac_func in _ceill _floorl
57479do :
57480  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57481ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57482eval as_val=\$$as_ac_var
57483   if test "x$as_val" = x""yes; then :
57484  cat >>confdefs.h <<_ACEOF
57485#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57486_ACEOF
57487
57488fi
57489done
57490
57491    fi
57492  fi
57493
57494
57495
57496
57497
57498
57499  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57500$as_echo_n "checking for isnanl declaration... " >&6; }
57501  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57502    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57503  $as_echo_n "(cached) " >&6
57504else
57505
57506
57507      ac_ext=cpp
57508ac_cpp='$CXXCPP $CPPFLAGS'
57509ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57510ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57511ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57512
57513      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57514/* end confdefs.h.  */
57515#include <math.h>
57516		      #ifdef HAVE_IEEEFP_H
57517		      #include <ieeefp.h>
57518		      #endif
57519
57520int
57521main ()
57522{
57523 isnanl(0);
57524  ;
57525  return 0;
57526}
57527_ACEOF
57528if ac_fn_cxx_try_compile "$LINENO"; then :
57529  glibcxx_cv_func_isnanl_use=yes
57530else
57531  glibcxx_cv_func_isnanl_use=no
57532fi
57533rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57534      ac_ext=c
57535ac_cpp='$CPP $CPPFLAGS'
57536ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57537ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57538ac_compiler_gnu=$ac_cv_c_compiler_gnu
57539
57540
57541fi
57542
57543  fi
57544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57545$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57546
57547  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57548    for ac_func in isnanl
57549do :
57550  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57551if test "x$ac_cv_func_isnanl" = x""yes; then :
57552  cat >>confdefs.h <<_ACEOF
57553#define HAVE_ISNANL 1
57554_ACEOF
57555
57556fi
57557done
57558
57559  else
57560
57561  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57562$as_echo_n "checking for _isnanl declaration... " >&6; }
57563  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57564    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57565  $as_echo_n "(cached) " >&6
57566else
57567
57568
57569      ac_ext=cpp
57570ac_cpp='$CXXCPP $CPPFLAGS'
57571ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57572ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57573ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57574
57575      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57576/* end confdefs.h.  */
57577#include <math.h>
57578		      #ifdef HAVE_IEEEFP_H
57579		      #include <ieeefp.h>
57580		      #endif
57581
57582int
57583main ()
57584{
57585 _isnanl(0);
57586  ;
57587  return 0;
57588}
57589_ACEOF
57590if ac_fn_cxx_try_compile "$LINENO"; then :
57591  glibcxx_cv_func__isnanl_use=yes
57592else
57593  glibcxx_cv_func__isnanl_use=no
57594fi
57595rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57596      ac_ext=c
57597ac_cpp='$CPP $CPPFLAGS'
57598ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57599ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57600ac_compiler_gnu=$ac_cv_c_compiler_gnu
57601
57602
57603fi
57604
57605  fi
57606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57607$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57608
57609    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57610      for ac_func in _isnanl
57611do :
57612  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57613if test "x$ac_cv_func__isnanl" = x""yes; then :
57614  cat >>confdefs.h <<_ACEOF
57615#define HAVE__ISNANL 1
57616_ACEOF
57617
57618fi
57619done
57620
57621    fi
57622  fi
57623
57624
57625
57626
57627
57628  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57629$as_echo_n "checking for isinfl declaration... " >&6; }
57630  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57631    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57632  $as_echo_n "(cached) " >&6
57633else
57634
57635
57636      ac_ext=cpp
57637ac_cpp='$CXXCPP $CPPFLAGS'
57638ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57639ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57640ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57641
57642      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57643/* end confdefs.h.  */
57644#include <math.h>
57645		      #ifdef HAVE_IEEEFP_H
57646		      #include <ieeefp.h>
57647		      #endif
57648
57649int
57650main ()
57651{
57652 isinfl(0);
57653  ;
57654  return 0;
57655}
57656_ACEOF
57657if ac_fn_cxx_try_compile "$LINENO"; then :
57658  glibcxx_cv_func_isinfl_use=yes
57659else
57660  glibcxx_cv_func_isinfl_use=no
57661fi
57662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57663      ac_ext=c
57664ac_cpp='$CPP $CPPFLAGS'
57665ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57666ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57667ac_compiler_gnu=$ac_cv_c_compiler_gnu
57668
57669
57670fi
57671
57672  fi
57673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57674$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57675
57676  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57677    for ac_func in isinfl
57678do :
57679  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57680if test "x$ac_cv_func_isinfl" = x""yes; then :
57681  cat >>confdefs.h <<_ACEOF
57682#define HAVE_ISINFL 1
57683_ACEOF
57684
57685fi
57686done
57687
57688  else
57689
57690  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57691$as_echo_n "checking for _isinfl declaration... " >&6; }
57692  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57693    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57694  $as_echo_n "(cached) " >&6
57695else
57696
57697
57698      ac_ext=cpp
57699ac_cpp='$CXXCPP $CPPFLAGS'
57700ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57701ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57702ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57703
57704      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57705/* end confdefs.h.  */
57706#include <math.h>
57707		      #ifdef HAVE_IEEEFP_H
57708		      #include <ieeefp.h>
57709		      #endif
57710
57711int
57712main ()
57713{
57714 _isinfl(0);
57715  ;
57716  return 0;
57717}
57718_ACEOF
57719if ac_fn_cxx_try_compile "$LINENO"; then :
57720  glibcxx_cv_func__isinfl_use=yes
57721else
57722  glibcxx_cv_func__isinfl_use=no
57723fi
57724rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57725      ac_ext=c
57726ac_cpp='$CPP $CPPFLAGS'
57727ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57728ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57729ac_compiler_gnu=$ac_cv_c_compiler_gnu
57730
57731
57732fi
57733
57734  fi
57735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57736$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57737
57738    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57739      for ac_func in _isinfl
57740do :
57741  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57742if test "x$ac_cv_func__isinfl" = x""yes; then :
57743  cat >>confdefs.h <<_ACEOF
57744#define HAVE__ISINFL 1
57745_ACEOF
57746
57747fi
57748done
57749
57750    fi
57751  fi
57752
57753
57754
57755
57756
57757  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57758$as_echo_n "checking for atan2l declaration... " >&6; }
57759  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57760    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57761  $as_echo_n "(cached) " >&6
57762else
57763
57764
57765      ac_ext=cpp
57766ac_cpp='$CXXCPP $CPPFLAGS'
57767ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57768ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57769ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57770
57771      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57772/* end confdefs.h.  */
57773#include <math.h>
57774int
57775main ()
57776{
57777 atan2l(0, 0);
57778  ;
57779  return 0;
57780}
57781_ACEOF
57782if ac_fn_cxx_try_compile "$LINENO"; then :
57783  glibcxx_cv_func_atan2l_use=yes
57784else
57785  glibcxx_cv_func_atan2l_use=no
57786fi
57787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57788      ac_ext=c
57789ac_cpp='$CPP $CPPFLAGS'
57790ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57791ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57792ac_compiler_gnu=$ac_cv_c_compiler_gnu
57793
57794
57795fi
57796
57797  fi
57798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57799$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57800
57801  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57802    for ac_func in atan2l
57803do :
57804  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57805if test "x$ac_cv_func_atan2l" = x""yes; then :
57806  cat >>confdefs.h <<_ACEOF
57807#define HAVE_ATAN2L 1
57808_ACEOF
57809
57810fi
57811done
57812
57813  else
57814
57815  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57816$as_echo_n "checking for _atan2l declaration... " >&6; }
57817  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57818    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57819  $as_echo_n "(cached) " >&6
57820else
57821
57822
57823      ac_ext=cpp
57824ac_cpp='$CXXCPP $CPPFLAGS'
57825ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57826ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57827ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57828
57829      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57830/* end confdefs.h.  */
57831#include <math.h>
57832int
57833main ()
57834{
57835 _atan2l(0, 0);
57836  ;
57837  return 0;
57838}
57839_ACEOF
57840if ac_fn_cxx_try_compile "$LINENO"; then :
57841  glibcxx_cv_func__atan2l_use=yes
57842else
57843  glibcxx_cv_func__atan2l_use=no
57844fi
57845rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57846      ac_ext=c
57847ac_cpp='$CPP $CPPFLAGS'
57848ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57849ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57850ac_compiler_gnu=$ac_cv_c_compiler_gnu
57851
57852
57853fi
57854
57855  fi
57856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57857$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57858
57859    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57860      for ac_func in _atan2l
57861do :
57862  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57863if test "x$ac_cv_func__atan2l" = x""yes; then :
57864  cat >>confdefs.h <<_ACEOF
57865#define HAVE__ATAN2L 1
57866_ACEOF
57867
57868fi
57869done
57870
57871    fi
57872  fi
57873
57874
57875
57876
57877
57878  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57879$as_echo_n "checking for expl declaration... " >&6; }
57880  if test x${glibcxx_cv_func_expl_use+set} != xset; then
57881    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57882  $as_echo_n "(cached) " >&6
57883else
57884
57885
57886      ac_ext=cpp
57887ac_cpp='$CXXCPP $CPPFLAGS'
57888ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57889ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57890ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57891
57892      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57893/* end confdefs.h.  */
57894#include <math.h>
57895		      #ifdef HAVE_IEEEFP_H
57896		      #include <ieeefp.h>
57897		      #endif
57898
57899int
57900main ()
57901{
57902 expl(0);
57903  ;
57904  return 0;
57905}
57906_ACEOF
57907if ac_fn_cxx_try_compile "$LINENO"; then :
57908  glibcxx_cv_func_expl_use=yes
57909else
57910  glibcxx_cv_func_expl_use=no
57911fi
57912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57913      ac_ext=c
57914ac_cpp='$CPP $CPPFLAGS'
57915ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57916ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57917ac_compiler_gnu=$ac_cv_c_compiler_gnu
57918
57919
57920fi
57921
57922  fi
57923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57924$as_echo "$glibcxx_cv_func_expl_use" >&6; }
57925
57926  if test x$glibcxx_cv_func_expl_use = x"yes"; then
57927    for ac_func in expl
57928do :
57929  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57930if test "x$ac_cv_func_expl" = x""yes; then :
57931  cat >>confdefs.h <<_ACEOF
57932#define HAVE_EXPL 1
57933_ACEOF
57934
57935fi
57936done
57937
57938  else
57939
57940  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57941$as_echo_n "checking for _expl declaration... " >&6; }
57942  if test x${glibcxx_cv_func__expl_use+set} != xset; then
57943    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57944  $as_echo_n "(cached) " >&6
57945else
57946
57947
57948      ac_ext=cpp
57949ac_cpp='$CXXCPP $CPPFLAGS'
57950ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57951ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57952ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57953
57954      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57955/* end confdefs.h.  */
57956#include <math.h>
57957		      #ifdef HAVE_IEEEFP_H
57958		      #include <ieeefp.h>
57959		      #endif
57960
57961int
57962main ()
57963{
57964 _expl(0);
57965  ;
57966  return 0;
57967}
57968_ACEOF
57969if ac_fn_cxx_try_compile "$LINENO"; then :
57970  glibcxx_cv_func__expl_use=yes
57971else
57972  glibcxx_cv_func__expl_use=no
57973fi
57974rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57975      ac_ext=c
57976ac_cpp='$CPP $CPPFLAGS'
57977ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57978ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57979ac_compiler_gnu=$ac_cv_c_compiler_gnu
57980
57981
57982fi
57983
57984  fi
57985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57986$as_echo "$glibcxx_cv_func__expl_use" >&6; }
57987
57988    if test x$glibcxx_cv_func__expl_use = x"yes"; then
57989      for ac_func in _expl
57990do :
57991  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57992if test "x$ac_cv_func__expl" = x""yes; then :
57993  cat >>confdefs.h <<_ACEOF
57994#define HAVE__EXPL 1
57995_ACEOF
57996
57997fi
57998done
57999
58000    fi
58001  fi
58002
58003
58004
58005
58006
58007  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58008$as_echo_n "checking for fabsl declaration... " >&6; }
58009  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58010    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
58011  $as_echo_n "(cached) " >&6
58012else
58013
58014
58015      ac_ext=cpp
58016ac_cpp='$CXXCPP $CPPFLAGS'
58017ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58018ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58019ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58020
58021      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58022/* end confdefs.h.  */
58023#include <math.h>
58024		      #ifdef HAVE_IEEEFP_H
58025		      #include <ieeefp.h>
58026		      #endif
58027
58028int
58029main ()
58030{
58031 fabsl(0);
58032  ;
58033  return 0;
58034}
58035_ACEOF
58036if ac_fn_cxx_try_compile "$LINENO"; then :
58037  glibcxx_cv_func_fabsl_use=yes
58038else
58039  glibcxx_cv_func_fabsl_use=no
58040fi
58041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58042      ac_ext=c
58043ac_cpp='$CPP $CPPFLAGS'
58044ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58045ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58046ac_compiler_gnu=$ac_cv_c_compiler_gnu
58047
58048
58049fi
58050
58051  fi
58052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58053$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58054
58055  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58056    for ac_func in fabsl
58057do :
58058  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58059if test "x$ac_cv_func_fabsl" = x""yes; then :
58060  cat >>confdefs.h <<_ACEOF
58061#define HAVE_FABSL 1
58062_ACEOF
58063
58064fi
58065done
58066
58067  else
58068
58069  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58070$as_echo_n "checking for _fabsl declaration... " >&6; }
58071  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58072    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
58073  $as_echo_n "(cached) " >&6
58074else
58075
58076
58077      ac_ext=cpp
58078ac_cpp='$CXXCPP $CPPFLAGS'
58079ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58080ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58081ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58082
58083      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58084/* end confdefs.h.  */
58085#include <math.h>
58086		      #ifdef HAVE_IEEEFP_H
58087		      #include <ieeefp.h>
58088		      #endif
58089
58090int
58091main ()
58092{
58093 _fabsl(0);
58094  ;
58095  return 0;
58096}
58097_ACEOF
58098if ac_fn_cxx_try_compile "$LINENO"; then :
58099  glibcxx_cv_func__fabsl_use=yes
58100else
58101  glibcxx_cv_func__fabsl_use=no
58102fi
58103rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58104      ac_ext=c
58105ac_cpp='$CPP $CPPFLAGS'
58106ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58107ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58108ac_compiler_gnu=$ac_cv_c_compiler_gnu
58109
58110
58111fi
58112
58113  fi
58114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58115$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58116
58117    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58118      for ac_func in _fabsl
58119do :
58120  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58121if test "x$ac_cv_func__fabsl" = x""yes; then :
58122  cat >>confdefs.h <<_ACEOF
58123#define HAVE__FABSL 1
58124_ACEOF
58125
58126fi
58127done
58128
58129    fi
58130  fi
58131
58132
58133
58134
58135
58136  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58137$as_echo_n "checking for fmodl declaration... " >&6; }
58138  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58139    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
58140  $as_echo_n "(cached) " >&6
58141else
58142
58143
58144      ac_ext=cpp
58145ac_cpp='$CXXCPP $CPPFLAGS'
58146ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58147ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58148ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58149
58150      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58151/* end confdefs.h.  */
58152#include <math.h>
58153int
58154main ()
58155{
58156 fmodl(0, 0);
58157  ;
58158  return 0;
58159}
58160_ACEOF
58161if ac_fn_cxx_try_compile "$LINENO"; then :
58162  glibcxx_cv_func_fmodl_use=yes
58163else
58164  glibcxx_cv_func_fmodl_use=no
58165fi
58166rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58167      ac_ext=c
58168ac_cpp='$CPP $CPPFLAGS'
58169ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58170ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58171ac_compiler_gnu=$ac_cv_c_compiler_gnu
58172
58173
58174fi
58175
58176  fi
58177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58178$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58179
58180  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58181    for ac_func in fmodl
58182do :
58183  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58184if test "x$ac_cv_func_fmodl" = x""yes; then :
58185  cat >>confdefs.h <<_ACEOF
58186#define HAVE_FMODL 1
58187_ACEOF
58188
58189fi
58190done
58191
58192  else
58193
58194  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58195$as_echo_n "checking for _fmodl declaration... " >&6; }
58196  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58197    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
58198  $as_echo_n "(cached) " >&6
58199else
58200
58201
58202      ac_ext=cpp
58203ac_cpp='$CXXCPP $CPPFLAGS'
58204ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58205ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58206ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58207
58208      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58209/* end confdefs.h.  */
58210#include <math.h>
58211int
58212main ()
58213{
58214 _fmodl(0, 0);
58215  ;
58216  return 0;
58217}
58218_ACEOF
58219if ac_fn_cxx_try_compile "$LINENO"; then :
58220  glibcxx_cv_func__fmodl_use=yes
58221else
58222  glibcxx_cv_func__fmodl_use=no
58223fi
58224rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58225      ac_ext=c
58226ac_cpp='$CPP $CPPFLAGS'
58227ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58228ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58229ac_compiler_gnu=$ac_cv_c_compiler_gnu
58230
58231
58232fi
58233
58234  fi
58235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58236$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58237
58238    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58239      for ac_func in _fmodl
58240do :
58241  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58242if test "x$ac_cv_func__fmodl" = x""yes; then :
58243  cat >>confdefs.h <<_ACEOF
58244#define HAVE__FMODL 1
58245_ACEOF
58246
58247fi
58248done
58249
58250    fi
58251  fi
58252
58253
58254
58255
58256
58257  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58258$as_echo_n "checking for frexpl declaration... " >&6; }
58259  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58260    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58261  $as_echo_n "(cached) " >&6
58262else
58263
58264
58265      ac_ext=cpp
58266ac_cpp='$CXXCPP $CPPFLAGS'
58267ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58268ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58269ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58270
58271      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58272/* end confdefs.h.  */
58273#include <math.h>
58274int
58275main ()
58276{
58277 frexpl(0, 0);
58278  ;
58279  return 0;
58280}
58281_ACEOF
58282if ac_fn_cxx_try_compile "$LINENO"; then :
58283  glibcxx_cv_func_frexpl_use=yes
58284else
58285  glibcxx_cv_func_frexpl_use=no
58286fi
58287rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58288      ac_ext=c
58289ac_cpp='$CPP $CPPFLAGS'
58290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58292ac_compiler_gnu=$ac_cv_c_compiler_gnu
58293
58294
58295fi
58296
58297  fi
58298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58299$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58300
58301  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58302    for ac_func in frexpl
58303do :
58304  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58305if test "x$ac_cv_func_frexpl" = x""yes; then :
58306  cat >>confdefs.h <<_ACEOF
58307#define HAVE_FREXPL 1
58308_ACEOF
58309
58310fi
58311done
58312
58313  else
58314
58315  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58316$as_echo_n "checking for _frexpl declaration... " >&6; }
58317  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58318    if test "${glibcxx_cv_func__frexpl_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 <math.h>
58332int
58333main ()
58334{
58335 _frexpl(0, 0);
58336  ;
58337  return 0;
58338}
58339_ACEOF
58340if ac_fn_cxx_try_compile "$LINENO"; then :
58341  glibcxx_cv_func__frexpl_use=yes
58342else
58343  glibcxx_cv_func__frexpl_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__frexpl_use" >&5
58357$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58358
58359    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58360      for ac_func in _frexpl
58361do :
58362  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58363if test "x$ac_cv_func__frexpl" = x""yes; then :
58364  cat >>confdefs.h <<_ACEOF
58365#define HAVE__FREXPL 1
58366_ACEOF
58367
58368fi
58369done
58370
58371    fi
58372  fi
58373
58374
58375
58376
58377
58378  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58379$as_echo_n "checking for hypotl declaration... " >&6; }
58380  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58381    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58382  $as_echo_n "(cached) " >&6
58383else
58384
58385
58386      ac_ext=cpp
58387ac_cpp='$CXXCPP $CPPFLAGS'
58388ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58389ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58390ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58391
58392      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58393/* end confdefs.h.  */
58394#include <math.h>
58395int
58396main ()
58397{
58398 hypotl(0, 0);
58399  ;
58400  return 0;
58401}
58402_ACEOF
58403if ac_fn_cxx_try_compile "$LINENO"; then :
58404  glibcxx_cv_func_hypotl_use=yes
58405else
58406  glibcxx_cv_func_hypotl_use=no
58407fi
58408rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58409      ac_ext=c
58410ac_cpp='$CPP $CPPFLAGS'
58411ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58412ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58413ac_compiler_gnu=$ac_cv_c_compiler_gnu
58414
58415
58416fi
58417
58418  fi
58419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58420$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58421
58422  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58423    for ac_func in hypotl
58424do :
58425  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58426if test "x$ac_cv_func_hypotl" = x""yes; then :
58427  cat >>confdefs.h <<_ACEOF
58428#define HAVE_HYPOTL 1
58429_ACEOF
58430
58431fi
58432done
58433
58434  else
58435
58436  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58437$as_echo_n "checking for _hypotl declaration... " >&6; }
58438  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58439    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58440  $as_echo_n "(cached) " >&6
58441else
58442
58443
58444      ac_ext=cpp
58445ac_cpp='$CXXCPP $CPPFLAGS'
58446ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58447ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58448ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58449
58450      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58451/* end confdefs.h.  */
58452#include <math.h>
58453int
58454main ()
58455{
58456 _hypotl(0, 0);
58457  ;
58458  return 0;
58459}
58460_ACEOF
58461if ac_fn_cxx_try_compile "$LINENO"; then :
58462  glibcxx_cv_func__hypotl_use=yes
58463else
58464  glibcxx_cv_func__hypotl_use=no
58465fi
58466rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58467      ac_ext=c
58468ac_cpp='$CPP $CPPFLAGS'
58469ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58470ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58471ac_compiler_gnu=$ac_cv_c_compiler_gnu
58472
58473
58474fi
58475
58476  fi
58477  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58478$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58479
58480    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58481      for ac_func in _hypotl
58482do :
58483  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58484if test "x$ac_cv_func__hypotl" = x""yes; then :
58485  cat >>confdefs.h <<_ACEOF
58486#define HAVE__HYPOTL 1
58487_ACEOF
58488
58489fi
58490done
58491
58492    fi
58493  fi
58494
58495
58496
58497
58498
58499  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58500$as_echo_n "checking for ldexpl declaration... " >&6; }
58501  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58502    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58503  $as_echo_n "(cached) " >&6
58504else
58505
58506
58507      ac_ext=cpp
58508ac_cpp='$CXXCPP $CPPFLAGS'
58509ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58510ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58511ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58512
58513      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58514/* end confdefs.h.  */
58515#include <math.h>
58516int
58517main ()
58518{
58519 ldexpl(0, 0);
58520  ;
58521  return 0;
58522}
58523_ACEOF
58524if ac_fn_cxx_try_compile "$LINENO"; then :
58525  glibcxx_cv_func_ldexpl_use=yes
58526else
58527  glibcxx_cv_func_ldexpl_use=no
58528fi
58529rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58530      ac_ext=c
58531ac_cpp='$CPP $CPPFLAGS'
58532ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58533ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58534ac_compiler_gnu=$ac_cv_c_compiler_gnu
58535
58536
58537fi
58538
58539  fi
58540  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58541$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58542
58543  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58544    for ac_func in ldexpl
58545do :
58546  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58547if test "x$ac_cv_func_ldexpl" = x""yes; then :
58548  cat >>confdefs.h <<_ACEOF
58549#define HAVE_LDEXPL 1
58550_ACEOF
58551
58552fi
58553done
58554
58555  else
58556
58557  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58558$as_echo_n "checking for _ldexpl declaration... " >&6; }
58559  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58560    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58561  $as_echo_n "(cached) " >&6
58562else
58563
58564
58565      ac_ext=cpp
58566ac_cpp='$CXXCPP $CPPFLAGS'
58567ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58568ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58569ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58570
58571      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58572/* end confdefs.h.  */
58573#include <math.h>
58574int
58575main ()
58576{
58577 _ldexpl(0, 0);
58578  ;
58579  return 0;
58580}
58581_ACEOF
58582if ac_fn_cxx_try_compile "$LINENO"; then :
58583  glibcxx_cv_func__ldexpl_use=yes
58584else
58585  glibcxx_cv_func__ldexpl_use=no
58586fi
58587rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58588      ac_ext=c
58589ac_cpp='$CPP $CPPFLAGS'
58590ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58591ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58592ac_compiler_gnu=$ac_cv_c_compiler_gnu
58593
58594
58595fi
58596
58597  fi
58598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58599$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58600
58601    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58602      for ac_func in _ldexpl
58603do :
58604  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58605if test "x$ac_cv_func__ldexpl" = x""yes; then :
58606  cat >>confdefs.h <<_ACEOF
58607#define HAVE__LDEXPL 1
58608_ACEOF
58609
58610fi
58611done
58612
58613    fi
58614  fi
58615
58616
58617
58618
58619
58620  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58621$as_echo_n "checking for logl declaration... " >&6; }
58622  if test x${glibcxx_cv_func_logl_use+set} != xset; then
58623    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58624  $as_echo_n "(cached) " >&6
58625else
58626
58627
58628      ac_ext=cpp
58629ac_cpp='$CXXCPP $CPPFLAGS'
58630ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58631ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58632ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58633
58634      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58635/* end confdefs.h.  */
58636#include <math.h>
58637		      #ifdef HAVE_IEEEFP_H
58638		      #include <ieeefp.h>
58639		      #endif
58640
58641int
58642main ()
58643{
58644 logl(0);
58645  ;
58646  return 0;
58647}
58648_ACEOF
58649if ac_fn_cxx_try_compile "$LINENO"; then :
58650  glibcxx_cv_func_logl_use=yes
58651else
58652  glibcxx_cv_func_logl_use=no
58653fi
58654rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58655      ac_ext=c
58656ac_cpp='$CPP $CPPFLAGS'
58657ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58658ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58659ac_compiler_gnu=$ac_cv_c_compiler_gnu
58660
58661
58662fi
58663
58664  fi
58665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58666$as_echo "$glibcxx_cv_func_logl_use" >&6; }
58667
58668  if test x$glibcxx_cv_func_logl_use = x"yes"; then
58669    for ac_func in logl
58670do :
58671  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58672if test "x$ac_cv_func_logl" = x""yes; then :
58673  cat >>confdefs.h <<_ACEOF
58674#define HAVE_LOGL 1
58675_ACEOF
58676
58677fi
58678done
58679
58680  else
58681
58682  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58683$as_echo_n "checking for _logl declaration... " >&6; }
58684  if test x${glibcxx_cv_func__logl_use+set} != xset; then
58685    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58686  $as_echo_n "(cached) " >&6
58687else
58688
58689
58690      ac_ext=cpp
58691ac_cpp='$CXXCPP $CPPFLAGS'
58692ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58693ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58694ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58695
58696      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58697/* end confdefs.h.  */
58698#include <math.h>
58699		      #ifdef HAVE_IEEEFP_H
58700		      #include <ieeefp.h>
58701		      #endif
58702
58703int
58704main ()
58705{
58706 _logl(0);
58707  ;
58708  return 0;
58709}
58710_ACEOF
58711if ac_fn_cxx_try_compile "$LINENO"; then :
58712  glibcxx_cv_func__logl_use=yes
58713else
58714  glibcxx_cv_func__logl_use=no
58715fi
58716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58717      ac_ext=c
58718ac_cpp='$CPP $CPPFLAGS'
58719ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58720ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58721ac_compiler_gnu=$ac_cv_c_compiler_gnu
58722
58723
58724fi
58725
58726  fi
58727  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58728$as_echo "$glibcxx_cv_func__logl_use" >&6; }
58729
58730    if test x$glibcxx_cv_func__logl_use = x"yes"; then
58731      for ac_func in _logl
58732do :
58733  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58734if test "x$ac_cv_func__logl" = x""yes; then :
58735  cat >>confdefs.h <<_ACEOF
58736#define HAVE__LOGL 1
58737_ACEOF
58738
58739fi
58740done
58741
58742    fi
58743  fi
58744
58745
58746
58747
58748
58749  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58750$as_echo_n "checking for log10l declaration... " >&6; }
58751  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58752    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58753  $as_echo_n "(cached) " >&6
58754else
58755
58756
58757      ac_ext=cpp
58758ac_cpp='$CXXCPP $CPPFLAGS'
58759ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58760ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58761ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58762
58763      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58764/* end confdefs.h.  */
58765#include <math.h>
58766		      #ifdef HAVE_IEEEFP_H
58767		      #include <ieeefp.h>
58768		      #endif
58769
58770int
58771main ()
58772{
58773 log10l(0);
58774  ;
58775  return 0;
58776}
58777_ACEOF
58778if ac_fn_cxx_try_compile "$LINENO"; then :
58779  glibcxx_cv_func_log10l_use=yes
58780else
58781  glibcxx_cv_func_log10l_use=no
58782fi
58783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58784      ac_ext=c
58785ac_cpp='$CPP $CPPFLAGS'
58786ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58787ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58788ac_compiler_gnu=$ac_cv_c_compiler_gnu
58789
58790
58791fi
58792
58793  fi
58794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58795$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58796
58797  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58798    for ac_func in log10l
58799do :
58800  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58801if test "x$ac_cv_func_log10l" = x""yes; then :
58802  cat >>confdefs.h <<_ACEOF
58803#define HAVE_LOG10L 1
58804_ACEOF
58805
58806fi
58807done
58808
58809  else
58810
58811  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58812$as_echo_n "checking for _log10l declaration... " >&6; }
58813  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58814    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58815  $as_echo_n "(cached) " >&6
58816else
58817
58818
58819      ac_ext=cpp
58820ac_cpp='$CXXCPP $CPPFLAGS'
58821ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58822ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58823ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58824
58825      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58826/* end confdefs.h.  */
58827#include <math.h>
58828		      #ifdef HAVE_IEEEFP_H
58829		      #include <ieeefp.h>
58830		      #endif
58831
58832int
58833main ()
58834{
58835 _log10l(0);
58836  ;
58837  return 0;
58838}
58839_ACEOF
58840if ac_fn_cxx_try_compile "$LINENO"; then :
58841  glibcxx_cv_func__log10l_use=yes
58842else
58843  glibcxx_cv_func__log10l_use=no
58844fi
58845rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58846      ac_ext=c
58847ac_cpp='$CPP $CPPFLAGS'
58848ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58849ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58850ac_compiler_gnu=$ac_cv_c_compiler_gnu
58851
58852
58853fi
58854
58855  fi
58856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58857$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58858
58859    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58860      for ac_func in _log10l
58861do :
58862  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58863if test "x$ac_cv_func__log10l" = x""yes; then :
58864  cat >>confdefs.h <<_ACEOF
58865#define HAVE__LOG10L 1
58866_ACEOF
58867
58868fi
58869done
58870
58871    fi
58872  fi
58873
58874
58875
58876
58877
58878  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58879$as_echo_n "checking for modfl declaration... " >&6; }
58880  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58881    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58882  $as_echo_n "(cached) " >&6
58883else
58884
58885
58886      ac_ext=cpp
58887ac_cpp='$CXXCPP $CPPFLAGS'
58888ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58889ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58890ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58891
58892      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58893/* end confdefs.h.  */
58894#include <math.h>
58895int
58896main ()
58897{
58898 modfl(0, 0);
58899  ;
58900  return 0;
58901}
58902_ACEOF
58903if ac_fn_cxx_try_compile "$LINENO"; then :
58904  glibcxx_cv_func_modfl_use=yes
58905else
58906  glibcxx_cv_func_modfl_use=no
58907fi
58908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58909      ac_ext=c
58910ac_cpp='$CPP $CPPFLAGS'
58911ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58912ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58913ac_compiler_gnu=$ac_cv_c_compiler_gnu
58914
58915
58916fi
58917
58918  fi
58919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58920$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58921
58922  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58923    for ac_func in modfl
58924do :
58925  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58926if test "x$ac_cv_func_modfl" = x""yes; then :
58927  cat >>confdefs.h <<_ACEOF
58928#define HAVE_MODFL 1
58929_ACEOF
58930
58931fi
58932done
58933
58934  else
58935
58936  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58937$as_echo_n "checking for _modfl declaration... " >&6; }
58938  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58939    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58940  $as_echo_n "(cached) " >&6
58941else
58942
58943
58944      ac_ext=cpp
58945ac_cpp='$CXXCPP $CPPFLAGS'
58946ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58947ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58948ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58949
58950      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58951/* end confdefs.h.  */
58952#include <math.h>
58953int
58954main ()
58955{
58956 _modfl(0, 0);
58957  ;
58958  return 0;
58959}
58960_ACEOF
58961if ac_fn_cxx_try_compile "$LINENO"; then :
58962  glibcxx_cv_func__modfl_use=yes
58963else
58964  glibcxx_cv_func__modfl_use=no
58965fi
58966rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58967      ac_ext=c
58968ac_cpp='$CPP $CPPFLAGS'
58969ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58970ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58971ac_compiler_gnu=$ac_cv_c_compiler_gnu
58972
58973
58974fi
58975
58976  fi
58977  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58978$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58979
58980    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58981      for ac_func in _modfl
58982do :
58983  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58984if test "x$ac_cv_func__modfl" = x""yes; then :
58985  cat >>confdefs.h <<_ACEOF
58986#define HAVE__MODFL 1
58987_ACEOF
58988
58989fi
58990done
58991
58992    fi
58993  fi
58994
58995
58996
58997
58998
58999  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59000$as_echo_n "checking for powl declaration... " >&6; }
59001  if test x${glibcxx_cv_func_powl_use+set} != xset; then
59002    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
59003  $as_echo_n "(cached) " >&6
59004else
59005
59006
59007      ac_ext=cpp
59008ac_cpp='$CXXCPP $CPPFLAGS'
59009ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59010ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59011ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59012
59013      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59014/* end confdefs.h.  */
59015#include <math.h>
59016int
59017main ()
59018{
59019 powl(0, 0);
59020  ;
59021  return 0;
59022}
59023_ACEOF
59024if ac_fn_cxx_try_compile "$LINENO"; then :
59025  glibcxx_cv_func_powl_use=yes
59026else
59027  glibcxx_cv_func_powl_use=no
59028fi
59029rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59030      ac_ext=c
59031ac_cpp='$CPP $CPPFLAGS'
59032ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59033ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59034ac_compiler_gnu=$ac_cv_c_compiler_gnu
59035
59036
59037fi
59038
59039  fi
59040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59041$as_echo "$glibcxx_cv_func_powl_use" >&6; }
59042
59043  if test x$glibcxx_cv_func_powl_use = x"yes"; then
59044    for ac_func in powl
59045do :
59046  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59047if test "x$ac_cv_func_powl" = x""yes; then :
59048  cat >>confdefs.h <<_ACEOF
59049#define HAVE_POWL 1
59050_ACEOF
59051
59052fi
59053done
59054
59055  else
59056
59057  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59058$as_echo_n "checking for _powl declaration... " >&6; }
59059  if test x${glibcxx_cv_func__powl_use+set} != xset; then
59060    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
59061  $as_echo_n "(cached) " >&6
59062else
59063
59064
59065      ac_ext=cpp
59066ac_cpp='$CXXCPP $CPPFLAGS'
59067ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59068ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59069ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59070
59071      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59072/* end confdefs.h.  */
59073#include <math.h>
59074int
59075main ()
59076{
59077 _powl(0, 0);
59078  ;
59079  return 0;
59080}
59081_ACEOF
59082if ac_fn_cxx_try_compile "$LINENO"; then :
59083  glibcxx_cv_func__powl_use=yes
59084else
59085  glibcxx_cv_func__powl_use=no
59086fi
59087rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59088      ac_ext=c
59089ac_cpp='$CPP $CPPFLAGS'
59090ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59091ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59092ac_compiler_gnu=$ac_cv_c_compiler_gnu
59093
59094
59095fi
59096
59097  fi
59098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59099$as_echo "$glibcxx_cv_func__powl_use" >&6; }
59100
59101    if test x$glibcxx_cv_func__powl_use = x"yes"; then
59102      for ac_func in _powl
59103do :
59104  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59105if test "x$ac_cv_func__powl" = x""yes; then :
59106  cat >>confdefs.h <<_ACEOF
59107#define HAVE__POWL 1
59108_ACEOF
59109
59110fi
59111done
59112
59113    fi
59114  fi
59115
59116
59117
59118
59119
59120  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59121$as_echo_n "checking for sqrtl declaration... " >&6; }
59122  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59123    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
59124  $as_echo_n "(cached) " >&6
59125else
59126
59127
59128      ac_ext=cpp
59129ac_cpp='$CXXCPP $CPPFLAGS'
59130ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59131ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59132ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59133
59134      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59135/* end confdefs.h.  */
59136#include <math.h>
59137		      #ifdef HAVE_IEEEFP_H
59138		      #include <ieeefp.h>
59139		      #endif
59140
59141int
59142main ()
59143{
59144 sqrtl(0);
59145  ;
59146  return 0;
59147}
59148_ACEOF
59149if ac_fn_cxx_try_compile "$LINENO"; then :
59150  glibcxx_cv_func_sqrtl_use=yes
59151else
59152  glibcxx_cv_func_sqrtl_use=no
59153fi
59154rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59155      ac_ext=c
59156ac_cpp='$CPP $CPPFLAGS'
59157ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59158ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59159ac_compiler_gnu=$ac_cv_c_compiler_gnu
59160
59161
59162fi
59163
59164  fi
59165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59166$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59167
59168  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59169    for ac_func in sqrtl
59170do :
59171  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59172if test "x$ac_cv_func_sqrtl" = x""yes; then :
59173  cat >>confdefs.h <<_ACEOF
59174#define HAVE_SQRTL 1
59175_ACEOF
59176
59177fi
59178done
59179
59180  else
59181
59182  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59183$as_echo_n "checking for _sqrtl declaration... " >&6; }
59184  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59185    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
59186  $as_echo_n "(cached) " >&6
59187else
59188
59189
59190      ac_ext=cpp
59191ac_cpp='$CXXCPP $CPPFLAGS'
59192ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59193ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59194ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59195
59196      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59197/* end confdefs.h.  */
59198#include <math.h>
59199		      #ifdef HAVE_IEEEFP_H
59200		      #include <ieeefp.h>
59201		      #endif
59202
59203int
59204main ()
59205{
59206 _sqrtl(0);
59207  ;
59208  return 0;
59209}
59210_ACEOF
59211if ac_fn_cxx_try_compile "$LINENO"; then :
59212  glibcxx_cv_func__sqrtl_use=yes
59213else
59214  glibcxx_cv_func__sqrtl_use=no
59215fi
59216rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59217      ac_ext=c
59218ac_cpp='$CPP $CPPFLAGS'
59219ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59220ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59221ac_compiler_gnu=$ac_cv_c_compiler_gnu
59222
59223
59224fi
59225
59226  fi
59227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59228$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59229
59230    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59231      for ac_func in _sqrtl
59232do :
59233  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59234if test "x$ac_cv_func__sqrtl" = x""yes; then :
59235  cat >>confdefs.h <<_ACEOF
59236#define HAVE__SQRTL 1
59237_ACEOF
59238
59239fi
59240done
59241
59242    fi
59243  fi
59244
59245
59246
59247
59248
59249  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59250$as_echo_n "checking for sincosl declaration... " >&6; }
59251  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59252    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59253  $as_echo_n "(cached) " >&6
59254else
59255
59256
59257      ac_ext=cpp
59258ac_cpp='$CXXCPP $CPPFLAGS'
59259ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59260ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59261ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59262
59263      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59264/* end confdefs.h.  */
59265#include <math.h>
59266int
59267main ()
59268{
59269 sincosl(0, 0, 0);
59270  ;
59271  return 0;
59272}
59273_ACEOF
59274if ac_fn_cxx_try_compile "$LINENO"; then :
59275  glibcxx_cv_func_sincosl_use=yes
59276else
59277  glibcxx_cv_func_sincosl_use=no
59278fi
59279rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59280      ac_ext=c
59281ac_cpp='$CPP $CPPFLAGS'
59282ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59283ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59284ac_compiler_gnu=$ac_cv_c_compiler_gnu
59285
59286
59287fi
59288
59289  fi
59290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59291$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59292
59293  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59294    for ac_func in sincosl
59295do :
59296  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59297if test "x$ac_cv_func_sincosl" = x""yes; then :
59298  cat >>confdefs.h <<_ACEOF
59299#define HAVE_SINCOSL 1
59300_ACEOF
59301
59302fi
59303done
59304
59305  else
59306
59307  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59308$as_echo_n "checking for _sincosl declaration... " >&6; }
59309  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59310    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59311  $as_echo_n "(cached) " >&6
59312else
59313
59314
59315      ac_ext=cpp
59316ac_cpp='$CXXCPP $CPPFLAGS'
59317ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59318ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59319ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59320
59321      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59322/* end confdefs.h.  */
59323#include <math.h>
59324int
59325main ()
59326{
59327 _sincosl(0, 0, 0);
59328  ;
59329  return 0;
59330}
59331_ACEOF
59332if ac_fn_cxx_try_compile "$LINENO"; then :
59333  glibcxx_cv_func__sincosl_use=yes
59334else
59335  glibcxx_cv_func__sincosl_use=no
59336fi
59337rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59338      ac_ext=c
59339ac_cpp='$CPP $CPPFLAGS'
59340ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59341ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59342ac_compiler_gnu=$ac_cv_c_compiler_gnu
59343
59344
59345fi
59346
59347  fi
59348  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59349$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59350
59351    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59352      for ac_func in _sincosl
59353do :
59354  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59355if test "x$ac_cv_func__sincosl" = x""yes; then :
59356  cat >>confdefs.h <<_ACEOF
59357#define HAVE__SINCOSL 1
59358_ACEOF
59359
59360fi
59361done
59362
59363    fi
59364  fi
59365
59366
59367
59368
59369
59370  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59371$as_echo_n "checking for finitel declaration... " >&6; }
59372  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59373    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59374  $as_echo_n "(cached) " >&6
59375else
59376
59377
59378      ac_ext=cpp
59379ac_cpp='$CXXCPP $CPPFLAGS'
59380ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59381ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59382ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59383
59384      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59385/* end confdefs.h.  */
59386#include <math.h>
59387		      #ifdef HAVE_IEEEFP_H
59388		      #include <ieeefp.h>
59389		      #endif
59390
59391int
59392main ()
59393{
59394 finitel(0);
59395  ;
59396  return 0;
59397}
59398_ACEOF
59399if ac_fn_cxx_try_compile "$LINENO"; then :
59400  glibcxx_cv_func_finitel_use=yes
59401else
59402  glibcxx_cv_func_finitel_use=no
59403fi
59404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59405      ac_ext=c
59406ac_cpp='$CPP $CPPFLAGS'
59407ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59408ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59409ac_compiler_gnu=$ac_cv_c_compiler_gnu
59410
59411
59412fi
59413
59414  fi
59415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59416$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59417
59418  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59419    for ac_func in finitel
59420do :
59421  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59422if test "x$ac_cv_func_finitel" = x""yes; then :
59423  cat >>confdefs.h <<_ACEOF
59424#define HAVE_FINITEL 1
59425_ACEOF
59426
59427fi
59428done
59429
59430  else
59431
59432  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59433$as_echo_n "checking for _finitel declaration... " >&6; }
59434  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59435    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59436  $as_echo_n "(cached) " >&6
59437else
59438
59439
59440      ac_ext=cpp
59441ac_cpp='$CXXCPP $CPPFLAGS'
59442ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59443ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59444ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59445
59446      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59447/* end confdefs.h.  */
59448#include <math.h>
59449		      #ifdef HAVE_IEEEFP_H
59450		      #include <ieeefp.h>
59451		      #endif
59452
59453int
59454main ()
59455{
59456 _finitel(0);
59457  ;
59458  return 0;
59459}
59460_ACEOF
59461if ac_fn_cxx_try_compile "$LINENO"; then :
59462  glibcxx_cv_func__finitel_use=yes
59463else
59464  glibcxx_cv_func__finitel_use=no
59465fi
59466rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59467      ac_ext=c
59468ac_cpp='$CPP $CPPFLAGS'
59469ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59470ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59471ac_compiler_gnu=$ac_cv_c_compiler_gnu
59472
59473
59474fi
59475
59476  fi
59477  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59478$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59479
59480    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59481      for ac_func in _finitel
59482do :
59483  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59484if test "x$ac_cv_func__finitel" = x""yes; then :
59485  cat >>confdefs.h <<_ACEOF
59486#define HAVE__FINITEL 1
59487_ACEOF
59488
59489fi
59490done
59491
59492    fi
59493  fi
59494
59495
59496
59497
59498  LIBS="$ac_save_LIBS"
59499  CXXFLAGS="$ac_save_CXXFLAGS"
59500
59501
59502  ac_test_CXXFLAGS="${CXXFLAGS+set}"
59503  ac_save_CXXFLAGS="$CXXFLAGS"
59504  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59505
59506
59507  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59508$as_echo_n "checking for at_quick_exit declaration... " >&6; }
59509  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59510    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59511  $as_echo_n "(cached) " >&6
59512else
59513
59514
59515      ac_ext=cpp
59516ac_cpp='$CXXCPP $CPPFLAGS'
59517ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59518ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59519ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59520
59521      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59522/* end confdefs.h.  */
59523#include <stdlib.h>
59524int
59525main ()
59526{
59527 at_quick_exit(0);
59528  ;
59529  return 0;
59530}
59531_ACEOF
59532if ac_fn_cxx_try_compile "$LINENO"; then :
59533  glibcxx_cv_func_at_quick_exit_use=yes
59534else
59535  glibcxx_cv_func_at_quick_exit_use=no
59536fi
59537rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59538      ac_ext=c
59539ac_cpp='$CPP $CPPFLAGS'
59540ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59541ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59542ac_compiler_gnu=$ac_cv_c_compiler_gnu
59543
59544
59545fi
59546
59547  fi
59548  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59549$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59550  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59551    for ac_func in at_quick_exit
59552do :
59553  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59554if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59555  cat >>confdefs.h <<_ACEOF
59556#define HAVE_AT_QUICK_EXIT 1
59557_ACEOF
59558
59559fi
59560done
59561
59562  fi
59563
59564
59565  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59566$as_echo_n "checking for quick_exit declaration... " >&6; }
59567  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59568    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59569  $as_echo_n "(cached) " >&6
59570else
59571
59572
59573      ac_ext=cpp
59574ac_cpp='$CXXCPP $CPPFLAGS'
59575ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59576ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59577ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59578
59579      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59580/* end confdefs.h.  */
59581#include <stdlib.h>
59582int
59583main ()
59584{
59585 quick_exit(0);
59586  ;
59587  return 0;
59588}
59589_ACEOF
59590if ac_fn_cxx_try_compile "$LINENO"; then :
59591  glibcxx_cv_func_quick_exit_use=yes
59592else
59593  glibcxx_cv_func_quick_exit_use=no
59594fi
59595rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59596      ac_ext=c
59597ac_cpp='$CPP $CPPFLAGS'
59598ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59599ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59600ac_compiler_gnu=$ac_cv_c_compiler_gnu
59601
59602
59603fi
59604
59605  fi
59606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59607$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59608  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59609    for ac_func in quick_exit
59610do :
59611  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59612if test "x$ac_cv_func_quick_exit" = x""yes; then :
59613  cat >>confdefs.h <<_ACEOF
59614#define HAVE_QUICK_EXIT 1
59615_ACEOF
59616
59617fi
59618done
59619
59620  fi
59621
59622
59623  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59624$as_echo_n "checking for strtold declaration... " >&6; }
59625  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59626    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59627  $as_echo_n "(cached) " >&6
59628else
59629
59630
59631      ac_ext=cpp
59632ac_cpp='$CXXCPP $CPPFLAGS'
59633ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59634ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59635ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59636
59637      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59638/* end confdefs.h.  */
59639#include <stdlib.h>
59640int
59641main ()
59642{
59643 strtold(0, 0);
59644  ;
59645  return 0;
59646}
59647_ACEOF
59648if ac_fn_cxx_try_compile "$LINENO"; then :
59649  glibcxx_cv_func_strtold_use=yes
59650else
59651  glibcxx_cv_func_strtold_use=no
59652fi
59653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59654      ac_ext=c
59655ac_cpp='$CPP $CPPFLAGS'
59656ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59657ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59658ac_compiler_gnu=$ac_cv_c_compiler_gnu
59659
59660
59661fi
59662
59663  fi
59664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59665$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59666  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59667    for ac_func in strtold
59668do :
59669  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59670if test "x$ac_cv_func_strtold" = x""yes; then :
59671  cat >>confdefs.h <<_ACEOF
59672#define HAVE_STRTOLD 1
59673_ACEOF
59674
59675fi
59676done
59677
59678  fi
59679
59680
59681
59682
59683  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59684$as_echo_n "checking for strtof declaration... " >&6; }
59685  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59686    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59687  $as_echo_n "(cached) " >&6
59688else
59689
59690
59691      ac_ext=cpp
59692ac_cpp='$CXXCPP $CPPFLAGS'
59693ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59694ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59695ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59696
59697      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59698/* end confdefs.h.  */
59699#include <stdlib.h>
59700int
59701main ()
59702{
59703 strtof(0, 0);
59704  ;
59705  return 0;
59706}
59707_ACEOF
59708if ac_fn_cxx_try_compile "$LINENO"; then :
59709  glibcxx_cv_func_strtof_use=yes
59710else
59711  glibcxx_cv_func_strtof_use=no
59712fi
59713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59714      ac_ext=c
59715ac_cpp='$CPP $CPPFLAGS'
59716ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59717ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59718ac_compiler_gnu=$ac_cv_c_compiler_gnu
59719
59720
59721fi
59722
59723  fi
59724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59725$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59726  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59727    for ac_func in strtof
59728do :
59729  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59730if test "x$ac_cv_func_strtof" = x""yes; then :
59731  cat >>confdefs.h <<_ACEOF
59732#define HAVE_STRTOF 1
59733_ACEOF
59734
59735fi
59736done
59737
59738  fi
59739
59740
59741
59742
59743  CXXFLAGS="$ac_save_CXXFLAGS"
59744
59745    $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59746
59747
59748
59749   # Check whether --enable-tls was given.
59750if test "${enable_tls+set}" = set; then :
59751  enableval=$enable_tls;
59752      case "$enableval" in
59753       yes|no) ;;
59754       *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59755      esac
59756
59757else
59758  enable_tls=yes
59759fi
59760
59761
59762  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59763$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59764if test "${gcc_cv_have_tls+set}" = set; then :
59765  $as_echo_n "(cached) " >&6
59766else
59767
59768    if test "$cross_compiling" = yes; then :
59769                if test x$gcc_no_link = xyes; then
59770  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59771fi
59772cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59773/* end confdefs.h.  */
59774__thread int a; int b; int main() { return a = b; }
59775_ACEOF
59776if ac_fn_c_try_link "$LINENO"; then :
59777  chktls_save_LDFLAGS="$LDFLAGS"
59778	  	  	  case $host in
59779	    *-*-linux*)
59780	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59781	      ;;
59782	  esac
59783	  chktls_save_CFLAGS="$CFLAGS"
59784	  CFLAGS="-fPIC $CFLAGS"
59785	  	  if test x$gcc_no_link = xyes; then
59786  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59787fi
59788cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59789/* end confdefs.h.  */
59790int f() { return 0; }
59791_ACEOF
59792if ac_fn_c_try_link "$LINENO"; then :
59793  if test x$gcc_no_link = xyes; then
59794  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59795fi
59796cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59797/* end confdefs.h.  */
59798__thread int a; int b; int f() { return a = b; }
59799_ACEOF
59800if ac_fn_c_try_link "$LINENO"; then :
59801  gcc_cv_have_tls=yes
59802else
59803  gcc_cv_have_tls=no
59804fi
59805rm -f core conftest.err conftest.$ac_objext \
59806    conftest$ac_exeext conftest.$ac_ext
59807else
59808  gcc_cv_have_tls=yes
59809fi
59810rm -f core conftest.err conftest.$ac_objext \
59811    conftest$ac_exeext conftest.$ac_ext
59812	  CFLAGS="$chktls_save_CFLAGS"
59813	  LDFLAGS="$chktls_save_LDFLAGS"
59814else
59815  gcc_cv_have_tls=no
59816fi
59817rm -f core conftest.err conftest.$ac_objext \
59818    conftest$ac_exeext conftest.$ac_ext
59819
59820
59821else
59822  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59823/* end confdefs.h.  */
59824__thread int a; int b; int main() { return a = b; }
59825_ACEOF
59826if ac_fn_c_try_run "$LINENO"; then :
59827                      chktls_save_LDFLAGS="$LDFLAGS"
59828      LDFLAGS="-static $LDFLAGS"
59829      if test x$gcc_no_link = xyes; then
59830  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59831fi
59832cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59833/* end confdefs.h.  */
59834int main() { return 0; }
59835_ACEOF
59836if ac_fn_c_try_link "$LINENO"; then :
59837  if test "$cross_compiling" = yes; then :
59838  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59839$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59840as_fn_error "cannot run test program while cross compiling
59841See \`config.log' for more details." "$LINENO" 5; }
59842else
59843  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59844/* end confdefs.h.  */
59845__thread int a; int b; int main() { return a = b; }
59846_ACEOF
59847if ac_fn_c_try_run "$LINENO"; then :
59848  gcc_cv_have_tls=yes
59849else
59850  gcc_cv_have_tls=no
59851fi
59852rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59853  conftest.$ac_objext conftest.beam conftest.$ac_ext
59854fi
59855
59856else
59857  gcc_cv_have_tls=yes
59858fi
59859rm -f core conftest.err conftest.$ac_objext \
59860    conftest$ac_exeext conftest.$ac_ext
59861      LDFLAGS="$chktls_save_LDFLAGS"
59862      if test $gcc_cv_have_tls = yes; then
59863						chktls_save_CFLAGS="$CFLAGS"
59864	thread_CFLAGS=failed
59865	for flag in '' '-pthread' '-lpthread'; do
59866	  CFLAGS="$flag $chktls_save_CFLAGS"
59867	  if test x$gcc_no_link = xyes; then
59868  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59869fi
59870cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59871/* end confdefs.h.  */
59872#include <pthread.h>
59873		void *g(void *d) { return NULL; }
59874int
59875main ()
59876{
59877pthread_t t; pthread_create(&t,NULL,g,NULL);
59878  ;
59879  return 0;
59880}
59881_ACEOF
59882if ac_fn_c_try_link "$LINENO"; then :
59883  thread_CFLAGS="$flag"
59884fi
59885rm -f core conftest.err conftest.$ac_objext \
59886    conftest$ac_exeext conftest.$ac_ext
59887	  if test "X$thread_CFLAGS" != Xfailed; then
59888	    break
59889	  fi
59890	done
59891	CFLAGS="$chktls_save_CFLAGS"
59892	if test "X$thread_CFLAGS" != Xfailed; then
59893	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59894 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
59895  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59896$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59897as_fn_error "cannot run test program while cross compiling
59898See \`config.log' for more details." "$LINENO" 5; }
59899else
59900  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59901/* end confdefs.h.  */
59902#include <pthread.h>
59903		__thread int a;
59904		static int *volatile a_in_other_thread;
59905		static void *
59906		thread_func (void *arg)
59907		{
59908		  a_in_other_thread = &a;
59909		  return (void *)0;
59910		}
59911int
59912main ()
59913{
59914pthread_t thread;
59915		void *thread_retval;
59916		int *volatile a_in_main_thread;
59917		a_in_main_thread = &a;
59918		if (pthread_create (&thread, (pthread_attr_t *)0,
59919				    thread_func, (void *)0))
59920		  return 0;
59921		if (pthread_join (thread, &thread_retval))
59922		  return 0;
59923		return (a_in_other_thread == a_in_main_thread);
59924  ;
59925  return 0;
59926}
59927_ACEOF
59928if ac_fn_c_try_run "$LINENO"; then :
59929  gcc_cv_have_tls=yes
59930else
59931  gcc_cv_have_tls=no
59932fi
59933rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59934  conftest.$ac_objext conftest.beam conftest.$ac_ext
59935fi
59936
59937	  CFLAGS="$chktls_save_CFLAGS"
59938	fi
59939      fi
59940else
59941  gcc_cv_have_tls=no
59942fi
59943rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59944  conftest.$ac_objext conftest.beam conftest.$ac_ext
59945fi
59946
59947fi
59948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59949$as_echo "$gcc_cv_have_tls" >&6; }
59950  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59951
59952$as_echo "#define HAVE_TLS 1" >>confdefs.h
59953
59954  fi
59955    for ac_func in __cxa_thread_atexit_impl
59956do :
59957  ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59958if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59959  cat >>confdefs.h <<_ACEOF
59960#define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59961_ACEOF
59962
59963fi
59964done
59965
59966    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
59967do :
59968  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59969ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59970eval as_val=\$$as_ac_var
59971   if test "x$as_val" = x""yes; then :
59972  cat >>confdefs.h <<_ACEOF
59973#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59974_ACEOF
59975
59976fi
59977done
59978
59979
59980
59981
59982
59983
59984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59985$as_echo_n "checking for iconv... " >&6; }
59986if test "${am_cv_func_iconv+set}" = set; then :
59987  $as_echo_n "(cached) " >&6
59988else
59989
59990    am_cv_func_iconv="no, consider installing GNU libiconv"
59991    am_cv_lib_iconv=no
59992                    am_save_CPPFLAGS="$CPPFLAGS"
59993    CPPFLAGS="$CPPFLAGS $INCICONV"
59994    if test x$gcc_no_link = xyes; then
59995  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59996fi
59997cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59998/* end confdefs.h.  */
59999#include <stdlib.h>
60000#include <iconv.h>
60001int
60002main ()
60003{
60004iconv_t cd = iconv_open("","");
60005       iconv(cd,NULL,NULL,NULL,NULL);
60006       iconv_close(cd);
60007  ;
60008  return 0;
60009}
60010_ACEOF
60011if ac_fn_c_try_link "$LINENO"; then :
60012  am_cv_func_iconv=yes
60013fi
60014rm -f core conftest.err conftest.$ac_objext \
60015    conftest$ac_exeext conftest.$ac_ext
60016    CPPFLAGS="$am_save_CPPFLAGS"
60017
60018    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60019      for _libs in .libs _libs; do
60020        am_save_CPPFLAGS="$CPPFLAGS"
60021        am_save_LIBS="$LIBS"
60022        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60023        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60024        if test x$gcc_no_link = xyes; then
60025  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60026fi
60027cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60028/* end confdefs.h.  */
60029#include <stdlib.h>
60030#include <iconv.h>
60031int
60032main ()
60033{
60034iconv_t cd = iconv_open("","");
60035           iconv(cd,NULL,NULL,NULL,NULL);
60036           iconv_close(cd);
60037  ;
60038  return 0;
60039}
60040_ACEOF
60041if ac_fn_c_try_link "$LINENO"; then :
60042  INCICONV="-I../libiconv/include"
60043          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60044          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60045          am_cv_lib_iconv=yes
60046          am_cv_func_iconv=yes
60047fi
60048rm -f core conftest.err conftest.$ac_objext \
60049    conftest$ac_exeext conftest.$ac_ext
60050        CPPFLAGS="$am_save_CPPFLAGS"
60051        LIBS="$am_save_LIBS"
60052        if test "$am_cv_func_iconv" = "yes"; then
60053          break
60054        fi
60055      done
60056    fi
60057
60058    if test "$am_cv_func_iconv" != yes; then
60059      am_save_CPPFLAGS="$CPPFLAGS"
60060      am_save_LIBS="$LIBS"
60061      CPPFLAGS="$LIBS $INCICONV"
60062      LIBS="$LIBS $LIBICONV"
60063      if test x$gcc_no_link = xyes; then
60064  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60065fi
60066cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60067/* end confdefs.h.  */
60068#include <stdlib.h>
60069#include <iconv.h>
60070int
60071main ()
60072{
60073iconv_t cd = iconv_open("","");
60074         iconv(cd,NULL,NULL,NULL,NULL);
60075         iconv_close(cd);
60076  ;
60077  return 0;
60078}
60079_ACEOF
60080if ac_fn_c_try_link "$LINENO"; then :
60081  am_cv_lib_iconv=yes
60082        am_cv_func_iconv=yes
60083fi
60084rm -f core conftest.err conftest.$ac_objext \
60085    conftest$ac_exeext conftest.$ac_ext
60086      CPPFLAGS="$am_save_CPPFLAGS"
60087      LIBS="$am_save_LIBS"
60088    fi
60089
60090fi
60091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60092$as_echo "$am_cv_func_iconv" >&6; }
60093  if test "$am_cv_func_iconv" = yes; then
60094
60095$as_echo "#define HAVE_ICONV 1" >>confdefs.h
60096
60097  fi
60098  if test "$am_cv_lib_iconv" = yes; then
60099
60100  for element in $INCICONV; do
60101    haveit=
60102    for x in $CPPFLAGS; do
60103
60104  acl_save_prefix="$prefix"
60105  prefix="$acl_final_prefix"
60106  acl_save_exec_prefix="$exec_prefix"
60107  exec_prefix="$acl_final_exec_prefix"
60108  eval x=\"$x\"
60109  exec_prefix="$acl_save_exec_prefix"
60110  prefix="$acl_save_prefix"
60111
60112      if test "X$x" = "X$element"; then
60113        haveit=yes
60114        break
60115      fi
60116    done
60117    if test -z "$haveit"; then
60118      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60119    fi
60120  done
60121
60122    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60123$as_echo_n "checking how to link with libiconv... " >&6; }
60124    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60125$as_echo "$LIBICONV" >&6; }
60126  else
60127    LIBICONV=
60128    LTLIBICONV=
60129  fi
60130
60131
60132
60133  if test "$am_cv_func_iconv" = yes; then
60134    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60135$as_echo_n "checking for iconv declaration... " >&6; }
60136    if test "${am_cv_proto_iconv+set}" = set; then :
60137  $as_echo_n "(cached) " >&6
60138else
60139
60140      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60141/* end confdefs.h.  */
60142
60143#include <stdlib.h>
60144#include <iconv.h>
60145extern
60146#ifdef __cplusplus
60147"C"
60148#endif
60149#if defined(__STDC__) || defined(__cplusplus)
60150size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60151#else
60152size_t iconv();
60153#endif
60154
60155int
60156main ()
60157{
60158
60159  ;
60160  return 0;
60161}
60162_ACEOF
60163if ac_fn_c_try_compile "$LINENO"; then :
60164  am_cv_proto_iconv_arg1=""
60165else
60166  am_cv_proto_iconv_arg1="const"
60167fi
60168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60169      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);"
60170fi
60171
60172    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60173    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60174         }$am_cv_proto_iconv" >&5
60175$as_echo "${ac_t:-
60176         }$am_cv_proto_iconv" >&6; }
60177
60178cat >>confdefs.h <<_ACEOF
60179#define ICONV_CONST $am_cv_proto_iconv_arg1
60180_ACEOF
60181
60182  fi
60183
60184    ;;
60185  *-mingw32*)
60186
60187  # If we're not using GNU ld, then there's no point in even trying these
60188  # tests.  Check for that first.  We should have already tested for gld
60189  # by now (in libtool), but require it now just to be safe...
60190  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60191  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60192
60193
60194
60195  # The name set by libtool depends on the version of libtool.  Shame on us
60196  # for depending on an impl detail, but c'est la vie.  Older versions used
60197  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60198  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60199  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
60200  # set (hence we're using an older libtool), then set it.
60201  if test x${with_gnu_ld+set} != xset; then
60202    if test x${ac_cv_prog_gnu_ld+set} != xset; then
60203      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
60204      with_gnu_ld=no
60205    else
60206      with_gnu_ld=$ac_cv_prog_gnu_ld
60207    fi
60208  fi
60209
60210  # Start by getting the version number.  I think the libtool test already
60211  # does some of this, but throws away the result.
60212  glibcxx_ld_is_gold=no
60213  if test x"$with_gnu_ld" = x"yes"; then
60214    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60215$as_echo_n "checking for ld version... " >&6; }
60216
60217    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60218      glibcxx_ld_is_gold=yes
60219    fi
60220    ldver=`$LD --version 2>/dev/null |
60221	   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'`
60222
60223    glibcxx_gnu_ld_version=`echo $ldver | \
60224	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60225    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60226$as_echo "$glibcxx_gnu_ld_version" >&6; }
60227  fi
60228
60229  # Set --gc-sections.
60230  glibcxx_have_gc_sections=no
60231  if test "$glibcxx_ld_is_gold" = "yes"; then
60232    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60233      glibcxx_have_gc_sections=yes
60234    fi
60235  else
60236    glibcxx_gcsections_min_ld=21602
60237    if test x"$with_gnu_ld" = x"yes" &&
60238	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60239      glibcxx_have_gc_sections=yes
60240    fi
60241  fi
60242  if test "$glibcxx_have_gc_sections" = "yes"; then
60243    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
60244    # NB: This flag only works reliably after 2.16.1. Configure tests
60245    # for this are difficult, so hard wire a value that should work.
60246
60247    ac_test_CFLAGS="${CFLAGS+set}"
60248    ac_save_CFLAGS="$CFLAGS"
60249    CFLAGS='-Wl,--gc-sections'
60250
60251    # Check for -Wl,--gc-sections
60252    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60253$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60254    if test x$gcc_no_link = xyes; then
60255  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60256fi
60257cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60258/* end confdefs.h.  */
60259 int one(void) { return 1; }
60260     int two(void) { return 2; }
60261
60262int
60263main ()
60264{
60265 two();
60266  ;
60267  return 0;
60268}
60269_ACEOF
60270if ac_fn_c_try_link "$LINENO"; then :
60271  ac_gcsections=yes
60272else
60273  ac_gcsections=no
60274fi
60275rm -f core conftest.err conftest.$ac_objext \
60276    conftest$ac_exeext conftest.$ac_ext
60277    if test "$ac_gcsections" = "yes"; then
60278      rm -f conftest.c
60279      touch conftest.c
60280      if $CC -c conftest.c; then
60281	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60282	   grep "Warning: gc-sections option ignored" > /dev/null; then
60283	  ac_gcsections=no
60284	fi
60285      fi
60286      rm -f conftest.c conftest.o conftest
60287    fi
60288    if test "$ac_gcsections" = "yes"; then
60289      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60290    fi
60291    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60292$as_echo "$ac_gcsections" >&6; }
60293
60294    if test "$ac_test_CFLAGS" = set; then
60295      CFLAGS="$ac_save_CFLAGS"
60296    else
60297      # this is the suspicious part
60298      CFLAGS=''
60299    fi
60300  fi
60301
60302  # Set -z,relro.
60303  # Note this is only for shared objects.
60304  ac_ld_relro=no
60305  if test x"$with_gnu_ld" = x"yes"; then
60306    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60307$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60308    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60309    if test -n "$cxx_z_relo"; then
60310      OPT_LDFLAGS="-Wl,-z,relro"
60311      ac_ld_relro=yes
60312    fi
60313    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60314$as_echo "$ac_ld_relro" >&6; }
60315  fi
60316
60317  # Set linker optimization flags.
60318  if test x"$with_gnu_ld" = x"yes"; then
60319    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60320  fi
60321
60322
60323
60324
60325
60326  ac_test_CXXFLAGS="${CXXFLAGS+set}"
60327  ac_save_CXXFLAGS="$CXXFLAGS"
60328  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60329
60330    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60331$as_echo_n "checking for sin in -lm... " >&6; }
60332if test "${ac_cv_lib_m_sin+set}" = set; then :
60333  $as_echo_n "(cached) " >&6
60334else
60335  ac_check_lib_save_LIBS=$LIBS
60336LIBS="-lm  $LIBS"
60337if test x$gcc_no_link = xyes; then
60338  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60339fi
60340cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60341/* end confdefs.h.  */
60342
60343/* Override any GCC internal prototype to avoid an error.
60344   Use char because int might match the return type of a GCC
60345   builtin and then its argument prototype would still apply.  */
60346#ifdef __cplusplus
60347extern "C"
60348#endif
60349char sin ();
60350int
60351main ()
60352{
60353return sin ();
60354  ;
60355  return 0;
60356}
60357_ACEOF
60358if ac_fn_c_try_link "$LINENO"; then :
60359  ac_cv_lib_m_sin=yes
60360else
60361  ac_cv_lib_m_sin=no
60362fi
60363rm -f core conftest.err conftest.$ac_objext \
60364    conftest$ac_exeext conftest.$ac_ext
60365LIBS=$ac_check_lib_save_LIBS
60366fi
60367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60368$as_echo "$ac_cv_lib_m_sin" >&6; }
60369if test "x$ac_cv_lib_m_sin" = x""yes; then :
60370  libm="-lm"
60371fi
60372
60373  ac_save_LIBS="$LIBS"
60374  LIBS="$LIBS $libm"
60375
60376
60377
60378  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60379$as_echo_n "checking for isinf declaration... " >&6; }
60380  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60381    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60382  $as_echo_n "(cached) " >&6
60383else
60384
60385
60386      ac_ext=cpp
60387ac_cpp='$CXXCPP $CPPFLAGS'
60388ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60389ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60390ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60391
60392      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60393/* end confdefs.h.  */
60394#include <math.h>
60395		      #ifdef HAVE_IEEEFP_H
60396		      #include <ieeefp.h>
60397		      #endif
60398
60399int
60400main ()
60401{
60402 isinf(0);
60403  ;
60404  return 0;
60405}
60406_ACEOF
60407if ac_fn_cxx_try_compile "$LINENO"; then :
60408  glibcxx_cv_func_isinf_use=yes
60409else
60410  glibcxx_cv_func_isinf_use=no
60411fi
60412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60413      ac_ext=c
60414ac_cpp='$CPP $CPPFLAGS'
60415ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60416ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60417ac_compiler_gnu=$ac_cv_c_compiler_gnu
60418
60419
60420fi
60421
60422  fi
60423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60424$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60425
60426  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60427    for ac_func in isinf
60428do :
60429  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60430if test "x$ac_cv_func_isinf" = x""yes; then :
60431  cat >>confdefs.h <<_ACEOF
60432#define HAVE_ISINF 1
60433_ACEOF
60434
60435fi
60436done
60437
60438  else
60439
60440  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60441$as_echo_n "checking for _isinf declaration... " >&6; }
60442  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60443    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60444  $as_echo_n "(cached) " >&6
60445else
60446
60447
60448      ac_ext=cpp
60449ac_cpp='$CXXCPP $CPPFLAGS'
60450ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60451ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60452ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60453
60454      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60455/* end confdefs.h.  */
60456#include <math.h>
60457		      #ifdef HAVE_IEEEFP_H
60458		      #include <ieeefp.h>
60459		      #endif
60460
60461int
60462main ()
60463{
60464 _isinf(0);
60465  ;
60466  return 0;
60467}
60468_ACEOF
60469if ac_fn_cxx_try_compile "$LINENO"; then :
60470  glibcxx_cv_func__isinf_use=yes
60471else
60472  glibcxx_cv_func__isinf_use=no
60473fi
60474rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60475      ac_ext=c
60476ac_cpp='$CPP $CPPFLAGS'
60477ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60478ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60479ac_compiler_gnu=$ac_cv_c_compiler_gnu
60480
60481
60482fi
60483
60484  fi
60485  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60486$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60487
60488    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60489      for ac_func in _isinf
60490do :
60491  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60492if test "x$ac_cv_func__isinf" = x""yes; then :
60493  cat >>confdefs.h <<_ACEOF
60494#define HAVE__ISINF 1
60495_ACEOF
60496
60497fi
60498done
60499
60500    fi
60501  fi
60502
60503
60504
60505
60506
60507  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60508$as_echo_n "checking for isnan declaration... " >&6; }
60509  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60510    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60511  $as_echo_n "(cached) " >&6
60512else
60513
60514
60515      ac_ext=cpp
60516ac_cpp='$CXXCPP $CPPFLAGS'
60517ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60518ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60519ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60520
60521      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60522/* end confdefs.h.  */
60523#include <math.h>
60524		      #ifdef HAVE_IEEEFP_H
60525		      #include <ieeefp.h>
60526		      #endif
60527
60528int
60529main ()
60530{
60531 isnan(0);
60532  ;
60533  return 0;
60534}
60535_ACEOF
60536if ac_fn_cxx_try_compile "$LINENO"; then :
60537  glibcxx_cv_func_isnan_use=yes
60538else
60539  glibcxx_cv_func_isnan_use=no
60540fi
60541rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60542      ac_ext=c
60543ac_cpp='$CPP $CPPFLAGS'
60544ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60545ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60546ac_compiler_gnu=$ac_cv_c_compiler_gnu
60547
60548
60549fi
60550
60551  fi
60552  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60553$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60554
60555  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60556    for ac_func in isnan
60557do :
60558  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60559if test "x$ac_cv_func_isnan" = x""yes; then :
60560  cat >>confdefs.h <<_ACEOF
60561#define HAVE_ISNAN 1
60562_ACEOF
60563
60564fi
60565done
60566
60567  else
60568
60569  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60570$as_echo_n "checking for _isnan declaration... " >&6; }
60571  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60572    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60573  $as_echo_n "(cached) " >&6
60574else
60575
60576
60577      ac_ext=cpp
60578ac_cpp='$CXXCPP $CPPFLAGS'
60579ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60580ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60581ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60582
60583      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60584/* end confdefs.h.  */
60585#include <math.h>
60586		      #ifdef HAVE_IEEEFP_H
60587		      #include <ieeefp.h>
60588		      #endif
60589
60590int
60591main ()
60592{
60593 _isnan(0);
60594  ;
60595  return 0;
60596}
60597_ACEOF
60598if ac_fn_cxx_try_compile "$LINENO"; then :
60599  glibcxx_cv_func__isnan_use=yes
60600else
60601  glibcxx_cv_func__isnan_use=no
60602fi
60603rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60604      ac_ext=c
60605ac_cpp='$CPP $CPPFLAGS'
60606ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60607ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60608ac_compiler_gnu=$ac_cv_c_compiler_gnu
60609
60610
60611fi
60612
60613  fi
60614  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60615$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60616
60617    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60618      for ac_func in _isnan
60619do :
60620  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60621if test "x$ac_cv_func__isnan" = x""yes; then :
60622  cat >>confdefs.h <<_ACEOF
60623#define HAVE__ISNAN 1
60624_ACEOF
60625
60626fi
60627done
60628
60629    fi
60630  fi
60631
60632
60633
60634
60635
60636  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60637$as_echo_n "checking for finite declaration... " >&6; }
60638  if test x${glibcxx_cv_func_finite_use+set} != xset; then
60639    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60640  $as_echo_n "(cached) " >&6
60641else
60642
60643
60644      ac_ext=cpp
60645ac_cpp='$CXXCPP $CPPFLAGS'
60646ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60647ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60648ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60649
60650      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60651/* end confdefs.h.  */
60652#include <math.h>
60653		      #ifdef HAVE_IEEEFP_H
60654		      #include <ieeefp.h>
60655		      #endif
60656
60657int
60658main ()
60659{
60660 finite(0);
60661  ;
60662  return 0;
60663}
60664_ACEOF
60665if ac_fn_cxx_try_compile "$LINENO"; then :
60666  glibcxx_cv_func_finite_use=yes
60667else
60668  glibcxx_cv_func_finite_use=no
60669fi
60670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60671      ac_ext=c
60672ac_cpp='$CPP $CPPFLAGS'
60673ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60674ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60675ac_compiler_gnu=$ac_cv_c_compiler_gnu
60676
60677
60678fi
60679
60680  fi
60681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60682$as_echo "$glibcxx_cv_func_finite_use" >&6; }
60683
60684  if test x$glibcxx_cv_func_finite_use = x"yes"; then
60685    for ac_func in finite
60686do :
60687  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60688if test "x$ac_cv_func_finite" = x""yes; then :
60689  cat >>confdefs.h <<_ACEOF
60690#define HAVE_FINITE 1
60691_ACEOF
60692
60693fi
60694done
60695
60696  else
60697
60698  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60699$as_echo_n "checking for _finite declaration... " >&6; }
60700  if test x${glibcxx_cv_func__finite_use+set} != xset; then
60701    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60702  $as_echo_n "(cached) " >&6
60703else
60704
60705
60706      ac_ext=cpp
60707ac_cpp='$CXXCPP $CPPFLAGS'
60708ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60709ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60710ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60711
60712      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60713/* end confdefs.h.  */
60714#include <math.h>
60715		      #ifdef HAVE_IEEEFP_H
60716		      #include <ieeefp.h>
60717		      #endif
60718
60719int
60720main ()
60721{
60722 _finite(0);
60723  ;
60724  return 0;
60725}
60726_ACEOF
60727if ac_fn_cxx_try_compile "$LINENO"; then :
60728  glibcxx_cv_func__finite_use=yes
60729else
60730  glibcxx_cv_func__finite_use=no
60731fi
60732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60733      ac_ext=c
60734ac_cpp='$CPP $CPPFLAGS'
60735ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60736ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60737ac_compiler_gnu=$ac_cv_c_compiler_gnu
60738
60739
60740fi
60741
60742  fi
60743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60744$as_echo "$glibcxx_cv_func__finite_use" >&6; }
60745
60746    if test x$glibcxx_cv_func__finite_use = x"yes"; then
60747      for ac_func in _finite
60748do :
60749  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60750if test "x$ac_cv_func__finite" = x""yes; then :
60751  cat >>confdefs.h <<_ACEOF
60752#define HAVE__FINITE 1
60753_ACEOF
60754
60755fi
60756done
60757
60758    fi
60759  fi
60760
60761
60762
60763
60764
60765  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60766$as_echo_n "checking for sincos declaration... " >&6; }
60767  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60768    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60769  $as_echo_n "(cached) " >&6
60770else
60771
60772
60773      ac_ext=cpp
60774ac_cpp='$CXXCPP $CPPFLAGS'
60775ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60776ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60777ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60778
60779      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60780/* end confdefs.h.  */
60781#include <math.h>
60782int
60783main ()
60784{
60785 sincos(0, 0, 0);
60786  ;
60787  return 0;
60788}
60789_ACEOF
60790if ac_fn_cxx_try_compile "$LINENO"; then :
60791  glibcxx_cv_func_sincos_use=yes
60792else
60793  glibcxx_cv_func_sincos_use=no
60794fi
60795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60796      ac_ext=c
60797ac_cpp='$CPP $CPPFLAGS'
60798ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60799ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60800ac_compiler_gnu=$ac_cv_c_compiler_gnu
60801
60802
60803fi
60804
60805  fi
60806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60807$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60808
60809  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60810    for ac_func in sincos
60811do :
60812  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60813if test "x$ac_cv_func_sincos" = x""yes; then :
60814  cat >>confdefs.h <<_ACEOF
60815#define HAVE_SINCOS 1
60816_ACEOF
60817
60818fi
60819done
60820
60821  else
60822
60823  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60824$as_echo_n "checking for _sincos declaration... " >&6; }
60825  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60826    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60827  $as_echo_n "(cached) " >&6
60828else
60829
60830
60831      ac_ext=cpp
60832ac_cpp='$CXXCPP $CPPFLAGS'
60833ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60834ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60835ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60836
60837      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60838/* end confdefs.h.  */
60839#include <math.h>
60840int
60841main ()
60842{
60843 _sincos(0, 0, 0);
60844  ;
60845  return 0;
60846}
60847_ACEOF
60848if ac_fn_cxx_try_compile "$LINENO"; then :
60849  glibcxx_cv_func__sincos_use=yes
60850else
60851  glibcxx_cv_func__sincos_use=no
60852fi
60853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60854      ac_ext=c
60855ac_cpp='$CPP $CPPFLAGS'
60856ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60857ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60858ac_compiler_gnu=$ac_cv_c_compiler_gnu
60859
60860
60861fi
60862
60863  fi
60864  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60865$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60866
60867    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60868      for ac_func in _sincos
60869do :
60870  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60871if test "x$ac_cv_func__sincos" = x""yes; then :
60872  cat >>confdefs.h <<_ACEOF
60873#define HAVE__SINCOS 1
60874_ACEOF
60875
60876fi
60877done
60878
60879    fi
60880  fi
60881
60882
60883
60884
60885
60886  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60887$as_echo_n "checking for fpclass declaration... " >&6; }
60888  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60889    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60890  $as_echo_n "(cached) " >&6
60891else
60892
60893
60894      ac_ext=cpp
60895ac_cpp='$CXXCPP $CPPFLAGS'
60896ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60897ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60898ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60899
60900      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60901/* end confdefs.h.  */
60902#include <math.h>
60903		      #ifdef HAVE_IEEEFP_H
60904		      #include <ieeefp.h>
60905		      #endif
60906
60907int
60908main ()
60909{
60910 fpclass(0);
60911  ;
60912  return 0;
60913}
60914_ACEOF
60915if ac_fn_cxx_try_compile "$LINENO"; then :
60916  glibcxx_cv_func_fpclass_use=yes
60917else
60918  glibcxx_cv_func_fpclass_use=no
60919fi
60920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60921      ac_ext=c
60922ac_cpp='$CPP $CPPFLAGS'
60923ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60924ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60925ac_compiler_gnu=$ac_cv_c_compiler_gnu
60926
60927
60928fi
60929
60930  fi
60931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60932$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60933
60934  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60935    for ac_func in fpclass
60936do :
60937  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60938if test "x$ac_cv_func_fpclass" = x""yes; then :
60939  cat >>confdefs.h <<_ACEOF
60940#define HAVE_FPCLASS 1
60941_ACEOF
60942
60943fi
60944done
60945
60946  else
60947
60948  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60949$as_echo_n "checking for _fpclass declaration... " >&6; }
60950  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60951    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60952  $as_echo_n "(cached) " >&6
60953else
60954
60955
60956      ac_ext=cpp
60957ac_cpp='$CXXCPP $CPPFLAGS'
60958ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60959ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60960ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60961
60962      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60963/* end confdefs.h.  */
60964#include <math.h>
60965		      #ifdef HAVE_IEEEFP_H
60966		      #include <ieeefp.h>
60967		      #endif
60968
60969int
60970main ()
60971{
60972 _fpclass(0);
60973  ;
60974  return 0;
60975}
60976_ACEOF
60977if ac_fn_cxx_try_compile "$LINENO"; then :
60978  glibcxx_cv_func__fpclass_use=yes
60979else
60980  glibcxx_cv_func__fpclass_use=no
60981fi
60982rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60983      ac_ext=c
60984ac_cpp='$CPP $CPPFLAGS'
60985ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60986ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60987ac_compiler_gnu=$ac_cv_c_compiler_gnu
60988
60989
60990fi
60991
60992  fi
60993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60994$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60995
60996    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60997      for ac_func in _fpclass
60998do :
60999  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61000if test "x$ac_cv_func__fpclass" = x""yes; then :
61001  cat >>confdefs.h <<_ACEOF
61002#define HAVE__FPCLASS 1
61003_ACEOF
61004
61005fi
61006done
61007
61008    fi
61009  fi
61010
61011
61012
61013
61014
61015  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61016$as_echo_n "checking for qfpclass declaration... " >&6; }
61017  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61018    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
61019  $as_echo_n "(cached) " >&6
61020else
61021
61022
61023      ac_ext=cpp
61024ac_cpp='$CXXCPP $CPPFLAGS'
61025ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61026ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61027ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61028
61029      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61030/* end confdefs.h.  */
61031#include <math.h>
61032		      #ifdef HAVE_IEEEFP_H
61033		      #include <ieeefp.h>
61034		      #endif
61035
61036int
61037main ()
61038{
61039 qfpclass(0);
61040  ;
61041  return 0;
61042}
61043_ACEOF
61044if ac_fn_cxx_try_compile "$LINENO"; then :
61045  glibcxx_cv_func_qfpclass_use=yes
61046else
61047  glibcxx_cv_func_qfpclass_use=no
61048fi
61049rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61050      ac_ext=c
61051ac_cpp='$CPP $CPPFLAGS'
61052ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61053ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61054ac_compiler_gnu=$ac_cv_c_compiler_gnu
61055
61056
61057fi
61058
61059  fi
61060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61061$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61062
61063  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61064    for ac_func in qfpclass
61065do :
61066  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61067if test "x$ac_cv_func_qfpclass" = x""yes; then :
61068  cat >>confdefs.h <<_ACEOF
61069#define HAVE_QFPCLASS 1
61070_ACEOF
61071
61072fi
61073done
61074
61075  else
61076
61077  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61078$as_echo_n "checking for _qfpclass declaration... " >&6; }
61079  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61080    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
61081  $as_echo_n "(cached) " >&6
61082else
61083
61084
61085      ac_ext=cpp
61086ac_cpp='$CXXCPP $CPPFLAGS'
61087ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61088ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61089ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61090
61091      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61092/* end confdefs.h.  */
61093#include <math.h>
61094		      #ifdef HAVE_IEEEFP_H
61095		      #include <ieeefp.h>
61096		      #endif
61097
61098int
61099main ()
61100{
61101 _qfpclass(0);
61102  ;
61103  return 0;
61104}
61105_ACEOF
61106if ac_fn_cxx_try_compile "$LINENO"; then :
61107  glibcxx_cv_func__qfpclass_use=yes
61108else
61109  glibcxx_cv_func__qfpclass_use=no
61110fi
61111rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61112      ac_ext=c
61113ac_cpp='$CPP $CPPFLAGS'
61114ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61115ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61116ac_compiler_gnu=$ac_cv_c_compiler_gnu
61117
61118
61119fi
61120
61121  fi
61122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61123$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61124
61125    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61126      for ac_func in _qfpclass
61127do :
61128  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61129if test "x$ac_cv_func__qfpclass" = x""yes; then :
61130  cat >>confdefs.h <<_ACEOF
61131#define HAVE__QFPCLASS 1
61132_ACEOF
61133
61134fi
61135done
61136
61137    fi
61138  fi
61139
61140
61141
61142
61143
61144  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61145$as_echo_n "checking for hypot declaration... " >&6; }
61146  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61147    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
61148  $as_echo_n "(cached) " >&6
61149else
61150
61151
61152      ac_ext=cpp
61153ac_cpp='$CXXCPP $CPPFLAGS'
61154ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61155ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61156ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61157
61158      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61159/* end confdefs.h.  */
61160#include <math.h>
61161int
61162main ()
61163{
61164 hypot(0, 0);
61165  ;
61166  return 0;
61167}
61168_ACEOF
61169if ac_fn_cxx_try_compile "$LINENO"; then :
61170  glibcxx_cv_func_hypot_use=yes
61171else
61172  glibcxx_cv_func_hypot_use=no
61173fi
61174rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61175      ac_ext=c
61176ac_cpp='$CPP $CPPFLAGS'
61177ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61178ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61179ac_compiler_gnu=$ac_cv_c_compiler_gnu
61180
61181
61182fi
61183
61184  fi
61185  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61186$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61187
61188  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61189    for ac_func in hypot
61190do :
61191  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61192if test "x$ac_cv_func_hypot" = x""yes; then :
61193  cat >>confdefs.h <<_ACEOF
61194#define HAVE_HYPOT 1
61195_ACEOF
61196
61197fi
61198done
61199
61200  else
61201
61202  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61203$as_echo_n "checking for _hypot declaration... " >&6; }
61204  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61205    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
61206  $as_echo_n "(cached) " >&6
61207else
61208
61209
61210      ac_ext=cpp
61211ac_cpp='$CXXCPP $CPPFLAGS'
61212ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61213ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61214ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61215
61216      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61217/* end confdefs.h.  */
61218#include <math.h>
61219int
61220main ()
61221{
61222 _hypot(0, 0);
61223  ;
61224  return 0;
61225}
61226_ACEOF
61227if ac_fn_cxx_try_compile "$LINENO"; then :
61228  glibcxx_cv_func__hypot_use=yes
61229else
61230  glibcxx_cv_func__hypot_use=no
61231fi
61232rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61233      ac_ext=c
61234ac_cpp='$CPP $CPPFLAGS'
61235ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61236ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61237ac_compiler_gnu=$ac_cv_c_compiler_gnu
61238
61239
61240fi
61241
61242  fi
61243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61244$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61245
61246    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61247      for ac_func in _hypot
61248do :
61249  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61250if test "x$ac_cv_func__hypot" = x""yes; then :
61251  cat >>confdefs.h <<_ACEOF
61252#define HAVE__HYPOT 1
61253_ACEOF
61254
61255fi
61256done
61257
61258    fi
61259  fi
61260
61261
61262
61263
61264
61265    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61266$as_echo_n "checking for float trig functions... " >&6; }
61267  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61268  $as_echo_n "(cached) " >&6
61269else
61270
61271
61272    ac_ext=cpp
61273ac_cpp='$CXXCPP $CPPFLAGS'
61274ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61275ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61276ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61277
61278    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61279/* end confdefs.h.  */
61280#include <math.h>
61281int
61282main ()
61283{
61284acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61285  ;
61286  return 0;
61287}
61288_ACEOF
61289if ac_fn_cxx_try_compile "$LINENO"; then :
61290  glibcxx_cv_func_float_trig_use=yes
61291else
61292  glibcxx_cv_func_float_trig_use=no
61293fi
61294rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61295    ac_ext=c
61296ac_cpp='$CPP $CPPFLAGS'
61297ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61298ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61299ac_compiler_gnu=$ac_cv_c_compiler_gnu
61300
61301fi
61302
61303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61304$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61305  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61306    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61307do :
61308  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61309ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61310eval as_val=\$$as_ac_var
61311   if test "x$as_val" = x""yes; then :
61312  cat >>confdefs.h <<_ACEOF
61313#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61314_ACEOF
61315
61316fi
61317done
61318
61319  else
61320    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61321$as_echo_n "checking for _float trig functions... " >&6; }
61322    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61323  $as_echo_n "(cached) " >&6
61324else
61325
61326
61327      ac_ext=cpp
61328ac_cpp='$CXXCPP $CPPFLAGS'
61329ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61330ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61331ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61332
61333      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61334/* end confdefs.h.  */
61335#include <math.h>
61336int
61337main ()
61338{
61339_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61340  ;
61341  return 0;
61342}
61343_ACEOF
61344if ac_fn_cxx_try_compile "$LINENO"; then :
61345  glibcxx_cv_func__float_trig_use=yes
61346else
61347  glibcxx_cv_func__float_trig_use=no
61348fi
61349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61350      ac_ext=c
61351ac_cpp='$CPP $CPPFLAGS'
61352ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61353ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61354ac_compiler_gnu=$ac_cv_c_compiler_gnu
61355
61356fi
61357
61358    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61359$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61360    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61361      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61362do :
61363  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61364ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61365eval as_val=\$$as_ac_var
61366   if test "x$as_val" = x""yes; then :
61367  cat >>confdefs.h <<_ACEOF
61368#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61369_ACEOF
61370
61371fi
61372done
61373
61374    fi
61375  fi
61376
61377
61378
61379
61380
61381    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61382$as_echo_n "checking for float round functions... " >&6; }
61383  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61384  $as_echo_n "(cached) " >&6
61385else
61386
61387
61388    ac_ext=cpp
61389ac_cpp='$CXXCPP $CPPFLAGS'
61390ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61391ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61392ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61393
61394    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61395/* end confdefs.h.  */
61396#include <math.h>
61397int
61398main ()
61399{
61400ceilf (0); floorf (0);
61401  ;
61402  return 0;
61403}
61404_ACEOF
61405if ac_fn_cxx_try_compile "$LINENO"; then :
61406  glibcxx_cv_func_float_round_use=yes
61407else
61408  glibcxx_cv_func_float_round_use=no
61409fi
61410rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61411    ac_ext=c
61412ac_cpp='$CPP $CPPFLAGS'
61413ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61414ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61415ac_compiler_gnu=$ac_cv_c_compiler_gnu
61416
61417fi
61418
61419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61420$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61421  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61422    for ac_func in ceilf floorf
61423do :
61424  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61425ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61426eval as_val=\$$as_ac_var
61427   if test "x$as_val" = x""yes; then :
61428  cat >>confdefs.h <<_ACEOF
61429#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61430_ACEOF
61431
61432fi
61433done
61434
61435  else
61436    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61437$as_echo_n "checking for _float round functions... " >&6; }
61438    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61439  $as_echo_n "(cached) " >&6
61440else
61441
61442
61443      ac_ext=cpp
61444ac_cpp='$CXXCPP $CPPFLAGS'
61445ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61446ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61447ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61448
61449      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61450/* end confdefs.h.  */
61451#include <math.h>
61452int
61453main ()
61454{
61455_ceilf (0); _floorf (0);
61456  ;
61457  return 0;
61458}
61459_ACEOF
61460if ac_fn_cxx_try_compile "$LINENO"; then :
61461  glibcxx_cv_func__float_round_use=yes
61462else
61463  glibcxx_cv_func__float_round_use=no
61464fi
61465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61466      ac_ext=c
61467ac_cpp='$CPP $CPPFLAGS'
61468ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61469ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61470ac_compiler_gnu=$ac_cv_c_compiler_gnu
61471
61472fi
61473
61474    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61475$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61476    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61477      for ac_func in _ceilf _floorf
61478do :
61479  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61480ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61481eval as_val=\$$as_ac_var
61482   if test "x$as_val" = x""yes; then :
61483  cat >>confdefs.h <<_ACEOF
61484#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61485_ACEOF
61486
61487fi
61488done
61489
61490    fi
61491  fi
61492
61493
61494
61495
61496
61497
61498  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61499$as_echo_n "checking for expf declaration... " >&6; }
61500  if test x${glibcxx_cv_func_expf_use+set} != xset; then
61501    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61502  $as_echo_n "(cached) " >&6
61503else
61504
61505
61506      ac_ext=cpp
61507ac_cpp='$CXXCPP $CPPFLAGS'
61508ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61509ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61510ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61511
61512      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61513/* end confdefs.h.  */
61514#include <math.h>
61515		      #ifdef HAVE_IEEEFP_H
61516		      #include <ieeefp.h>
61517		      #endif
61518
61519int
61520main ()
61521{
61522 expf(0);
61523  ;
61524  return 0;
61525}
61526_ACEOF
61527if ac_fn_cxx_try_compile "$LINENO"; then :
61528  glibcxx_cv_func_expf_use=yes
61529else
61530  glibcxx_cv_func_expf_use=no
61531fi
61532rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61533      ac_ext=c
61534ac_cpp='$CPP $CPPFLAGS'
61535ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61536ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61537ac_compiler_gnu=$ac_cv_c_compiler_gnu
61538
61539
61540fi
61541
61542  fi
61543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61544$as_echo "$glibcxx_cv_func_expf_use" >&6; }
61545
61546  if test x$glibcxx_cv_func_expf_use = x"yes"; then
61547    for ac_func in expf
61548do :
61549  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61550if test "x$ac_cv_func_expf" = x""yes; then :
61551  cat >>confdefs.h <<_ACEOF
61552#define HAVE_EXPF 1
61553_ACEOF
61554
61555fi
61556done
61557
61558  else
61559
61560  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61561$as_echo_n "checking for _expf declaration... " >&6; }
61562  if test x${glibcxx_cv_func__expf_use+set} != xset; then
61563    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61564  $as_echo_n "(cached) " >&6
61565else
61566
61567
61568      ac_ext=cpp
61569ac_cpp='$CXXCPP $CPPFLAGS'
61570ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61571ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61572ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61573
61574      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61575/* end confdefs.h.  */
61576#include <math.h>
61577		      #ifdef HAVE_IEEEFP_H
61578		      #include <ieeefp.h>
61579		      #endif
61580
61581int
61582main ()
61583{
61584 _expf(0);
61585  ;
61586  return 0;
61587}
61588_ACEOF
61589if ac_fn_cxx_try_compile "$LINENO"; then :
61590  glibcxx_cv_func__expf_use=yes
61591else
61592  glibcxx_cv_func__expf_use=no
61593fi
61594rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61595      ac_ext=c
61596ac_cpp='$CPP $CPPFLAGS'
61597ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61598ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61599ac_compiler_gnu=$ac_cv_c_compiler_gnu
61600
61601
61602fi
61603
61604  fi
61605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61606$as_echo "$glibcxx_cv_func__expf_use" >&6; }
61607
61608    if test x$glibcxx_cv_func__expf_use = x"yes"; then
61609      for ac_func in _expf
61610do :
61611  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61612if test "x$ac_cv_func__expf" = x""yes; then :
61613  cat >>confdefs.h <<_ACEOF
61614#define HAVE__EXPF 1
61615_ACEOF
61616
61617fi
61618done
61619
61620    fi
61621  fi
61622
61623
61624
61625
61626
61627  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61628$as_echo_n "checking for isnanf declaration... " >&6; }
61629  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61630    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61631  $as_echo_n "(cached) " >&6
61632else
61633
61634
61635      ac_ext=cpp
61636ac_cpp='$CXXCPP $CPPFLAGS'
61637ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61638ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61639ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61640
61641      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61642/* end confdefs.h.  */
61643#include <math.h>
61644		      #ifdef HAVE_IEEEFP_H
61645		      #include <ieeefp.h>
61646		      #endif
61647
61648int
61649main ()
61650{
61651 isnanf(0);
61652  ;
61653  return 0;
61654}
61655_ACEOF
61656if ac_fn_cxx_try_compile "$LINENO"; then :
61657  glibcxx_cv_func_isnanf_use=yes
61658else
61659  glibcxx_cv_func_isnanf_use=no
61660fi
61661rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61662      ac_ext=c
61663ac_cpp='$CPP $CPPFLAGS'
61664ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61665ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61666ac_compiler_gnu=$ac_cv_c_compiler_gnu
61667
61668
61669fi
61670
61671  fi
61672  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61673$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61674
61675  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61676    for ac_func in isnanf
61677do :
61678  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61679if test "x$ac_cv_func_isnanf" = x""yes; then :
61680  cat >>confdefs.h <<_ACEOF
61681#define HAVE_ISNANF 1
61682_ACEOF
61683
61684fi
61685done
61686
61687  else
61688
61689  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61690$as_echo_n "checking for _isnanf declaration... " >&6; }
61691  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61692    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61693  $as_echo_n "(cached) " >&6
61694else
61695
61696
61697      ac_ext=cpp
61698ac_cpp='$CXXCPP $CPPFLAGS'
61699ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61700ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61701ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61702
61703      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61704/* end confdefs.h.  */
61705#include <math.h>
61706		      #ifdef HAVE_IEEEFP_H
61707		      #include <ieeefp.h>
61708		      #endif
61709
61710int
61711main ()
61712{
61713 _isnanf(0);
61714  ;
61715  return 0;
61716}
61717_ACEOF
61718if ac_fn_cxx_try_compile "$LINENO"; then :
61719  glibcxx_cv_func__isnanf_use=yes
61720else
61721  glibcxx_cv_func__isnanf_use=no
61722fi
61723rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61724      ac_ext=c
61725ac_cpp='$CPP $CPPFLAGS'
61726ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61727ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61728ac_compiler_gnu=$ac_cv_c_compiler_gnu
61729
61730
61731fi
61732
61733  fi
61734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61735$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61736
61737    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61738      for ac_func in _isnanf
61739do :
61740  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61741if test "x$ac_cv_func__isnanf" = x""yes; then :
61742  cat >>confdefs.h <<_ACEOF
61743#define HAVE__ISNANF 1
61744_ACEOF
61745
61746fi
61747done
61748
61749    fi
61750  fi
61751
61752
61753
61754
61755
61756  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61757$as_echo_n "checking for isinff declaration... " >&6; }
61758  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61759    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61760  $as_echo_n "(cached) " >&6
61761else
61762
61763
61764      ac_ext=cpp
61765ac_cpp='$CXXCPP $CPPFLAGS'
61766ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61767ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61768ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61769
61770      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61771/* end confdefs.h.  */
61772#include <math.h>
61773		      #ifdef HAVE_IEEEFP_H
61774		      #include <ieeefp.h>
61775		      #endif
61776
61777int
61778main ()
61779{
61780 isinff(0);
61781  ;
61782  return 0;
61783}
61784_ACEOF
61785if ac_fn_cxx_try_compile "$LINENO"; then :
61786  glibcxx_cv_func_isinff_use=yes
61787else
61788  glibcxx_cv_func_isinff_use=no
61789fi
61790rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61791      ac_ext=c
61792ac_cpp='$CPP $CPPFLAGS'
61793ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61794ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61795ac_compiler_gnu=$ac_cv_c_compiler_gnu
61796
61797
61798fi
61799
61800  fi
61801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61802$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61803
61804  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61805    for ac_func in isinff
61806do :
61807  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61808if test "x$ac_cv_func_isinff" = x""yes; then :
61809  cat >>confdefs.h <<_ACEOF
61810#define HAVE_ISINFF 1
61811_ACEOF
61812
61813fi
61814done
61815
61816  else
61817
61818  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61819$as_echo_n "checking for _isinff declaration... " >&6; }
61820  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61821    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61822  $as_echo_n "(cached) " >&6
61823else
61824
61825
61826      ac_ext=cpp
61827ac_cpp='$CXXCPP $CPPFLAGS'
61828ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61829ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61830ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61831
61832      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61833/* end confdefs.h.  */
61834#include <math.h>
61835		      #ifdef HAVE_IEEEFP_H
61836		      #include <ieeefp.h>
61837		      #endif
61838
61839int
61840main ()
61841{
61842 _isinff(0);
61843  ;
61844  return 0;
61845}
61846_ACEOF
61847if ac_fn_cxx_try_compile "$LINENO"; then :
61848  glibcxx_cv_func__isinff_use=yes
61849else
61850  glibcxx_cv_func__isinff_use=no
61851fi
61852rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61853      ac_ext=c
61854ac_cpp='$CPP $CPPFLAGS'
61855ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61856ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61857ac_compiler_gnu=$ac_cv_c_compiler_gnu
61858
61859
61860fi
61861
61862  fi
61863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61864$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61865
61866    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61867      for ac_func in _isinff
61868do :
61869  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61870if test "x$ac_cv_func__isinff" = x""yes; then :
61871  cat >>confdefs.h <<_ACEOF
61872#define HAVE__ISINFF 1
61873_ACEOF
61874
61875fi
61876done
61877
61878    fi
61879  fi
61880
61881
61882
61883
61884
61885  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61886$as_echo_n "checking for atan2f declaration... " >&6; }
61887  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61888    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61889  $as_echo_n "(cached) " >&6
61890else
61891
61892
61893      ac_ext=cpp
61894ac_cpp='$CXXCPP $CPPFLAGS'
61895ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61896ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61897ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61898
61899      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61900/* end confdefs.h.  */
61901#include <math.h>
61902int
61903main ()
61904{
61905 atan2f(0, 0);
61906  ;
61907  return 0;
61908}
61909_ACEOF
61910if ac_fn_cxx_try_compile "$LINENO"; then :
61911  glibcxx_cv_func_atan2f_use=yes
61912else
61913  glibcxx_cv_func_atan2f_use=no
61914fi
61915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61916      ac_ext=c
61917ac_cpp='$CPP $CPPFLAGS'
61918ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61919ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61920ac_compiler_gnu=$ac_cv_c_compiler_gnu
61921
61922
61923fi
61924
61925  fi
61926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61927$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61928
61929  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61930    for ac_func in atan2f
61931do :
61932  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61933if test "x$ac_cv_func_atan2f" = x""yes; then :
61934  cat >>confdefs.h <<_ACEOF
61935#define HAVE_ATAN2F 1
61936_ACEOF
61937
61938fi
61939done
61940
61941  else
61942
61943  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61944$as_echo_n "checking for _atan2f declaration... " >&6; }
61945  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61946    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61947  $as_echo_n "(cached) " >&6
61948else
61949
61950
61951      ac_ext=cpp
61952ac_cpp='$CXXCPP $CPPFLAGS'
61953ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61954ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61955ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61956
61957      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61958/* end confdefs.h.  */
61959#include <math.h>
61960int
61961main ()
61962{
61963 _atan2f(0, 0);
61964  ;
61965  return 0;
61966}
61967_ACEOF
61968if ac_fn_cxx_try_compile "$LINENO"; then :
61969  glibcxx_cv_func__atan2f_use=yes
61970else
61971  glibcxx_cv_func__atan2f_use=no
61972fi
61973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61974      ac_ext=c
61975ac_cpp='$CPP $CPPFLAGS'
61976ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61977ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61978ac_compiler_gnu=$ac_cv_c_compiler_gnu
61979
61980
61981fi
61982
61983  fi
61984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61985$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61986
61987    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61988      for ac_func in _atan2f
61989do :
61990  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61991if test "x$ac_cv_func__atan2f" = x""yes; then :
61992  cat >>confdefs.h <<_ACEOF
61993#define HAVE__ATAN2F 1
61994_ACEOF
61995
61996fi
61997done
61998
61999    fi
62000  fi
62001
62002
62003
62004
62005
62006  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62007$as_echo_n "checking for fabsf declaration... " >&6; }
62008  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62009    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
62010  $as_echo_n "(cached) " >&6
62011else
62012
62013
62014      ac_ext=cpp
62015ac_cpp='$CXXCPP $CPPFLAGS'
62016ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62017ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62018ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62019
62020      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62021/* end confdefs.h.  */
62022#include <math.h>
62023		      #ifdef HAVE_IEEEFP_H
62024		      #include <ieeefp.h>
62025		      #endif
62026
62027int
62028main ()
62029{
62030 fabsf(0);
62031  ;
62032  return 0;
62033}
62034_ACEOF
62035if ac_fn_cxx_try_compile "$LINENO"; then :
62036  glibcxx_cv_func_fabsf_use=yes
62037else
62038  glibcxx_cv_func_fabsf_use=no
62039fi
62040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62041      ac_ext=c
62042ac_cpp='$CPP $CPPFLAGS'
62043ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62044ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62045ac_compiler_gnu=$ac_cv_c_compiler_gnu
62046
62047
62048fi
62049
62050  fi
62051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62052$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62053
62054  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62055    for ac_func in fabsf
62056do :
62057  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62058if test "x$ac_cv_func_fabsf" = x""yes; then :
62059  cat >>confdefs.h <<_ACEOF
62060#define HAVE_FABSF 1
62061_ACEOF
62062
62063fi
62064done
62065
62066  else
62067
62068  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62069$as_echo_n "checking for _fabsf declaration... " >&6; }
62070  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62071    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
62072  $as_echo_n "(cached) " >&6
62073else
62074
62075
62076      ac_ext=cpp
62077ac_cpp='$CXXCPP $CPPFLAGS'
62078ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62079ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62080ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62081
62082      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62083/* end confdefs.h.  */
62084#include <math.h>
62085		      #ifdef HAVE_IEEEFP_H
62086		      #include <ieeefp.h>
62087		      #endif
62088
62089int
62090main ()
62091{
62092 _fabsf(0);
62093  ;
62094  return 0;
62095}
62096_ACEOF
62097if ac_fn_cxx_try_compile "$LINENO"; then :
62098  glibcxx_cv_func__fabsf_use=yes
62099else
62100  glibcxx_cv_func__fabsf_use=no
62101fi
62102rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62103      ac_ext=c
62104ac_cpp='$CPP $CPPFLAGS'
62105ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62106ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62107ac_compiler_gnu=$ac_cv_c_compiler_gnu
62108
62109
62110fi
62111
62112  fi
62113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62114$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62115
62116    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62117      for ac_func in _fabsf
62118do :
62119  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62120if test "x$ac_cv_func__fabsf" = x""yes; then :
62121  cat >>confdefs.h <<_ACEOF
62122#define HAVE__FABSF 1
62123_ACEOF
62124
62125fi
62126done
62127
62128    fi
62129  fi
62130
62131
62132
62133
62134
62135  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62136$as_echo_n "checking for fmodf declaration... " >&6; }
62137  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62138    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
62139  $as_echo_n "(cached) " >&6
62140else
62141
62142
62143      ac_ext=cpp
62144ac_cpp='$CXXCPP $CPPFLAGS'
62145ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62146ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62147ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62148
62149      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62150/* end confdefs.h.  */
62151#include <math.h>
62152int
62153main ()
62154{
62155 fmodf(0, 0);
62156  ;
62157  return 0;
62158}
62159_ACEOF
62160if ac_fn_cxx_try_compile "$LINENO"; then :
62161  glibcxx_cv_func_fmodf_use=yes
62162else
62163  glibcxx_cv_func_fmodf_use=no
62164fi
62165rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62166      ac_ext=c
62167ac_cpp='$CPP $CPPFLAGS'
62168ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62169ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62170ac_compiler_gnu=$ac_cv_c_compiler_gnu
62171
62172
62173fi
62174
62175  fi
62176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62177$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62178
62179  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62180    for ac_func in fmodf
62181do :
62182  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62183if test "x$ac_cv_func_fmodf" = x""yes; then :
62184  cat >>confdefs.h <<_ACEOF
62185#define HAVE_FMODF 1
62186_ACEOF
62187
62188fi
62189done
62190
62191  else
62192
62193  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62194$as_echo_n "checking for _fmodf declaration... " >&6; }
62195  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62196    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
62197  $as_echo_n "(cached) " >&6
62198else
62199
62200
62201      ac_ext=cpp
62202ac_cpp='$CXXCPP $CPPFLAGS'
62203ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62204ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62205ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62206
62207      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62208/* end confdefs.h.  */
62209#include <math.h>
62210int
62211main ()
62212{
62213 _fmodf(0, 0);
62214  ;
62215  return 0;
62216}
62217_ACEOF
62218if ac_fn_cxx_try_compile "$LINENO"; then :
62219  glibcxx_cv_func__fmodf_use=yes
62220else
62221  glibcxx_cv_func__fmodf_use=no
62222fi
62223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62224      ac_ext=c
62225ac_cpp='$CPP $CPPFLAGS'
62226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62228ac_compiler_gnu=$ac_cv_c_compiler_gnu
62229
62230
62231fi
62232
62233  fi
62234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62235$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62236
62237    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62238      for ac_func in _fmodf
62239do :
62240  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62241if test "x$ac_cv_func__fmodf" = x""yes; then :
62242  cat >>confdefs.h <<_ACEOF
62243#define HAVE__FMODF 1
62244_ACEOF
62245
62246fi
62247done
62248
62249    fi
62250  fi
62251
62252
62253
62254
62255
62256  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62257$as_echo_n "checking for frexpf declaration... " >&6; }
62258  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62259    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62260  $as_echo_n "(cached) " >&6
62261else
62262
62263
62264      ac_ext=cpp
62265ac_cpp='$CXXCPP $CPPFLAGS'
62266ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62267ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62268ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62269
62270      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62271/* end confdefs.h.  */
62272#include <math.h>
62273int
62274main ()
62275{
62276 frexpf(0, 0);
62277  ;
62278  return 0;
62279}
62280_ACEOF
62281if ac_fn_cxx_try_compile "$LINENO"; then :
62282  glibcxx_cv_func_frexpf_use=yes
62283else
62284  glibcxx_cv_func_frexpf_use=no
62285fi
62286rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62287      ac_ext=c
62288ac_cpp='$CPP $CPPFLAGS'
62289ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62290ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62291ac_compiler_gnu=$ac_cv_c_compiler_gnu
62292
62293
62294fi
62295
62296  fi
62297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62298$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62299
62300  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62301    for ac_func in frexpf
62302do :
62303  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62304if test "x$ac_cv_func_frexpf" = x""yes; then :
62305  cat >>confdefs.h <<_ACEOF
62306#define HAVE_FREXPF 1
62307_ACEOF
62308
62309fi
62310done
62311
62312  else
62313
62314  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62315$as_echo_n "checking for _frexpf declaration... " >&6; }
62316  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62317    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62318  $as_echo_n "(cached) " >&6
62319else
62320
62321
62322      ac_ext=cpp
62323ac_cpp='$CXXCPP $CPPFLAGS'
62324ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62325ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62326ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62327
62328      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62329/* end confdefs.h.  */
62330#include <math.h>
62331int
62332main ()
62333{
62334 _frexpf(0, 0);
62335  ;
62336  return 0;
62337}
62338_ACEOF
62339if ac_fn_cxx_try_compile "$LINENO"; then :
62340  glibcxx_cv_func__frexpf_use=yes
62341else
62342  glibcxx_cv_func__frexpf_use=no
62343fi
62344rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62345      ac_ext=c
62346ac_cpp='$CPP $CPPFLAGS'
62347ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62348ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62349ac_compiler_gnu=$ac_cv_c_compiler_gnu
62350
62351
62352fi
62353
62354  fi
62355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62356$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62357
62358    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62359      for ac_func in _frexpf
62360do :
62361  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62362if test "x$ac_cv_func__frexpf" = x""yes; then :
62363  cat >>confdefs.h <<_ACEOF
62364#define HAVE__FREXPF 1
62365_ACEOF
62366
62367fi
62368done
62369
62370    fi
62371  fi
62372
62373
62374
62375
62376
62377  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62378$as_echo_n "checking for hypotf declaration... " >&6; }
62379  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62380    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62381  $as_echo_n "(cached) " >&6
62382else
62383
62384
62385      ac_ext=cpp
62386ac_cpp='$CXXCPP $CPPFLAGS'
62387ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62388ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62389ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62390
62391      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62392/* end confdefs.h.  */
62393#include <math.h>
62394int
62395main ()
62396{
62397 hypotf(0, 0);
62398  ;
62399  return 0;
62400}
62401_ACEOF
62402if ac_fn_cxx_try_compile "$LINENO"; then :
62403  glibcxx_cv_func_hypotf_use=yes
62404else
62405  glibcxx_cv_func_hypotf_use=no
62406fi
62407rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62408      ac_ext=c
62409ac_cpp='$CPP $CPPFLAGS'
62410ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62411ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62412ac_compiler_gnu=$ac_cv_c_compiler_gnu
62413
62414
62415fi
62416
62417  fi
62418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62419$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62420
62421  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62422    for ac_func in hypotf
62423do :
62424  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62425if test "x$ac_cv_func_hypotf" = x""yes; then :
62426  cat >>confdefs.h <<_ACEOF
62427#define HAVE_HYPOTF 1
62428_ACEOF
62429
62430fi
62431done
62432
62433  else
62434
62435  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62436$as_echo_n "checking for _hypotf declaration... " >&6; }
62437  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62438    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62439  $as_echo_n "(cached) " >&6
62440else
62441
62442
62443      ac_ext=cpp
62444ac_cpp='$CXXCPP $CPPFLAGS'
62445ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62446ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62447ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62448
62449      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62450/* end confdefs.h.  */
62451#include <math.h>
62452int
62453main ()
62454{
62455 _hypotf(0, 0);
62456  ;
62457  return 0;
62458}
62459_ACEOF
62460if ac_fn_cxx_try_compile "$LINENO"; then :
62461  glibcxx_cv_func__hypotf_use=yes
62462else
62463  glibcxx_cv_func__hypotf_use=no
62464fi
62465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62466      ac_ext=c
62467ac_cpp='$CPP $CPPFLAGS'
62468ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62469ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62470ac_compiler_gnu=$ac_cv_c_compiler_gnu
62471
62472
62473fi
62474
62475  fi
62476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62477$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62478
62479    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62480      for ac_func in _hypotf
62481do :
62482  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62483if test "x$ac_cv_func__hypotf" = x""yes; then :
62484  cat >>confdefs.h <<_ACEOF
62485#define HAVE__HYPOTF 1
62486_ACEOF
62487
62488fi
62489done
62490
62491    fi
62492  fi
62493
62494
62495
62496
62497
62498  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62499$as_echo_n "checking for ldexpf declaration... " >&6; }
62500  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62501    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62502  $as_echo_n "(cached) " >&6
62503else
62504
62505
62506      ac_ext=cpp
62507ac_cpp='$CXXCPP $CPPFLAGS'
62508ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62509ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62510ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62511
62512      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62513/* end confdefs.h.  */
62514#include <math.h>
62515int
62516main ()
62517{
62518 ldexpf(0, 0);
62519  ;
62520  return 0;
62521}
62522_ACEOF
62523if ac_fn_cxx_try_compile "$LINENO"; then :
62524  glibcxx_cv_func_ldexpf_use=yes
62525else
62526  glibcxx_cv_func_ldexpf_use=no
62527fi
62528rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62529      ac_ext=c
62530ac_cpp='$CPP $CPPFLAGS'
62531ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62532ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62533ac_compiler_gnu=$ac_cv_c_compiler_gnu
62534
62535
62536fi
62537
62538  fi
62539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62540$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62541
62542  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62543    for ac_func in ldexpf
62544do :
62545  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62546if test "x$ac_cv_func_ldexpf" = x""yes; then :
62547  cat >>confdefs.h <<_ACEOF
62548#define HAVE_LDEXPF 1
62549_ACEOF
62550
62551fi
62552done
62553
62554  else
62555
62556  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62557$as_echo_n "checking for _ldexpf declaration... " >&6; }
62558  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62559    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62560  $as_echo_n "(cached) " >&6
62561else
62562
62563
62564      ac_ext=cpp
62565ac_cpp='$CXXCPP $CPPFLAGS'
62566ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62567ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62568ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62569
62570      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62571/* end confdefs.h.  */
62572#include <math.h>
62573int
62574main ()
62575{
62576 _ldexpf(0, 0);
62577  ;
62578  return 0;
62579}
62580_ACEOF
62581if ac_fn_cxx_try_compile "$LINENO"; then :
62582  glibcxx_cv_func__ldexpf_use=yes
62583else
62584  glibcxx_cv_func__ldexpf_use=no
62585fi
62586rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62587      ac_ext=c
62588ac_cpp='$CPP $CPPFLAGS'
62589ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62590ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62591ac_compiler_gnu=$ac_cv_c_compiler_gnu
62592
62593
62594fi
62595
62596  fi
62597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62598$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62599
62600    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62601      for ac_func in _ldexpf
62602do :
62603  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62604if test "x$ac_cv_func__ldexpf" = x""yes; then :
62605  cat >>confdefs.h <<_ACEOF
62606#define HAVE__LDEXPF 1
62607_ACEOF
62608
62609fi
62610done
62611
62612    fi
62613  fi
62614
62615
62616
62617
62618
62619  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62620$as_echo_n "checking for logf declaration... " >&6; }
62621  if test x${glibcxx_cv_func_logf_use+set} != xset; then
62622    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62623  $as_echo_n "(cached) " >&6
62624else
62625
62626
62627      ac_ext=cpp
62628ac_cpp='$CXXCPP $CPPFLAGS'
62629ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62630ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62631ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62632
62633      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62634/* end confdefs.h.  */
62635#include <math.h>
62636		      #ifdef HAVE_IEEEFP_H
62637		      #include <ieeefp.h>
62638		      #endif
62639
62640int
62641main ()
62642{
62643 logf(0);
62644  ;
62645  return 0;
62646}
62647_ACEOF
62648if ac_fn_cxx_try_compile "$LINENO"; then :
62649  glibcxx_cv_func_logf_use=yes
62650else
62651  glibcxx_cv_func_logf_use=no
62652fi
62653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62654      ac_ext=c
62655ac_cpp='$CPP $CPPFLAGS'
62656ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62657ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62658ac_compiler_gnu=$ac_cv_c_compiler_gnu
62659
62660
62661fi
62662
62663  fi
62664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62665$as_echo "$glibcxx_cv_func_logf_use" >&6; }
62666
62667  if test x$glibcxx_cv_func_logf_use = x"yes"; then
62668    for ac_func in logf
62669do :
62670  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62671if test "x$ac_cv_func_logf" = x""yes; then :
62672  cat >>confdefs.h <<_ACEOF
62673#define HAVE_LOGF 1
62674_ACEOF
62675
62676fi
62677done
62678
62679  else
62680
62681  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62682$as_echo_n "checking for _logf declaration... " >&6; }
62683  if test x${glibcxx_cv_func__logf_use+set} != xset; then
62684    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62685  $as_echo_n "(cached) " >&6
62686else
62687
62688
62689      ac_ext=cpp
62690ac_cpp='$CXXCPP $CPPFLAGS'
62691ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62692ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62693ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62694
62695      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62696/* end confdefs.h.  */
62697#include <math.h>
62698		      #ifdef HAVE_IEEEFP_H
62699		      #include <ieeefp.h>
62700		      #endif
62701
62702int
62703main ()
62704{
62705 _logf(0);
62706  ;
62707  return 0;
62708}
62709_ACEOF
62710if ac_fn_cxx_try_compile "$LINENO"; then :
62711  glibcxx_cv_func__logf_use=yes
62712else
62713  glibcxx_cv_func__logf_use=no
62714fi
62715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62716      ac_ext=c
62717ac_cpp='$CPP $CPPFLAGS'
62718ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62719ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62720ac_compiler_gnu=$ac_cv_c_compiler_gnu
62721
62722
62723fi
62724
62725  fi
62726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62727$as_echo "$glibcxx_cv_func__logf_use" >&6; }
62728
62729    if test x$glibcxx_cv_func__logf_use = x"yes"; then
62730      for ac_func in _logf
62731do :
62732  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62733if test "x$ac_cv_func__logf" = x""yes; then :
62734  cat >>confdefs.h <<_ACEOF
62735#define HAVE__LOGF 1
62736_ACEOF
62737
62738fi
62739done
62740
62741    fi
62742  fi
62743
62744
62745
62746
62747
62748  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62749$as_echo_n "checking for log10f declaration... " >&6; }
62750  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62751    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62752  $as_echo_n "(cached) " >&6
62753else
62754
62755
62756      ac_ext=cpp
62757ac_cpp='$CXXCPP $CPPFLAGS'
62758ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62759ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62760ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62761
62762      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62763/* end confdefs.h.  */
62764#include <math.h>
62765		      #ifdef HAVE_IEEEFP_H
62766		      #include <ieeefp.h>
62767		      #endif
62768
62769int
62770main ()
62771{
62772 log10f(0);
62773  ;
62774  return 0;
62775}
62776_ACEOF
62777if ac_fn_cxx_try_compile "$LINENO"; then :
62778  glibcxx_cv_func_log10f_use=yes
62779else
62780  glibcxx_cv_func_log10f_use=no
62781fi
62782rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62783      ac_ext=c
62784ac_cpp='$CPP $CPPFLAGS'
62785ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62786ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62787ac_compiler_gnu=$ac_cv_c_compiler_gnu
62788
62789
62790fi
62791
62792  fi
62793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62794$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62795
62796  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62797    for ac_func in log10f
62798do :
62799  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62800if test "x$ac_cv_func_log10f" = x""yes; then :
62801  cat >>confdefs.h <<_ACEOF
62802#define HAVE_LOG10F 1
62803_ACEOF
62804
62805fi
62806done
62807
62808  else
62809
62810  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62811$as_echo_n "checking for _log10f declaration... " >&6; }
62812  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62813    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62814  $as_echo_n "(cached) " >&6
62815else
62816
62817
62818      ac_ext=cpp
62819ac_cpp='$CXXCPP $CPPFLAGS'
62820ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62821ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62822ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62823
62824      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62825/* end confdefs.h.  */
62826#include <math.h>
62827		      #ifdef HAVE_IEEEFP_H
62828		      #include <ieeefp.h>
62829		      #endif
62830
62831int
62832main ()
62833{
62834 _log10f(0);
62835  ;
62836  return 0;
62837}
62838_ACEOF
62839if ac_fn_cxx_try_compile "$LINENO"; then :
62840  glibcxx_cv_func__log10f_use=yes
62841else
62842  glibcxx_cv_func__log10f_use=no
62843fi
62844rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62845      ac_ext=c
62846ac_cpp='$CPP $CPPFLAGS'
62847ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62848ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62849ac_compiler_gnu=$ac_cv_c_compiler_gnu
62850
62851
62852fi
62853
62854  fi
62855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62856$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62857
62858    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62859      for ac_func in _log10f
62860do :
62861  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62862if test "x$ac_cv_func__log10f" = x""yes; then :
62863  cat >>confdefs.h <<_ACEOF
62864#define HAVE__LOG10F 1
62865_ACEOF
62866
62867fi
62868done
62869
62870    fi
62871  fi
62872
62873
62874
62875
62876
62877  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62878$as_echo_n "checking for modff declaration... " >&6; }
62879  if test x${glibcxx_cv_func_modff_use+set} != xset; then
62880    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62881  $as_echo_n "(cached) " >&6
62882else
62883
62884
62885      ac_ext=cpp
62886ac_cpp='$CXXCPP $CPPFLAGS'
62887ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62888ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62889ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62890
62891      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62892/* end confdefs.h.  */
62893#include <math.h>
62894int
62895main ()
62896{
62897 modff(0, 0);
62898  ;
62899  return 0;
62900}
62901_ACEOF
62902if ac_fn_cxx_try_compile "$LINENO"; then :
62903  glibcxx_cv_func_modff_use=yes
62904else
62905  glibcxx_cv_func_modff_use=no
62906fi
62907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62908      ac_ext=c
62909ac_cpp='$CPP $CPPFLAGS'
62910ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62911ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62912ac_compiler_gnu=$ac_cv_c_compiler_gnu
62913
62914
62915fi
62916
62917  fi
62918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62919$as_echo "$glibcxx_cv_func_modff_use" >&6; }
62920
62921  if test x$glibcxx_cv_func_modff_use = x"yes"; then
62922    for ac_func in modff
62923do :
62924  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62925if test "x$ac_cv_func_modff" = x""yes; then :
62926  cat >>confdefs.h <<_ACEOF
62927#define HAVE_MODFF 1
62928_ACEOF
62929
62930fi
62931done
62932
62933  else
62934
62935  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62936$as_echo_n "checking for _modff declaration... " >&6; }
62937  if test x${glibcxx_cv_func__modff_use+set} != xset; then
62938    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62939  $as_echo_n "(cached) " >&6
62940else
62941
62942
62943      ac_ext=cpp
62944ac_cpp='$CXXCPP $CPPFLAGS'
62945ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62946ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62947ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62948
62949      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62950/* end confdefs.h.  */
62951#include <math.h>
62952int
62953main ()
62954{
62955 _modff(0, 0);
62956  ;
62957  return 0;
62958}
62959_ACEOF
62960if ac_fn_cxx_try_compile "$LINENO"; then :
62961  glibcxx_cv_func__modff_use=yes
62962else
62963  glibcxx_cv_func__modff_use=no
62964fi
62965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62966      ac_ext=c
62967ac_cpp='$CPP $CPPFLAGS'
62968ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62969ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62970ac_compiler_gnu=$ac_cv_c_compiler_gnu
62971
62972
62973fi
62974
62975  fi
62976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62977$as_echo "$glibcxx_cv_func__modff_use" >&6; }
62978
62979    if test x$glibcxx_cv_func__modff_use = x"yes"; then
62980      for ac_func in _modff
62981do :
62982  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62983if test "x$ac_cv_func__modff" = x""yes; then :
62984  cat >>confdefs.h <<_ACEOF
62985#define HAVE__MODFF 1
62986_ACEOF
62987
62988fi
62989done
62990
62991    fi
62992  fi
62993
62994
62995
62996
62997
62998  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
62999$as_echo_n "checking for modf declaration... " >&6; }
63000  if test x${glibcxx_cv_func_modf_use+set} != xset; then
63001    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
63002  $as_echo_n "(cached) " >&6
63003else
63004
63005
63006      ac_ext=cpp
63007ac_cpp='$CXXCPP $CPPFLAGS'
63008ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63009ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63010ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63011
63012      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63013/* end confdefs.h.  */
63014#include <math.h>
63015int
63016main ()
63017{
63018 modf(0, 0);
63019  ;
63020  return 0;
63021}
63022_ACEOF
63023if ac_fn_cxx_try_compile "$LINENO"; then :
63024  glibcxx_cv_func_modf_use=yes
63025else
63026  glibcxx_cv_func_modf_use=no
63027fi
63028rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63029      ac_ext=c
63030ac_cpp='$CPP $CPPFLAGS'
63031ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63032ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63033ac_compiler_gnu=$ac_cv_c_compiler_gnu
63034
63035
63036fi
63037
63038  fi
63039  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63040$as_echo "$glibcxx_cv_func_modf_use" >&6; }
63041
63042  if test x$glibcxx_cv_func_modf_use = x"yes"; then
63043    for ac_func in modf
63044do :
63045  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63046if test "x$ac_cv_func_modf" = x""yes; then :
63047  cat >>confdefs.h <<_ACEOF
63048#define HAVE_MODF 1
63049_ACEOF
63050
63051fi
63052done
63053
63054  else
63055
63056  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63057$as_echo_n "checking for _modf declaration... " >&6; }
63058  if test x${glibcxx_cv_func__modf_use+set} != xset; then
63059    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
63060  $as_echo_n "(cached) " >&6
63061else
63062
63063
63064      ac_ext=cpp
63065ac_cpp='$CXXCPP $CPPFLAGS'
63066ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63067ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63068ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63069
63070      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63071/* end confdefs.h.  */
63072#include <math.h>
63073int
63074main ()
63075{
63076 _modf(0, 0);
63077  ;
63078  return 0;
63079}
63080_ACEOF
63081if ac_fn_cxx_try_compile "$LINENO"; then :
63082  glibcxx_cv_func__modf_use=yes
63083else
63084  glibcxx_cv_func__modf_use=no
63085fi
63086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63087      ac_ext=c
63088ac_cpp='$CPP $CPPFLAGS'
63089ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63090ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63091ac_compiler_gnu=$ac_cv_c_compiler_gnu
63092
63093
63094fi
63095
63096  fi
63097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63098$as_echo "$glibcxx_cv_func__modf_use" >&6; }
63099
63100    if test x$glibcxx_cv_func__modf_use = x"yes"; then
63101      for ac_func in _modf
63102do :
63103  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63104if test "x$ac_cv_func__modf" = x""yes; then :
63105  cat >>confdefs.h <<_ACEOF
63106#define HAVE__MODF 1
63107_ACEOF
63108
63109fi
63110done
63111
63112    fi
63113  fi
63114
63115
63116
63117
63118
63119  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63120$as_echo_n "checking for powf declaration... " >&6; }
63121  if test x${glibcxx_cv_func_powf_use+set} != xset; then
63122    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
63123  $as_echo_n "(cached) " >&6
63124else
63125
63126
63127      ac_ext=cpp
63128ac_cpp='$CXXCPP $CPPFLAGS'
63129ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63130ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63131ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63132
63133      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63134/* end confdefs.h.  */
63135#include <math.h>
63136int
63137main ()
63138{
63139 powf(0, 0);
63140  ;
63141  return 0;
63142}
63143_ACEOF
63144if ac_fn_cxx_try_compile "$LINENO"; then :
63145  glibcxx_cv_func_powf_use=yes
63146else
63147  glibcxx_cv_func_powf_use=no
63148fi
63149rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63150      ac_ext=c
63151ac_cpp='$CPP $CPPFLAGS'
63152ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63153ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63154ac_compiler_gnu=$ac_cv_c_compiler_gnu
63155
63156
63157fi
63158
63159  fi
63160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63161$as_echo "$glibcxx_cv_func_powf_use" >&6; }
63162
63163  if test x$glibcxx_cv_func_powf_use = x"yes"; then
63164    for ac_func in powf
63165do :
63166  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63167if test "x$ac_cv_func_powf" = x""yes; then :
63168  cat >>confdefs.h <<_ACEOF
63169#define HAVE_POWF 1
63170_ACEOF
63171
63172fi
63173done
63174
63175  else
63176
63177  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63178$as_echo_n "checking for _powf declaration... " >&6; }
63179  if test x${glibcxx_cv_func__powf_use+set} != xset; then
63180    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
63181  $as_echo_n "(cached) " >&6
63182else
63183
63184
63185      ac_ext=cpp
63186ac_cpp='$CXXCPP $CPPFLAGS'
63187ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63188ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63189ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63190
63191      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63192/* end confdefs.h.  */
63193#include <math.h>
63194int
63195main ()
63196{
63197 _powf(0, 0);
63198  ;
63199  return 0;
63200}
63201_ACEOF
63202if ac_fn_cxx_try_compile "$LINENO"; then :
63203  glibcxx_cv_func__powf_use=yes
63204else
63205  glibcxx_cv_func__powf_use=no
63206fi
63207rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63208      ac_ext=c
63209ac_cpp='$CPP $CPPFLAGS'
63210ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63211ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63212ac_compiler_gnu=$ac_cv_c_compiler_gnu
63213
63214
63215fi
63216
63217  fi
63218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63219$as_echo "$glibcxx_cv_func__powf_use" >&6; }
63220
63221    if test x$glibcxx_cv_func__powf_use = x"yes"; then
63222      for ac_func in _powf
63223do :
63224  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63225if test "x$ac_cv_func__powf" = x""yes; then :
63226  cat >>confdefs.h <<_ACEOF
63227#define HAVE__POWF 1
63228_ACEOF
63229
63230fi
63231done
63232
63233    fi
63234  fi
63235
63236
63237
63238
63239
63240  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63241$as_echo_n "checking for sqrtf declaration... " >&6; }
63242  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63243    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63244  $as_echo_n "(cached) " >&6
63245else
63246
63247
63248      ac_ext=cpp
63249ac_cpp='$CXXCPP $CPPFLAGS'
63250ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63251ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63252ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63253
63254      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63255/* end confdefs.h.  */
63256#include <math.h>
63257		      #ifdef HAVE_IEEEFP_H
63258		      #include <ieeefp.h>
63259		      #endif
63260
63261int
63262main ()
63263{
63264 sqrtf(0);
63265  ;
63266  return 0;
63267}
63268_ACEOF
63269if ac_fn_cxx_try_compile "$LINENO"; then :
63270  glibcxx_cv_func_sqrtf_use=yes
63271else
63272  glibcxx_cv_func_sqrtf_use=no
63273fi
63274rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63275      ac_ext=c
63276ac_cpp='$CPP $CPPFLAGS'
63277ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63278ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63279ac_compiler_gnu=$ac_cv_c_compiler_gnu
63280
63281
63282fi
63283
63284  fi
63285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63286$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63287
63288  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63289    for ac_func in sqrtf
63290do :
63291  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63292if test "x$ac_cv_func_sqrtf" = x""yes; then :
63293  cat >>confdefs.h <<_ACEOF
63294#define HAVE_SQRTF 1
63295_ACEOF
63296
63297fi
63298done
63299
63300  else
63301
63302  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63303$as_echo_n "checking for _sqrtf declaration... " >&6; }
63304  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63305    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63306  $as_echo_n "(cached) " >&6
63307else
63308
63309
63310      ac_ext=cpp
63311ac_cpp='$CXXCPP $CPPFLAGS'
63312ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63313ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63314ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63315
63316      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63317/* end confdefs.h.  */
63318#include <math.h>
63319		      #ifdef HAVE_IEEEFP_H
63320		      #include <ieeefp.h>
63321		      #endif
63322
63323int
63324main ()
63325{
63326 _sqrtf(0);
63327  ;
63328  return 0;
63329}
63330_ACEOF
63331if ac_fn_cxx_try_compile "$LINENO"; then :
63332  glibcxx_cv_func__sqrtf_use=yes
63333else
63334  glibcxx_cv_func__sqrtf_use=no
63335fi
63336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63337      ac_ext=c
63338ac_cpp='$CPP $CPPFLAGS'
63339ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63340ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63341ac_compiler_gnu=$ac_cv_c_compiler_gnu
63342
63343
63344fi
63345
63346  fi
63347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63348$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63349
63350    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63351      for ac_func in _sqrtf
63352do :
63353  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63354if test "x$ac_cv_func__sqrtf" = x""yes; then :
63355  cat >>confdefs.h <<_ACEOF
63356#define HAVE__SQRTF 1
63357_ACEOF
63358
63359fi
63360done
63361
63362    fi
63363  fi
63364
63365
63366
63367
63368
63369  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63370$as_echo_n "checking for sincosf declaration... " >&6; }
63371  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63372    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63373  $as_echo_n "(cached) " >&6
63374else
63375
63376
63377      ac_ext=cpp
63378ac_cpp='$CXXCPP $CPPFLAGS'
63379ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63380ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63381ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63382
63383      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63384/* end confdefs.h.  */
63385#include <math.h>
63386int
63387main ()
63388{
63389 sincosf(0, 0, 0);
63390  ;
63391  return 0;
63392}
63393_ACEOF
63394if ac_fn_cxx_try_compile "$LINENO"; then :
63395  glibcxx_cv_func_sincosf_use=yes
63396else
63397  glibcxx_cv_func_sincosf_use=no
63398fi
63399rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63400      ac_ext=c
63401ac_cpp='$CPP $CPPFLAGS'
63402ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63403ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63404ac_compiler_gnu=$ac_cv_c_compiler_gnu
63405
63406
63407fi
63408
63409  fi
63410  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63411$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63412
63413  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63414    for ac_func in sincosf
63415do :
63416  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63417if test "x$ac_cv_func_sincosf" = x""yes; then :
63418  cat >>confdefs.h <<_ACEOF
63419#define HAVE_SINCOSF 1
63420_ACEOF
63421
63422fi
63423done
63424
63425  else
63426
63427  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63428$as_echo_n "checking for _sincosf declaration... " >&6; }
63429  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63430    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63431  $as_echo_n "(cached) " >&6
63432else
63433
63434
63435      ac_ext=cpp
63436ac_cpp='$CXXCPP $CPPFLAGS'
63437ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63438ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63439ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63440
63441      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63442/* end confdefs.h.  */
63443#include <math.h>
63444int
63445main ()
63446{
63447 _sincosf(0, 0, 0);
63448  ;
63449  return 0;
63450}
63451_ACEOF
63452if ac_fn_cxx_try_compile "$LINENO"; then :
63453  glibcxx_cv_func__sincosf_use=yes
63454else
63455  glibcxx_cv_func__sincosf_use=no
63456fi
63457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63458      ac_ext=c
63459ac_cpp='$CPP $CPPFLAGS'
63460ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63461ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63462ac_compiler_gnu=$ac_cv_c_compiler_gnu
63463
63464
63465fi
63466
63467  fi
63468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63469$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63470
63471    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63472      for ac_func in _sincosf
63473do :
63474  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63475if test "x$ac_cv_func__sincosf" = x""yes; then :
63476  cat >>confdefs.h <<_ACEOF
63477#define HAVE__SINCOSF 1
63478_ACEOF
63479
63480fi
63481done
63482
63483    fi
63484  fi
63485
63486
63487
63488
63489
63490  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63491$as_echo_n "checking for finitef declaration... " >&6; }
63492  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63493    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63494  $as_echo_n "(cached) " >&6
63495else
63496
63497
63498      ac_ext=cpp
63499ac_cpp='$CXXCPP $CPPFLAGS'
63500ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63501ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63502ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63503
63504      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63505/* end confdefs.h.  */
63506#include <math.h>
63507		      #ifdef HAVE_IEEEFP_H
63508		      #include <ieeefp.h>
63509		      #endif
63510
63511int
63512main ()
63513{
63514 finitef(0);
63515  ;
63516  return 0;
63517}
63518_ACEOF
63519if ac_fn_cxx_try_compile "$LINENO"; then :
63520  glibcxx_cv_func_finitef_use=yes
63521else
63522  glibcxx_cv_func_finitef_use=no
63523fi
63524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63525      ac_ext=c
63526ac_cpp='$CPP $CPPFLAGS'
63527ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63528ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63529ac_compiler_gnu=$ac_cv_c_compiler_gnu
63530
63531
63532fi
63533
63534  fi
63535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63536$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63537
63538  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63539    for ac_func in finitef
63540do :
63541  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63542if test "x$ac_cv_func_finitef" = x""yes; then :
63543  cat >>confdefs.h <<_ACEOF
63544#define HAVE_FINITEF 1
63545_ACEOF
63546
63547fi
63548done
63549
63550  else
63551
63552  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63553$as_echo_n "checking for _finitef declaration... " >&6; }
63554  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63555    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63556  $as_echo_n "(cached) " >&6
63557else
63558
63559
63560      ac_ext=cpp
63561ac_cpp='$CXXCPP $CPPFLAGS'
63562ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63563ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63564ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63565
63566      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63567/* end confdefs.h.  */
63568#include <math.h>
63569		      #ifdef HAVE_IEEEFP_H
63570		      #include <ieeefp.h>
63571		      #endif
63572
63573int
63574main ()
63575{
63576 _finitef(0);
63577  ;
63578  return 0;
63579}
63580_ACEOF
63581if ac_fn_cxx_try_compile "$LINENO"; then :
63582  glibcxx_cv_func__finitef_use=yes
63583else
63584  glibcxx_cv_func__finitef_use=no
63585fi
63586rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63587      ac_ext=c
63588ac_cpp='$CPP $CPPFLAGS'
63589ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63590ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63591ac_compiler_gnu=$ac_cv_c_compiler_gnu
63592
63593
63594fi
63595
63596  fi
63597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63598$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63599
63600    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63601      for ac_func in _finitef
63602do :
63603  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63604if test "x$ac_cv_func__finitef" = x""yes; then :
63605  cat >>confdefs.h <<_ACEOF
63606#define HAVE__FINITEF 1
63607_ACEOF
63608
63609fi
63610done
63611
63612    fi
63613  fi
63614
63615
63616
63617
63618
63619    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63620$as_echo_n "checking for long double trig functions... " >&6; }
63621  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63622  $as_echo_n "(cached) " >&6
63623else
63624
63625
63626    ac_ext=cpp
63627ac_cpp='$CXXCPP $CPPFLAGS'
63628ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63629ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63630ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63631
63632    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63633/* end confdefs.h.  */
63634#include <math.h>
63635int
63636main ()
63637{
63638acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63639  ;
63640  return 0;
63641}
63642_ACEOF
63643if ac_fn_cxx_try_compile "$LINENO"; then :
63644  glibcxx_cv_func_long_double_trig_use=yes
63645else
63646  glibcxx_cv_func_long_double_trig_use=no
63647fi
63648rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63649    ac_ext=c
63650ac_cpp='$CPP $CPPFLAGS'
63651ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63652ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63653ac_compiler_gnu=$ac_cv_c_compiler_gnu
63654
63655fi
63656
63657  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63658$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63659  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63660    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63661do :
63662  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63663ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63664eval as_val=\$$as_ac_var
63665   if test "x$as_val" = x""yes; then :
63666  cat >>confdefs.h <<_ACEOF
63667#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63668_ACEOF
63669
63670fi
63671done
63672
63673  else
63674    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63675$as_echo_n "checking for _long double trig functions... " >&6; }
63676    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63677  $as_echo_n "(cached) " >&6
63678else
63679
63680
63681      ac_ext=cpp
63682ac_cpp='$CXXCPP $CPPFLAGS'
63683ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63684ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63685ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63686
63687      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63688/* end confdefs.h.  */
63689#include <math.h>
63690int
63691main ()
63692{
63693_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63694  ;
63695  return 0;
63696}
63697_ACEOF
63698if ac_fn_cxx_try_compile "$LINENO"; then :
63699  glibcxx_cv_func__long_double_trig_use=yes
63700else
63701  glibcxx_cv_func__long_double_trig_use=no
63702fi
63703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63704      ac_ext=c
63705ac_cpp='$CPP $CPPFLAGS'
63706ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63707ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63708ac_compiler_gnu=$ac_cv_c_compiler_gnu
63709
63710fi
63711
63712    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63713$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63714    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63715      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63716do :
63717  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63718ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63719eval as_val=\$$as_ac_var
63720   if test "x$as_val" = x""yes; then :
63721  cat >>confdefs.h <<_ACEOF
63722#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63723_ACEOF
63724
63725fi
63726done
63727
63728    fi
63729  fi
63730
63731
63732
63733
63734
63735    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63736$as_echo_n "checking for long double round functions... " >&6; }
63737  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63738  $as_echo_n "(cached) " >&6
63739else
63740
63741
63742    ac_ext=cpp
63743ac_cpp='$CXXCPP $CPPFLAGS'
63744ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63745ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63746ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63747
63748    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63749/* end confdefs.h.  */
63750#include <math.h>
63751int
63752main ()
63753{
63754ceill (0); floorl (0);
63755  ;
63756  return 0;
63757}
63758_ACEOF
63759if ac_fn_cxx_try_compile "$LINENO"; then :
63760  glibcxx_cv_func_long_double_round_use=yes
63761else
63762  glibcxx_cv_func_long_double_round_use=no
63763fi
63764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63765    ac_ext=c
63766ac_cpp='$CPP $CPPFLAGS'
63767ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63768ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63769ac_compiler_gnu=$ac_cv_c_compiler_gnu
63770
63771fi
63772
63773  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63774$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63775  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63776    for ac_func in ceill floorl
63777do :
63778  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63779ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63780eval as_val=\$$as_ac_var
63781   if test "x$as_val" = x""yes; then :
63782  cat >>confdefs.h <<_ACEOF
63783#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63784_ACEOF
63785
63786fi
63787done
63788
63789  else
63790    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63791$as_echo_n "checking for _long double round functions... " >&6; }
63792    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63793  $as_echo_n "(cached) " >&6
63794else
63795
63796
63797      ac_ext=cpp
63798ac_cpp='$CXXCPP $CPPFLAGS'
63799ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63800ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63801ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63802
63803      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63804/* end confdefs.h.  */
63805#include <math.h>
63806int
63807main ()
63808{
63809_ceill (0); _floorl (0);
63810  ;
63811  return 0;
63812}
63813_ACEOF
63814if ac_fn_cxx_try_compile "$LINENO"; then :
63815  glibcxx_cv_func__long_double_round_use=yes
63816else
63817  glibcxx_cv_func__long_double_round_use=no
63818fi
63819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63820      ac_ext=c
63821ac_cpp='$CPP $CPPFLAGS'
63822ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63823ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63824ac_compiler_gnu=$ac_cv_c_compiler_gnu
63825
63826fi
63827
63828    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63829$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63830    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63831      for ac_func in _ceill _floorl
63832do :
63833  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63834ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63835eval as_val=\$$as_ac_var
63836   if test "x$as_val" = x""yes; then :
63837  cat >>confdefs.h <<_ACEOF
63838#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63839_ACEOF
63840
63841fi
63842done
63843
63844    fi
63845  fi
63846
63847
63848
63849
63850
63851
63852  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63853$as_echo_n "checking for isnanl declaration... " >&6; }
63854  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63855    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63856  $as_echo_n "(cached) " >&6
63857else
63858
63859
63860      ac_ext=cpp
63861ac_cpp='$CXXCPP $CPPFLAGS'
63862ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63863ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63864ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63865
63866      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63867/* end confdefs.h.  */
63868#include <math.h>
63869		      #ifdef HAVE_IEEEFP_H
63870		      #include <ieeefp.h>
63871		      #endif
63872
63873int
63874main ()
63875{
63876 isnanl(0);
63877  ;
63878  return 0;
63879}
63880_ACEOF
63881if ac_fn_cxx_try_compile "$LINENO"; then :
63882  glibcxx_cv_func_isnanl_use=yes
63883else
63884  glibcxx_cv_func_isnanl_use=no
63885fi
63886rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63887      ac_ext=c
63888ac_cpp='$CPP $CPPFLAGS'
63889ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63890ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63891ac_compiler_gnu=$ac_cv_c_compiler_gnu
63892
63893
63894fi
63895
63896  fi
63897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63898$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63899
63900  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63901    for ac_func in isnanl
63902do :
63903  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63904if test "x$ac_cv_func_isnanl" = x""yes; then :
63905  cat >>confdefs.h <<_ACEOF
63906#define HAVE_ISNANL 1
63907_ACEOF
63908
63909fi
63910done
63911
63912  else
63913
63914  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63915$as_echo_n "checking for _isnanl declaration... " >&6; }
63916  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63917    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63918  $as_echo_n "(cached) " >&6
63919else
63920
63921
63922      ac_ext=cpp
63923ac_cpp='$CXXCPP $CPPFLAGS'
63924ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63925ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63926ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63927
63928      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63929/* end confdefs.h.  */
63930#include <math.h>
63931		      #ifdef HAVE_IEEEFP_H
63932		      #include <ieeefp.h>
63933		      #endif
63934
63935int
63936main ()
63937{
63938 _isnanl(0);
63939  ;
63940  return 0;
63941}
63942_ACEOF
63943if ac_fn_cxx_try_compile "$LINENO"; then :
63944  glibcxx_cv_func__isnanl_use=yes
63945else
63946  glibcxx_cv_func__isnanl_use=no
63947fi
63948rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63949      ac_ext=c
63950ac_cpp='$CPP $CPPFLAGS'
63951ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63952ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63953ac_compiler_gnu=$ac_cv_c_compiler_gnu
63954
63955
63956fi
63957
63958  fi
63959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63960$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63961
63962    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63963      for ac_func in _isnanl
63964do :
63965  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63966if test "x$ac_cv_func__isnanl" = x""yes; then :
63967  cat >>confdefs.h <<_ACEOF
63968#define HAVE__ISNANL 1
63969_ACEOF
63970
63971fi
63972done
63973
63974    fi
63975  fi
63976
63977
63978
63979
63980
63981  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63982$as_echo_n "checking for isinfl declaration... " >&6; }
63983  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63984    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63985  $as_echo_n "(cached) " >&6
63986else
63987
63988
63989      ac_ext=cpp
63990ac_cpp='$CXXCPP $CPPFLAGS'
63991ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63992ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63993ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63994
63995      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63996/* end confdefs.h.  */
63997#include <math.h>
63998		      #ifdef HAVE_IEEEFP_H
63999		      #include <ieeefp.h>
64000		      #endif
64001
64002int
64003main ()
64004{
64005 isinfl(0);
64006  ;
64007  return 0;
64008}
64009_ACEOF
64010if ac_fn_cxx_try_compile "$LINENO"; then :
64011  glibcxx_cv_func_isinfl_use=yes
64012else
64013  glibcxx_cv_func_isinfl_use=no
64014fi
64015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64016      ac_ext=c
64017ac_cpp='$CPP $CPPFLAGS'
64018ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64019ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64020ac_compiler_gnu=$ac_cv_c_compiler_gnu
64021
64022
64023fi
64024
64025  fi
64026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64027$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64028
64029  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64030    for ac_func in isinfl
64031do :
64032  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64033if test "x$ac_cv_func_isinfl" = x""yes; then :
64034  cat >>confdefs.h <<_ACEOF
64035#define HAVE_ISINFL 1
64036_ACEOF
64037
64038fi
64039done
64040
64041  else
64042
64043  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64044$as_echo_n "checking for _isinfl declaration... " >&6; }
64045  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64046    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
64047  $as_echo_n "(cached) " >&6
64048else
64049
64050
64051      ac_ext=cpp
64052ac_cpp='$CXXCPP $CPPFLAGS'
64053ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64054ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64055ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64056
64057      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64058/* end confdefs.h.  */
64059#include <math.h>
64060		      #ifdef HAVE_IEEEFP_H
64061		      #include <ieeefp.h>
64062		      #endif
64063
64064int
64065main ()
64066{
64067 _isinfl(0);
64068  ;
64069  return 0;
64070}
64071_ACEOF
64072if ac_fn_cxx_try_compile "$LINENO"; then :
64073  glibcxx_cv_func__isinfl_use=yes
64074else
64075  glibcxx_cv_func__isinfl_use=no
64076fi
64077rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64078      ac_ext=c
64079ac_cpp='$CPP $CPPFLAGS'
64080ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64081ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64082ac_compiler_gnu=$ac_cv_c_compiler_gnu
64083
64084
64085fi
64086
64087  fi
64088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64089$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64090
64091    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64092      for ac_func in _isinfl
64093do :
64094  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64095if test "x$ac_cv_func__isinfl" = x""yes; then :
64096  cat >>confdefs.h <<_ACEOF
64097#define HAVE__ISINFL 1
64098_ACEOF
64099
64100fi
64101done
64102
64103    fi
64104  fi
64105
64106
64107
64108
64109
64110  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64111$as_echo_n "checking for atan2l declaration... " >&6; }
64112  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64113    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
64114  $as_echo_n "(cached) " >&6
64115else
64116
64117
64118      ac_ext=cpp
64119ac_cpp='$CXXCPP $CPPFLAGS'
64120ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64121ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64122ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64123
64124      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64125/* end confdefs.h.  */
64126#include <math.h>
64127int
64128main ()
64129{
64130 atan2l(0, 0);
64131  ;
64132  return 0;
64133}
64134_ACEOF
64135if ac_fn_cxx_try_compile "$LINENO"; then :
64136  glibcxx_cv_func_atan2l_use=yes
64137else
64138  glibcxx_cv_func_atan2l_use=no
64139fi
64140rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64141      ac_ext=c
64142ac_cpp='$CPP $CPPFLAGS'
64143ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64144ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64145ac_compiler_gnu=$ac_cv_c_compiler_gnu
64146
64147
64148fi
64149
64150  fi
64151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64152$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64153
64154  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64155    for ac_func in atan2l
64156do :
64157  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64158if test "x$ac_cv_func_atan2l" = x""yes; then :
64159  cat >>confdefs.h <<_ACEOF
64160#define HAVE_ATAN2L 1
64161_ACEOF
64162
64163fi
64164done
64165
64166  else
64167
64168  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64169$as_echo_n "checking for _atan2l declaration... " >&6; }
64170  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64171    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
64172  $as_echo_n "(cached) " >&6
64173else
64174
64175
64176      ac_ext=cpp
64177ac_cpp='$CXXCPP $CPPFLAGS'
64178ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64179ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64180ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64181
64182      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64183/* end confdefs.h.  */
64184#include <math.h>
64185int
64186main ()
64187{
64188 _atan2l(0, 0);
64189  ;
64190  return 0;
64191}
64192_ACEOF
64193if ac_fn_cxx_try_compile "$LINENO"; then :
64194  glibcxx_cv_func__atan2l_use=yes
64195else
64196  glibcxx_cv_func__atan2l_use=no
64197fi
64198rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64199      ac_ext=c
64200ac_cpp='$CPP $CPPFLAGS'
64201ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64202ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64203ac_compiler_gnu=$ac_cv_c_compiler_gnu
64204
64205
64206fi
64207
64208  fi
64209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64210$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64211
64212    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64213      for ac_func in _atan2l
64214do :
64215  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64216if test "x$ac_cv_func__atan2l" = x""yes; then :
64217  cat >>confdefs.h <<_ACEOF
64218#define HAVE__ATAN2L 1
64219_ACEOF
64220
64221fi
64222done
64223
64224    fi
64225  fi
64226
64227
64228
64229
64230
64231  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64232$as_echo_n "checking for expl declaration... " >&6; }
64233  if test x${glibcxx_cv_func_expl_use+set} != xset; then
64234    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64235  $as_echo_n "(cached) " >&6
64236else
64237
64238
64239      ac_ext=cpp
64240ac_cpp='$CXXCPP $CPPFLAGS'
64241ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64242ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64243ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64244
64245      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64246/* end confdefs.h.  */
64247#include <math.h>
64248		      #ifdef HAVE_IEEEFP_H
64249		      #include <ieeefp.h>
64250		      #endif
64251
64252int
64253main ()
64254{
64255 expl(0);
64256  ;
64257  return 0;
64258}
64259_ACEOF
64260if ac_fn_cxx_try_compile "$LINENO"; then :
64261  glibcxx_cv_func_expl_use=yes
64262else
64263  glibcxx_cv_func_expl_use=no
64264fi
64265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64266      ac_ext=c
64267ac_cpp='$CPP $CPPFLAGS'
64268ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64269ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64270ac_compiler_gnu=$ac_cv_c_compiler_gnu
64271
64272
64273fi
64274
64275  fi
64276  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64277$as_echo "$glibcxx_cv_func_expl_use" >&6; }
64278
64279  if test x$glibcxx_cv_func_expl_use = x"yes"; then
64280    for ac_func in expl
64281do :
64282  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64283if test "x$ac_cv_func_expl" = x""yes; then :
64284  cat >>confdefs.h <<_ACEOF
64285#define HAVE_EXPL 1
64286_ACEOF
64287
64288fi
64289done
64290
64291  else
64292
64293  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64294$as_echo_n "checking for _expl declaration... " >&6; }
64295  if test x${glibcxx_cv_func__expl_use+set} != xset; then
64296    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64297  $as_echo_n "(cached) " >&6
64298else
64299
64300
64301      ac_ext=cpp
64302ac_cpp='$CXXCPP $CPPFLAGS'
64303ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64304ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64305ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64306
64307      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64308/* end confdefs.h.  */
64309#include <math.h>
64310		      #ifdef HAVE_IEEEFP_H
64311		      #include <ieeefp.h>
64312		      #endif
64313
64314int
64315main ()
64316{
64317 _expl(0);
64318  ;
64319  return 0;
64320}
64321_ACEOF
64322if ac_fn_cxx_try_compile "$LINENO"; then :
64323  glibcxx_cv_func__expl_use=yes
64324else
64325  glibcxx_cv_func__expl_use=no
64326fi
64327rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64328      ac_ext=c
64329ac_cpp='$CPP $CPPFLAGS'
64330ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64331ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64332ac_compiler_gnu=$ac_cv_c_compiler_gnu
64333
64334
64335fi
64336
64337  fi
64338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64339$as_echo "$glibcxx_cv_func__expl_use" >&6; }
64340
64341    if test x$glibcxx_cv_func__expl_use = x"yes"; then
64342      for ac_func in _expl
64343do :
64344  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64345if test "x$ac_cv_func__expl" = x""yes; then :
64346  cat >>confdefs.h <<_ACEOF
64347#define HAVE__EXPL 1
64348_ACEOF
64349
64350fi
64351done
64352
64353    fi
64354  fi
64355
64356
64357
64358
64359
64360  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64361$as_echo_n "checking for fabsl declaration... " >&6; }
64362  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64363    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64364  $as_echo_n "(cached) " >&6
64365else
64366
64367
64368      ac_ext=cpp
64369ac_cpp='$CXXCPP $CPPFLAGS'
64370ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64371ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64372ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64373
64374      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64375/* end confdefs.h.  */
64376#include <math.h>
64377		      #ifdef HAVE_IEEEFP_H
64378		      #include <ieeefp.h>
64379		      #endif
64380
64381int
64382main ()
64383{
64384 fabsl(0);
64385  ;
64386  return 0;
64387}
64388_ACEOF
64389if ac_fn_cxx_try_compile "$LINENO"; then :
64390  glibcxx_cv_func_fabsl_use=yes
64391else
64392  glibcxx_cv_func_fabsl_use=no
64393fi
64394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64395      ac_ext=c
64396ac_cpp='$CPP $CPPFLAGS'
64397ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64398ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64399ac_compiler_gnu=$ac_cv_c_compiler_gnu
64400
64401
64402fi
64403
64404  fi
64405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64406$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64407
64408  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64409    for ac_func in fabsl
64410do :
64411  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64412if test "x$ac_cv_func_fabsl" = x""yes; then :
64413  cat >>confdefs.h <<_ACEOF
64414#define HAVE_FABSL 1
64415_ACEOF
64416
64417fi
64418done
64419
64420  else
64421
64422  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64423$as_echo_n "checking for _fabsl declaration... " >&6; }
64424  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64425    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64426  $as_echo_n "(cached) " >&6
64427else
64428
64429
64430      ac_ext=cpp
64431ac_cpp='$CXXCPP $CPPFLAGS'
64432ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64433ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64434ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64435
64436      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64437/* end confdefs.h.  */
64438#include <math.h>
64439		      #ifdef HAVE_IEEEFP_H
64440		      #include <ieeefp.h>
64441		      #endif
64442
64443int
64444main ()
64445{
64446 _fabsl(0);
64447  ;
64448  return 0;
64449}
64450_ACEOF
64451if ac_fn_cxx_try_compile "$LINENO"; then :
64452  glibcxx_cv_func__fabsl_use=yes
64453else
64454  glibcxx_cv_func__fabsl_use=no
64455fi
64456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64457      ac_ext=c
64458ac_cpp='$CPP $CPPFLAGS'
64459ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64460ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64461ac_compiler_gnu=$ac_cv_c_compiler_gnu
64462
64463
64464fi
64465
64466  fi
64467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64468$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64469
64470    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64471      for ac_func in _fabsl
64472do :
64473  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64474if test "x$ac_cv_func__fabsl" = x""yes; then :
64475  cat >>confdefs.h <<_ACEOF
64476#define HAVE__FABSL 1
64477_ACEOF
64478
64479fi
64480done
64481
64482    fi
64483  fi
64484
64485
64486
64487
64488
64489  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64490$as_echo_n "checking for fmodl declaration... " >&6; }
64491  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64492    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64493  $as_echo_n "(cached) " >&6
64494else
64495
64496
64497      ac_ext=cpp
64498ac_cpp='$CXXCPP $CPPFLAGS'
64499ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64500ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64501ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64502
64503      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64504/* end confdefs.h.  */
64505#include <math.h>
64506int
64507main ()
64508{
64509 fmodl(0, 0);
64510  ;
64511  return 0;
64512}
64513_ACEOF
64514if ac_fn_cxx_try_compile "$LINENO"; then :
64515  glibcxx_cv_func_fmodl_use=yes
64516else
64517  glibcxx_cv_func_fmodl_use=no
64518fi
64519rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64520      ac_ext=c
64521ac_cpp='$CPP $CPPFLAGS'
64522ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64523ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64524ac_compiler_gnu=$ac_cv_c_compiler_gnu
64525
64526
64527fi
64528
64529  fi
64530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64531$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64532
64533  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64534    for ac_func in fmodl
64535do :
64536  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64537if test "x$ac_cv_func_fmodl" = x""yes; then :
64538  cat >>confdefs.h <<_ACEOF
64539#define HAVE_FMODL 1
64540_ACEOF
64541
64542fi
64543done
64544
64545  else
64546
64547  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64548$as_echo_n "checking for _fmodl declaration... " >&6; }
64549  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64550    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64551  $as_echo_n "(cached) " >&6
64552else
64553
64554
64555      ac_ext=cpp
64556ac_cpp='$CXXCPP $CPPFLAGS'
64557ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64558ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64559ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64560
64561      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64562/* end confdefs.h.  */
64563#include <math.h>
64564int
64565main ()
64566{
64567 _fmodl(0, 0);
64568  ;
64569  return 0;
64570}
64571_ACEOF
64572if ac_fn_cxx_try_compile "$LINENO"; then :
64573  glibcxx_cv_func__fmodl_use=yes
64574else
64575  glibcxx_cv_func__fmodl_use=no
64576fi
64577rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64578      ac_ext=c
64579ac_cpp='$CPP $CPPFLAGS'
64580ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64581ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64582ac_compiler_gnu=$ac_cv_c_compiler_gnu
64583
64584
64585fi
64586
64587  fi
64588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64589$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64590
64591    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64592      for ac_func in _fmodl
64593do :
64594  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64595if test "x$ac_cv_func__fmodl" = x""yes; then :
64596  cat >>confdefs.h <<_ACEOF
64597#define HAVE__FMODL 1
64598_ACEOF
64599
64600fi
64601done
64602
64603    fi
64604  fi
64605
64606
64607
64608
64609
64610  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64611$as_echo_n "checking for frexpl declaration... " >&6; }
64612  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64613    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64614  $as_echo_n "(cached) " >&6
64615else
64616
64617
64618      ac_ext=cpp
64619ac_cpp='$CXXCPP $CPPFLAGS'
64620ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64621ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64622ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64623
64624      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64625/* end confdefs.h.  */
64626#include <math.h>
64627int
64628main ()
64629{
64630 frexpl(0, 0);
64631  ;
64632  return 0;
64633}
64634_ACEOF
64635if ac_fn_cxx_try_compile "$LINENO"; then :
64636  glibcxx_cv_func_frexpl_use=yes
64637else
64638  glibcxx_cv_func_frexpl_use=no
64639fi
64640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64641      ac_ext=c
64642ac_cpp='$CPP $CPPFLAGS'
64643ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64644ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64645ac_compiler_gnu=$ac_cv_c_compiler_gnu
64646
64647
64648fi
64649
64650  fi
64651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64652$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64653
64654  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64655    for ac_func in frexpl
64656do :
64657  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64658if test "x$ac_cv_func_frexpl" = x""yes; then :
64659  cat >>confdefs.h <<_ACEOF
64660#define HAVE_FREXPL 1
64661_ACEOF
64662
64663fi
64664done
64665
64666  else
64667
64668  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64669$as_echo_n "checking for _frexpl declaration... " >&6; }
64670  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64671    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64672  $as_echo_n "(cached) " >&6
64673else
64674
64675
64676      ac_ext=cpp
64677ac_cpp='$CXXCPP $CPPFLAGS'
64678ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64679ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64680ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64681
64682      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64683/* end confdefs.h.  */
64684#include <math.h>
64685int
64686main ()
64687{
64688 _frexpl(0, 0);
64689  ;
64690  return 0;
64691}
64692_ACEOF
64693if ac_fn_cxx_try_compile "$LINENO"; then :
64694  glibcxx_cv_func__frexpl_use=yes
64695else
64696  glibcxx_cv_func__frexpl_use=no
64697fi
64698rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64699      ac_ext=c
64700ac_cpp='$CPP $CPPFLAGS'
64701ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64702ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64703ac_compiler_gnu=$ac_cv_c_compiler_gnu
64704
64705
64706fi
64707
64708  fi
64709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64710$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64711
64712    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64713      for ac_func in _frexpl
64714do :
64715  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64716if test "x$ac_cv_func__frexpl" = x""yes; then :
64717  cat >>confdefs.h <<_ACEOF
64718#define HAVE__FREXPL 1
64719_ACEOF
64720
64721fi
64722done
64723
64724    fi
64725  fi
64726
64727
64728
64729
64730
64731  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64732$as_echo_n "checking for hypotl declaration... " >&6; }
64733  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64734    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64735  $as_echo_n "(cached) " >&6
64736else
64737
64738
64739      ac_ext=cpp
64740ac_cpp='$CXXCPP $CPPFLAGS'
64741ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64742ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64743ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64744
64745      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64746/* end confdefs.h.  */
64747#include <math.h>
64748int
64749main ()
64750{
64751 hypotl(0, 0);
64752  ;
64753  return 0;
64754}
64755_ACEOF
64756if ac_fn_cxx_try_compile "$LINENO"; then :
64757  glibcxx_cv_func_hypotl_use=yes
64758else
64759  glibcxx_cv_func_hypotl_use=no
64760fi
64761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64762      ac_ext=c
64763ac_cpp='$CPP $CPPFLAGS'
64764ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64765ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64766ac_compiler_gnu=$ac_cv_c_compiler_gnu
64767
64768
64769fi
64770
64771  fi
64772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64773$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64774
64775  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64776    for ac_func in hypotl
64777do :
64778  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64779if test "x$ac_cv_func_hypotl" = x""yes; then :
64780  cat >>confdefs.h <<_ACEOF
64781#define HAVE_HYPOTL 1
64782_ACEOF
64783
64784fi
64785done
64786
64787  else
64788
64789  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64790$as_echo_n "checking for _hypotl declaration... " >&6; }
64791  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64792    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64793  $as_echo_n "(cached) " >&6
64794else
64795
64796
64797      ac_ext=cpp
64798ac_cpp='$CXXCPP $CPPFLAGS'
64799ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64800ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64801ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64802
64803      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64804/* end confdefs.h.  */
64805#include <math.h>
64806int
64807main ()
64808{
64809 _hypotl(0, 0);
64810  ;
64811  return 0;
64812}
64813_ACEOF
64814if ac_fn_cxx_try_compile "$LINENO"; then :
64815  glibcxx_cv_func__hypotl_use=yes
64816else
64817  glibcxx_cv_func__hypotl_use=no
64818fi
64819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64820      ac_ext=c
64821ac_cpp='$CPP $CPPFLAGS'
64822ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64823ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64824ac_compiler_gnu=$ac_cv_c_compiler_gnu
64825
64826
64827fi
64828
64829  fi
64830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64831$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64832
64833    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64834      for ac_func in _hypotl
64835do :
64836  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64837if test "x$ac_cv_func__hypotl" = x""yes; then :
64838  cat >>confdefs.h <<_ACEOF
64839#define HAVE__HYPOTL 1
64840_ACEOF
64841
64842fi
64843done
64844
64845    fi
64846  fi
64847
64848
64849
64850
64851
64852  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64853$as_echo_n "checking for ldexpl declaration... " >&6; }
64854  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64855    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64856  $as_echo_n "(cached) " >&6
64857else
64858
64859
64860      ac_ext=cpp
64861ac_cpp='$CXXCPP $CPPFLAGS'
64862ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64863ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64864ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64865
64866      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64867/* end confdefs.h.  */
64868#include <math.h>
64869int
64870main ()
64871{
64872 ldexpl(0, 0);
64873  ;
64874  return 0;
64875}
64876_ACEOF
64877if ac_fn_cxx_try_compile "$LINENO"; then :
64878  glibcxx_cv_func_ldexpl_use=yes
64879else
64880  glibcxx_cv_func_ldexpl_use=no
64881fi
64882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64883      ac_ext=c
64884ac_cpp='$CPP $CPPFLAGS'
64885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64887ac_compiler_gnu=$ac_cv_c_compiler_gnu
64888
64889
64890fi
64891
64892  fi
64893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64894$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64895
64896  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64897    for ac_func in ldexpl
64898do :
64899  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64900if test "x$ac_cv_func_ldexpl" = x""yes; then :
64901  cat >>confdefs.h <<_ACEOF
64902#define HAVE_LDEXPL 1
64903_ACEOF
64904
64905fi
64906done
64907
64908  else
64909
64910  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64911$as_echo_n "checking for _ldexpl declaration... " >&6; }
64912  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64913    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64914  $as_echo_n "(cached) " >&6
64915else
64916
64917
64918      ac_ext=cpp
64919ac_cpp='$CXXCPP $CPPFLAGS'
64920ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64921ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64922ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64923
64924      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64925/* end confdefs.h.  */
64926#include <math.h>
64927int
64928main ()
64929{
64930 _ldexpl(0, 0);
64931  ;
64932  return 0;
64933}
64934_ACEOF
64935if ac_fn_cxx_try_compile "$LINENO"; then :
64936  glibcxx_cv_func__ldexpl_use=yes
64937else
64938  glibcxx_cv_func__ldexpl_use=no
64939fi
64940rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64941      ac_ext=c
64942ac_cpp='$CPP $CPPFLAGS'
64943ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64944ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64945ac_compiler_gnu=$ac_cv_c_compiler_gnu
64946
64947
64948fi
64949
64950  fi
64951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64952$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64953
64954    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64955      for ac_func in _ldexpl
64956do :
64957  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64958if test "x$ac_cv_func__ldexpl" = x""yes; then :
64959  cat >>confdefs.h <<_ACEOF
64960#define HAVE__LDEXPL 1
64961_ACEOF
64962
64963fi
64964done
64965
64966    fi
64967  fi
64968
64969
64970
64971
64972
64973  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64974$as_echo_n "checking for logl declaration... " >&6; }
64975  if test x${glibcxx_cv_func_logl_use+set} != xset; then
64976    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64977  $as_echo_n "(cached) " >&6
64978else
64979
64980
64981      ac_ext=cpp
64982ac_cpp='$CXXCPP $CPPFLAGS'
64983ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64984ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64985ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64986
64987      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64988/* end confdefs.h.  */
64989#include <math.h>
64990		      #ifdef HAVE_IEEEFP_H
64991		      #include <ieeefp.h>
64992		      #endif
64993
64994int
64995main ()
64996{
64997 logl(0);
64998  ;
64999  return 0;
65000}
65001_ACEOF
65002if ac_fn_cxx_try_compile "$LINENO"; then :
65003  glibcxx_cv_func_logl_use=yes
65004else
65005  glibcxx_cv_func_logl_use=no
65006fi
65007rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65008      ac_ext=c
65009ac_cpp='$CPP $CPPFLAGS'
65010ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65011ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65012ac_compiler_gnu=$ac_cv_c_compiler_gnu
65013
65014
65015fi
65016
65017  fi
65018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65019$as_echo "$glibcxx_cv_func_logl_use" >&6; }
65020
65021  if test x$glibcxx_cv_func_logl_use = x"yes"; then
65022    for ac_func in logl
65023do :
65024  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65025if test "x$ac_cv_func_logl" = x""yes; then :
65026  cat >>confdefs.h <<_ACEOF
65027#define HAVE_LOGL 1
65028_ACEOF
65029
65030fi
65031done
65032
65033  else
65034
65035  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65036$as_echo_n "checking for _logl declaration... " >&6; }
65037  if test x${glibcxx_cv_func__logl_use+set} != xset; then
65038    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
65039  $as_echo_n "(cached) " >&6
65040else
65041
65042
65043      ac_ext=cpp
65044ac_cpp='$CXXCPP $CPPFLAGS'
65045ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65046ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65047ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65048
65049      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65050/* end confdefs.h.  */
65051#include <math.h>
65052		      #ifdef HAVE_IEEEFP_H
65053		      #include <ieeefp.h>
65054		      #endif
65055
65056int
65057main ()
65058{
65059 _logl(0);
65060  ;
65061  return 0;
65062}
65063_ACEOF
65064if ac_fn_cxx_try_compile "$LINENO"; then :
65065  glibcxx_cv_func__logl_use=yes
65066else
65067  glibcxx_cv_func__logl_use=no
65068fi
65069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65070      ac_ext=c
65071ac_cpp='$CPP $CPPFLAGS'
65072ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65073ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65074ac_compiler_gnu=$ac_cv_c_compiler_gnu
65075
65076
65077fi
65078
65079  fi
65080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65081$as_echo "$glibcxx_cv_func__logl_use" >&6; }
65082
65083    if test x$glibcxx_cv_func__logl_use = x"yes"; then
65084      for ac_func in _logl
65085do :
65086  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65087if test "x$ac_cv_func__logl" = x""yes; then :
65088  cat >>confdefs.h <<_ACEOF
65089#define HAVE__LOGL 1
65090_ACEOF
65091
65092fi
65093done
65094
65095    fi
65096  fi
65097
65098
65099
65100
65101
65102  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65103$as_echo_n "checking for log10l declaration... " >&6; }
65104  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65105    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
65106  $as_echo_n "(cached) " >&6
65107else
65108
65109
65110      ac_ext=cpp
65111ac_cpp='$CXXCPP $CPPFLAGS'
65112ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65113ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65114ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65115
65116      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65117/* end confdefs.h.  */
65118#include <math.h>
65119		      #ifdef HAVE_IEEEFP_H
65120		      #include <ieeefp.h>
65121		      #endif
65122
65123int
65124main ()
65125{
65126 log10l(0);
65127  ;
65128  return 0;
65129}
65130_ACEOF
65131if ac_fn_cxx_try_compile "$LINENO"; then :
65132  glibcxx_cv_func_log10l_use=yes
65133else
65134  glibcxx_cv_func_log10l_use=no
65135fi
65136rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65137      ac_ext=c
65138ac_cpp='$CPP $CPPFLAGS'
65139ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65140ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65141ac_compiler_gnu=$ac_cv_c_compiler_gnu
65142
65143
65144fi
65145
65146  fi
65147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65148$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65149
65150  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65151    for ac_func in log10l
65152do :
65153  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65154if test "x$ac_cv_func_log10l" = x""yes; then :
65155  cat >>confdefs.h <<_ACEOF
65156#define HAVE_LOG10L 1
65157_ACEOF
65158
65159fi
65160done
65161
65162  else
65163
65164  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65165$as_echo_n "checking for _log10l declaration... " >&6; }
65166  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65167    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
65168  $as_echo_n "(cached) " >&6
65169else
65170
65171
65172      ac_ext=cpp
65173ac_cpp='$CXXCPP $CPPFLAGS'
65174ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65175ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65176ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65177
65178      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65179/* end confdefs.h.  */
65180#include <math.h>
65181		      #ifdef HAVE_IEEEFP_H
65182		      #include <ieeefp.h>
65183		      #endif
65184
65185int
65186main ()
65187{
65188 _log10l(0);
65189  ;
65190  return 0;
65191}
65192_ACEOF
65193if ac_fn_cxx_try_compile "$LINENO"; then :
65194  glibcxx_cv_func__log10l_use=yes
65195else
65196  glibcxx_cv_func__log10l_use=no
65197fi
65198rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65199      ac_ext=c
65200ac_cpp='$CPP $CPPFLAGS'
65201ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65202ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65203ac_compiler_gnu=$ac_cv_c_compiler_gnu
65204
65205
65206fi
65207
65208  fi
65209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65210$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65211
65212    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65213      for ac_func in _log10l
65214do :
65215  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65216if test "x$ac_cv_func__log10l" = x""yes; then :
65217  cat >>confdefs.h <<_ACEOF
65218#define HAVE__LOG10L 1
65219_ACEOF
65220
65221fi
65222done
65223
65224    fi
65225  fi
65226
65227
65228
65229
65230
65231  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65232$as_echo_n "checking for modfl declaration... " >&6; }
65233  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65234    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65235  $as_echo_n "(cached) " >&6
65236else
65237
65238
65239      ac_ext=cpp
65240ac_cpp='$CXXCPP $CPPFLAGS'
65241ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65242ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65243ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65244
65245      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65246/* end confdefs.h.  */
65247#include <math.h>
65248int
65249main ()
65250{
65251 modfl(0, 0);
65252  ;
65253  return 0;
65254}
65255_ACEOF
65256if ac_fn_cxx_try_compile "$LINENO"; then :
65257  glibcxx_cv_func_modfl_use=yes
65258else
65259  glibcxx_cv_func_modfl_use=no
65260fi
65261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65262      ac_ext=c
65263ac_cpp='$CPP $CPPFLAGS'
65264ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65265ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65266ac_compiler_gnu=$ac_cv_c_compiler_gnu
65267
65268
65269fi
65270
65271  fi
65272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65273$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65274
65275  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65276    for ac_func in modfl
65277do :
65278  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65279if test "x$ac_cv_func_modfl" = x""yes; then :
65280  cat >>confdefs.h <<_ACEOF
65281#define HAVE_MODFL 1
65282_ACEOF
65283
65284fi
65285done
65286
65287  else
65288
65289  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65290$as_echo_n "checking for _modfl declaration... " >&6; }
65291  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65292    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65293  $as_echo_n "(cached) " >&6
65294else
65295
65296
65297      ac_ext=cpp
65298ac_cpp='$CXXCPP $CPPFLAGS'
65299ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65300ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65301ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65302
65303      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65304/* end confdefs.h.  */
65305#include <math.h>
65306int
65307main ()
65308{
65309 _modfl(0, 0);
65310  ;
65311  return 0;
65312}
65313_ACEOF
65314if ac_fn_cxx_try_compile "$LINENO"; then :
65315  glibcxx_cv_func__modfl_use=yes
65316else
65317  glibcxx_cv_func__modfl_use=no
65318fi
65319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65320      ac_ext=c
65321ac_cpp='$CPP $CPPFLAGS'
65322ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65324ac_compiler_gnu=$ac_cv_c_compiler_gnu
65325
65326
65327fi
65328
65329  fi
65330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65331$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65332
65333    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65334      for ac_func in _modfl
65335do :
65336  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65337if test "x$ac_cv_func__modfl" = x""yes; then :
65338  cat >>confdefs.h <<_ACEOF
65339#define HAVE__MODFL 1
65340_ACEOF
65341
65342fi
65343done
65344
65345    fi
65346  fi
65347
65348
65349
65350
65351
65352  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65353$as_echo_n "checking for powl declaration... " >&6; }
65354  if test x${glibcxx_cv_func_powl_use+set} != xset; then
65355    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65356  $as_echo_n "(cached) " >&6
65357else
65358
65359
65360      ac_ext=cpp
65361ac_cpp='$CXXCPP $CPPFLAGS'
65362ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65363ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65364ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65365
65366      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65367/* end confdefs.h.  */
65368#include <math.h>
65369int
65370main ()
65371{
65372 powl(0, 0);
65373  ;
65374  return 0;
65375}
65376_ACEOF
65377if ac_fn_cxx_try_compile "$LINENO"; then :
65378  glibcxx_cv_func_powl_use=yes
65379else
65380  glibcxx_cv_func_powl_use=no
65381fi
65382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65383      ac_ext=c
65384ac_cpp='$CPP $CPPFLAGS'
65385ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65386ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65387ac_compiler_gnu=$ac_cv_c_compiler_gnu
65388
65389
65390fi
65391
65392  fi
65393  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65394$as_echo "$glibcxx_cv_func_powl_use" >&6; }
65395
65396  if test x$glibcxx_cv_func_powl_use = x"yes"; then
65397    for ac_func in powl
65398do :
65399  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65400if test "x$ac_cv_func_powl" = x""yes; then :
65401  cat >>confdefs.h <<_ACEOF
65402#define HAVE_POWL 1
65403_ACEOF
65404
65405fi
65406done
65407
65408  else
65409
65410  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65411$as_echo_n "checking for _powl declaration... " >&6; }
65412  if test x${glibcxx_cv_func__powl_use+set} != xset; then
65413    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65414  $as_echo_n "(cached) " >&6
65415else
65416
65417
65418      ac_ext=cpp
65419ac_cpp='$CXXCPP $CPPFLAGS'
65420ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65421ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65422ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65423
65424      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65425/* end confdefs.h.  */
65426#include <math.h>
65427int
65428main ()
65429{
65430 _powl(0, 0);
65431  ;
65432  return 0;
65433}
65434_ACEOF
65435if ac_fn_cxx_try_compile "$LINENO"; then :
65436  glibcxx_cv_func__powl_use=yes
65437else
65438  glibcxx_cv_func__powl_use=no
65439fi
65440rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65441      ac_ext=c
65442ac_cpp='$CPP $CPPFLAGS'
65443ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65444ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65445ac_compiler_gnu=$ac_cv_c_compiler_gnu
65446
65447
65448fi
65449
65450  fi
65451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65452$as_echo "$glibcxx_cv_func__powl_use" >&6; }
65453
65454    if test x$glibcxx_cv_func__powl_use = x"yes"; then
65455      for ac_func in _powl
65456do :
65457  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65458if test "x$ac_cv_func__powl" = x""yes; then :
65459  cat >>confdefs.h <<_ACEOF
65460#define HAVE__POWL 1
65461_ACEOF
65462
65463fi
65464done
65465
65466    fi
65467  fi
65468
65469
65470
65471
65472
65473  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65474$as_echo_n "checking for sqrtl declaration... " >&6; }
65475  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65476    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65477  $as_echo_n "(cached) " >&6
65478else
65479
65480
65481      ac_ext=cpp
65482ac_cpp='$CXXCPP $CPPFLAGS'
65483ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65484ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65485ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65486
65487      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65488/* end confdefs.h.  */
65489#include <math.h>
65490		      #ifdef HAVE_IEEEFP_H
65491		      #include <ieeefp.h>
65492		      #endif
65493
65494int
65495main ()
65496{
65497 sqrtl(0);
65498  ;
65499  return 0;
65500}
65501_ACEOF
65502if ac_fn_cxx_try_compile "$LINENO"; then :
65503  glibcxx_cv_func_sqrtl_use=yes
65504else
65505  glibcxx_cv_func_sqrtl_use=no
65506fi
65507rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65508      ac_ext=c
65509ac_cpp='$CPP $CPPFLAGS'
65510ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65511ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65512ac_compiler_gnu=$ac_cv_c_compiler_gnu
65513
65514
65515fi
65516
65517  fi
65518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65519$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65520
65521  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65522    for ac_func in sqrtl
65523do :
65524  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65525if test "x$ac_cv_func_sqrtl" = x""yes; then :
65526  cat >>confdefs.h <<_ACEOF
65527#define HAVE_SQRTL 1
65528_ACEOF
65529
65530fi
65531done
65532
65533  else
65534
65535  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65536$as_echo_n "checking for _sqrtl declaration... " >&6; }
65537  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65538    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65539  $as_echo_n "(cached) " >&6
65540else
65541
65542
65543      ac_ext=cpp
65544ac_cpp='$CXXCPP $CPPFLAGS'
65545ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65546ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65547ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65548
65549      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65550/* end confdefs.h.  */
65551#include <math.h>
65552		      #ifdef HAVE_IEEEFP_H
65553		      #include <ieeefp.h>
65554		      #endif
65555
65556int
65557main ()
65558{
65559 _sqrtl(0);
65560  ;
65561  return 0;
65562}
65563_ACEOF
65564if ac_fn_cxx_try_compile "$LINENO"; then :
65565  glibcxx_cv_func__sqrtl_use=yes
65566else
65567  glibcxx_cv_func__sqrtl_use=no
65568fi
65569rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65570      ac_ext=c
65571ac_cpp='$CPP $CPPFLAGS'
65572ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65573ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65574ac_compiler_gnu=$ac_cv_c_compiler_gnu
65575
65576
65577fi
65578
65579  fi
65580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65581$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65582
65583    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65584      for ac_func in _sqrtl
65585do :
65586  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65587if test "x$ac_cv_func__sqrtl" = x""yes; then :
65588  cat >>confdefs.h <<_ACEOF
65589#define HAVE__SQRTL 1
65590_ACEOF
65591
65592fi
65593done
65594
65595    fi
65596  fi
65597
65598
65599
65600
65601
65602  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65603$as_echo_n "checking for sincosl declaration... " >&6; }
65604  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65605    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65606  $as_echo_n "(cached) " >&6
65607else
65608
65609
65610      ac_ext=cpp
65611ac_cpp='$CXXCPP $CPPFLAGS'
65612ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65613ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65614ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65615
65616      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65617/* end confdefs.h.  */
65618#include <math.h>
65619int
65620main ()
65621{
65622 sincosl(0, 0, 0);
65623  ;
65624  return 0;
65625}
65626_ACEOF
65627if ac_fn_cxx_try_compile "$LINENO"; then :
65628  glibcxx_cv_func_sincosl_use=yes
65629else
65630  glibcxx_cv_func_sincosl_use=no
65631fi
65632rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65633      ac_ext=c
65634ac_cpp='$CPP $CPPFLAGS'
65635ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65636ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65637ac_compiler_gnu=$ac_cv_c_compiler_gnu
65638
65639
65640fi
65641
65642  fi
65643  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65644$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65645
65646  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65647    for ac_func in sincosl
65648do :
65649  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65650if test "x$ac_cv_func_sincosl" = x""yes; then :
65651  cat >>confdefs.h <<_ACEOF
65652#define HAVE_SINCOSL 1
65653_ACEOF
65654
65655fi
65656done
65657
65658  else
65659
65660  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65661$as_echo_n "checking for _sincosl declaration... " >&6; }
65662  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65663    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65664  $as_echo_n "(cached) " >&6
65665else
65666
65667
65668      ac_ext=cpp
65669ac_cpp='$CXXCPP $CPPFLAGS'
65670ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65671ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65672ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65673
65674      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65675/* end confdefs.h.  */
65676#include <math.h>
65677int
65678main ()
65679{
65680 _sincosl(0, 0, 0);
65681  ;
65682  return 0;
65683}
65684_ACEOF
65685if ac_fn_cxx_try_compile "$LINENO"; then :
65686  glibcxx_cv_func__sincosl_use=yes
65687else
65688  glibcxx_cv_func__sincosl_use=no
65689fi
65690rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65691      ac_ext=c
65692ac_cpp='$CPP $CPPFLAGS'
65693ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65694ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65695ac_compiler_gnu=$ac_cv_c_compiler_gnu
65696
65697
65698fi
65699
65700  fi
65701  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65702$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65703
65704    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65705      for ac_func in _sincosl
65706do :
65707  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65708if test "x$ac_cv_func__sincosl" = x""yes; then :
65709  cat >>confdefs.h <<_ACEOF
65710#define HAVE__SINCOSL 1
65711_ACEOF
65712
65713fi
65714done
65715
65716    fi
65717  fi
65718
65719
65720
65721
65722
65723  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65724$as_echo_n "checking for finitel declaration... " >&6; }
65725  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65726    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65727  $as_echo_n "(cached) " >&6
65728else
65729
65730
65731      ac_ext=cpp
65732ac_cpp='$CXXCPP $CPPFLAGS'
65733ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65734ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65735ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65736
65737      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65738/* end confdefs.h.  */
65739#include <math.h>
65740		      #ifdef HAVE_IEEEFP_H
65741		      #include <ieeefp.h>
65742		      #endif
65743
65744int
65745main ()
65746{
65747 finitel(0);
65748  ;
65749  return 0;
65750}
65751_ACEOF
65752if ac_fn_cxx_try_compile "$LINENO"; then :
65753  glibcxx_cv_func_finitel_use=yes
65754else
65755  glibcxx_cv_func_finitel_use=no
65756fi
65757rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65758      ac_ext=c
65759ac_cpp='$CPP $CPPFLAGS'
65760ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65761ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65762ac_compiler_gnu=$ac_cv_c_compiler_gnu
65763
65764
65765fi
65766
65767  fi
65768  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65769$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65770
65771  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65772    for ac_func in finitel
65773do :
65774  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65775if test "x$ac_cv_func_finitel" = x""yes; then :
65776  cat >>confdefs.h <<_ACEOF
65777#define HAVE_FINITEL 1
65778_ACEOF
65779
65780fi
65781done
65782
65783  else
65784
65785  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65786$as_echo_n "checking for _finitel declaration... " >&6; }
65787  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65788    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65789  $as_echo_n "(cached) " >&6
65790else
65791
65792
65793      ac_ext=cpp
65794ac_cpp='$CXXCPP $CPPFLAGS'
65795ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65796ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65797ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65798
65799      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65800/* end confdefs.h.  */
65801#include <math.h>
65802		      #ifdef HAVE_IEEEFP_H
65803		      #include <ieeefp.h>
65804		      #endif
65805
65806int
65807main ()
65808{
65809 _finitel(0);
65810  ;
65811  return 0;
65812}
65813_ACEOF
65814if ac_fn_cxx_try_compile "$LINENO"; then :
65815  glibcxx_cv_func__finitel_use=yes
65816else
65817  glibcxx_cv_func__finitel_use=no
65818fi
65819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65820      ac_ext=c
65821ac_cpp='$CPP $CPPFLAGS'
65822ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65823ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65824ac_compiler_gnu=$ac_cv_c_compiler_gnu
65825
65826
65827fi
65828
65829  fi
65830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65831$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65832
65833    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65834      for ac_func in _finitel
65835do :
65836  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65837if test "x$ac_cv_func__finitel" = x""yes; then :
65838  cat >>confdefs.h <<_ACEOF
65839#define HAVE__FINITEL 1
65840_ACEOF
65841
65842fi
65843done
65844
65845    fi
65846  fi
65847
65848
65849
65850
65851  LIBS="$ac_save_LIBS"
65852  CXXFLAGS="$ac_save_CXXFLAGS"
65853
65854
65855  ac_test_CXXFLAGS="${CXXFLAGS+set}"
65856  ac_save_CXXFLAGS="$CXXFLAGS"
65857  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65858
65859
65860  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65861$as_echo_n "checking for at_quick_exit declaration... " >&6; }
65862  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65863    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65864  $as_echo_n "(cached) " >&6
65865else
65866
65867
65868      ac_ext=cpp
65869ac_cpp='$CXXCPP $CPPFLAGS'
65870ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65871ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65872ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65873
65874      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65875/* end confdefs.h.  */
65876#include <stdlib.h>
65877int
65878main ()
65879{
65880 at_quick_exit(0);
65881  ;
65882  return 0;
65883}
65884_ACEOF
65885if ac_fn_cxx_try_compile "$LINENO"; then :
65886  glibcxx_cv_func_at_quick_exit_use=yes
65887else
65888  glibcxx_cv_func_at_quick_exit_use=no
65889fi
65890rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65891      ac_ext=c
65892ac_cpp='$CPP $CPPFLAGS'
65893ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65894ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65895ac_compiler_gnu=$ac_cv_c_compiler_gnu
65896
65897
65898fi
65899
65900  fi
65901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65902$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65903  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65904    for ac_func in at_quick_exit
65905do :
65906  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65907if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65908  cat >>confdefs.h <<_ACEOF
65909#define HAVE_AT_QUICK_EXIT 1
65910_ACEOF
65911
65912fi
65913done
65914
65915  fi
65916
65917
65918  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65919$as_echo_n "checking for quick_exit declaration... " >&6; }
65920  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65921    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65922  $as_echo_n "(cached) " >&6
65923else
65924
65925
65926      ac_ext=cpp
65927ac_cpp='$CXXCPP $CPPFLAGS'
65928ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65929ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65930ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65931
65932      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65933/* end confdefs.h.  */
65934#include <stdlib.h>
65935int
65936main ()
65937{
65938 quick_exit(0);
65939  ;
65940  return 0;
65941}
65942_ACEOF
65943if ac_fn_cxx_try_compile "$LINENO"; then :
65944  glibcxx_cv_func_quick_exit_use=yes
65945else
65946  glibcxx_cv_func_quick_exit_use=no
65947fi
65948rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65949      ac_ext=c
65950ac_cpp='$CPP $CPPFLAGS'
65951ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65952ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65953ac_compiler_gnu=$ac_cv_c_compiler_gnu
65954
65955
65956fi
65957
65958  fi
65959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65960$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65961  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65962    for ac_func in quick_exit
65963do :
65964  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65965if test "x$ac_cv_func_quick_exit" = x""yes; then :
65966  cat >>confdefs.h <<_ACEOF
65967#define HAVE_QUICK_EXIT 1
65968_ACEOF
65969
65970fi
65971done
65972
65973  fi
65974
65975
65976  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65977$as_echo_n "checking for strtold declaration... " >&6; }
65978  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65979    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65980  $as_echo_n "(cached) " >&6
65981else
65982
65983
65984      ac_ext=cpp
65985ac_cpp='$CXXCPP $CPPFLAGS'
65986ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65987ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65988ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65989
65990      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65991/* end confdefs.h.  */
65992#include <stdlib.h>
65993int
65994main ()
65995{
65996 strtold(0, 0);
65997  ;
65998  return 0;
65999}
66000_ACEOF
66001if ac_fn_cxx_try_compile "$LINENO"; then :
66002  glibcxx_cv_func_strtold_use=yes
66003else
66004  glibcxx_cv_func_strtold_use=no
66005fi
66006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66007      ac_ext=c
66008ac_cpp='$CPP $CPPFLAGS'
66009ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66010ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66011ac_compiler_gnu=$ac_cv_c_compiler_gnu
66012
66013
66014fi
66015
66016  fi
66017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66018$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66019  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66020    for ac_func in strtold
66021do :
66022  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66023if test "x$ac_cv_func_strtold" = x""yes; then :
66024  cat >>confdefs.h <<_ACEOF
66025#define HAVE_STRTOLD 1
66026_ACEOF
66027
66028fi
66029done
66030
66031  fi
66032
66033
66034
66035
66036  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66037$as_echo_n "checking for strtof declaration... " >&6; }
66038  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66039    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
66040  $as_echo_n "(cached) " >&6
66041else
66042
66043
66044      ac_ext=cpp
66045ac_cpp='$CXXCPP $CPPFLAGS'
66046ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66047ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66048ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66049
66050      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66051/* end confdefs.h.  */
66052#include <stdlib.h>
66053int
66054main ()
66055{
66056 strtof(0, 0);
66057  ;
66058  return 0;
66059}
66060_ACEOF
66061if ac_fn_cxx_try_compile "$LINENO"; then :
66062  glibcxx_cv_func_strtof_use=yes
66063else
66064  glibcxx_cv_func_strtof_use=no
66065fi
66066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66067      ac_ext=c
66068ac_cpp='$CPP $CPPFLAGS'
66069ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66070ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66071ac_compiler_gnu=$ac_cv_c_compiler_gnu
66072
66073
66074fi
66075
66076  fi
66077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66078$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66079  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66080    for ac_func in strtof
66081do :
66082  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66083if test "x$ac_cv_func_strtof" = x""yes; then :
66084  cat >>confdefs.h <<_ACEOF
66085#define HAVE_STRTOF 1
66086_ACEOF
66087
66088fi
66089done
66090
66091  fi
66092
66093
66094
66095
66096  CXXFLAGS="$ac_save_CXXFLAGS"
66097
66098    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66099do :
66100  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66101ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66102eval as_val=\$$as_ac_var
66103   if test "x$as_val" = x""yes; then :
66104  cat >>confdefs.h <<_ACEOF
66105#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66106_ACEOF
66107
66108fi
66109done
66110
66111    ;;
66112  *-netbsd*)
66113    SECTION_FLAGS='-ffunction-sections -fdata-sections'
66114
66115
66116  # If we're not using GNU ld, then there's no point in even trying these
66117  # tests.  Check for that first.  We should have already tested for gld
66118  # by now (in libtool), but require it now just to be safe...
66119  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66120  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66121
66122
66123
66124  # The name set by libtool depends on the version of libtool.  Shame on us
66125  # for depending on an impl detail, but c'est la vie.  Older versions used
66126  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66127  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66128  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
66129  # set (hence we're using an older libtool), then set it.
66130  if test x${with_gnu_ld+set} != xset; then
66131    if test x${ac_cv_prog_gnu_ld+set} != xset; then
66132      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
66133      with_gnu_ld=no
66134    else
66135      with_gnu_ld=$ac_cv_prog_gnu_ld
66136    fi
66137  fi
66138
66139  # Start by getting the version number.  I think the libtool test already
66140  # does some of this, but throws away the result.
66141  glibcxx_ld_is_gold=no
66142  if test x"$with_gnu_ld" = x"yes"; then
66143    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66144$as_echo_n "checking for ld version... " >&6; }
66145
66146    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66147      glibcxx_ld_is_gold=yes
66148    fi
66149    ldver=`$LD --version 2>/dev/null |
66150	   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'`
66151
66152    glibcxx_gnu_ld_version=`echo $ldver | \
66153	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66154    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66155$as_echo "$glibcxx_gnu_ld_version" >&6; }
66156  fi
66157
66158  # Set --gc-sections.
66159  glibcxx_have_gc_sections=no
66160  if test "$glibcxx_ld_is_gold" = "yes"; then
66161    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66162      glibcxx_have_gc_sections=yes
66163    fi
66164  else
66165    glibcxx_gcsections_min_ld=21602
66166    if test x"$with_gnu_ld" = x"yes" &&
66167	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66168      glibcxx_have_gc_sections=yes
66169    fi
66170  fi
66171  if test "$glibcxx_have_gc_sections" = "yes"; then
66172    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
66173    # NB: This flag only works reliably after 2.16.1. Configure tests
66174    # for this are difficult, so hard wire a value that should work.
66175
66176    ac_test_CFLAGS="${CFLAGS+set}"
66177    ac_save_CFLAGS="$CFLAGS"
66178    CFLAGS='-Wl,--gc-sections'
66179
66180    # Check for -Wl,--gc-sections
66181    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66182$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66183    if test x$gcc_no_link = xyes; then
66184  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66185fi
66186cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66187/* end confdefs.h.  */
66188 int one(void) { return 1; }
66189     int two(void) { return 2; }
66190
66191int
66192main ()
66193{
66194 two();
66195  ;
66196  return 0;
66197}
66198_ACEOF
66199if ac_fn_c_try_link "$LINENO"; then :
66200  ac_gcsections=yes
66201else
66202  ac_gcsections=no
66203fi
66204rm -f core conftest.err conftest.$ac_objext \
66205    conftest$ac_exeext conftest.$ac_ext
66206    if test "$ac_gcsections" = "yes"; then
66207      rm -f conftest.c
66208      touch conftest.c
66209      if $CC -c conftest.c; then
66210	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66211	   grep "Warning: gc-sections option ignored" > /dev/null; then
66212	  ac_gcsections=no
66213	fi
66214      fi
66215      rm -f conftest.c conftest.o conftest
66216    fi
66217    if test "$ac_gcsections" = "yes"; then
66218      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66219    fi
66220    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66221$as_echo "$ac_gcsections" >&6; }
66222
66223    if test "$ac_test_CFLAGS" = set; then
66224      CFLAGS="$ac_save_CFLAGS"
66225    else
66226      # this is the suspicious part
66227      CFLAGS=''
66228    fi
66229  fi
66230
66231  # Set -z,relro.
66232  # Note this is only for shared objects.
66233  ac_ld_relro=no
66234  if test x"$with_gnu_ld" = x"yes"; then
66235    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66236$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66237    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66238    if test -n "$cxx_z_relo"; then
66239      OPT_LDFLAGS="-Wl,-z,relro"
66240      ac_ld_relro=yes
66241    fi
66242    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66243$as_echo "$ac_ld_relro" >&6; }
66244  fi
66245
66246  # Set linker optimization flags.
66247  if test x"$with_gnu_ld" = x"yes"; then
66248    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66249  fi
66250
66251
66252
66253
66254    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66255
66256    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66257
66258    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66259
66260    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66261
66262    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66263
66264    $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66265
66266    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66267
66268    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66269
66270    if test x"long_double_math_on_this_cpu" = x"yes"; then
66271      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66272
66273      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66274
66275      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66276
66277    fi
66278    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66279do :
66280  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66281ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66282eval as_val=\$$as_ac_var
66283   if test "x$as_val" = x""yes; then :
66284  cat >>confdefs.h <<_ACEOF
66285#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66286_ACEOF
66287
66288fi
66289done
66290
66291    ;;
66292  *-qnx6.1* | *-qnx6.2*)
66293    SECTION_FLAGS='-ffunction-sections -fdata-sections'
66294
66295
66296  # If we're not using GNU ld, then there's no point in even trying these
66297  # tests.  Check for that first.  We should have already tested for gld
66298  # by now (in libtool), but require it now just to be safe...
66299  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66300  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66301
66302
66303
66304  # The name set by libtool depends on the version of libtool.  Shame on us
66305  # for depending on an impl detail, but c'est la vie.  Older versions used
66306  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66307  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66308  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
66309  # set (hence we're using an older libtool), then set it.
66310  if test x${with_gnu_ld+set} != xset; then
66311    if test x${ac_cv_prog_gnu_ld+set} != xset; then
66312      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
66313      with_gnu_ld=no
66314    else
66315      with_gnu_ld=$ac_cv_prog_gnu_ld
66316    fi
66317  fi
66318
66319  # Start by getting the version number.  I think the libtool test already
66320  # does some of this, but throws away the result.
66321  glibcxx_ld_is_gold=no
66322  if test x"$with_gnu_ld" = x"yes"; then
66323    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66324$as_echo_n "checking for ld version... " >&6; }
66325
66326    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66327      glibcxx_ld_is_gold=yes
66328    fi
66329    ldver=`$LD --version 2>/dev/null |
66330	   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'`
66331
66332    glibcxx_gnu_ld_version=`echo $ldver | \
66333	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66334    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66335$as_echo "$glibcxx_gnu_ld_version" >&6; }
66336  fi
66337
66338  # Set --gc-sections.
66339  glibcxx_have_gc_sections=no
66340  if test "$glibcxx_ld_is_gold" = "yes"; then
66341    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66342      glibcxx_have_gc_sections=yes
66343    fi
66344  else
66345    glibcxx_gcsections_min_ld=21602
66346    if test x"$with_gnu_ld" = x"yes" &&
66347	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66348      glibcxx_have_gc_sections=yes
66349    fi
66350  fi
66351  if test "$glibcxx_have_gc_sections" = "yes"; then
66352    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
66353    # NB: This flag only works reliably after 2.16.1. Configure tests
66354    # for this are difficult, so hard wire a value that should work.
66355
66356    ac_test_CFLAGS="${CFLAGS+set}"
66357    ac_save_CFLAGS="$CFLAGS"
66358    CFLAGS='-Wl,--gc-sections'
66359
66360    # Check for -Wl,--gc-sections
66361    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66362$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66363    if test x$gcc_no_link = xyes; then
66364  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66365fi
66366cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66367/* end confdefs.h.  */
66368 int one(void) { return 1; }
66369     int two(void) { return 2; }
66370
66371int
66372main ()
66373{
66374 two();
66375  ;
66376  return 0;
66377}
66378_ACEOF
66379if ac_fn_c_try_link "$LINENO"; then :
66380  ac_gcsections=yes
66381else
66382  ac_gcsections=no
66383fi
66384rm -f core conftest.err conftest.$ac_objext \
66385    conftest$ac_exeext conftest.$ac_ext
66386    if test "$ac_gcsections" = "yes"; then
66387      rm -f conftest.c
66388      touch conftest.c
66389      if $CC -c conftest.c; then
66390	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66391	   grep "Warning: gc-sections option ignored" > /dev/null; then
66392	  ac_gcsections=no
66393	fi
66394      fi
66395      rm -f conftest.c conftest.o conftest
66396    fi
66397    if test "$ac_gcsections" = "yes"; then
66398      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66399    fi
66400    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66401$as_echo "$ac_gcsections" >&6; }
66402
66403    if test "$ac_test_CFLAGS" = set; then
66404      CFLAGS="$ac_save_CFLAGS"
66405    else
66406      # this is the suspicious part
66407      CFLAGS=''
66408    fi
66409  fi
66410
66411  # Set -z,relro.
66412  # Note this is only for shared objects.
66413  ac_ld_relro=no
66414  if test x"$with_gnu_ld" = x"yes"; then
66415    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66416$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66417    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66418    if test -n "$cxx_z_relo"; then
66419      OPT_LDFLAGS="-Wl,-z,relro"
66420      ac_ld_relro=yes
66421    fi
66422    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66423$as_echo "$ac_ld_relro" >&6; }
66424  fi
66425
66426  # Set linker optimization flags.
66427  if test x"$with_gnu_ld" = x"yes"; then
66428    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66429  fi
66430
66431
66432
66433
66434    $as_echo "#define HAVE_COSF 1" >>confdefs.h
66435
66436    $as_echo "#define HAVE_COSL 1" >>confdefs.h
66437
66438    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66439
66440    $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66441
66442    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66443
66444    $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66445
66446    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66447
66448    $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66449
66450    $as_echo "#define HAVE_SINF 1" >>confdefs.h
66451
66452    $as_echo "#define HAVE_SINL 1" >>confdefs.h
66453
66454    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66455
66456    $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66457
66458    ;;
66459  *-rtems*)
66460
66461  # All these tests are for C++; save the language and the compiler flags.
66462  # The CXXFLAGS thing is suspicious, but based on similar bits previously
66463  # found in GLIBCXX_CONFIGURE.
66464
66465  ac_ext=cpp
66466ac_cpp='$CXXCPP $CPPFLAGS'
66467ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66468ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66469ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66470
66471  ac_test_CXXFLAGS="${CXXFLAGS+set}"
66472  ac_save_CXXFLAGS="$CXXFLAGS"
66473
66474  # Check for maintainer-mode bits.
66475  if test x"$USE_MAINTAINER_MODE" = xno; then
66476    WERROR=''
66477  else
66478    WERROR='-Werror'
66479  fi
66480
66481  # Check for -ffunction-sections -fdata-sections
66482  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66483$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66484  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66485  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66486/* end confdefs.h.  */
66487int foo; void bar() { };
66488int
66489main ()
66490{
66491
66492  ;
66493  return 0;
66494}
66495_ACEOF
66496if ac_fn_cxx_try_compile "$LINENO"; then :
66497  ac_fdsections=yes
66498else
66499  ac_fdsections=no
66500fi
66501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66502  if test "$ac_test_CXXFLAGS" = set; then
66503    CXXFLAGS="$ac_save_CXXFLAGS"
66504  else
66505    # this is the suspicious part
66506    CXXFLAGS=''
66507  fi
66508  if test x"$ac_fdsections" = x"yes"; then
66509    SECTION_FLAGS='-ffunction-sections -fdata-sections'
66510  fi
66511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66512$as_echo "$ac_fdsections" >&6; }
66513
66514  ac_ext=c
66515ac_cpp='$CPP $CPPFLAGS'
66516ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66517ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66518ac_compiler_gnu=$ac_cv_c_compiler_gnu
66519
66520
66521
66522
66523
66524  # If we're not using GNU ld, then there's no point in even trying these
66525  # tests.  Check for that first.  We should have already tested for gld
66526  # by now (in libtool), but require it now just to be safe...
66527  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66528  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66529
66530
66531
66532  # The name set by libtool depends on the version of libtool.  Shame on us
66533  # for depending on an impl detail, but c'est la vie.  Older versions used
66534  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66535  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66536  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
66537  # set (hence we're using an older libtool), then set it.
66538  if test x${with_gnu_ld+set} != xset; then
66539    if test x${ac_cv_prog_gnu_ld+set} != xset; then
66540      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
66541      with_gnu_ld=no
66542    else
66543      with_gnu_ld=$ac_cv_prog_gnu_ld
66544    fi
66545  fi
66546
66547  # Start by getting the version number.  I think the libtool test already
66548  # does some of this, but throws away the result.
66549  glibcxx_ld_is_gold=no
66550  if test x"$with_gnu_ld" = x"yes"; then
66551    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66552$as_echo_n "checking for ld version... " >&6; }
66553
66554    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66555      glibcxx_ld_is_gold=yes
66556    fi
66557    ldver=`$LD --version 2>/dev/null |
66558	   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'`
66559
66560    glibcxx_gnu_ld_version=`echo $ldver | \
66561	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66562    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66563$as_echo "$glibcxx_gnu_ld_version" >&6; }
66564  fi
66565
66566  # Set --gc-sections.
66567  glibcxx_have_gc_sections=no
66568  if test "$glibcxx_ld_is_gold" = "yes"; then
66569    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66570      glibcxx_have_gc_sections=yes
66571    fi
66572  else
66573    glibcxx_gcsections_min_ld=21602
66574    if test x"$with_gnu_ld" = x"yes" &&
66575	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66576      glibcxx_have_gc_sections=yes
66577    fi
66578  fi
66579  if test "$glibcxx_have_gc_sections" = "yes"; then
66580    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
66581    # NB: This flag only works reliably after 2.16.1. Configure tests
66582    # for this are difficult, so hard wire a value that should work.
66583
66584    ac_test_CFLAGS="${CFLAGS+set}"
66585    ac_save_CFLAGS="$CFLAGS"
66586    CFLAGS='-Wl,--gc-sections'
66587
66588    # Check for -Wl,--gc-sections
66589    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66590$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66591    if test x$gcc_no_link = xyes; then
66592  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66593fi
66594cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66595/* end confdefs.h.  */
66596 int one(void) { return 1; }
66597     int two(void) { return 2; }
66598
66599int
66600main ()
66601{
66602 two();
66603  ;
66604  return 0;
66605}
66606_ACEOF
66607if ac_fn_c_try_link "$LINENO"; then :
66608  ac_gcsections=yes
66609else
66610  ac_gcsections=no
66611fi
66612rm -f core conftest.err conftest.$ac_objext \
66613    conftest$ac_exeext conftest.$ac_ext
66614    if test "$ac_gcsections" = "yes"; then
66615      rm -f conftest.c
66616      touch conftest.c
66617      if $CC -c conftest.c; then
66618	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66619	   grep "Warning: gc-sections option ignored" > /dev/null; then
66620	  ac_gcsections=no
66621	fi
66622      fi
66623      rm -f conftest.c conftest.o conftest
66624    fi
66625    if test "$ac_gcsections" = "yes"; then
66626      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66627    fi
66628    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66629$as_echo "$ac_gcsections" >&6; }
66630
66631    if test "$ac_test_CFLAGS" = set; then
66632      CFLAGS="$ac_save_CFLAGS"
66633    else
66634      # this is the suspicious part
66635      CFLAGS=''
66636    fi
66637  fi
66638
66639  # Set -z,relro.
66640  # Note this is only for shared objects.
66641  ac_ld_relro=no
66642  if test x"$with_gnu_ld" = x"yes"; then
66643    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66644$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66645    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66646    if test -n "$cxx_z_relo"; then
66647      OPT_LDFLAGS="-Wl,-z,relro"
66648      ac_ld_relro=yes
66649    fi
66650    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66651$as_echo "$ac_ld_relro" >&6; }
66652  fi
66653
66654  # Set linker optimization flags.
66655  if test x"$with_gnu_ld" = x"yes"; then
66656    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66657  fi
66658
66659
66660
66661
66662
66663  ac_test_CXXFLAGS="${CXXFLAGS+set}"
66664  ac_save_CXXFLAGS="$CXXFLAGS"
66665  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66666
66667    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66668$as_echo_n "checking for sin in -lm... " >&6; }
66669if test "${ac_cv_lib_m_sin+set}" = set; then :
66670  $as_echo_n "(cached) " >&6
66671else
66672  ac_check_lib_save_LIBS=$LIBS
66673LIBS="-lm  $LIBS"
66674if test x$gcc_no_link = xyes; then
66675  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66676fi
66677cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66678/* end confdefs.h.  */
66679
66680/* Override any GCC internal prototype to avoid an error.
66681   Use char because int might match the return type of a GCC
66682   builtin and then its argument prototype would still apply.  */
66683#ifdef __cplusplus
66684extern "C"
66685#endif
66686char sin ();
66687int
66688main ()
66689{
66690return sin ();
66691  ;
66692  return 0;
66693}
66694_ACEOF
66695if ac_fn_c_try_link "$LINENO"; then :
66696  ac_cv_lib_m_sin=yes
66697else
66698  ac_cv_lib_m_sin=no
66699fi
66700rm -f core conftest.err conftest.$ac_objext \
66701    conftest$ac_exeext conftest.$ac_ext
66702LIBS=$ac_check_lib_save_LIBS
66703fi
66704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66705$as_echo "$ac_cv_lib_m_sin" >&6; }
66706if test "x$ac_cv_lib_m_sin" = x""yes; then :
66707  libm="-lm"
66708fi
66709
66710  ac_save_LIBS="$LIBS"
66711  LIBS="$LIBS $libm"
66712
66713
66714
66715  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66716$as_echo_n "checking for isinf declaration... " >&6; }
66717  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66718    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66719  $as_echo_n "(cached) " >&6
66720else
66721
66722
66723      ac_ext=cpp
66724ac_cpp='$CXXCPP $CPPFLAGS'
66725ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66726ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66727ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66728
66729      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66730/* end confdefs.h.  */
66731#include <math.h>
66732		      #ifdef HAVE_IEEEFP_H
66733		      #include <ieeefp.h>
66734		      #endif
66735
66736int
66737main ()
66738{
66739 isinf(0);
66740  ;
66741  return 0;
66742}
66743_ACEOF
66744if ac_fn_cxx_try_compile "$LINENO"; then :
66745  glibcxx_cv_func_isinf_use=yes
66746else
66747  glibcxx_cv_func_isinf_use=no
66748fi
66749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66750      ac_ext=c
66751ac_cpp='$CPP $CPPFLAGS'
66752ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66753ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66754ac_compiler_gnu=$ac_cv_c_compiler_gnu
66755
66756
66757fi
66758
66759  fi
66760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66761$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66762
66763  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66764    for ac_func in isinf
66765do :
66766  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66767if test "x$ac_cv_func_isinf" = x""yes; then :
66768  cat >>confdefs.h <<_ACEOF
66769#define HAVE_ISINF 1
66770_ACEOF
66771
66772fi
66773done
66774
66775  else
66776
66777  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66778$as_echo_n "checking for _isinf declaration... " >&6; }
66779  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66780    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66781  $as_echo_n "(cached) " >&6
66782else
66783
66784
66785      ac_ext=cpp
66786ac_cpp='$CXXCPP $CPPFLAGS'
66787ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66788ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66789ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66790
66791      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66792/* end confdefs.h.  */
66793#include <math.h>
66794		      #ifdef HAVE_IEEEFP_H
66795		      #include <ieeefp.h>
66796		      #endif
66797
66798int
66799main ()
66800{
66801 _isinf(0);
66802  ;
66803  return 0;
66804}
66805_ACEOF
66806if ac_fn_cxx_try_compile "$LINENO"; then :
66807  glibcxx_cv_func__isinf_use=yes
66808else
66809  glibcxx_cv_func__isinf_use=no
66810fi
66811rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66812      ac_ext=c
66813ac_cpp='$CPP $CPPFLAGS'
66814ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66815ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66816ac_compiler_gnu=$ac_cv_c_compiler_gnu
66817
66818
66819fi
66820
66821  fi
66822  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66823$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66824
66825    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66826      for ac_func in _isinf
66827do :
66828  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66829if test "x$ac_cv_func__isinf" = x""yes; then :
66830  cat >>confdefs.h <<_ACEOF
66831#define HAVE__ISINF 1
66832_ACEOF
66833
66834fi
66835done
66836
66837    fi
66838  fi
66839
66840
66841
66842
66843
66844  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66845$as_echo_n "checking for isnan declaration... " >&6; }
66846  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66847    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66848  $as_echo_n "(cached) " >&6
66849else
66850
66851
66852      ac_ext=cpp
66853ac_cpp='$CXXCPP $CPPFLAGS'
66854ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66855ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66856ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66857
66858      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66859/* end confdefs.h.  */
66860#include <math.h>
66861		      #ifdef HAVE_IEEEFP_H
66862		      #include <ieeefp.h>
66863		      #endif
66864
66865int
66866main ()
66867{
66868 isnan(0);
66869  ;
66870  return 0;
66871}
66872_ACEOF
66873if ac_fn_cxx_try_compile "$LINENO"; then :
66874  glibcxx_cv_func_isnan_use=yes
66875else
66876  glibcxx_cv_func_isnan_use=no
66877fi
66878rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66879      ac_ext=c
66880ac_cpp='$CPP $CPPFLAGS'
66881ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66882ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66883ac_compiler_gnu=$ac_cv_c_compiler_gnu
66884
66885
66886fi
66887
66888  fi
66889  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66890$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66891
66892  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66893    for ac_func in isnan
66894do :
66895  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66896if test "x$ac_cv_func_isnan" = x""yes; then :
66897  cat >>confdefs.h <<_ACEOF
66898#define HAVE_ISNAN 1
66899_ACEOF
66900
66901fi
66902done
66903
66904  else
66905
66906  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66907$as_echo_n "checking for _isnan declaration... " >&6; }
66908  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66909    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66910  $as_echo_n "(cached) " >&6
66911else
66912
66913
66914      ac_ext=cpp
66915ac_cpp='$CXXCPP $CPPFLAGS'
66916ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66917ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66918ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66919
66920      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66921/* end confdefs.h.  */
66922#include <math.h>
66923		      #ifdef HAVE_IEEEFP_H
66924		      #include <ieeefp.h>
66925		      #endif
66926
66927int
66928main ()
66929{
66930 _isnan(0);
66931  ;
66932  return 0;
66933}
66934_ACEOF
66935if ac_fn_cxx_try_compile "$LINENO"; then :
66936  glibcxx_cv_func__isnan_use=yes
66937else
66938  glibcxx_cv_func__isnan_use=no
66939fi
66940rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66941      ac_ext=c
66942ac_cpp='$CPP $CPPFLAGS'
66943ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66944ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66945ac_compiler_gnu=$ac_cv_c_compiler_gnu
66946
66947
66948fi
66949
66950  fi
66951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66952$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66953
66954    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66955      for ac_func in _isnan
66956do :
66957  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66958if test "x$ac_cv_func__isnan" = x""yes; then :
66959  cat >>confdefs.h <<_ACEOF
66960#define HAVE__ISNAN 1
66961_ACEOF
66962
66963fi
66964done
66965
66966    fi
66967  fi
66968
66969
66970
66971
66972
66973  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66974$as_echo_n "checking for finite declaration... " >&6; }
66975  if test x${glibcxx_cv_func_finite_use+set} != xset; then
66976    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66977  $as_echo_n "(cached) " >&6
66978else
66979
66980
66981      ac_ext=cpp
66982ac_cpp='$CXXCPP $CPPFLAGS'
66983ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66984ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66985ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66986
66987      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66988/* end confdefs.h.  */
66989#include <math.h>
66990		      #ifdef HAVE_IEEEFP_H
66991		      #include <ieeefp.h>
66992		      #endif
66993
66994int
66995main ()
66996{
66997 finite(0);
66998  ;
66999  return 0;
67000}
67001_ACEOF
67002if ac_fn_cxx_try_compile "$LINENO"; then :
67003  glibcxx_cv_func_finite_use=yes
67004else
67005  glibcxx_cv_func_finite_use=no
67006fi
67007rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67008      ac_ext=c
67009ac_cpp='$CPP $CPPFLAGS'
67010ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67011ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67012ac_compiler_gnu=$ac_cv_c_compiler_gnu
67013
67014
67015fi
67016
67017  fi
67018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67019$as_echo "$glibcxx_cv_func_finite_use" >&6; }
67020
67021  if test x$glibcxx_cv_func_finite_use = x"yes"; then
67022    for ac_func in finite
67023do :
67024  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67025if test "x$ac_cv_func_finite" = x""yes; then :
67026  cat >>confdefs.h <<_ACEOF
67027#define HAVE_FINITE 1
67028_ACEOF
67029
67030fi
67031done
67032
67033  else
67034
67035  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67036$as_echo_n "checking for _finite declaration... " >&6; }
67037  if test x${glibcxx_cv_func__finite_use+set} != xset; then
67038    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
67039  $as_echo_n "(cached) " >&6
67040else
67041
67042
67043      ac_ext=cpp
67044ac_cpp='$CXXCPP $CPPFLAGS'
67045ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67046ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67047ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67048
67049      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67050/* end confdefs.h.  */
67051#include <math.h>
67052		      #ifdef HAVE_IEEEFP_H
67053		      #include <ieeefp.h>
67054		      #endif
67055
67056int
67057main ()
67058{
67059 _finite(0);
67060  ;
67061  return 0;
67062}
67063_ACEOF
67064if ac_fn_cxx_try_compile "$LINENO"; then :
67065  glibcxx_cv_func__finite_use=yes
67066else
67067  glibcxx_cv_func__finite_use=no
67068fi
67069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67070      ac_ext=c
67071ac_cpp='$CPP $CPPFLAGS'
67072ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67073ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67074ac_compiler_gnu=$ac_cv_c_compiler_gnu
67075
67076
67077fi
67078
67079  fi
67080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67081$as_echo "$glibcxx_cv_func__finite_use" >&6; }
67082
67083    if test x$glibcxx_cv_func__finite_use = x"yes"; then
67084      for ac_func in _finite
67085do :
67086  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67087if test "x$ac_cv_func__finite" = x""yes; then :
67088  cat >>confdefs.h <<_ACEOF
67089#define HAVE__FINITE 1
67090_ACEOF
67091
67092fi
67093done
67094
67095    fi
67096  fi
67097
67098
67099
67100
67101
67102  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67103$as_echo_n "checking for sincos declaration... " >&6; }
67104  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67105    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
67106  $as_echo_n "(cached) " >&6
67107else
67108
67109
67110      ac_ext=cpp
67111ac_cpp='$CXXCPP $CPPFLAGS'
67112ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67113ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67114ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67115
67116      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67117/* end confdefs.h.  */
67118#include <math.h>
67119int
67120main ()
67121{
67122 sincos(0, 0, 0);
67123  ;
67124  return 0;
67125}
67126_ACEOF
67127if ac_fn_cxx_try_compile "$LINENO"; then :
67128  glibcxx_cv_func_sincos_use=yes
67129else
67130  glibcxx_cv_func_sincos_use=no
67131fi
67132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67133      ac_ext=c
67134ac_cpp='$CPP $CPPFLAGS'
67135ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67136ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67137ac_compiler_gnu=$ac_cv_c_compiler_gnu
67138
67139
67140fi
67141
67142  fi
67143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67144$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67145
67146  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67147    for ac_func in sincos
67148do :
67149  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67150if test "x$ac_cv_func_sincos" = x""yes; then :
67151  cat >>confdefs.h <<_ACEOF
67152#define HAVE_SINCOS 1
67153_ACEOF
67154
67155fi
67156done
67157
67158  else
67159
67160  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67161$as_echo_n "checking for _sincos declaration... " >&6; }
67162  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67163    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
67164  $as_echo_n "(cached) " >&6
67165else
67166
67167
67168      ac_ext=cpp
67169ac_cpp='$CXXCPP $CPPFLAGS'
67170ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67171ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67172ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67173
67174      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67175/* end confdefs.h.  */
67176#include <math.h>
67177int
67178main ()
67179{
67180 _sincos(0, 0, 0);
67181  ;
67182  return 0;
67183}
67184_ACEOF
67185if ac_fn_cxx_try_compile "$LINENO"; then :
67186  glibcxx_cv_func__sincos_use=yes
67187else
67188  glibcxx_cv_func__sincos_use=no
67189fi
67190rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67191      ac_ext=c
67192ac_cpp='$CPP $CPPFLAGS'
67193ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67194ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67195ac_compiler_gnu=$ac_cv_c_compiler_gnu
67196
67197
67198fi
67199
67200  fi
67201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67202$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67203
67204    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67205      for ac_func in _sincos
67206do :
67207  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67208if test "x$ac_cv_func__sincos" = x""yes; then :
67209  cat >>confdefs.h <<_ACEOF
67210#define HAVE__SINCOS 1
67211_ACEOF
67212
67213fi
67214done
67215
67216    fi
67217  fi
67218
67219
67220
67221
67222
67223  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67224$as_echo_n "checking for fpclass declaration... " >&6; }
67225  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67226    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
67227  $as_echo_n "(cached) " >&6
67228else
67229
67230
67231      ac_ext=cpp
67232ac_cpp='$CXXCPP $CPPFLAGS'
67233ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67234ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67235ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67236
67237      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67238/* end confdefs.h.  */
67239#include <math.h>
67240		      #ifdef HAVE_IEEEFP_H
67241		      #include <ieeefp.h>
67242		      #endif
67243
67244int
67245main ()
67246{
67247 fpclass(0);
67248  ;
67249  return 0;
67250}
67251_ACEOF
67252if ac_fn_cxx_try_compile "$LINENO"; then :
67253  glibcxx_cv_func_fpclass_use=yes
67254else
67255  glibcxx_cv_func_fpclass_use=no
67256fi
67257rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67258      ac_ext=c
67259ac_cpp='$CPP $CPPFLAGS'
67260ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67261ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67262ac_compiler_gnu=$ac_cv_c_compiler_gnu
67263
67264
67265fi
67266
67267  fi
67268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67269$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67270
67271  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67272    for ac_func in fpclass
67273do :
67274  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67275if test "x$ac_cv_func_fpclass" = x""yes; then :
67276  cat >>confdefs.h <<_ACEOF
67277#define HAVE_FPCLASS 1
67278_ACEOF
67279
67280fi
67281done
67282
67283  else
67284
67285  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67286$as_echo_n "checking for _fpclass declaration... " >&6; }
67287  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67288    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67289  $as_echo_n "(cached) " >&6
67290else
67291
67292
67293      ac_ext=cpp
67294ac_cpp='$CXXCPP $CPPFLAGS'
67295ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67296ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67297ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67298
67299      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67300/* end confdefs.h.  */
67301#include <math.h>
67302		      #ifdef HAVE_IEEEFP_H
67303		      #include <ieeefp.h>
67304		      #endif
67305
67306int
67307main ()
67308{
67309 _fpclass(0);
67310  ;
67311  return 0;
67312}
67313_ACEOF
67314if ac_fn_cxx_try_compile "$LINENO"; then :
67315  glibcxx_cv_func__fpclass_use=yes
67316else
67317  glibcxx_cv_func__fpclass_use=no
67318fi
67319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67320      ac_ext=c
67321ac_cpp='$CPP $CPPFLAGS'
67322ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67324ac_compiler_gnu=$ac_cv_c_compiler_gnu
67325
67326
67327fi
67328
67329  fi
67330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67331$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67332
67333    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67334      for ac_func in _fpclass
67335do :
67336  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67337if test "x$ac_cv_func__fpclass" = x""yes; then :
67338  cat >>confdefs.h <<_ACEOF
67339#define HAVE__FPCLASS 1
67340_ACEOF
67341
67342fi
67343done
67344
67345    fi
67346  fi
67347
67348
67349
67350
67351
67352  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67353$as_echo_n "checking for qfpclass declaration... " >&6; }
67354  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67355    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67356  $as_echo_n "(cached) " >&6
67357else
67358
67359
67360      ac_ext=cpp
67361ac_cpp='$CXXCPP $CPPFLAGS'
67362ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67363ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67364ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67365
67366      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67367/* end confdefs.h.  */
67368#include <math.h>
67369		      #ifdef HAVE_IEEEFP_H
67370		      #include <ieeefp.h>
67371		      #endif
67372
67373int
67374main ()
67375{
67376 qfpclass(0);
67377  ;
67378  return 0;
67379}
67380_ACEOF
67381if ac_fn_cxx_try_compile "$LINENO"; then :
67382  glibcxx_cv_func_qfpclass_use=yes
67383else
67384  glibcxx_cv_func_qfpclass_use=no
67385fi
67386rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67387      ac_ext=c
67388ac_cpp='$CPP $CPPFLAGS'
67389ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67390ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67391ac_compiler_gnu=$ac_cv_c_compiler_gnu
67392
67393
67394fi
67395
67396  fi
67397  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67398$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67399
67400  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67401    for ac_func in qfpclass
67402do :
67403  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67404if test "x$ac_cv_func_qfpclass" = x""yes; then :
67405  cat >>confdefs.h <<_ACEOF
67406#define HAVE_QFPCLASS 1
67407_ACEOF
67408
67409fi
67410done
67411
67412  else
67413
67414  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67415$as_echo_n "checking for _qfpclass declaration... " >&6; }
67416  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67417    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67418  $as_echo_n "(cached) " >&6
67419else
67420
67421
67422      ac_ext=cpp
67423ac_cpp='$CXXCPP $CPPFLAGS'
67424ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67425ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67426ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67427
67428      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67429/* end confdefs.h.  */
67430#include <math.h>
67431		      #ifdef HAVE_IEEEFP_H
67432		      #include <ieeefp.h>
67433		      #endif
67434
67435int
67436main ()
67437{
67438 _qfpclass(0);
67439  ;
67440  return 0;
67441}
67442_ACEOF
67443if ac_fn_cxx_try_compile "$LINENO"; then :
67444  glibcxx_cv_func__qfpclass_use=yes
67445else
67446  glibcxx_cv_func__qfpclass_use=no
67447fi
67448rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67449      ac_ext=c
67450ac_cpp='$CPP $CPPFLAGS'
67451ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67452ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67453ac_compiler_gnu=$ac_cv_c_compiler_gnu
67454
67455
67456fi
67457
67458  fi
67459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67460$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67461
67462    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67463      for ac_func in _qfpclass
67464do :
67465  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67466if test "x$ac_cv_func__qfpclass" = x""yes; then :
67467  cat >>confdefs.h <<_ACEOF
67468#define HAVE__QFPCLASS 1
67469_ACEOF
67470
67471fi
67472done
67473
67474    fi
67475  fi
67476
67477
67478
67479
67480
67481  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67482$as_echo_n "checking for hypot declaration... " >&6; }
67483  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67484    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67485  $as_echo_n "(cached) " >&6
67486else
67487
67488
67489      ac_ext=cpp
67490ac_cpp='$CXXCPP $CPPFLAGS'
67491ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67492ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67493ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67494
67495      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67496/* end confdefs.h.  */
67497#include <math.h>
67498int
67499main ()
67500{
67501 hypot(0, 0);
67502  ;
67503  return 0;
67504}
67505_ACEOF
67506if ac_fn_cxx_try_compile "$LINENO"; then :
67507  glibcxx_cv_func_hypot_use=yes
67508else
67509  glibcxx_cv_func_hypot_use=no
67510fi
67511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67512      ac_ext=c
67513ac_cpp='$CPP $CPPFLAGS'
67514ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67515ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67516ac_compiler_gnu=$ac_cv_c_compiler_gnu
67517
67518
67519fi
67520
67521  fi
67522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67523$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67524
67525  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67526    for ac_func in hypot
67527do :
67528  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67529if test "x$ac_cv_func_hypot" = x""yes; then :
67530  cat >>confdefs.h <<_ACEOF
67531#define HAVE_HYPOT 1
67532_ACEOF
67533
67534fi
67535done
67536
67537  else
67538
67539  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67540$as_echo_n "checking for _hypot declaration... " >&6; }
67541  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67542    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67543  $as_echo_n "(cached) " >&6
67544else
67545
67546
67547      ac_ext=cpp
67548ac_cpp='$CXXCPP $CPPFLAGS'
67549ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67550ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67551ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67552
67553      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67554/* end confdefs.h.  */
67555#include <math.h>
67556int
67557main ()
67558{
67559 _hypot(0, 0);
67560  ;
67561  return 0;
67562}
67563_ACEOF
67564if ac_fn_cxx_try_compile "$LINENO"; then :
67565  glibcxx_cv_func__hypot_use=yes
67566else
67567  glibcxx_cv_func__hypot_use=no
67568fi
67569rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67570      ac_ext=c
67571ac_cpp='$CPP $CPPFLAGS'
67572ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67573ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67574ac_compiler_gnu=$ac_cv_c_compiler_gnu
67575
67576
67577fi
67578
67579  fi
67580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67581$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67582
67583    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67584      for ac_func in _hypot
67585do :
67586  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67587if test "x$ac_cv_func__hypot" = x""yes; then :
67588  cat >>confdefs.h <<_ACEOF
67589#define HAVE__HYPOT 1
67590_ACEOF
67591
67592fi
67593done
67594
67595    fi
67596  fi
67597
67598
67599
67600
67601
67602    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67603$as_echo_n "checking for float trig functions... " >&6; }
67604  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67605  $as_echo_n "(cached) " >&6
67606else
67607
67608
67609    ac_ext=cpp
67610ac_cpp='$CXXCPP $CPPFLAGS'
67611ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67612ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67613ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67614
67615    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67616/* end confdefs.h.  */
67617#include <math.h>
67618int
67619main ()
67620{
67621acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67622  ;
67623  return 0;
67624}
67625_ACEOF
67626if ac_fn_cxx_try_compile "$LINENO"; then :
67627  glibcxx_cv_func_float_trig_use=yes
67628else
67629  glibcxx_cv_func_float_trig_use=no
67630fi
67631rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67632    ac_ext=c
67633ac_cpp='$CPP $CPPFLAGS'
67634ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67635ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67636ac_compiler_gnu=$ac_cv_c_compiler_gnu
67637
67638fi
67639
67640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67641$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67642  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67643    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67644do :
67645  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67646ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67647eval as_val=\$$as_ac_var
67648   if test "x$as_val" = x""yes; then :
67649  cat >>confdefs.h <<_ACEOF
67650#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67651_ACEOF
67652
67653fi
67654done
67655
67656  else
67657    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67658$as_echo_n "checking for _float trig functions... " >&6; }
67659    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67660  $as_echo_n "(cached) " >&6
67661else
67662
67663
67664      ac_ext=cpp
67665ac_cpp='$CXXCPP $CPPFLAGS'
67666ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67667ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67668ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67669
67670      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67671/* end confdefs.h.  */
67672#include <math.h>
67673int
67674main ()
67675{
67676_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67677  ;
67678  return 0;
67679}
67680_ACEOF
67681if ac_fn_cxx_try_compile "$LINENO"; then :
67682  glibcxx_cv_func__float_trig_use=yes
67683else
67684  glibcxx_cv_func__float_trig_use=no
67685fi
67686rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67687      ac_ext=c
67688ac_cpp='$CPP $CPPFLAGS'
67689ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67690ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67691ac_compiler_gnu=$ac_cv_c_compiler_gnu
67692
67693fi
67694
67695    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67696$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67697    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67698      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67699do :
67700  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67701ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67702eval as_val=\$$as_ac_var
67703   if test "x$as_val" = x""yes; then :
67704  cat >>confdefs.h <<_ACEOF
67705#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67706_ACEOF
67707
67708fi
67709done
67710
67711    fi
67712  fi
67713
67714
67715
67716
67717
67718    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67719$as_echo_n "checking for float round functions... " >&6; }
67720  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67721  $as_echo_n "(cached) " >&6
67722else
67723
67724
67725    ac_ext=cpp
67726ac_cpp='$CXXCPP $CPPFLAGS'
67727ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67728ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67729ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67730
67731    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67732/* end confdefs.h.  */
67733#include <math.h>
67734int
67735main ()
67736{
67737ceilf (0); floorf (0);
67738  ;
67739  return 0;
67740}
67741_ACEOF
67742if ac_fn_cxx_try_compile "$LINENO"; then :
67743  glibcxx_cv_func_float_round_use=yes
67744else
67745  glibcxx_cv_func_float_round_use=no
67746fi
67747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67748    ac_ext=c
67749ac_cpp='$CPP $CPPFLAGS'
67750ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67751ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67752ac_compiler_gnu=$ac_cv_c_compiler_gnu
67753
67754fi
67755
67756  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67757$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67758  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67759    for ac_func in ceilf floorf
67760do :
67761  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67762ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67763eval as_val=\$$as_ac_var
67764   if test "x$as_val" = x""yes; then :
67765  cat >>confdefs.h <<_ACEOF
67766#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67767_ACEOF
67768
67769fi
67770done
67771
67772  else
67773    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67774$as_echo_n "checking for _float round functions... " >&6; }
67775    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67776  $as_echo_n "(cached) " >&6
67777else
67778
67779
67780      ac_ext=cpp
67781ac_cpp='$CXXCPP $CPPFLAGS'
67782ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67783ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67784ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67785
67786      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67787/* end confdefs.h.  */
67788#include <math.h>
67789int
67790main ()
67791{
67792_ceilf (0); _floorf (0);
67793  ;
67794  return 0;
67795}
67796_ACEOF
67797if ac_fn_cxx_try_compile "$LINENO"; then :
67798  glibcxx_cv_func__float_round_use=yes
67799else
67800  glibcxx_cv_func__float_round_use=no
67801fi
67802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67803      ac_ext=c
67804ac_cpp='$CPP $CPPFLAGS'
67805ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67806ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67807ac_compiler_gnu=$ac_cv_c_compiler_gnu
67808
67809fi
67810
67811    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67812$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67813    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67814      for ac_func in _ceilf _floorf
67815do :
67816  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67817ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67818eval as_val=\$$as_ac_var
67819   if test "x$as_val" = x""yes; then :
67820  cat >>confdefs.h <<_ACEOF
67821#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67822_ACEOF
67823
67824fi
67825done
67826
67827    fi
67828  fi
67829
67830
67831
67832
67833
67834
67835  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67836$as_echo_n "checking for expf declaration... " >&6; }
67837  if test x${glibcxx_cv_func_expf_use+set} != xset; then
67838    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67839  $as_echo_n "(cached) " >&6
67840else
67841
67842
67843      ac_ext=cpp
67844ac_cpp='$CXXCPP $CPPFLAGS'
67845ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67846ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67847ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67848
67849      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67850/* end confdefs.h.  */
67851#include <math.h>
67852		      #ifdef HAVE_IEEEFP_H
67853		      #include <ieeefp.h>
67854		      #endif
67855
67856int
67857main ()
67858{
67859 expf(0);
67860  ;
67861  return 0;
67862}
67863_ACEOF
67864if ac_fn_cxx_try_compile "$LINENO"; then :
67865  glibcxx_cv_func_expf_use=yes
67866else
67867  glibcxx_cv_func_expf_use=no
67868fi
67869rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67870      ac_ext=c
67871ac_cpp='$CPP $CPPFLAGS'
67872ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67873ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67874ac_compiler_gnu=$ac_cv_c_compiler_gnu
67875
67876
67877fi
67878
67879  fi
67880  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67881$as_echo "$glibcxx_cv_func_expf_use" >&6; }
67882
67883  if test x$glibcxx_cv_func_expf_use = x"yes"; then
67884    for ac_func in expf
67885do :
67886  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67887if test "x$ac_cv_func_expf" = x""yes; then :
67888  cat >>confdefs.h <<_ACEOF
67889#define HAVE_EXPF 1
67890_ACEOF
67891
67892fi
67893done
67894
67895  else
67896
67897  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67898$as_echo_n "checking for _expf declaration... " >&6; }
67899  if test x${glibcxx_cv_func__expf_use+set} != xset; then
67900    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67901  $as_echo_n "(cached) " >&6
67902else
67903
67904
67905      ac_ext=cpp
67906ac_cpp='$CXXCPP $CPPFLAGS'
67907ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67908ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67909ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67910
67911      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67912/* end confdefs.h.  */
67913#include <math.h>
67914		      #ifdef HAVE_IEEEFP_H
67915		      #include <ieeefp.h>
67916		      #endif
67917
67918int
67919main ()
67920{
67921 _expf(0);
67922  ;
67923  return 0;
67924}
67925_ACEOF
67926if ac_fn_cxx_try_compile "$LINENO"; then :
67927  glibcxx_cv_func__expf_use=yes
67928else
67929  glibcxx_cv_func__expf_use=no
67930fi
67931rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67932      ac_ext=c
67933ac_cpp='$CPP $CPPFLAGS'
67934ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67935ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67936ac_compiler_gnu=$ac_cv_c_compiler_gnu
67937
67938
67939fi
67940
67941  fi
67942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67943$as_echo "$glibcxx_cv_func__expf_use" >&6; }
67944
67945    if test x$glibcxx_cv_func__expf_use = x"yes"; then
67946      for ac_func in _expf
67947do :
67948  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67949if test "x$ac_cv_func__expf" = x""yes; then :
67950  cat >>confdefs.h <<_ACEOF
67951#define HAVE__EXPF 1
67952_ACEOF
67953
67954fi
67955done
67956
67957    fi
67958  fi
67959
67960
67961
67962
67963
67964  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67965$as_echo_n "checking for isnanf declaration... " >&6; }
67966  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67967    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67968  $as_echo_n "(cached) " >&6
67969else
67970
67971
67972      ac_ext=cpp
67973ac_cpp='$CXXCPP $CPPFLAGS'
67974ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67975ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67976ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67977
67978      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67979/* end confdefs.h.  */
67980#include <math.h>
67981		      #ifdef HAVE_IEEEFP_H
67982		      #include <ieeefp.h>
67983		      #endif
67984
67985int
67986main ()
67987{
67988 isnanf(0);
67989  ;
67990  return 0;
67991}
67992_ACEOF
67993if ac_fn_cxx_try_compile "$LINENO"; then :
67994  glibcxx_cv_func_isnanf_use=yes
67995else
67996  glibcxx_cv_func_isnanf_use=no
67997fi
67998rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67999      ac_ext=c
68000ac_cpp='$CPP $CPPFLAGS'
68001ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68002ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68003ac_compiler_gnu=$ac_cv_c_compiler_gnu
68004
68005
68006fi
68007
68008  fi
68009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68010$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68011
68012  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68013    for ac_func in isnanf
68014do :
68015  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68016if test "x$ac_cv_func_isnanf" = x""yes; then :
68017  cat >>confdefs.h <<_ACEOF
68018#define HAVE_ISNANF 1
68019_ACEOF
68020
68021fi
68022done
68023
68024  else
68025
68026  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68027$as_echo_n "checking for _isnanf declaration... " >&6; }
68028  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68029    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
68030  $as_echo_n "(cached) " >&6
68031else
68032
68033
68034      ac_ext=cpp
68035ac_cpp='$CXXCPP $CPPFLAGS'
68036ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68037ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68038ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68039
68040      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68041/* end confdefs.h.  */
68042#include <math.h>
68043		      #ifdef HAVE_IEEEFP_H
68044		      #include <ieeefp.h>
68045		      #endif
68046
68047int
68048main ()
68049{
68050 _isnanf(0);
68051  ;
68052  return 0;
68053}
68054_ACEOF
68055if ac_fn_cxx_try_compile "$LINENO"; then :
68056  glibcxx_cv_func__isnanf_use=yes
68057else
68058  glibcxx_cv_func__isnanf_use=no
68059fi
68060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68061      ac_ext=c
68062ac_cpp='$CPP $CPPFLAGS'
68063ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68064ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68065ac_compiler_gnu=$ac_cv_c_compiler_gnu
68066
68067
68068fi
68069
68070  fi
68071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68072$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68073
68074    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68075      for ac_func in _isnanf
68076do :
68077  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68078if test "x$ac_cv_func__isnanf" = x""yes; then :
68079  cat >>confdefs.h <<_ACEOF
68080#define HAVE__ISNANF 1
68081_ACEOF
68082
68083fi
68084done
68085
68086    fi
68087  fi
68088
68089
68090
68091
68092
68093  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68094$as_echo_n "checking for isinff declaration... " >&6; }
68095  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68096    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
68097  $as_echo_n "(cached) " >&6
68098else
68099
68100
68101      ac_ext=cpp
68102ac_cpp='$CXXCPP $CPPFLAGS'
68103ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68104ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68105ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68106
68107      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68108/* end confdefs.h.  */
68109#include <math.h>
68110		      #ifdef HAVE_IEEEFP_H
68111		      #include <ieeefp.h>
68112		      #endif
68113
68114int
68115main ()
68116{
68117 isinff(0);
68118  ;
68119  return 0;
68120}
68121_ACEOF
68122if ac_fn_cxx_try_compile "$LINENO"; then :
68123  glibcxx_cv_func_isinff_use=yes
68124else
68125  glibcxx_cv_func_isinff_use=no
68126fi
68127rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68128      ac_ext=c
68129ac_cpp='$CPP $CPPFLAGS'
68130ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68131ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68132ac_compiler_gnu=$ac_cv_c_compiler_gnu
68133
68134
68135fi
68136
68137  fi
68138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68139$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68140
68141  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68142    for ac_func in isinff
68143do :
68144  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68145if test "x$ac_cv_func_isinff" = x""yes; then :
68146  cat >>confdefs.h <<_ACEOF
68147#define HAVE_ISINFF 1
68148_ACEOF
68149
68150fi
68151done
68152
68153  else
68154
68155  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68156$as_echo_n "checking for _isinff declaration... " >&6; }
68157  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68158    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
68159  $as_echo_n "(cached) " >&6
68160else
68161
68162
68163      ac_ext=cpp
68164ac_cpp='$CXXCPP $CPPFLAGS'
68165ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68166ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68167ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68168
68169      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68170/* end confdefs.h.  */
68171#include <math.h>
68172		      #ifdef HAVE_IEEEFP_H
68173		      #include <ieeefp.h>
68174		      #endif
68175
68176int
68177main ()
68178{
68179 _isinff(0);
68180  ;
68181  return 0;
68182}
68183_ACEOF
68184if ac_fn_cxx_try_compile "$LINENO"; then :
68185  glibcxx_cv_func__isinff_use=yes
68186else
68187  glibcxx_cv_func__isinff_use=no
68188fi
68189rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68190      ac_ext=c
68191ac_cpp='$CPP $CPPFLAGS'
68192ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68193ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68194ac_compiler_gnu=$ac_cv_c_compiler_gnu
68195
68196
68197fi
68198
68199  fi
68200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68201$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68202
68203    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68204      for ac_func in _isinff
68205do :
68206  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68207if test "x$ac_cv_func__isinff" = x""yes; then :
68208  cat >>confdefs.h <<_ACEOF
68209#define HAVE__ISINFF 1
68210_ACEOF
68211
68212fi
68213done
68214
68215    fi
68216  fi
68217
68218
68219
68220
68221
68222  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68223$as_echo_n "checking for atan2f declaration... " >&6; }
68224  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68225    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
68226  $as_echo_n "(cached) " >&6
68227else
68228
68229
68230      ac_ext=cpp
68231ac_cpp='$CXXCPP $CPPFLAGS'
68232ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68233ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68234ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68235
68236      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68237/* end confdefs.h.  */
68238#include <math.h>
68239int
68240main ()
68241{
68242 atan2f(0, 0);
68243  ;
68244  return 0;
68245}
68246_ACEOF
68247if ac_fn_cxx_try_compile "$LINENO"; then :
68248  glibcxx_cv_func_atan2f_use=yes
68249else
68250  glibcxx_cv_func_atan2f_use=no
68251fi
68252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68253      ac_ext=c
68254ac_cpp='$CPP $CPPFLAGS'
68255ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68256ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68257ac_compiler_gnu=$ac_cv_c_compiler_gnu
68258
68259
68260fi
68261
68262  fi
68263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68264$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68265
68266  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68267    for ac_func in atan2f
68268do :
68269  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68270if test "x$ac_cv_func_atan2f" = x""yes; then :
68271  cat >>confdefs.h <<_ACEOF
68272#define HAVE_ATAN2F 1
68273_ACEOF
68274
68275fi
68276done
68277
68278  else
68279
68280  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68281$as_echo_n "checking for _atan2f declaration... " >&6; }
68282  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68283    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68284  $as_echo_n "(cached) " >&6
68285else
68286
68287
68288      ac_ext=cpp
68289ac_cpp='$CXXCPP $CPPFLAGS'
68290ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68291ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68292ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68293
68294      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68295/* end confdefs.h.  */
68296#include <math.h>
68297int
68298main ()
68299{
68300 _atan2f(0, 0);
68301  ;
68302  return 0;
68303}
68304_ACEOF
68305if ac_fn_cxx_try_compile "$LINENO"; then :
68306  glibcxx_cv_func__atan2f_use=yes
68307else
68308  glibcxx_cv_func__atan2f_use=no
68309fi
68310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68311      ac_ext=c
68312ac_cpp='$CPP $CPPFLAGS'
68313ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68314ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68315ac_compiler_gnu=$ac_cv_c_compiler_gnu
68316
68317
68318fi
68319
68320  fi
68321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68322$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68323
68324    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68325      for ac_func in _atan2f
68326do :
68327  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68328if test "x$ac_cv_func__atan2f" = x""yes; then :
68329  cat >>confdefs.h <<_ACEOF
68330#define HAVE__ATAN2F 1
68331_ACEOF
68332
68333fi
68334done
68335
68336    fi
68337  fi
68338
68339
68340
68341
68342
68343  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68344$as_echo_n "checking for fabsf declaration... " >&6; }
68345  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68346    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68347  $as_echo_n "(cached) " >&6
68348else
68349
68350
68351      ac_ext=cpp
68352ac_cpp='$CXXCPP $CPPFLAGS'
68353ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68354ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68355ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68356
68357      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68358/* end confdefs.h.  */
68359#include <math.h>
68360		      #ifdef HAVE_IEEEFP_H
68361		      #include <ieeefp.h>
68362		      #endif
68363
68364int
68365main ()
68366{
68367 fabsf(0);
68368  ;
68369  return 0;
68370}
68371_ACEOF
68372if ac_fn_cxx_try_compile "$LINENO"; then :
68373  glibcxx_cv_func_fabsf_use=yes
68374else
68375  glibcxx_cv_func_fabsf_use=no
68376fi
68377rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68378      ac_ext=c
68379ac_cpp='$CPP $CPPFLAGS'
68380ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68381ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68382ac_compiler_gnu=$ac_cv_c_compiler_gnu
68383
68384
68385fi
68386
68387  fi
68388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68389$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68390
68391  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68392    for ac_func in fabsf
68393do :
68394  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68395if test "x$ac_cv_func_fabsf" = x""yes; then :
68396  cat >>confdefs.h <<_ACEOF
68397#define HAVE_FABSF 1
68398_ACEOF
68399
68400fi
68401done
68402
68403  else
68404
68405  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68406$as_echo_n "checking for _fabsf declaration... " >&6; }
68407  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68408    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68409  $as_echo_n "(cached) " >&6
68410else
68411
68412
68413      ac_ext=cpp
68414ac_cpp='$CXXCPP $CPPFLAGS'
68415ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68416ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68417ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68418
68419      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68420/* end confdefs.h.  */
68421#include <math.h>
68422		      #ifdef HAVE_IEEEFP_H
68423		      #include <ieeefp.h>
68424		      #endif
68425
68426int
68427main ()
68428{
68429 _fabsf(0);
68430  ;
68431  return 0;
68432}
68433_ACEOF
68434if ac_fn_cxx_try_compile "$LINENO"; then :
68435  glibcxx_cv_func__fabsf_use=yes
68436else
68437  glibcxx_cv_func__fabsf_use=no
68438fi
68439rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68440      ac_ext=c
68441ac_cpp='$CPP $CPPFLAGS'
68442ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68443ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68444ac_compiler_gnu=$ac_cv_c_compiler_gnu
68445
68446
68447fi
68448
68449  fi
68450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68451$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68452
68453    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68454      for ac_func in _fabsf
68455do :
68456  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68457if test "x$ac_cv_func__fabsf" = x""yes; then :
68458  cat >>confdefs.h <<_ACEOF
68459#define HAVE__FABSF 1
68460_ACEOF
68461
68462fi
68463done
68464
68465    fi
68466  fi
68467
68468
68469
68470
68471
68472  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68473$as_echo_n "checking for fmodf declaration... " >&6; }
68474  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68475    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68476  $as_echo_n "(cached) " >&6
68477else
68478
68479
68480      ac_ext=cpp
68481ac_cpp='$CXXCPP $CPPFLAGS'
68482ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68483ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68484ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68485
68486      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68487/* end confdefs.h.  */
68488#include <math.h>
68489int
68490main ()
68491{
68492 fmodf(0, 0);
68493  ;
68494  return 0;
68495}
68496_ACEOF
68497if ac_fn_cxx_try_compile "$LINENO"; then :
68498  glibcxx_cv_func_fmodf_use=yes
68499else
68500  glibcxx_cv_func_fmodf_use=no
68501fi
68502rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68503      ac_ext=c
68504ac_cpp='$CPP $CPPFLAGS'
68505ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68506ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68507ac_compiler_gnu=$ac_cv_c_compiler_gnu
68508
68509
68510fi
68511
68512  fi
68513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68514$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68515
68516  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68517    for ac_func in fmodf
68518do :
68519  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68520if test "x$ac_cv_func_fmodf" = x""yes; then :
68521  cat >>confdefs.h <<_ACEOF
68522#define HAVE_FMODF 1
68523_ACEOF
68524
68525fi
68526done
68527
68528  else
68529
68530  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68531$as_echo_n "checking for _fmodf declaration... " >&6; }
68532  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68533    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68534  $as_echo_n "(cached) " >&6
68535else
68536
68537
68538      ac_ext=cpp
68539ac_cpp='$CXXCPP $CPPFLAGS'
68540ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68541ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68542ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68543
68544      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68545/* end confdefs.h.  */
68546#include <math.h>
68547int
68548main ()
68549{
68550 _fmodf(0, 0);
68551  ;
68552  return 0;
68553}
68554_ACEOF
68555if ac_fn_cxx_try_compile "$LINENO"; then :
68556  glibcxx_cv_func__fmodf_use=yes
68557else
68558  glibcxx_cv_func__fmodf_use=no
68559fi
68560rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68561      ac_ext=c
68562ac_cpp='$CPP $CPPFLAGS'
68563ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68564ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68565ac_compiler_gnu=$ac_cv_c_compiler_gnu
68566
68567
68568fi
68569
68570  fi
68571  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68572$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68573
68574    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68575      for ac_func in _fmodf
68576do :
68577  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68578if test "x$ac_cv_func__fmodf" = x""yes; then :
68579  cat >>confdefs.h <<_ACEOF
68580#define HAVE__FMODF 1
68581_ACEOF
68582
68583fi
68584done
68585
68586    fi
68587  fi
68588
68589
68590
68591
68592
68593  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68594$as_echo_n "checking for frexpf declaration... " >&6; }
68595  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68596    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68597  $as_echo_n "(cached) " >&6
68598else
68599
68600
68601      ac_ext=cpp
68602ac_cpp='$CXXCPP $CPPFLAGS'
68603ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68604ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68605ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68606
68607      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68608/* end confdefs.h.  */
68609#include <math.h>
68610int
68611main ()
68612{
68613 frexpf(0, 0);
68614  ;
68615  return 0;
68616}
68617_ACEOF
68618if ac_fn_cxx_try_compile "$LINENO"; then :
68619  glibcxx_cv_func_frexpf_use=yes
68620else
68621  glibcxx_cv_func_frexpf_use=no
68622fi
68623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68624      ac_ext=c
68625ac_cpp='$CPP $CPPFLAGS'
68626ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68627ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68628ac_compiler_gnu=$ac_cv_c_compiler_gnu
68629
68630
68631fi
68632
68633  fi
68634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68635$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68636
68637  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68638    for ac_func in frexpf
68639do :
68640  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68641if test "x$ac_cv_func_frexpf" = x""yes; then :
68642  cat >>confdefs.h <<_ACEOF
68643#define HAVE_FREXPF 1
68644_ACEOF
68645
68646fi
68647done
68648
68649  else
68650
68651  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68652$as_echo_n "checking for _frexpf declaration... " >&6; }
68653  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68654    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68655  $as_echo_n "(cached) " >&6
68656else
68657
68658
68659      ac_ext=cpp
68660ac_cpp='$CXXCPP $CPPFLAGS'
68661ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68662ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68663ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68664
68665      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68666/* end confdefs.h.  */
68667#include <math.h>
68668int
68669main ()
68670{
68671 _frexpf(0, 0);
68672  ;
68673  return 0;
68674}
68675_ACEOF
68676if ac_fn_cxx_try_compile "$LINENO"; then :
68677  glibcxx_cv_func__frexpf_use=yes
68678else
68679  glibcxx_cv_func__frexpf_use=no
68680fi
68681rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68682      ac_ext=c
68683ac_cpp='$CPP $CPPFLAGS'
68684ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68685ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68686ac_compiler_gnu=$ac_cv_c_compiler_gnu
68687
68688
68689fi
68690
68691  fi
68692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68693$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68694
68695    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68696      for ac_func in _frexpf
68697do :
68698  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68699if test "x$ac_cv_func__frexpf" = x""yes; then :
68700  cat >>confdefs.h <<_ACEOF
68701#define HAVE__FREXPF 1
68702_ACEOF
68703
68704fi
68705done
68706
68707    fi
68708  fi
68709
68710
68711
68712
68713
68714  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68715$as_echo_n "checking for hypotf declaration... " >&6; }
68716  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68717    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68718  $as_echo_n "(cached) " >&6
68719else
68720
68721
68722      ac_ext=cpp
68723ac_cpp='$CXXCPP $CPPFLAGS'
68724ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68725ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68726ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68727
68728      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68729/* end confdefs.h.  */
68730#include <math.h>
68731int
68732main ()
68733{
68734 hypotf(0, 0);
68735  ;
68736  return 0;
68737}
68738_ACEOF
68739if ac_fn_cxx_try_compile "$LINENO"; then :
68740  glibcxx_cv_func_hypotf_use=yes
68741else
68742  glibcxx_cv_func_hypotf_use=no
68743fi
68744rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68745      ac_ext=c
68746ac_cpp='$CPP $CPPFLAGS'
68747ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68748ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68749ac_compiler_gnu=$ac_cv_c_compiler_gnu
68750
68751
68752fi
68753
68754  fi
68755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68756$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68757
68758  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68759    for ac_func in hypotf
68760do :
68761  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68762if test "x$ac_cv_func_hypotf" = x""yes; then :
68763  cat >>confdefs.h <<_ACEOF
68764#define HAVE_HYPOTF 1
68765_ACEOF
68766
68767fi
68768done
68769
68770  else
68771
68772  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68773$as_echo_n "checking for _hypotf declaration... " >&6; }
68774  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68775    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68776  $as_echo_n "(cached) " >&6
68777else
68778
68779
68780      ac_ext=cpp
68781ac_cpp='$CXXCPP $CPPFLAGS'
68782ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68783ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68784ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68785
68786      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68787/* end confdefs.h.  */
68788#include <math.h>
68789int
68790main ()
68791{
68792 _hypotf(0, 0);
68793  ;
68794  return 0;
68795}
68796_ACEOF
68797if ac_fn_cxx_try_compile "$LINENO"; then :
68798  glibcxx_cv_func__hypotf_use=yes
68799else
68800  glibcxx_cv_func__hypotf_use=no
68801fi
68802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68803      ac_ext=c
68804ac_cpp='$CPP $CPPFLAGS'
68805ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68806ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68807ac_compiler_gnu=$ac_cv_c_compiler_gnu
68808
68809
68810fi
68811
68812  fi
68813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68814$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68815
68816    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68817      for ac_func in _hypotf
68818do :
68819  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68820if test "x$ac_cv_func__hypotf" = x""yes; then :
68821  cat >>confdefs.h <<_ACEOF
68822#define HAVE__HYPOTF 1
68823_ACEOF
68824
68825fi
68826done
68827
68828    fi
68829  fi
68830
68831
68832
68833
68834
68835  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68836$as_echo_n "checking for ldexpf declaration... " >&6; }
68837  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68838    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68839  $as_echo_n "(cached) " >&6
68840else
68841
68842
68843      ac_ext=cpp
68844ac_cpp='$CXXCPP $CPPFLAGS'
68845ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68846ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68847ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68848
68849      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68850/* end confdefs.h.  */
68851#include <math.h>
68852int
68853main ()
68854{
68855 ldexpf(0, 0);
68856  ;
68857  return 0;
68858}
68859_ACEOF
68860if ac_fn_cxx_try_compile "$LINENO"; then :
68861  glibcxx_cv_func_ldexpf_use=yes
68862else
68863  glibcxx_cv_func_ldexpf_use=no
68864fi
68865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68866      ac_ext=c
68867ac_cpp='$CPP $CPPFLAGS'
68868ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68869ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68870ac_compiler_gnu=$ac_cv_c_compiler_gnu
68871
68872
68873fi
68874
68875  fi
68876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68877$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68878
68879  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68880    for ac_func in ldexpf
68881do :
68882  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68883if test "x$ac_cv_func_ldexpf" = x""yes; then :
68884  cat >>confdefs.h <<_ACEOF
68885#define HAVE_LDEXPF 1
68886_ACEOF
68887
68888fi
68889done
68890
68891  else
68892
68893  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68894$as_echo_n "checking for _ldexpf declaration... " >&6; }
68895  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68896    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68897  $as_echo_n "(cached) " >&6
68898else
68899
68900
68901      ac_ext=cpp
68902ac_cpp='$CXXCPP $CPPFLAGS'
68903ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68904ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68905ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68906
68907      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68908/* end confdefs.h.  */
68909#include <math.h>
68910int
68911main ()
68912{
68913 _ldexpf(0, 0);
68914  ;
68915  return 0;
68916}
68917_ACEOF
68918if ac_fn_cxx_try_compile "$LINENO"; then :
68919  glibcxx_cv_func__ldexpf_use=yes
68920else
68921  glibcxx_cv_func__ldexpf_use=no
68922fi
68923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68924      ac_ext=c
68925ac_cpp='$CPP $CPPFLAGS'
68926ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68927ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68928ac_compiler_gnu=$ac_cv_c_compiler_gnu
68929
68930
68931fi
68932
68933  fi
68934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68935$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68936
68937    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68938      for ac_func in _ldexpf
68939do :
68940  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68941if test "x$ac_cv_func__ldexpf" = x""yes; then :
68942  cat >>confdefs.h <<_ACEOF
68943#define HAVE__LDEXPF 1
68944_ACEOF
68945
68946fi
68947done
68948
68949    fi
68950  fi
68951
68952
68953
68954
68955
68956  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68957$as_echo_n "checking for logf declaration... " >&6; }
68958  if test x${glibcxx_cv_func_logf_use+set} != xset; then
68959    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68960  $as_echo_n "(cached) " >&6
68961else
68962
68963
68964      ac_ext=cpp
68965ac_cpp='$CXXCPP $CPPFLAGS'
68966ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68967ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68968ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68969
68970      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68971/* end confdefs.h.  */
68972#include <math.h>
68973		      #ifdef HAVE_IEEEFP_H
68974		      #include <ieeefp.h>
68975		      #endif
68976
68977int
68978main ()
68979{
68980 logf(0);
68981  ;
68982  return 0;
68983}
68984_ACEOF
68985if ac_fn_cxx_try_compile "$LINENO"; then :
68986  glibcxx_cv_func_logf_use=yes
68987else
68988  glibcxx_cv_func_logf_use=no
68989fi
68990rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68991      ac_ext=c
68992ac_cpp='$CPP $CPPFLAGS'
68993ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68994ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68995ac_compiler_gnu=$ac_cv_c_compiler_gnu
68996
68997
68998fi
68999
69000  fi
69001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69002$as_echo "$glibcxx_cv_func_logf_use" >&6; }
69003
69004  if test x$glibcxx_cv_func_logf_use = x"yes"; then
69005    for ac_func in logf
69006do :
69007  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69008if test "x$ac_cv_func_logf" = x""yes; then :
69009  cat >>confdefs.h <<_ACEOF
69010#define HAVE_LOGF 1
69011_ACEOF
69012
69013fi
69014done
69015
69016  else
69017
69018  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69019$as_echo_n "checking for _logf declaration... " >&6; }
69020  if test x${glibcxx_cv_func__logf_use+set} != xset; then
69021    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
69022  $as_echo_n "(cached) " >&6
69023else
69024
69025
69026      ac_ext=cpp
69027ac_cpp='$CXXCPP $CPPFLAGS'
69028ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69029ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69030ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69031
69032      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69033/* end confdefs.h.  */
69034#include <math.h>
69035		      #ifdef HAVE_IEEEFP_H
69036		      #include <ieeefp.h>
69037		      #endif
69038
69039int
69040main ()
69041{
69042 _logf(0);
69043  ;
69044  return 0;
69045}
69046_ACEOF
69047if ac_fn_cxx_try_compile "$LINENO"; then :
69048  glibcxx_cv_func__logf_use=yes
69049else
69050  glibcxx_cv_func__logf_use=no
69051fi
69052rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69053      ac_ext=c
69054ac_cpp='$CPP $CPPFLAGS'
69055ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69056ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69057ac_compiler_gnu=$ac_cv_c_compiler_gnu
69058
69059
69060fi
69061
69062  fi
69063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69064$as_echo "$glibcxx_cv_func__logf_use" >&6; }
69065
69066    if test x$glibcxx_cv_func__logf_use = x"yes"; then
69067      for ac_func in _logf
69068do :
69069  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69070if test "x$ac_cv_func__logf" = x""yes; then :
69071  cat >>confdefs.h <<_ACEOF
69072#define HAVE__LOGF 1
69073_ACEOF
69074
69075fi
69076done
69077
69078    fi
69079  fi
69080
69081
69082
69083
69084
69085  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69086$as_echo_n "checking for log10f declaration... " >&6; }
69087  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69088    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
69089  $as_echo_n "(cached) " >&6
69090else
69091
69092
69093      ac_ext=cpp
69094ac_cpp='$CXXCPP $CPPFLAGS'
69095ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69096ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69097ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69098
69099      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69100/* end confdefs.h.  */
69101#include <math.h>
69102		      #ifdef HAVE_IEEEFP_H
69103		      #include <ieeefp.h>
69104		      #endif
69105
69106int
69107main ()
69108{
69109 log10f(0);
69110  ;
69111  return 0;
69112}
69113_ACEOF
69114if ac_fn_cxx_try_compile "$LINENO"; then :
69115  glibcxx_cv_func_log10f_use=yes
69116else
69117  glibcxx_cv_func_log10f_use=no
69118fi
69119rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69120      ac_ext=c
69121ac_cpp='$CPP $CPPFLAGS'
69122ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69123ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69124ac_compiler_gnu=$ac_cv_c_compiler_gnu
69125
69126
69127fi
69128
69129  fi
69130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69131$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69132
69133  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69134    for ac_func in log10f
69135do :
69136  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69137if test "x$ac_cv_func_log10f" = x""yes; then :
69138  cat >>confdefs.h <<_ACEOF
69139#define HAVE_LOG10F 1
69140_ACEOF
69141
69142fi
69143done
69144
69145  else
69146
69147  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69148$as_echo_n "checking for _log10f declaration... " >&6; }
69149  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69150    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
69151  $as_echo_n "(cached) " >&6
69152else
69153
69154
69155      ac_ext=cpp
69156ac_cpp='$CXXCPP $CPPFLAGS'
69157ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69158ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69159ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69160
69161      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69162/* end confdefs.h.  */
69163#include <math.h>
69164		      #ifdef HAVE_IEEEFP_H
69165		      #include <ieeefp.h>
69166		      #endif
69167
69168int
69169main ()
69170{
69171 _log10f(0);
69172  ;
69173  return 0;
69174}
69175_ACEOF
69176if ac_fn_cxx_try_compile "$LINENO"; then :
69177  glibcxx_cv_func__log10f_use=yes
69178else
69179  glibcxx_cv_func__log10f_use=no
69180fi
69181rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69182      ac_ext=c
69183ac_cpp='$CPP $CPPFLAGS'
69184ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69185ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69186ac_compiler_gnu=$ac_cv_c_compiler_gnu
69187
69188
69189fi
69190
69191  fi
69192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69193$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69194
69195    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69196      for ac_func in _log10f
69197do :
69198  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69199if test "x$ac_cv_func__log10f" = x""yes; then :
69200  cat >>confdefs.h <<_ACEOF
69201#define HAVE__LOG10F 1
69202_ACEOF
69203
69204fi
69205done
69206
69207    fi
69208  fi
69209
69210
69211
69212
69213
69214  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69215$as_echo_n "checking for modff declaration... " >&6; }
69216  if test x${glibcxx_cv_func_modff_use+set} != xset; then
69217    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
69218  $as_echo_n "(cached) " >&6
69219else
69220
69221
69222      ac_ext=cpp
69223ac_cpp='$CXXCPP $CPPFLAGS'
69224ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69225ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69226ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69227
69228      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69229/* end confdefs.h.  */
69230#include <math.h>
69231int
69232main ()
69233{
69234 modff(0, 0);
69235  ;
69236  return 0;
69237}
69238_ACEOF
69239if ac_fn_cxx_try_compile "$LINENO"; then :
69240  glibcxx_cv_func_modff_use=yes
69241else
69242  glibcxx_cv_func_modff_use=no
69243fi
69244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69245      ac_ext=c
69246ac_cpp='$CPP $CPPFLAGS'
69247ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69248ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69249ac_compiler_gnu=$ac_cv_c_compiler_gnu
69250
69251
69252fi
69253
69254  fi
69255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69256$as_echo "$glibcxx_cv_func_modff_use" >&6; }
69257
69258  if test x$glibcxx_cv_func_modff_use = x"yes"; then
69259    for ac_func in modff
69260do :
69261  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69262if test "x$ac_cv_func_modff" = x""yes; then :
69263  cat >>confdefs.h <<_ACEOF
69264#define HAVE_MODFF 1
69265_ACEOF
69266
69267fi
69268done
69269
69270  else
69271
69272  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69273$as_echo_n "checking for _modff declaration... " >&6; }
69274  if test x${glibcxx_cv_func__modff_use+set} != xset; then
69275    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69276  $as_echo_n "(cached) " >&6
69277else
69278
69279
69280      ac_ext=cpp
69281ac_cpp='$CXXCPP $CPPFLAGS'
69282ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69283ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69284ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69285
69286      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69287/* end confdefs.h.  */
69288#include <math.h>
69289int
69290main ()
69291{
69292 _modff(0, 0);
69293  ;
69294  return 0;
69295}
69296_ACEOF
69297if ac_fn_cxx_try_compile "$LINENO"; then :
69298  glibcxx_cv_func__modff_use=yes
69299else
69300  glibcxx_cv_func__modff_use=no
69301fi
69302rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69303      ac_ext=c
69304ac_cpp='$CPP $CPPFLAGS'
69305ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69306ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69307ac_compiler_gnu=$ac_cv_c_compiler_gnu
69308
69309
69310fi
69311
69312  fi
69313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69314$as_echo "$glibcxx_cv_func__modff_use" >&6; }
69315
69316    if test x$glibcxx_cv_func__modff_use = x"yes"; then
69317      for ac_func in _modff
69318do :
69319  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69320if test "x$ac_cv_func__modff" = x""yes; then :
69321  cat >>confdefs.h <<_ACEOF
69322#define HAVE__MODFF 1
69323_ACEOF
69324
69325fi
69326done
69327
69328    fi
69329  fi
69330
69331
69332
69333
69334
69335  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69336$as_echo_n "checking for modf declaration... " >&6; }
69337  if test x${glibcxx_cv_func_modf_use+set} != xset; then
69338    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69339  $as_echo_n "(cached) " >&6
69340else
69341
69342
69343      ac_ext=cpp
69344ac_cpp='$CXXCPP $CPPFLAGS'
69345ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69346ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69347ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69348
69349      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69350/* end confdefs.h.  */
69351#include <math.h>
69352int
69353main ()
69354{
69355 modf(0, 0);
69356  ;
69357  return 0;
69358}
69359_ACEOF
69360if ac_fn_cxx_try_compile "$LINENO"; then :
69361  glibcxx_cv_func_modf_use=yes
69362else
69363  glibcxx_cv_func_modf_use=no
69364fi
69365rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69366      ac_ext=c
69367ac_cpp='$CPP $CPPFLAGS'
69368ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69369ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69370ac_compiler_gnu=$ac_cv_c_compiler_gnu
69371
69372
69373fi
69374
69375  fi
69376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69377$as_echo "$glibcxx_cv_func_modf_use" >&6; }
69378
69379  if test x$glibcxx_cv_func_modf_use = x"yes"; then
69380    for ac_func in modf
69381do :
69382  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69383if test "x$ac_cv_func_modf" = x""yes; then :
69384  cat >>confdefs.h <<_ACEOF
69385#define HAVE_MODF 1
69386_ACEOF
69387
69388fi
69389done
69390
69391  else
69392
69393  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69394$as_echo_n "checking for _modf declaration... " >&6; }
69395  if test x${glibcxx_cv_func__modf_use+set} != xset; then
69396    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69397  $as_echo_n "(cached) " >&6
69398else
69399
69400
69401      ac_ext=cpp
69402ac_cpp='$CXXCPP $CPPFLAGS'
69403ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69404ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69405ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69406
69407      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69408/* end confdefs.h.  */
69409#include <math.h>
69410int
69411main ()
69412{
69413 _modf(0, 0);
69414  ;
69415  return 0;
69416}
69417_ACEOF
69418if ac_fn_cxx_try_compile "$LINENO"; then :
69419  glibcxx_cv_func__modf_use=yes
69420else
69421  glibcxx_cv_func__modf_use=no
69422fi
69423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69424      ac_ext=c
69425ac_cpp='$CPP $CPPFLAGS'
69426ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69427ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69428ac_compiler_gnu=$ac_cv_c_compiler_gnu
69429
69430
69431fi
69432
69433  fi
69434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69435$as_echo "$glibcxx_cv_func__modf_use" >&6; }
69436
69437    if test x$glibcxx_cv_func__modf_use = x"yes"; then
69438      for ac_func in _modf
69439do :
69440  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69441if test "x$ac_cv_func__modf" = x""yes; then :
69442  cat >>confdefs.h <<_ACEOF
69443#define HAVE__MODF 1
69444_ACEOF
69445
69446fi
69447done
69448
69449    fi
69450  fi
69451
69452
69453
69454
69455
69456  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69457$as_echo_n "checking for powf declaration... " >&6; }
69458  if test x${glibcxx_cv_func_powf_use+set} != xset; then
69459    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69460  $as_echo_n "(cached) " >&6
69461else
69462
69463
69464      ac_ext=cpp
69465ac_cpp='$CXXCPP $CPPFLAGS'
69466ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69467ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69468ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69469
69470      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69471/* end confdefs.h.  */
69472#include <math.h>
69473int
69474main ()
69475{
69476 powf(0, 0);
69477  ;
69478  return 0;
69479}
69480_ACEOF
69481if ac_fn_cxx_try_compile "$LINENO"; then :
69482  glibcxx_cv_func_powf_use=yes
69483else
69484  glibcxx_cv_func_powf_use=no
69485fi
69486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69487      ac_ext=c
69488ac_cpp='$CPP $CPPFLAGS'
69489ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69490ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69491ac_compiler_gnu=$ac_cv_c_compiler_gnu
69492
69493
69494fi
69495
69496  fi
69497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69498$as_echo "$glibcxx_cv_func_powf_use" >&6; }
69499
69500  if test x$glibcxx_cv_func_powf_use = x"yes"; then
69501    for ac_func in powf
69502do :
69503  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69504if test "x$ac_cv_func_powf" = x""yes; then :
69505  cat >>confdefs.h <<_ACEOF
69506#define HAVE_POWF 1
69507_ACEOF
69508
69509fi
69510done
69511
69512  else
69513
69514  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69515$as_echo_n "checking for _powf declaration... " >&6; }
69516  if test x${glibcxx_cv_func__powf_use+set} != xset; then
69517    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69518  $as_echo_n "(cached) " >&6
69519else
69520
69521
69522      ac_ext=cpp
69523ac_cpp='$CXXCPP $CPPFLAGS'
69524ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69525ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69526ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69527
69528      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69529/* end confdefs.h.  */
69530#include <math.h>
69531int
69532main ()
69533{
69534 _powf(0, 0);
69535  ;
69536  return 0;
69537}
69538_ACEOF
69539if ac_fn_cxx_try_compile "$LINENO"; then :
69540  glibcxx_cv_func__powf_use=yes
69541else
69542  glibcxx_cv_func__powf_use=no
69543fi
69544rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69545      ac_ext=c
69546ac_cpp='$CPP $CPPFLAGS'
69547ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69548ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69549ac_compiler_gnu=$ac_cv_c_compiler_gnu
69550
69551
69552fi
69553
69554  fi
69555  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69556$as_echo "$glibcxx_cv_func__powf_use" >&6; }
69557
69558    if test x$glibcxx_cv_func__powf_use = x"yes"; then
69559      for ac_func in _powf
69560do :
69561  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69562if test "x$ac_cv_func__powf" = x""yes; then :
69563  cat >>confdefs.h <<_ACEOF
69564#define HAVE__POWF 1
69565_ACEOF
69566
69567fi
69568done
69569
69570    fi
69571  fi
69572
69573
69574
69575
69576
69577  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69578$as_echo_n "checking for sqrtf declaration... " >&6; }
69579  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69580    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69581  $as_echo_n "(cached) " >&6
69582else
69583
69584
69585      ac_ext=cpp
69586ac_cpp='$CXXCPP $CPPFLAGS'
69587ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69588ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69589ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69590
69591      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69592/* end confdefs.h.  */
69593#include <math.h>
69594		      #ifdef HAVE_IEEEFP_H
69595		      #include <ieeefp.h>
69596		      #endif
69597
69598int
69599main ()
69600{
69601 sqrtf(0);
69602  ;
69603  return 0;
69604}
69605_ACEOF
69606if ac_fn_cxx_try_compile "$LINENO"; then :
69607  glibcxx_cv_func_sqrtf_use=yes
69608else
69609  glibcxx_cv_func_sqrtf_use=no
69610fi
69611rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69612      ac_ext=c
69613ac_cpp='$CPP $CPPFLAGS'
69614ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69615ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69616ac_compiler_gnu=$ac_cv_c_compiler_gnu
69617
69618
69619fi
69620
69621  fi
69622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69623$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69624
69625  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69626    for ac_func in sqrtf
69627do :
69628  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69629if test "x$ac_cv_func_sqrtf" = x""yes; then :
69630  cat >>confdefs.h <<_ACEOF
69631#define HAVE_SQRTF 1
69632_ACEOF
69633
69634fi
69635done
69636
69637  else
69638
69639  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69640$as_echo_n "checking for _sqrtf declaration... " >&6; }
69641  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69642    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69643  $as_echo_n "(cached) " >&6
69644else
69645
69646
69647      ac_ext=cpp
69648ac_cpp='$CXXCPP $CPPFLAGS'
69649ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69650ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69651ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69652
69653      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69654/* end confdefs.h.  */
69655#include <math.h>
69656		      #ifdef HAVE_IEEEFP_H
69657		      #include <ieeefp.h>
69658		      #endif
69659
69660int
69661main ()
69662{
69663 _sqrtf(0);
69664  ;
69665  return 0;
69666}
69667_ACEOF
69668if ac_fn_cxx_try_compile "$LINENO"; then :
69669  glibcxx_cv_func__sqrtf_use=yes
69670else
69671  glibcxx_cv_func__sqrtf_use=no
69672fi
69673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69674      ac_ext=c
69675ac_cpp='$CPP $CPPFLAGS'
69676ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69677ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69678ac_compiler_gnu=$ac_cv_c_compiler_gnu
69679
69680
69681fi
69682
69683  fi
69684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69685$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69686
69687    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69688      for ac_func in _sqrtf
69689do :
69690  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69691if test "x$ac_cv_func__sqrtf" = x""yes; then :
69692  cat >>confdefs.h <<_ACEOF
69693#define HAVE__SQRTF 1
69694_ACEOF
69695
69696fi
69697done
69698
69699    fi
69700  fi
69701
69702
69703
69704
69705
69706  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69707$as_echo_n "checking for sincosf declaration... " >&6; }
69708  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69709    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69710  $as_echo_n "(cached) " >&6
69711else
69712
69713
69714      ac_ext=cpp
69715ac_cpp='$CXXCPP $CPPFLAGS'
69716ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69717ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69718ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69719
69720      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69721/* end confdefs.h.  */
69722#include <math.h>
69723int
69724main ()
69725{
69726 sincosf(0, 0, 0);
69727  ;
69728  return 0;
69729}
69730_ACEOF
69731if ac_fn_cxx_try_compile "$LINENO"; then :
69732  glibcxx_cv_func_sincosf_use=yes
69733else
69734  glibcxx_cv_func_sincosf_use=no
69735fi
69736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69737      ac_ext=c
69738ac_cpp='$CPP $CPPFLAGS'
69739ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69740ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69741ac_compiler_gnu=$ac_cv_c_compiler_gnu
69742
69743
69744fi
69745
69746  fi
69747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69748$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69749
69750  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69751    for ac_func in sincosf
69752do :
69753  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69754if test "x$ac_cv_func_sincosf" = x""yes; then :
69755  cat >>confdefs.h <<_ACEOF
69756#define HAVE_SINCOSF 1
69757_ACEOF
69758
69759fi
69760done
69761
69762  else
69763
69764  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69765$as_echo_n "checking for _sincosf declaration... " >&6; }
69766  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69767    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69768  $as_echo_n "(cached) " >&6
69769else
69770
69771
69772      ac_ext=cpp
69773ac_cpp='$CXXCPP $CPPFLAGS'
69774ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69775ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69776ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69777
69778      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69779/* end confdefs.h.  */
69780#include <math.h>
69781int
69782main ()
69783{
69784 _sincosf(0, 0, 0);
69785  ;
69786  return 0;
69787}
69788_ACEOF
69789if ac_fn_cxx_try_compile "$LINENO"; then :
69790  glibcxx_cv_func__sincosf_use=yes
69791else
69792  glibcxx_cv_func__sincosf_use=no
69793fi
69794rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69795      ac_ext=c
69796ac_cpp='$CPP $CPPFLAGS'
69797ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69798ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69799ac_compiler_gnu=$ac_cv_c_compiler_gnu
69800
69801
69802fi
69803
69804  fi
69805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69806$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69807
69808    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69809      for ac_func in _sincosf
69810do :
69811  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69812if test "x$ac_cv_func__sincosf" = x""yes; then :
69813  cat >>confdefs.h <<_ACEOF
69814#define HAVE__SINCOSF 1
69815_ACEOF
69816
69817fi
69818done
69819
69820    fi
69821  fi
69822
69823
69824
69825
69826
69827  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69828$as_echo_n "checking for finitef declaration... " >&6; }
69829  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69830    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69831  $as_echo_n "(cached) " >&6
69832else
69833
69834
69835      ac_ext=cpp
69836ac_cpp='$CXXCPP $CPPFLAGS'
69837ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69838ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69839ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69840
69841      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69842/* end confdefs.h.  */
69843#include <math.h>
69844		      #ifdef HAVE_IEEEFP_H
69845		      #include <ieeefp.h>
69846		      #endif
69847
69848int
69849main ()
69850{
69851 finitef(0);
69852  ;
69853  return 0;
69854}
69855_ACEOF
69856if ac_fn_cxx_try_compile "$LINENO"; then :
69857  glibcxx_cv_func_finitef_use=yes
69858else
69859  glibcxx_cv_func_finitef_use=no
69860fi
69861rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69862      ac_ext=c
69863ac_cpp='$CPP $CPPFLAGS'
69864ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69865ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69866ac_compiler_gnu=$ac_cv_c_compiler_gnu
69867
69868
69869fi
69870
69871  fi
69872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69873$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69874
69875  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69876    for ac_func in finitef
69877do :
69878  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69879if test "x$ac_cv_func_finitef" = x""yes; then :
69880  cat >>confdefs.h <<_ACEOF
69881#define HAVE_FINITEF 1
69882_ACEOF
69883
69884fi
69885done
69886
69887  else
69888
69889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69890$as_echo_n "checking for _finitef declaration... " >&6; }
69891  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69892    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69893  $as_echo_n "(cached) " >&6
69894else
69895
69896
69897      ac_ext=cpp
69898ac_cpp='$CXXCPP $CPPFLAGS'
69899ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69900ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69901ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69902
69903      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69904/* end confdefs.h.  */
69905#include <math.h>
69906		      #ifdef HAVE_IEEEFP_H
69907		      #include <ieeefp.h>
69908		      #endif
69909
69910int
69911main ()
69912{
69913 _finitef(0);
69914  ;
69915  return 0;
69916}
69917_ACEOF
69918if ac_fn_cxx_try_compile "$LINENO"; then :
69919  glibcxx_cv_func__finitef_use=yes
69920else
69921  glibcxx_cv_func__finitef_use=no
69922fi
69923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69924      ac_ext=c
69925ac_cpp='$CPP $CPPFLAGS'
69926ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69927ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69928ac_compiler_gnu=$ac_cv_c_compiler_gnu
69929
69930
69931fi
69932
69933  fi
69934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69935$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69936
69937    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69938      for ac_func in _finitef
69939do :
69940  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69941if test "x$ac_cv_func__finitef" = x""yes; then :
69942  cat >>confdefs.h <<_ACEOF
69943#define HAVE__FINITEF 1
69944_ACEOF
69945
69946fi
69947done
69948
69949    fi
69950  fi
69951
69952
69953
69954
69955
69956    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69957$as_echo_n "checking for long double trig functions... " >&6; }
69958  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69959  $as_echo_n "(cached) " >&6
69960else
69961
69962
69963    ac_ext=cpp
69964ac_cpp='$CXXCPP $CPPFLAGS'
69965ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69966ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69967ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69968
69969    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69970/* end confdefs.h.  */
69971#include <math.h>
69972int
69973main ()
69974{
69975acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69976  ;
69977  return 0;
69978}
69979_ACEOF
69980if ac_fn_cxx_try_compile "$LINENO"; then :
69981  glibcxx_cv_func_long_double_trig_use=yes
69982else
69983  glibcxx_cv_func_long_double_trig_use=no
69984fi
69985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69986    ac_ext=c
69987ac_cpp='$CPP $CPPFLAGS'
69988ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69989ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69990ac_compiler_gnu=$ac_cv_c_compiler_gnu
69991
69992fi
69993
69994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69995$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69996  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69997    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69998do :
69999  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70000ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70001eval as_val=\$$as_ac_var
70002   if test "x$as_val" = x""yes; then :
70003  cat >>confdefs.h <<_ACEOF
70004#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70005_ACEOF
70006
70007fi
70008done
70009
70010  else
70011    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70012$as_echo_n "checking for _long double trig functions... " >&6; }
70013    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
70014  $as_echo_n "(cached) " >&6
70015else
70016
70017
70018      ac_ext=cpp
70019ac_cpp='$CXXCPP $CPPFLAGS'
70020ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70021ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70022ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70023
70024      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70025/* end confdefs.h.  */
70026#include <math.h>
70027int
70028main ()
70029{
70030_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70031  ;
70032  return 0;
70033}
70034_ACEOF
70035if ac_fn_cxx_try_compile "$LINENO"; then :
70036  glibcxx_cv_func__long_double_trig_use=yes
70037else
70038  glibcxx_cv_func__long_double_trig_use=no
70039fi
70040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70041      ac_ext=c
70042ac_cpp='$CPP $CPPFLAGS'
70043ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70044ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70045ac_compiler_gnu=$ac_cv_c_compiler_gnu
70046
70047fi
70048
70049    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70050$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70051    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70052      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70053do :
70054  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70055ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70056eval as_val=\$$as_ac_var
70057   if test "x$as_val" = x""yes; then :
70058  cat >>confdefs.h <<_ACEOF
70059#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70060_ACEOF
70061
70062fi
70063done
70064
70065    fi
70066  fi
70067
70068
70069
70070
70071
70072    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70073$as_echo_n "checking for long double round functions... " >&6; }
70074  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
70075  $as_echo_n "(cached) " >&6
70076else
70077
70078
70079    ac_ext=cpp
70080ac_cpp='$CXXCPP $CPPFLAGS'
70081ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70082ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70083ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70084
70085    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70086/* end confdefs.h.  */
70087#include <math.h>
70088int
70089main ()
70090{
70091ceill (0); floorl (0);
70092  ;
70093  return 0;
70094}
70095_ACEOF
70096if ac_fn_cxx_try_compile "$LINENO"; then :
70097  glibcxx_cv_func_long_double_round_use=yes
70098else
70099  glibcxx_cv_func_long_double_round_use=no
70100fi
70101rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70102    ac_ext=c
70103ac_cpp='$CPP $CPPFLAGS'
70104ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70105ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70106ac_compiler_gnu=$ac_cv_c_compiler_gnu
70107
70108fi
70109
70110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70111$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70112  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70113    for ac_func in ceill floorl
70114do :
70115  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70116ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70117eval as_val=\$$as_ac_var
70118   if test "x$as_val" = x""yes; then :
70119  cat >>confdefs.h <<_ACEOF
70120#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70121_ACEOF
70122
70123fi
70124done
70125
70126  else
70127    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70128$as_echo_n "checking for _long double round functions... " >&6; }
70129    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
70130  $as_echo_n "(cached) " >&6
70131else
70132
70133
70134      ac_ext=cpp
70135ac_cpp='$CXXCPP $CPPFLAGS'
70136ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70137ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70138ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70139
70140      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70141/* end confdefs.h.  */
70142#include <math.h>
70143int
70144main ()
70145{
70146_ceill (0); _floorl (0);
70147  ;
70148  return 0;
70149}
70150_ACEOF
70151if ac_fn_cxx_try_compile "$LINENO"; then :
70152  glibcxx_cv_func__long_double_round_use=yes
70153else
70154  glibcxx_cv_func__long_double_round_use=no
70155fi
70156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70157      ac_ext=c
70158ac_cpp='$CPP $CPPFLAGS'
70159ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70160ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70161ac_compiler_gnu=$ac_cv_c_compiler_gnu
70162
70163fi
70164
70165    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70166$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70167    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70168      for ac_func in _ceill _floorl
70169do :
70170  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70171ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70172eval as_val=\$$as_ac_var
70173   if test "x$as_val" = x""yes; then :
70174  cat >>confdefs.h <<_ACEOF
70175#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70176_ACEOF
70177
70178fi
70179done
70180
70181    fi
70182  fi
70183
70184
70185
70186
70187
70188
70189  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70190$as_echo_n "checking for isnanl declaration... " >&6; }
70191  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70192    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
70193  $as_echo_n "(cached) " >&6
70194else
70195
70196
70197      ac_ext=cpp
70198ac_cpp='$CXXCPP $CPPFLAGS'
70199ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70200ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70201ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70202
70203      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70204/* end confdefs.h.  */
70205#include <math.h>
70206		      #ifdef HAVE_IEEEFP_H
70207		      #include <ieeefp.h>
70208		      #endif
70209
70210int
70211main ()
70212{
70213 isnanl(0);
70214  ;
70215  return 0;
70216}
70217_ACEOF
70218if ac_fn_cxx_try_compile "$LINENO"; then :
70219  glibcxx_cv_func_isnanl_use=yes
70220else
70221  glibcxx_cv_func_isnanl_use=no
70222fi
70223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70224      ac_ext=c
70225ac_cpp='$CPP $CPPFLAGS'
70226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70228ac_compiler_gnu=$ac_cv_c_compiler_gnu
70229
70230
70231fi
70232
70233  fi
70234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70235$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70236
70237  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70238    for ac_func in isnanl
70239do :
70240  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70241if test "x$ac_cv_func_isnanl" = x""yes; then :
70242  cat >>confdefs.h <<_ACEOF
70243#define HAVE_ISNANL 1
70244_ACEOF
70245
70246fi
70247done
70248
70249  else
70250
70251  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70252$as_echo_n "checking for _isnanl declaration... " >&6; }
70253  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70254    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70255  $as_echo_n "(cached) " >&6
70256else
70257
70258
70259      ac_ext=cpp
70260ac_cpp='$CXXCPP $CPPFLAGS'
70261ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70262ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70263ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70264
70265      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70266/* end confdefs.h.  */
70267#include <math.h>
70268		      #ifdef HAVE_IEEEFP_H
70269		      #include <ieeefp.h>
70270		      #endif
70271
70272int
70273main ()
70274{
70275 _isnanl(0);
70276  ;
70277  return 0;
70278}
70279_ACEOF
70280if ac_fn_cxx_try_compile "$LINENO"; then :
70281  glibcxx_cv_func__isnanl_use=yes
70282else
70283  glibcxx_cv_func__isnanl_use=no
70284fi
70285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70286      ac_ext=c
70287ac_cpp='$CPP $CPPFLAGS'
70288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70290ac_compiler_gnu=$ac_cv_c_compiler_gnu
70291
70292
70293fi
70294
70295  fi
70296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70297$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70298
70299    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70300      for ac_func in _isnanl
70301do :
70302  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70303if test "x$ac_cv_func__isnanl" = x""yes; then :
70304  cat >>confdefs.h <<_ACEOF
70305#define HAVE__ISNANL 1
70306_ACEOF
70307
70308fi
70309done
70310
70311    fi
70312  fi
70313
70314
70315
70316
70317
70318  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70319$as_echo_n "checking for isinfl declaration... " >&6; }
70320  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70321    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70322  $as_echo_n "(cached) " >&6
70323else
70324
70325
70326      ac_ext=cpp
70327ac_cpp='$CXXCPP $CPPFLAGS'
70328ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70329ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70330ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70331
70332      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70333/* end confdefs.h.  */
70334#include <math.h>
70335		      #ifdef HAVE_IEEEFP_H
70336		      #include <ieeefp.h>
70337		      #endif
70338
70339int
70340main ()
70341{
70342 isinfl(0);
70343  ;
70344  return 0;
70345}
70346_ACEOF
70347if ac_fn_cxx_try_compile "$LINENO"; then :
70348  glibcxx_cv_func_isinfl_use=yes
70349else
70350  glibcxx_cv_func_isinfl_use=no
70351fi
70352rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70353      ac_ext=c
70354ac_cpp='$CPP $CPPFLAGS'
70355ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70356ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70357ac_compiler_gnu=$ac_cv_c_compiler_gnu
70358
70359
70360fi
70361
70362  fi
70363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70364$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70365
70366  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70367    for ac_func in isinfl
70368do :
70369  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70370if test "x$ac_cv_func_isinfl" = x""yes; then :
70371  cat >>confdefs.h <<_ACEOF
70372#define HAVE_ISINFL 1
70373_ACEOF
70374
70375fi
70376done
70377
70378  else
70379
70380  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70381$as_echo_n "checking for _isinfl declaration... " >&6; }
70382  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70383    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70384  $as_echo_n "(cached) " >&6
70385else
70386
70387
70388      ac_ext=cpp
70389ac_cpp='$CXXCPP $CPPFLAGS'
70390ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70391ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70392ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70393
70394      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70395/* end confdefs.h.  */
70396#include <math.h>
70397		      #ifdef HAVE_IEEEFP_H
70398		      #include <ieeefp.h>
70399		      #endif
70400
70401int
70402main ()
70403{
70404 _isinfl(0);
70405  ;
70406  return 0;
70407}
70408_ACEOF
70409if ac_fn_cxx_try_compile "$LINENO"; then :
70410  glibcxx_cv_func__isinfl_use=yes
70411else
70412  glibcxx_cv_func__isinfl_use=no
70413fi
70414rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70415      ac_ext=c
70416ac_cpp='$CPP $CPPFLAGS'
70417ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70418ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70419ac_compiler_gnu=$ac_cv_c_compiler_gnu
70420
70421
70422fi
70423
70424  fi
70425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70426$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70427
70428    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70429      for ac_func in _isinfl
70430do :
70431  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70432if test "x$ac_cv_func__isinfl" = x""yes; then :
70433  cat >>confdefs.h <<_ACEOF
70434#define HAVE__ISINFL 1
70435_ACEOF
70436
70437fi
70438done
70439
70440    fi
70441  fi
70442
70443
70444
70445
70446
70447  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70448$as_echo_n "checking for atan2l declaration... " >&6; }
70449  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70450    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70451  $as_echo_n "(cached) " >&6
70452else
70453
70454
70455      ac_ext=cpp
70456ac_cpp='$CXXCPP $CPPFLAGS'
70457ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70458ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70459ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70460
70461      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70462/* end confdefs.h.  */
70463#include <math.h>
70464int
70465main ()
70466{
70467 atan2l(0, 0);
70468  ;
70469  return 0;
70470}
70471_ACEOF
70472if ac_fn_cxx_try_compile "$LINENO"; then :
70473  glibcxx_cv_func_atan2l_use=yes
70474else
70475  glibcxx_cv_func_atan2l_use=no
70476fi
70477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70478      ac_ext=c
70479ac_cpp='$CPP $CPPFLAGS'
70480ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70481ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70482ac_compiler_gnu=$ac_cv_c_compiler_gnu
70483
70484
70485fi
70486
70487  fi
70488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70489$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70490
70491  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70492    for ac_func in atan2l
70493do :
70494  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70495if test "x$ac_cv_func_atan2l" = x""yes; then :
70496  cat >>confdefs.h <<_ACEOF
70497#define HAVE_ATAN2L 1
70498_ACEOF
70499
70500fi
70501done
70502
70503  else
70504
70505  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70506$as_echo_n "checking for _atan2l declaration... " >&6; }
70507  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70508    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70509  $as_echo_n "(cached) " >&6
70510else
70511
70512
70513      ac_ext=cpp
70514ac_cpp='$CXXCPP $CPPFLAGS'
70515ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70516ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70517ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70518
70519      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70520/* end confdefs.h.  */
70521#include <math.h>
70522int
70523main ()
70524{
70525 _atan2l(0, 0);
70526  ;
70527  return 0;
70528}
70529_ACEOF
70530if ac_fn_cxx_try_compile "$LINENO"; then :
70531  glibcxx_cv_func__atan2l_use=yes
70532else
70533  glibcxx_cv_func__atan2l_use=no
70534fi
70535rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70536      ac_ext=c
70537ac_cpp='$CPP $CPPFLAGS'
70538ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70539ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70540ac_compiler_gnu=$ac_cv_c_compiler_gnu
70541
70542
70543fi
70544
70545  fi
70546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70547$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70548
70549    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70550      for ac_func in _atan2l
70551do :
70552  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70553if test "x$ac_cv_func__atan2l" = x""yes; then :
70554  cat >>confdefs.h <<_ACEOF
70555#define HAVE__ATAN2L 1
70556_ACEOF
70557
70558fi
70559done
70560
70561    fi
70562  fi
70563
70564
70565
70566
70567
70568  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70569$as_echo_n "checking for expl declaration... " >&6; }
70570  if test x${glibcxx_cv_func_expl_use+set} != xset; then
70571    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70572  $as_echo_n "(cached) " >&6
70573else
70574
70575
70576      ac_ext=cpp
70577ac_cpp='$CXXCPP $CPPFLAGS'
70578ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70579ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70580ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70581
70582      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70583/* end confdefs.h.  */
70584#include <math.h>
70585		      #ifdef HAVE_IEEEFP_H
70586		      #include <ieeefp.h>
70587		      #endif
70588
70589int
70590main ()
70591{
70592 expl(0);
70593  ;
70594  return 0;
70595}
70596_ACEOF
70597if ac_fn_cxx_try_compile "$LINENO"; then :
70598  glibcxx_cv_func_expl_use=yes
70599else
70600  glibcxx_cv_func_expl_use=no
70601fi
70602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70603      ac_ext=c
70604ac_cpp='$CPP $CPPFLAGS'
70605ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70606ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70607ac_compiler_gnu=$ac_cv_c_compiler_gnu
70608
70609
70610fi
70611
70612  fi
70613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70614$as_echo "$glibcxx_cv_func_expl_use" >&6; }
70615
70616  if test x$glibcxx_cv_func_expl_use = x"yes"; then
70617    for ac_func in expl
70618do :
70619  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70620if test "x$ac_cv_func_expl" = x""yes; then :
70621  cat >>confdefs.h <<_ACEOF
70622#define HAVE_EXPL 1
70623_ACEOF
70624
70625fi
70626done
70627
70628  else
70629
70630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70631$as_echo_n "checking for _expl declaration... " >&6; }
70632  if test x${glibcxx_cv_func__expl_use+set} != xset; then
70633    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70634  $as_echo_n "(cached) " >&6
70635else
70636
70637
70638      ac_ext=cpp
70639ac_cpp='$CXXCPP $CPPFLAGS'
70640ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70641ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70642ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70643
70644      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70645/* end confdefs.h.  */
70646#include <math.h>
70647		      #ifdef HAVE_IEEEFP_H
70648		      #include <ieeefp.h>
70649		      #endif
70650
70651int
70652main ()
70653{
70654 _expl(0);
70655  ;
70656  return 0;
70657}
70658_ACEOF
70659if ac_fn_cxx_try_compile "$LINENO"; then :
70660  glibcxx_cv_func__expl_use=yes
70661else
70662  glibcxx_cv_func__expl_use=no
70663fi
70664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70665      ac_ext=c
70666ac_cpp='$CPP $CPPFLAGS'
70667ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70668ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70669ac_compiler_gnu=$ac_cv_c_compiler_gnu
70670
70671
70672fi
70673
70674  fi
70675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70676$as_echo "$glibcxx_cv_func__expl_use" >&6; }
70677
70678    if test x$glibcxx_cv_func__expl_use = x"yes"; then
70679      for ac_func in _expl
70680do :
70681  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70682if test "x$ac_cv_func__expl" = x""yes; then :
70683  cat >>confdefs.h <<_ACEOF
70684#define HAVE__EXPL 1
70685_ACEOF
70686
70687fi
70688done
70689
70690    fi
70691  fi
70692
70693
70694
70695
70696
70697  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70698$as_echo_n "checking for fabsl declaration... " >&6; }
70699  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70700    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70701  $as_echo_n "(cached) " >&6
70702else
70703
70704
70705      ac_ext=cpp
70706ac_cpp='$CXXCPP $CPPFLAGS'
70707ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70708ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70709ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70710
70711      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70712/* end confdefs.h.  */
70713#include <math.h>
70714		      #ifdef HAVE_IEEEFP_H
70715		      #include <ieeefp.h>
70716		      #endif
70717
70718int
70719main ()
70720{
70721 fabsl(0);
70722  ;
70723  return 0;
70724}
70725_ACEOF
70726if ac_fn_cxx_try_compile "$LINENO"; then :
70727  glibcxx_cv_func_fabsl_use=yes
70728else
70729  glibcxx_cv_func_fabsl_use=no
70730fi
70731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70732      ac_ext=c
70733ac_cpp='$CPP $CPPFLAGS'
70734ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70735ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70736ac_compiler_gnu=$ac_cv_c_compiler_gnu
70737
70738
70739fi
70740
70741  fi
70742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70743$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70744
70745  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70746    for ac_func in fabsl
70747do :
70748  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70749if test "x$ac_cv_func_fabsl" = x""yes; then :
70750  cat >>confdefs.h <<_ACEOF
70751#define HAVE_FABSL 1
70752_ACEOF
70753
70754fi
70755done
70756
70757  else
70758
70759  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70760$as_echo_n "checking for _fabsl declaration... " >&6; }
70761  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70762    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70763  $as_echo_n "(cached) " >&6
70764else
70765
70766
70767      ac_ext=cpp
70768ac_cpp='$CXXCPP $CPPFLAGS'
70769ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70770ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70771ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70772
70773      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70774/* end confdefs.h.  */
70775#include <math.h>
70776		      #ifdef HAVE_IEEEFP_H
70777		      #include <ieeefp.h>
70778		      #endif
70779
70780int
70781main ()
70782{
70783 _fabsl(0);
70784  ;
70785  return 0;
70786}
70787_ACEOF
70788if ac_fn_cxx_try_compile "$LINENO"; then :
70789  glibcxx_cv_func__fabsl_use=yes
70790else
70791  glibcxx_cv_func__fabsl_use=no
70792fi
70793rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70794      ac_ext=c
70795ac_cpp='$CPP $CPPFLAGS'
70796ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70797ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70798ac_compiler_gnu=$ac_cv_c_compiler_gnu
70799
70800
70801fi
70802
70803  fi
70804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70805$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70806
70807    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70808      for ac_func in _fabsl
70809do :
70810  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70811if test "x$ac_cv_func__fabsl" = x""yes; then :
70812  cat >>confdefs.h <<_ACEOF
70813#define HAVE__FABSL 1
70814_ACEOF
70815
70816fi
70817done
70818
70819    fi
70820  fi
70821
70822
70823
70824
70825
70826  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70827$as_echo_n "checking for fmodl declaration... " >&6; }
70828  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70829    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70830  $as_echo_n "(cached) " >&6
70831else
70832
70833
70834      ac_ext=cpp
70835ac_cpp='$CXXCPP $CPPFLAGS'
70836ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70837ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70838ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70839
70840      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70841/* end confdefs.h.  */
70842#include <math.h>
70843int
70844main ()
70845{
70846 fmodl(0, 0);
70847  ;
70848  return 0;
70849}
70850_ACEOF
70851if ac_fn_cxx_try_compile "$LINENO"; then :
70852  glibcxx_cv_func_fmodl_use=yes
70853else
70854  glibcxx_cv_func_fmodl_use=no
70855fi
70856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70857      ac_ext=c
70858ac_cpp='$CPP $CPPFLAGS'
70859ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70860ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70861ac_compiler_gnu=$ac_cv_c_compiler_gnu
70862
70863
70864fi
70865
70866  fi
70867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70868$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70869
70870  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70871    for ac_func in fmodl
70872do :
70873  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70874if test "x$ac_cv_func_fmodl" = x""yes; then :
70875  cat >>confdefs.h <<_ACEOF
70876#define HAVE_FMODL 1
70877_ACEOF
70878
70879fi
70880done
70881
70882  else
70883
70884  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70885$as_echo_n "checking for _fmodl declaration... " >&6; }
70886  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70887    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70888  $as_echo_n "(cached) " >&6
70889else
70890
70891
70892      ac_ext=cpp
70893ac_cpp='$CXXCPP $CPPFLAGS'
70894ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70895ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70896ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70897
70898      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70899/* end confdefs.h.  */
70900#include <math.h>
70901int
70902main ()
70903{
70904 _fmodl(0, 0);
70905  ;
70906  return 0;
70907}
70908_ACEOF
70909if ac_fn_cxx_try_compile "$LINENO"; then :
70910  glibcxx_cv_func__fmodl_use=yes
70911else
70912  glibcxx_cv_func__fmodl_use=no
70913fi
70914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70915      ac_ext=c
70916ac_cpp='$CPP $CPPFLAGS'
70917ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70918ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70919ac_compiler_gnu=$ac_cv_c_compiler_gnu
70920
70921
70922fi
70923
70924  fi
70925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70926$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70927
70928    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70929      for ac_func in _fmodl
70930do :
70931  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70932if test "x$ac_cv_func__fmodl" = x""yes; then :
70933  cat >>confdefs.h <<_ACEOF
70934#define HAVE__FMODL 1
70935_ACEOF
70936
70937fi
70938done
70939
70940    fi
70941  fi
70942
70943
70944
70945
70946
70947  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70948$as_echo_n "checking for frexpl declaration... " >&6; }
70949  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70950    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70951  $as_echo_n "(cached) " >&6
70952else
70953
70954
70955      ac_ext=cpp
70956ac_cpp='$CXXCPP $CPPFLAGS'
70957ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70958ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70959ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70960
70961      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70962/* end confdefs.h.  */
70963#include <math.h>
70964int
70965main ()
70966{
70967 frexpl(0, 0);
70968  ;
70969  return 0;
70970}
70971_ACEOF
70972if ac_fn_cxx_try_compile "$LINENO"; then :
70973  glibcxx_cv_func_frexpl_use=yes
70974else
70975  glibcxx_cv_func_frexpl_use=no
70976fi
70977rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70978      ac_ext=c
70979ac_cpp='$CPP $CPPFLAGS'
70980ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70981ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70982ac_compiler_gnu=$ac_cv_c_compiler_gnu
70983
70984
70985fi
70986
70987  fi
70988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70989$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70990
70991  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70992    for ac_func in frexpl
70993do :
70994  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70995if test "x$ac_cv_func_frexpl" = x""yes; then :
70996  cat >>confdefs.h <<_ACEOF
70997#define HAVE_FREXPL 1
70998_ACEOF
70999
71000fi
71001done
71002
71003  else
71004
71005  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71006$as_echo_n "checking for _frexpl declaration... " >&6; }
71007  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71008    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
71009  $as_echo_n "(cached) " >&6
71010else
71011
71012
71013      ac_ext=cpp
71014ac_cpp='$CXXCPP $CPPFLAGS'
71015ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71016ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71017ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71018
71019      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71020/* end confdefs.h.  */
71021#include <math.h>
71022int
71023main ()
71024{
71025 _frexpl(0, 0);
71026  ;
71027  return 0;
71028}
71029_ACEOF
71030if ac_fn_cxx_try_compile "$LINENO"; then :
71031  glibcxx_cv_func__frexpl_use=yes
71032else
71033  glibcxx_cv_func__frexpl_use=no
71034fi
71035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71036      ac_ext=c
71037ac_cpp='$CPP $CPPFLAGS'
71038ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71039ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71040ac_compiler_gnu=$ac_cv_c_compiler_gnu
71041
71042
71043fi
71044
71045  fi
71046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71047$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71048
71049    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71050      for ac_func in _frexpl
71051do :
71052  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71053if test "x$ac_cv_func__frexpl" = x""yes; then :
71054  cat >>confdefs.h <<_ACEOF
71055#define HAVE__FREXPL 1
71056_ACEOF
71057
71058fi
71059done
71060
71061    fi
71062  fi
71063
71064
71065
71066
71067
71068  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71069$as_echo_n "checking for hypotl declaration... " >&6; }
71070  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71071    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
71072  $as_echo_n "(cached) " >&6
71073else
71074
71075
71076      ac_ext=cpp
71077ac_cpp='$CXXCPP $CPPFLAGS'
71078ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71079ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71080ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71081
71082      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71083/* end confdefs.h.  */
71084#include <math.h>
71085int
71086main ()
71087{
71088 hypotl(0, 0);
71089  ;
71090  return 0;
71091}
71092_ACEOF
71093if ac_fn_cxx_try_compile "$LINENO"; then :
71094  glibcxx_cv_func_hypotl_use=yes
71095else
71096  glibcxx_cv_func_hypotl_use=no
71097fi
71098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71099      ac_ext=c
71100ac_cpp='$CPP $CPPFLAGS'
71101ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71102ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71103ac_compiler_gnu=$ac_cv_c_compiler_gnu
71104
71105
71106fi
71107
71108  fi
71109  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71110$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71111
71112  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71113    for ac_func in hypotl
71114do :
71115  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71116if test "x$ac_cv_func_hypotl" = x""yes; then :
71117  cat >>confdefs.h <<_ACEOF
71118#define HAVE_HYPOTL 1
71119_ACEOF
71120
71121fi
71122done
71123
71124  else
71125
71126  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71127$as_echo_n "checking for _hypotl declaration... " >&6; }
71128  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71129    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
71130  $as_echo_n "(cached) " >&6
71131else
71132
71133
71134      ac_ext=cpp
71135ac_cpp='$CXXCPP $CPPFLAGS'
71136ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71137ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71138ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71139
71140      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71141/* end confdefs.h.  */
71142#include <math.h>
71143int
71144main ()
71145{
71146 _hypotl(0, 0);
71147  ;
71148  return 0;
71149}
71150_ACEOF
71151if ac_fn_cxx_try_compile "$LINENO"; then :
71152  glibcxx_cv_func__hypotl_use=yes
71153else
71154  glibcxx_cv_func__hypotl_use=no
71155fi
71156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71157      ac_ext=c
71158ac_cpp='$CPP $CPPFLAGS'
71159ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71160ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71161ac_compiler_gnu=$ac_cv_c_compiler_gnu
71162
71163
71164fi
71165
71166  fi
71167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71168$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71169
71170    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71171      for ac_func in _hypotl
71172do :
71173  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71174if test "x$ac_cv_func__hypotl" = x""yes; then :
71175  cat >>confdefs.h <<_ACEOF
71176#define HAVE__HYPOTL 1
71177_ACEOF
71178
71179fi
71180done
71181
71182    fi
71183  fi
71184
71185
71186
71187
71188
71189  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71190$as_echo_n "checking for ldexpl declaration... " >&6; }
71191  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71192    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
71193  $as_echo_n "(cached) " >&6
71194else
71195
71196
71197      ac_ext=cpp
71198ac_cpp='$CXXCPP $CPPFLAGS'
71199ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71200ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71201ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71202
71203      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71204/* end confdefs.h.  */
71205#include <math.h>
71206int
71207main ()
71208{
71209 ldexpl(0, 0);
71210  ;
71211  return 0;
71212}
71213_ACEOF
71214if ac_fn_cxx_try_compile "$LINENO"; then :
71215  glibcxx_cv_func_ldexpl_use=yes
71216else
71217  glibcxx_cv_func_ldexpl_use=no
71218fi
71219rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71220      ac_ext=c
71221ac_cpp='$CPP $CPPFLAGS'
71222ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71223ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71224ac_compiler_gnu=$ac_cv_c_compiler_gnu
71225
71226
71227fi
71228
71229  fi
71230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71231$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71232
71233  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71234    for ac_func in ldexpl
71235do :
71236  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71237if test "x$ac_cv_func_ldexpl" = x""yes; then :
71238  cat >>confdefs.h <<_ACEOF
71239#define HAVE_LDEXPL 1
71240_ACEOF
71241
71242fi
71243done
71244
71245  else
71246
71247  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71248$as_echo_n "checking for _ldexpl declaration... " >&6; }
71249  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71250    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71251  $as_echo_n "(cached) " >&6
71252else
71253
71254
71255      ac_ext=cpp
71256ac_cpp='$CXXCPP $CPPFLAGS'
71257ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71258ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71259ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71260
71261      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71262/* end confdefs.h.  */
71263#include <math.h>
71264int
71265main ()
71266{
71267 _ldexpl(0, 0);
71268  ;
71269  return 0;
71270}
71271_ACEOF
71272if ac_fn_cxx_try_compile "$LINENO"; then :
71273  glibcxx_cv_func__ldexpl_use=yes
71274else
71275  glibcxx_cv_func__ldexpl_use=no
71276fi
71277rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71278      ac_ext=c
71279ac_cpp='$CPP $CPPFLAGS'
71280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71282ac_compiler_gnu=$ac_cv_c_compiler_gnu
71283
71284
71285fi
71286
71287  fi
71288  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71289$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71290
71291    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71292      for ac_func in _ldexpl
71293do :
71294  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71295if test "x$ac_cv_func__ldexpl" = x""yes; then :
71296  cat >>confdefs.h <<_ACEOF
71297#define HAVE__LDEXPL 1
71298_ACEOF
71299
71300fi
71301done
71302
71303    fi
71304  fi
71305
71306
71307
71308
71309
71310  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71311$as_echo_n "checking for logl declaration... " >&6; }
71312  if test x${glibcxx_cv_func_logl_use+set} != xset; then
71313    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71314  $as_echo_n "(cached) " >&6
71315else
71316
71317
71318      ac_ext=cpp
71319ac_cpp='$CXXCPP $CPPFLAGS'
71320ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71321ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71322ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71323
71324      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71325/* end confdefs.h.  */
71326#include <math.h>
71327		      #ifdef HAVE_IEEEFP_H
71328		      #include <ieeefp.h>
71329		      #endif
71330
71331int
71332main ()
71333{
71334 logl(0);
71335  ;
71336  return 0;
71337}
71338_ACEOF
71339if ac_fn_cxx_try_compile "$LINENO"; then :
71340  glibcxx_cv_func_logl_use=yes
71341else
71342  glibcxx_cv_func_logl_use=no
71343fi
71344rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71345      ac_ext=c
71346ac_cpp='$CPP $CPPFLAGS'
71347ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71348ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71349ac_compiler_gnu=$ac_cv_c_compiler_gnu
71350
71351
71352fi
71353
71354  fi
71355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71356$as_echo "$glibcxx_cv_func_logl_use" >&6; }
71357
71358  if test x$glibcxx_cv_func_logl_use = x"yes"; then
71359    for ac_func in logl
71360do :
71361  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71362if test "x$ac_cv_func_logl" = x""yes; then :
71363  cat >>confdefs.h <<_ACEOF
71364#define HAVE_LOGL 1
71365_ACEOF
71366
71367fi
71368done
71369
71370  else
71371
71372  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71373$as_echo_n "checking for _logl declaration... " >&6; }
71374  if test x${glibcxx_cv_func__logl_use+set} != xset; then
71375    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71376  $as_echo_n "(cached) " >&6
71377else
71378
71379
71380      ac_ext=cpp
71381ac_cpp='$CXXCPP $CPPFLAGS'
71382ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71383ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71384ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71385
71386      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71387/* end confdefs.h.  */
71388#include <math.h>
71389		      #ifdef HAVE_IEEEFP_H
71390		      #include <ieeefp.h>
71391		      #endif
71392
71393int
71394main ()
71395{
71396 _logl(0);
71397  ;
71398  return 0;
71399}
71400_ACEOF
71401if ac_fn_cxx_try_compile "$LINENO"; then :
71402  glibcxx_cv_func__logl_use=yes
71403else
71404  glibcxx_cv_func__logl_use=no
71405fi
71406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71407      ac_ext=c
71408ac_cpp='$CPP $CPPFLAGS'
71409ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71410ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71411ac_compiler_gnu=$ac_cv_c_compiler_gnu
71412
71413
71414fi
71415
71416  fi
71417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71418$as_echo "$glibcxx_cv_func__logl_use" >&6; }
71419
71420    if test x$glibcxx_cv_func__logl_use = x"yes"; then
71421      for ac_func in _logl
71422do :
71423  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71424if test "x$ac_cv_func__logl" = x""yes; then :
71425  cat >>confdefs.h <<_ACEOF
71426#define HAVE__LOGL 1
71427_ACEOF
71428
71429fi
71430done
71431
71432    fi
71433  fi
71434
71435
71436
71437
71438
71439  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71440$as_echo_n "checking for log10l declaration... " >&6; }
71441  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71442    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71443  $as_echo_n "(cached) " >&6
71444else
71445
71446
71447      ac_ext=cpp
71448ac_cpp='$CXXCPP $CPPFLAGS'
71449ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71450ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71451ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71452
71453      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71454/* end confdefs.h.  */
71455#include <math.h>
71456		      #ifdef HAVE_IEEEFP_H
71457		      #include <ieeefp.h>
71458		      #endif
71459
71460int
71461main ()
71462{
71463 log10l(0);
71464  ;
71465  return 0;
71466}
71467_ACEOF
71468if ac_fn_cxx_try_compile "$LINENO"; then :
71469  glibcxx_cv_func_log10l_use=yes
71470else
71471  glibcxx_cv_func_log10l_use=no
71472fi
71473rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71474      ac_ext=c
71475ac_cpp='$CPP $CPPFLAGS'
71476ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71477ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71478ac_compiler_gnu=$ac_cv_c_compiler_gnu
71479
71480
71481fi
71482
71483  fi
71484  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71485$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71486
71487  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71488    for ac_func in log10l
71489do :
71490  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71491if test "x$ac_cv_func_log10l" = x""yes; then :
71492  cat >>confdefs.h <<_ACEOF
71493#define HAVE_LOG10L 1
71494_ACEOF
71495
71496fi
71497done
71498
71499  else
71500
71501  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71502$as_echo_n "checking for _log10l declaration... " >&6; }
71503  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71504    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71505  $as_echo_n "(cached) " >&6
71506else
71507
71508
71509      ac_ext=cpp
71510ac_cpp='$CXXCPP $CPPFLAGS'
71511ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71512ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71513ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71514
71515      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71516/* end confdefs.h.  */
71517#include <math.h>
71518		      #ifdef HAVE_IEEEFP_H
71519		      #include <ieeefp.h>
71520		      #endif
71521
71522int
71523main ()
71524{
71525 _log10l(0);
71526  ;
71527  return 0;
71528}
71529_ACEOF
71530if ac_fn_cxx_try_compile "$LINENO"; then :
71531  glibcxx_cv_func__log10l_use=yes
71532else
71533  glibcxx_cv_func__log10l_use=no
71534fi
71535rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71536      ac_ext=c
71537ac_cpp='$CPP $CPPFLAGS'
71538ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71539ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71540ac_compiler_gnu=$ac_cv_c_compiler_gnu
71541
71542
71543fi
71544
71545  fi
71546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71547$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71548
71549    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71550      for ac_func in _log10l
71551do :
71552  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71553if test "x$ac_cv_func__log10l" = x""yes; then :
71554  cat >>confdefs.h <<_ACEOF
71555#define HAVE__LOG10L 1
71556_ACEOF
71557
71558fi
71559done
71560
71561    fi
71562  fi
71563
71564
71565
71566
71567
71568  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71569$as_echo_n "checking for modfl declaration... " >&6; }
71570  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71571    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71572  $as_echo_n "(cached) " >&6
71573else
71574
71575
71576      ac_ext=cpp
71577ac_cpp='$CXXCPP $CPPFLAGS'
71578ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71579ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71580ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71581
71582      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71583/* end confdefs.h.  */
71584#include <math.h>
71585int
71586main ()
71587{
71588 modfl(0, 0);
71589  ;
71590  return 0;
71591}
71592_ACEOF
71593if ac_fn_cxx_try_compile "$LINENO"; then :
71594  glibcxx_cv_func_modfl_use=yes
71595else
71596  glibcxx_cv_func_modfl_use=no
71597fi
71598rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71599      ac_ext=c
71600ac_cpp='$CPP $CPPFLAGS'
71601ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71602ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71603ac_compiler_gnu=$ac_cv_c_compiler_gnu
71604
71605
71606fi
71607
71608  fi
71609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71610$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71611
71612  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71613    for ac_func in modfl
71614do :
71615  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71616if test "x$ac_cv_func_modfl" = x""yes; then :
71617  cat >>confdefs.h <<_ACEOF
71618#define HAVE_MODFL 1
71619_ACEOF
71620
71621fi
71622done
71623
71624  else
71625
71626  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71627$as_echo_n "checking for _modfl declaration... " >&6; }
71628  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71629    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71630  $as_echo_n "(cached) " >&6
71631else
71632
71633
71634      ac_ext=cpp
71635ac_cpp='$CXXCPP $CPPFLAGS'
71636ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71637ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71638ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71639
71640      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71641/* end confdefs.h.  */
71642#include <math.h>
71643int
71644main ()
71645{
71646 _modfl(0, 0);
71647  ;
71648  return 0;
71649}
71650_ACEOF
71651if ac_fn_cxx_try_compile "$LINENO"; then :
71652  glibcxx_cv_func__modfl_use=yes
71653else
71654  glibcxx_cv_func__modfl_use=no
71655fi
71656rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71657      ac_ext=c
71658ac_cpp='$CPP $CPPFLAGS'
71659ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71660ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71661ac_compiler_gnu=$ac_cv_c_compiler_gnu
71662
71663
71664fi
71665
71666  fi
71667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71668$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71669
71670    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71671      for ac_func in _modfl
71672do :
71673  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71674if test "x$ac_cv_func__modfl" = x""yes; then :
71675  cat >>confdefs.h <<_ACEOF
71676#define HAVE__MODFL 1
71677_ACEOF
71678
71679fi
71680done
71681
71682    fi
71683  fi
71684
71685
71686
71687
71688
71689  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71690$as_echo_n "checking for powl declaration... " >&6; }
71691  if test x${glibcxx_cv_func_powl_use+set} != xset; then
71692    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71693  $as_echo_n "(cached) " >&6
71694else
71695
71696
71697      ac_ext=cpp
71698ac_cpp='$CXXCPP $CPPFLAGS'
71699ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71700ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71701ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71702
71703      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71704/* end confdefs.h.  */
71705#include <math.h>
71706int
71707main ()
71708{
71709 powl(0, 0);
71710  ;
71711  return 0;
71712}
71713_ACEOF
71714if ac_fn_cxx_try_compile "$LINENO"; then :
71715  glibcxx_cv_func_powl_use=yes
71716else
71717  glibcxx_cv_func_powl_use=no
71718fi
71719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71720      ac_ext=c
71721ac_cpp='$CPP $CPPFLAGS'
71722ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71723ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71724ac_compiler_gnu=$ac_cv_c_compiler_gnu
71725
71726
71727fi
71728
71729  fi
71730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71731$as_echo "$glibcxx_cv_func_powl_use" >&6; }
71732
71733  if test x$glibcxx_cv_func_powl_use = x"yes"; then
71734    for ac_func in powl
71735do :
71736  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71737if test "x$ac_cv_func_powl" = x""yes; then :
71738  cat >>confdefs.h <<_ACEOF
71739#define HAVE_POWL 1
71740_ACEOF
71741
71742fi
71743done
71744
71745  else
71746
71747  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71748$as_echo_n "checking for _powl declaration... " >&6; }
71749  if test x${glibcxx_cv_func__powl_use+set} != xset; then
71750    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71751  $as_echo_n "(cached) " >&6
71752else
71753
71754
71755      ac_ext=cpp
71756ac_cpp='$CXXCPP $CPPFLAGS'
71757ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71758ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71759ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71760
71761      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71762/* end confdefs.h.  */
71763#include <math.h>
71764int
71765main ()
71766{
71767 _powl(0, 0);
71768  ;
71769  return 0;
71770}
71771_ACEOF
71772if ac_fn_cxx_try_compile "$LINENO"; then :
71773  glibcxx_cv_func__powl_use=yes
71774else
71775  glibcxx_cv_func__powl_use=no
71776fi
71777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71778      ac_ext=c
71779ac_cpp='$CPP $CPPFLAGS'
71780ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71781ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71782ac_compiler_gnu=$ac_cv_c_compiler_gnu
71783
71784
71785fi
71786
71787  fi
71788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71789$as_echo "$glibcxx_cv_func__powl_use" >&6; }
71790
71791    if test x$glibcxx_cv_func__powl_use = x"yes"; then
71792      for ac_func in _powl
71793do :
71794  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71795if test "x$ac_cv_func__powl" = x""yes; then :
71796  cat >>confdefs.h <<_ACEOF
71797#define HAVE__POWL 1
71798_ACEOF
71799
71800fi
71801done
71802
71803    fi
71804  fi
71805
71806
71807
71808
71809
71810  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71811$as_echo_n "checking for sqrtl declaration... " >&6; }
71812  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71813    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71814  $as_echo_n "(cached) " >&6
71815else
71816
71817
71818      ac_ext=cpp
71819ac_cpp='$CXXCPP $CPPFLAGS'
71820ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71821ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71822ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71823
71824      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71825/* end confdefs.h.  */
71826#include <math.h>
71827		      #ifdef HAVE_IEEEFP_H
71828		      #include <ieeefp.h>
71829		      #endif
71830
71831int
71832main ()
71833{
71834 sqrtl(0);
71835  ;
71836  return 0;
71837}
71838_ACEOF
71839if ac_fn_cxx_try_compile "$LINENO"; then :
71840  glibcxx_cv_func_sqrtl_use=yes
71841else
71842  glibcxx_cv_func_sqrtl_use=no
71843fi
71844rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71845      ac_ext=c
71846ac_cpp='$CPP $CPPFLAGS'
71847ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71848ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71849ac_compiler_gnu=$ac_cv_c_compiler_gnu
71850
71851
71852fi
71853
71854  fi
71855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71856$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71857
71858  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71859    for ac_func in sqrtl
71860do :
71861  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71862if test "x$ac_cv_func_sqrtl" = x""yes; then :
71863  cat >>confdefs.h <<_ACEOF
71864#define HAVE_SQRTL 1
71865_ACEOF
71866
71867fi
71868done
71869
71870  else
71871
71872  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71873$as_echo_n "checking for _sqrtl declaration... " >&6; }
71874  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71875    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71876  $as_echo_n "(cached) " >&6
71877else
71878
71879
71880      ac_ext=cpp
71881ac_cpp='$CXXCPP $CPPFLAGS'
71882ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71883ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71884ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71885
71886      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71887/* end confdefs.h.  */
71888#include <math.h>
71889		      #ifdef HAVE_IEEEFP_H
71890		      #include <ieeefp.h>
71891		      #endif
71892
71893int
71894main ()
71895{
71896 _sqrtl(0);
71897  ;
71898  return 0;
71899}
71900_ACEOF
71901if ac_fn_cxx_try_compile "$LINENO"; then :
71902  glibcxx_cv_func__sqrtl_use=yes
71903else
71904  glibcxx_cv_func__sqrtl_use=no
71905fi
71906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71907      ac_ext=c
71908ac_cpp='$CPP $CPPFLAGS'
71909ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71910ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71911ac_compiler_gnu=$ac_cv_c_compiler_gnu
71912
71913
71914fi
71915
71916  fi
71917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71918$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71919
71920    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71921      for ac_func in _sqrtl
71922do :
71923  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71924if test "x$ac_cv_func__sqrtl" = x""yes; then :
71925  cat >>confdefs.h <<_ACEOF
71926#define HAVE__SQRTL 1
71927_ACEOF
71928
71929fi
71930done
71931
71932    fi
71933  fi
71934
71935
71936
71937
71938
71939  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71940$as_echo_n "checking for sincosl declaration... " >&6; }
71941  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71942    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71943  $as_echo_n "(cached) " >&6
71944else
71945
71946
71947      ac_ext=cpp
71948ac_cpp='$CXXCPP $CPPFLAGS'
71949ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71950ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71951ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71952
71953      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71954/* end confdefs.h.  */
71955#include <math.h>
71956int
71957main ()
71958{
71959 sincosl(0, 0, 0);
71960  ;
71961  return 0;
71962}
71963_ACEOF
71964if ac_fn_cxx_try_compile "$LINENO"; then :
71965  glibcxx_cv_func_sincosl_use=yes
71966else
71967  glibcxx_cv_func_sincosl_use=no
71968fi
71969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71970      ac_ext=c
71971ac_cpp='$CPP $CPPFLAGS'
71972ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71973ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71974ac_compiler_gnu=$ac_cv_c_compiler_gnu
71975
71976
71977fi
71978
71979  fi
71980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71981$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71982
71983  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71984    for ac_func in sincosl
71985do :
71986  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71987if test "x$ac_cv_func_sincosl" = x""yes; then :
71988  cat >>confdefs.h <<_ACEOF
71989#define HAVE_SINCOSL 1
71990_ACEOF
71991
71992fi
71993done
71994
71995  else
71996
71997  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71998$as_echo_n "checking for _sincosl declaration... " >&6; }
71999  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72000    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
72001  $as_echo_n "(cached) " >&6
72002else
72003
72004
72005      ac_ext=cpp
72006ac_cpp='$CXXCPP $CPPFLAGS'
72007ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72008ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72009ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72010
72011      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72012/* end confdefs.h.  */
72013#include <math.h>
72014int
72015main ()
72016{
72017 _sincosl(0, 0, 0);
72018  ;
72019  return 0;
72020}
72021_ACEOF
72022if ac_fn_cxx_try_compile "$LINENO"; then :
72023  glibcxx_cv_func__sincosl_use=yes
72024else
72025  glibcxx_cv_func__sincosl_use=no
72026fi
72027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72028      ac_ext=c
72029ac_cpp='$CPP $CPPFLAGS'
72030ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72031ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72032ac_compiler_gnu=$ac_cv_c_compiler_gnu
72033
72034
72035fi
72036
72037  fi
72038  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72039$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72040
72041    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72042      for ac_func in _sincosl
72043do :
72044  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72045if test "x$ac_cv_func__sincosl" = x""yes; then :
72046  cat >>confdefs.h <<_ACEOF
72047#define HAVE__SINCOSL 1
72048_ACEOF
72049
72050fi
72051done
72052
72053    fi
72054  fi
72055
72056
72057
72058
72059
72060  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72061$as_echo_n "checking for finitel declaration... " >&6; }
72062  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72063    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
72064  $as_echo_n "(cached) " >&6
72065else
72066
72067
72068      ac_ext=cpp
72069ac_cpp='$CXXCPP $CPPFLAGS'
72070ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72071ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72072ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72073
72074      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72075/* end confdefs.h.  */
72076#include <math.h>
72077		      #ifdef HAVE_IEEEFP_H
72078		      #include <ieeefp.h>
72079		      #endif
72080
72081int
72082main ()
72083{
72084 finitel(0);
72085  ;
72086  return 0;
72087}
72088_ACEOF
72089if ac_fn_cxx_try_compile "$LINENO"; then :
72090  glibcxx_cv_func_finitel_use=yes
72091else
72092  glibcxx_cv_func_finitel_use=no
72093fi
72094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72095      ac_ext=c
72096ac_cpp='$CPP $CPPFLAGS'
72097ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72099ac_compiler_gnu=$ac_cv_c_compiler_gnu
72100
72101
72102fi
72103
72104  fi
72105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72106$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72107
72108  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72109    for ac_func in finitel
72110do :
72111  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72112if test "x$ac_cv_func_finitel" = x""yes; then :
72113  cat >>confdefs.h <<_ACEOF
72114#define HAVE_FINITEL 1
72115_ACEOF
72116
72117fi
72118done
72119
72120  else
72121
72122  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72123$as_echo_n "checking for _finitel declaration... " >&6; }
72124  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72125    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
72126  $as_echo_n "(cached) " >&6
72127else
72128
72129
72130      ac_ext=cpp
72131ac_cpp='$CXXCPP $CPPFLAGS'
72132ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72133ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72134ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72135
72136      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72137/* end confdefs.h.  */
72138#include <math.h>
72139		      #ifdef HAVE_IEEEFP_H
72140		      #include <ieeefp.h>
72141		      #endif
72142
72143int
72144main ()
72145{
72146 _finitel(0);
72147  ;
72148  return 0;
72149}
72150_ACEOF
72151if ac_fn_cxx_try_compile "$LINENO"; then :
72152  glibcxx_cv_func__finitel_use=yes
72153else
72154  glibcxx_cv_func__finitel_use=no
72155fi
72156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72157      ac_ext=c
72158ac_cpp='$CPP $CPPFLAGS'
72159ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72160ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72161ac_compiler_gnu=$ac_cv_c_compiler_gnu
72162
72163
72164fi
72165
72166  fi
72167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72168$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72169
72170    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72171      for ac_func in _finitel
72172do :
72173  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72174if test "x$ac_cv_func__finitel" = x""yes; then :
72175  cat >>confdefs.h <<_ACEOF
72176#define HAVE__FINITEL 1
72177_ACEOF
72178
72179fi
72180done
72181
72182    fi
72183  fi
72184
72185
72186
72187
72188  LIBS="$ac_save_LIBS"
72189  CXXFLAGS="$ac_save_CXXFLAGS"
72190
72191
72192  ac_test_CXXFLAGS="${CXXFLAGS+set}"
72193  ac_save_CXXFLAGS="$CXXFLAGS"
72194  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72195
72196
72197  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72198$as_echo_n "checking for at_quick_exit declaration... " >&6; }
72199  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72200    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
72201  $as_echo_n "(cached) " >&6
72202else
72203
72204
72205      ac_ext=cpp
72206ac_cpp='$CXXCPP $CPPFLAGS'
72207ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72208ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72209ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72210
72211      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72212/* end confdefs.h.  */
72213#include <stdlib.h>
72214int
72215main ()
72216{
72217 at_quick_exit(0);
72218  ;
72219  return 0;
72220}
72221_ACEOF
72222if ac_fn_cxx_try_compile "$LINENO"; then :
72223  glibcxx_cv_func_at_quick_exit_use=yes
72224else
72225  glibcxx_cv_func_at_quick_exit_use=no
72226fi
72227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72228      ac_ext=c
72229ac_cpp='$CPP $CPPFLAGS'
72230ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72231ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72232ac_compiler_gnu=$ac_cv_c_compiler_gnu
72233
72234
72235fi
72236
72237  fi
72238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72239$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72240  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72241    for ac_func in at_quick_exit
72242do :
72243  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72244if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72245  cat >>confdefs.h <<_ACEOF
72246#define HAVE_AT_QUICK_EXIT 1
72247_ACEOF
72248
72249fi
72250done
72251
72252  fi
72253
72254
72255  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72256$as_echo_n "checking for quick_exit declaration... " >&6; }
72257  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72258    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72259  $as_echo_n "(cached) " >&6
72260else
72261
72262
72263      ac_ext=cpp
72264ac_cpp='$CXXCPP $CPPFLAGS'
72265ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72266ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72267ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72268
72269      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72270/* end confdefs.h.  */
72271#include <stdlib.h>
72272int
72273main ()
72274{
72275 quick_exit(0);
72276  ;
72277  return 0;
72278}
72279_ACEOF
72280if ac_fn_cxx_try_compile "$LINENO"; then :
72281  glibcxx_cv_func_quick_exit_use=yes
72282else
72283  glibcxx_cv_func_quick_exit_use=no
72284fi
72285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72286      ac_ext=c
72287ac_cpp='$CPP $CPPFLAGS'
72288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72290ac_compiler_gnu=$ac_cv_c_compiler_gnu
72291
72292
72293fi
72294
72295  fi
72296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72297$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72298  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72299    for ac_func in quick_exit
72300do :
72301  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72302if test "x$ac_cv_func_quick_exit" = x""yes; then :
72303  cat >>confdefs.h <<_ACEOF
72304#define HAVE_QUICK_EXIT 1
72305_ACEOF
72306
72307fi
72308done
72309
72310  fi
72311
72312
72313  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72314$as_echo_n "checking for strtold declaration... " >&6; }
72315  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72316    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72317  $as_echo_n "(cached) " >&6
72318else
72319
72320
72321      ac_ext=cpp
72322ac_cpp='$CXXCPP $CPPFLAGS'
72323ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72324ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72325ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72326
72327      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72328/* end confdefs.h.  */
72329#include <stdlib.h>
72330int
72331main ()
72332{
72333 strtold(0, 0);
72334  ;
72335  return 0;
72336}
72337_ACEOF
72338if ac_fn_cxx_try_compile "$LINENO"; then :
72339  glibcxx_cv_func_strtold_use=yes
72340else
72341  glibcxx_cv_func_strtold_use=no
72342fi
72343rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72344      ac_ext=c
72345ac_cpp='$CPP $CPPFLAGS'
72346ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72347ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72348ac_compiler_gnu=$ac_cv_c_compiler_gnu
72349
72350
72351fi
72352
72353  fi
72354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72355$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72356  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72357    for ac_func in strtold
72358do :
72359  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72360if test "x$ac_cv_func_strtold" = x""yes; then :
72361  cat >>confdefs.h <<_ACEOF
72362#define HAVE_STRTOLD 1
72363_ACEOF
72364
72365fi
72366done
72367
72368  fi
72369
72370
72371
72372
72373  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72374$as_echo_n "checking for strtof declaration... " >&6; }
72375  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72376    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72377  $as_echo_n "(cached) " >&6
72378else
72379
72380
72381      ac_ext=cpp
72382ac_cpp='$CXXCPP $CPPFLAGS'
72383ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72384ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72385ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72386
72387      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72388/* end confdefs.h.  */
72389#include <stdlib.h>
72390int
72391main ()
72392{
72393 strtof(0, 0);
72394  ;
72395  return 0;
72396}
72397_ACEOF
72398if ac_fn_cxx_try_compile "$LINENO"; then :
72399  glibcxx_cv_func_strtof_use=yes
72400else
72401  glibcxx_cv_func_strtof_use=no
72402fi
72403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72404      ac_ext=c
72405ac_cpp='$CPP $CPPFLAGS'
72406ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72407ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72408ac_compiler_gnu=$ac_cv_c_compiler_gnu
72409
72410
72411fi
72412
72413  fi
72414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72415$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72416  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72417    for ac_func in strtof
72418do :
72419  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72420if test "x$ac_cv_func_strtof" = x""yes; then :
72421  cat >>confdefs.h <<_ACEOF
72422#define HAVE_STRTOF 1
72423_ACEOF
72424
72425fi
72426done
72427
72428  fi
72429
72430
72431
72432
72433  CXXFLAGS="$ac_save_CXXFLAGS"
72434
72435    ;;
72436  *-solaris*)
72437
72438  # If we're not using GNU ld, then there's no point in even trying these
72439  # tests.  Check for that first.  We should have already tested for gld
72440  # by now (in libtool), but require it now just to be safe...
72441  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
72442  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
72443
72444
72445
72446  # The name set by libtool depends on the version of libtool.  Shame on us
72447  # for depending on an impl detail, but c'est la vie.  Older versions used
72448  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
72449  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
72450  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
72451  # set (hence we're using an older libtool), then set it.
72452  if test x${with_gnu_ld+set} != xset; then
72453    if test x${ac_cv_prog_gnu_ld+set} != xset; then
72454      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
72455      with_gnu_ld=no
72456    else
72457      with_gnu_ld=$ac_cv_prog_gnu_ld
72458    fi
72459  fi
72460
72461  # Start by getting the version number.  I think the libtool test already
72462  # does some of this, but throws away the result.
72463  glibcxx_ld_is_gold=no
72464  if test x"$with_gnu_ld" = x"yes"; then
72465    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
72466$as_echo_n "checking for ld version... " >&6; }
72467
72468    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
72469      glibcxx_ld_is_gold=yes
72470    fi
72471    ldver=`$LD --version 2>/dev/null |
72472	   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'`
72473
72474    glibcxx_gnu_ld_version=`echo $ldver | \
72475	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
72476    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
72477$as_echo "$glibcxx_gnu_ld_version" >&6; }
72478  fi
72479
72480  # Set --gc-sections.
72481  glibcxx_have_gc_sections=no
72482  if test "$glibcxx_ld_is_gold" = "yes"; then
72483    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
72484      glibcxx_have_gc_sections=yes
72485    fi
72486  else
72487    glibcxx_gcsections_min_ld=21602
72488    if test x"$with_gnu_ld" = x"yes" &&
72489	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
72490      glibcxx_have_gc_sections=yes
72491    fi
72492  fi
72493  if test "$glibcxx_have_gc_sections" = "yes"; then
72494    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
72495    # NB: This flag only works reliably after 2.16.1. Configure tests
72496    # for this are difficult, so hard wire a value that should work.
72497
72498    ac_test_CFLAGS="${CFLAGS+set}"
72499    ac_save_CFLAGS="$CFLAGS"
72500    CFLAGS='-Wl,--gc-sections'
72501
72502    # Check for -Wl,--gc-sections
72503    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
72504$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
72505    if test x$gcc_no_link = xyes; then
72506  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72507fi
72508cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72509/* end confdefs.h.  */
72510 int one(void) { return 1; }
72511     int two(void) { return 2; }
72512
72513int
72514main ()
72515{
72516 two();
72517  ;
72518  return 0;
72519}
72520_ACEOF
72521if ac_fn_c_try_link "$LINENO"; then :
72522  ac_gcsections=yes
72523else
72524  ac_gcsections=no
72525fi
72526rm -f core conftest.err conftest.$ac_objext \
72527    conftest$ac_exeext conftest.$ac_ext
72528    if test "$ac_gcsections" = "yes"; then
72529      rm -f conftest.c
72530      touch conftest.c
72531      if $CC -c conftest.c; then
72532	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
72533	   grep "Warning: gc-sections option ignored" > /dev/null; then
72534	  ac_gcsections=no
72535	fi
72536      fi
72537      rm -f conftest.c conftest.o conftest
72538    fi
72539    if test "$ac_gcsections" = "yes"; then
72540      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
72541    fi
72542    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
72543$as_echo "$ac_gcsections" >&6; }
72544
72545    if test "$ac_test_CFLAGS" = set; then
72546      CFLAGS="$ac_save_CFLAGS"
72547    else
72548      # this is the suspicious part
72549      CFLAGS=''
72550    fi
72551  fi
72552
72553  # Set -z,relro.
72554  # Note this is only for shared objects.
72555  ac_ld_relro=no
72556  if test x"$with_gnu_ld" = x"yes"; then
72557    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
72558$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
72559    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
72560    if test -n "$cxx_z_relo"; then
72561      OPT_LDFLAGS="-Wl,-z,relro"
72562      ac_ld_relro=yes
72563    fi
72564    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
72565$as_echo "$ac_ld_relro" >&6; }
72566  fi
72567
72568  # Set linker optimization flags.
72569  if test x"$with_gnu_ld" = x"yes"; then
72570    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
72571  fi
72572
72573
72574
72575
72576    $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
72577
72578    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72579
72580    $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
72581
72582    # All of the dependencies for wide character support are here, so
72583    # turn it on.
72584    $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
72585
72586    # These two C99 functions are present only in Solaris >= 10
72587    $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
72588
72589    $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
72590
72591    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72592
72593    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72594
72595    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
72596
72597    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72598
72599    ;;
72600  *-tpf)
72601    SECTION_FLAGS='-ffunction-sections -fdata-sections'
72602    SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72603
72604    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72605
72606    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72607
72608    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72609
72610    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72611
72612    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72613
72614    $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72615
72616    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72617
72618    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72619
72620    $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72621
72622    $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72623
72624    if test x"long_double_math_on_this_cpu" = x"yes"; then
72625      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72626
72627      $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72628
72629      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72630
72631      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72632
72633    fi
72634    ;;
72635  *-*vms*)
72636    # Check for available headers.
72637    # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72638
72639  ac_test_CXXFLAGS="${CXXFLAGS+set}"
72640  ac_save_CXXFLAGS="$CXXFLAGS"
72641  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72642
72643    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72644$as_echo_n "checking for sin in -lm... " >&6; }
72645if test "${ac_cv_lib_m_sin+set}" = set; then :
72646  $as_echo_n "(cached) " >&6
72647else
72648  ac_check_lib_save_LIBS=$LIBS
72649LIBS="-lm  $LIBS"
72650if test x$gcc_no_link = xyes; then
72651  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72652fi
72653cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72654/* end confdefs.h.  */
72655
72656/* Override any GCC internal prototype to avoid an error.
72657   Use char because int might match the return type of a GCC
72658   builtin and then its argument prototype would still apply.  */
72659#ifdef __cplusplus
72660extern "C"
72661#endif
72662char sin ();
72663int
72664main ()
72665{
72666return sin ();
72667  ;
72668  return 0;
72669}
72670_ACEOF
72671if ac_fn_c_try_link "$LINENO"; then :
72672  ac_cv_lib_m_sin=yes
72673else
72674  ac_cv_lib_m_sin=no
72675fi
72676rm -f core conftest.err conftest.$ac_objext \
72677    conftest$ac_exeext conftest.$ac_ext
72678LIBS=$ac_check_lib_save_LIBS
72679fi
72680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72681$as_echo "$ac_cv_lib_m_sin" >&6; }
72682if test "x$ac_cv_lib_m_sin" = x""yes; then :
72683  libm="-lm"
72684fi
72685
72686  ac_save_LIBS="$LIBS"
72687  LIBS="$LIBS $libm"
72688
72689
72690
72691  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72692$as_echo_n "checking for isinf declaration... " >&6; }
72693  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72694    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72695  $as_echo_n "(cached) " >&6
72696else
72697
72698
72699      ac_ext=cpp
72700ac_cpp='$CXXCPP $CPPFLAGS'
72701ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72702ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72703ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72704
72705      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72706/* end confdefs.h.  */
72707#include <math.h>
72708		      #ifdef HAVE_IEEEFP_H
72709		      #include <ieeefp.h>
72710		      #endif
72711
72712int
72713main ()
72714{
72715 isinf(0);
72716  ;
72717  return 0;
72718}
72719_ACEOF
72720if ac_fn_cxx_try_compile "$LINENO"; then :
72721  glibcxx_cv_func_isinf_use=yes
72722else
72723  glibcxx_cv_func_isinf_use=no
72724fi
72725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72726      ac_ext=c
72727ac_cpp='$CPP $CPPFLAGS'
72728ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72729ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72730ac_compiler_gnu=$ac_cv_c_compiler_gnu
72731
72732
72733fi
72734
72735  fi
72736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72737$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72738
72739  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72740    for ac_func in isinf
72741do :
72742  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72743if test "x$ac_cv_func_isinf" = x""yes; then :
72744  cat >>confdefs.h <<_ACEOF
72745#define HAVE_ISINF 1
72746_ACEOF
72747
72748fi
72749done
72750
72751  else
72752
72753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72754$as_echo_n "checking for _isinf declaration... " >&6; }
72755  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72756    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72757  $as_echo_n "(cached) " >&6
72758else
72759
72760
72761      ac_ext=cpp
72762ac_cpp='$CXXCPP $CPPFLAGS'
72763ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72764ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72765ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72766
72767      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72768/* end confdefs.h.  */
72769#include <math.h>
72770		      #ifdef HAVE_IEEEFP_H
72771		      #include <ieeefp.h>
72772		      #endif
72773
72774int
72775main ()
72776{
72777 _isinf(0);
72778  ;
72779  return 0;
72780}
72781_ACEOF
72782if ac_fn_cxx_try_compile "$LINENO"; then :
72783  glibcxx_cv_func__isinf_use=yes
72784else
72785  glibcxx_cv_func__isinf_use=no
72786fi
72787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72788      ac_ext=c
72789ac_cpp='$CPP $CPPFLAGS'
72790ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72791ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72792ac_compiler_gnu=$ac_cv_c_compiler_gnu
72793
72794
72795fi
72796
72797  fi
72798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72799$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72800
72801    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72802      for ac_func in _isinf
72803do :
72804  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72805if test "x$ac_cv_func__isinf" = x""yes; then :
72806  cat >>confdefs.h <<_ACEOF
72807#define HAVE__ISINF 1
72808_ACEOF
72809
72810fi
72811done
72812
72813    fi
72814  fi
72815
72816
72817
72818
72819
72820  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72821$as_echo_n "checking for isnan declaration... " >&6; }
72822  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72823    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72824  $as_echo_n "(cached) " >&6
72825else
72826
72827
72828      ac_ext=cpp
72829ac_cpp='$CXXCPP $CPPFLAGS'
72830ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72831ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72832ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72833
72834      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72835/* end confdefs.h.  */
72836#include <math.h>
72837		      #ifdef HAVE_IEEEFP_H
72838		      #include <ieeefp.h>
72839		      #endif
72840
72841int
72842main ()
72843{
72844 isnan(0);
72845  ;
72846  return 0;
72847}
72848_ACEOF
72849if ac_fn_cxx_try_compile "$LINENO"; then :
72850  glibcxx_cv_func_isnan_use=yes
72851else
72852  glibcxx_cv_func_isnan_use=no
72853fi
72854rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72855      ac_ext=c
72856ac_cpp='$CPP $CPPFLAGS'
72857ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72858ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72859ac_compiler_gnu=$ac_cv_c_compiler_gnu
72860
72861
72862fi
72863
72864  fi
72865  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72866$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72867
72868  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72869    for ac_func in isnan
72870do :
72871  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72872if test "x$ac_cv_func_isnan" = x""yes; then :
72873  cat >>confdefs.h <<_ACEOF
72874#define HAVE_ISNAN 1
72875_ACEOF
72876
72877fi
72878done
72879
72880  else
72881
72882  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72883$as_echo_n "checking for _isnan declaration... " >&6; }
72884  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72885    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72886  $as_echo_n "(cached) " >&6
72887else
72888
72889
72890      ac_ext=cpp
72891ac_cpp='$CXXCPP $CPPFLAGS'
72892ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72893ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72894ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72895
72896      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72897/* end confdefs.h.  */
72898#include <math.h>
72899		      #ifdef HAVE_IEEEFP_H
72900		      #include <ieeefp.h>
72901		      #endif
72902
72903int
72904main ()
72905{
72906 _isnan(0);
72907  ;
72908  return 0;
72909}
72910_ACEOF
72911if ac_fn_cxx_try_compile "$LINENO"; then :
72912  glibcxx_cv_func__isnan_use=yes
72913else
72914  glibcxx_cv_func__isnan_use=no
72915fi
72916rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72917      ac_ext=c
72918ac_cpp='$CPP $CPPFLAGS'
72919ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72920ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72921ac_compiler_gnu=$ac_cv_c_compiler_gnu
72922
72923
72924fi
72925
72926  fi
72927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72928$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72929
72930    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72931      for ac_func in _isnan
72932do :
72933  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72934if test "x$ac_cv_func__isnan" = x""yes; then :
72935  cat >>confdefs.h <<_ACEOF
72936#define HAVE__ISNAN 1
72937_ACEOF
72938
72939fi
72940done
72941
72942    fi
72943  fi
72944
72945
72946
72947
72948
72949  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72950$as_echo_n "checking for finite declaration... " >&6; }
72951  if test x${glibcxx_cv_func_finite_use+set} != xset; then
72952    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72953  $as_echo_n "(cached) " >&6
72954else
72955
72956
72957      ac_ext=cpp
72958ac_cpp='$CXXCPP $CPPFLAGS'
72959ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72960ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72961ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72962
72963      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72964/* end confdefs.h.  */
72965#include <math.h>
72966		      #ifdef HAVE_IEEEFP_H
72967		      #include <ieeefp.h>
72968		      #endif
72969
72970int
72971main ()
72972{
72973 finite(0);
72974  ;
72975  return 0;
72976}
72977_ACEOF
72978if ac_fn_cxx_try_compile "$LINENO"; then :
72979  glibcxx_cv_func_finite_use=yes
72980else
72981  glibcxx_cv_func_finite_use=no
72982fi
72983rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72984      ac_ext=c
72985ac_cpp='$CPP $CPPFLAGS'
72986ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72987ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72988ac_compiler_gnu=$ac_cv_c_compiler_gnu
72989
72990
72991fi
72992
72993  fi
72994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72995$as_echo "$glibcxx_cv_func_finite_use" >&6; }
72996
72997  if test x$glibcxx_cv_func_finite_use = x"yes"; then
72998    for ac_func in finite
72999do :
73000  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
73001if test "x$ac_cv_func_finite" = x""yes; then :
73002  cat >>confdefs.h <<_ACEOF
73003#define HAVE_FINITE 1
73004_ACEOF
73005
73006fi
73007done
73008
73009  else
73010
73011  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
73012$as_echo_n "checking for _finite declaration... " >&6; }
73013  if test x${glibcxx_cv_func__finite_use+set} != xset; then
73014    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
73015  $as_echo_n "(cached) " >&6
73016else
73017
73018
73019      ac_ext=cpp
73020ac_cpp='$CXXCPP $CPPFLAGS'
73021ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73022ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73023ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73024
73025      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73026/* end confdefs.h.  */
73027#include <math.h>
73028		      #ifdef HAVE_IEEEFP_H
73029		      #include <ieeefp.h>
73030		      #endif
73031
73032int
73033main ()
73034{
73035 _finite(0);
73036  ;
73037  return 0;
73038}
73039_ACEOF
73040if ac_fn_cxx_try_compile "$LINENO"; then :
73041  glibcxx_cv_func__finite_use=yes
73042else
73043  glibcxx_cv_func__finite_use=no
73044fi
73045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73046      ac_ext=c
73047ac_cpp='$CPP $CPPFLAGS'
73048ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73049ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73050ac_compiler_gnu=$ac_cv_c_compiler_gnu
73051
73052
73053fi
73054
73055  fi
73056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
73057$as_echo "$glibcxx_cv_func__finite_use" >&6; }
73058
73059    if test x$glibcxx_cv_func__finite_use = x"yes"; then
73060      for ac_func in _finite
73061do :
73062  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
73063if test "x$ac_cv_func__finite" = x""yes; then :
73064  cat >>confdefs.h <<_ACEOF
73065#define HAVE__FINITE 1
73066_ACEOF
73067
73068fi
73069done
73070
73071    fi
73072  fi
73073
73074
73075
73076
73077
73078  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
73079$as_echo_n "checking for sincos declaration... " >&6; }
73080  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
73081    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
73082  $as_echo_n "(cached) " >&6
73083else
73084
73085
73086      ac_ext=cpp
73087ac_cpp='$CXXCPP $CPPFLAGS'
73088ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73089ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73090ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73091
73092      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73093/* end confdefs.h.  */
73094#include <math.h>
73095int
73096main ()
73097{
73098 sincos(0, 0, 0);
73099  ;
73100  return 0;
73101}
73102_ACEOF
73103if ac_fn_cxx_try_compile "$LINENO"; then :
73104  glibcxx_cv_func_sincos_use=yes
73105else
73106  glibcxx_cv_func_sincos_use=no
73107fi
73108rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73109      ac_ext=c
73110ac_cpp='$CPP $CPPFLAGS'
73111ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73112ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73113ac_compiler_gnu=$ac_cv_c_compiler_gnu
73114
73115
73116fi
73117
73118  fi
73119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
73120$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
73121
73122  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
73123    for ac_func in sincos
73124do :
73125  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
73126if test "x$ac_cv_func_sincos" = x""yes; then :
73127  cat >>confdefs.h <<_ACEOF
73128#define HAVE_SINCOS 1
73129_ACEOF
73130
73131fi
73132done
73133
73134  else
73135
73136  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
73137$as_echo_n "checking for _sincos declaration... " >&6; }
73138  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
73139    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
73140  $as_echo_n "(cached) " >&6
73141else
73142
73143
73144      ac_ext=cpp
73145ac_cpp='$CXXCPP $CPPFLAGS'
73146ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73147ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73148ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73149
73150      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73151/* end confdefs.h.  */
73152#include <math.h>
73153int
73154main ()
73155{
73156 _sincos(0, 0, 0);
73157  ;
73158  return 0;
73159}
73160_ACEOF
73161if ac_fn_cxx_try_compile "$LINENO"; then :
73162  glibcxx_cv_func__sincos_use=yes
73163else
73164  glibcxx_cv_func__sincos_use=no
73165fi
73166rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73167      ac_ext=c
73168ac_cpp='$CPP $CPPFLAGS'
73169ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73170ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73171ac_compiler_gnu=$ac_cv_c_compiler_gnu
73172
73173
73174fi
73175
73176  fi
73177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73178$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73179
73180    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73181      for ac_func in _sincos
73182do :
73183  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73184if test "x$ac_cv_func__sincos" = x""yes; then :
73185  cat >>confdefs.h <<_ACEOF
73186#define HAVE__SINCOS 1
73187_ACEOF
73188
73189fi
73190done
73191
73192    fi
73193  fi
73194
73195
73196
73197
73198
73199  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73200$as_echo_n "checking for fpclass declaration... " >&6; }
73201  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73202    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
73203  $as_echo_n "(cached) " >&6
73204else
73205
73206
73207      ac_ext=cpp
73208ac_cpp='$CXXCPP $CPPFLAGS'
73209ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73210ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73211ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73212
73213      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73214/* end confdefs.h.  */
73215#include <math.h>
73216		      #ifdef HAVE_IEEEFP_H
73217		      #include <ieeefp.h>
73218		      #endif
73219
73220int
73221main ()
73222{
73223 fpclass(0);
73224  ;
73225  return 0;
73226}
73227_ACEOF
73228if ac_fn_cxx_try_compile "$LINENO"; then :
73229  glibcxx_cv_func_fpclass_use=yes
73230else
73231  glibcxx_cv_func_fpclass_use=no
73232fi
73233rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73234      ac_ext=c
73235ac_cpp='$CPP $CPPFLAGS'
73236ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73237ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73238ac_compiler_gnu=$ac_cv_c_compiler_gnu
73239
73240
73241fi
73242
73243  fi
73244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73245$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73246
73247  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73248    for ac_func in fpclass
73249do :
73250  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73251if test "x$ac_cv_func_fpclass" = x""yes; then :
73252  cat >>confdefs.h <<_ACEOF
73253#define HAVE_FPCLASS 1
73254_ACEOF
73255
73256fi
73257done
73258
73259  else
73260
73261  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73262$as_echo_n "checking for _fpclass declaration... " >&6; }
73263  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73264    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73265  $as_echo_n "(cached) " >&6
73266else
73267
73268
73269      ac_ext=cpp
73270ac_cpp='$CXXCPP $CPPFLAGS'
73271ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73272ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73273ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73274
73275      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73276/* end confdefs.h.  */
73277#include <math.h>
73278		      #ifdef HAVE_IEEEFP_H
73279		      #include <ieeefp.h>
73280		      #endif
73281
73282int
73283main ()
73284{
73285 _fpclass(0);
73286  ;
73287  return 0;
73288}
73289_ACEOF
73290if ac_fn_cxx_try_compile "$LINENO"; then :
73291  glibcxx_cv_func__fpclass_use=yes
73292else
73293  glibcxx_cv_func__fpclass_use=no
73294fi
73295rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73296      ac_ext=c
73297ac_cpp='$CPP $CPPFLAGS'
73298ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73299ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73300ac_compiler_gnu=$ac_cv_c_compiler_gnu
73301
73302
73303fi
73304
73305  fi
73306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73307$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73308
73309    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73310      for ac_func in _fpclass
73311do :
73312  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73313if test "x$ac_cv_func__fpclass" = x""yes; then :
73314  cat >>confdefs.h <<_ACEOF
73315#define HAVE__FPCLASS 1
73316_ACEOF
73317
73318fi
73319done
73320
73321    fi
73322  fi
73323
73324
73325
73326
73327
73328  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73329$as_echo_n "checking for qfpclass declaration... " >&6; }
73330  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73331    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73332  $as_echo_n "(cached) " >&6
73333else
73334
73335
73336      ac_ext=cpp
73337ac_cpp='$CXXCPP $CPPFLAGS'
73338ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73339ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73340ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73341
73342      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73343/* end confdefs.h.  */
73344#include <math.h>
73345		      #ifdef HAVE_IEEEFP_H
73346		      #include <ieeefp.h>
73347		      #endif
73348
73349int
73350main ()
73351{
73352 qfpclass(0);
73353  ;
73354  return 0;
73355}
73356_ACEOF
73357if ac_fn_cxx_try_compile "$LINENO"; then :
73358  glibcxx_cv_func_qfpclass_use=yes
73359else
73360  glibcxx_cv_func_qfpclass_use=no
73361fi
73362rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73363      ac_ext=c
73364ac_cpp='$CPP $CPPFLAGS'
73365ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73366ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73367ac_compiler_gnu=$ac_cv_c_compiler_gnu
73368
73369
73370fi
73371
73372  fi
73373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73374$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73375
73376  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73377    for ac_func in qfpclass
73378do :
73379  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73380if test "x$ac_cv_func_qfpclass" = x""yes; then :
73381  cat >>confdefs.h <<_ACEOF
73382#define HAVE_QFPCLASS 1
73383_ACEOF
73384
73385fi
73386done
73387
73388  else
73389
73390  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73391$as_echo_n "checking for _qfpclass declaration... " >&6; }
73392  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73393    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73394  $as_echo_n "(cached) " >&6
73395else
73396
73397
73398      ac_ext=cpp
73399ac_cpp='$CXXCPP $CPPFLAGS'
73400ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73401ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73402ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73403
73404      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73405/* end confdefs.h.  */
73406#include <math.h>
73407		      #ifdef HAVE_IEEEFP_H
73408		      #include <ieeefp.h>
73409		      #endif
73410
73411int
73412main ()
73413{
73414 _qfpclass(0);
73415  ;
73416  return 0;
73417}
73418_ACEOF
73419if ac_fn_cxx_try_compile "$LINENO"; then :
73420  glibcxx_cv_func__qfpclass_use=yes
73421else
73422  glibcxx_cv_func__qfpclass_use=no
73423fi
73424rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73425      ac_ext=c
73426ac_cpp='$CPP $CPPFLAGS'
73427ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73428ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73429ac_compiler_gnu=$ac_cv_c_compiler_gnu
73430
73431
73432fi
73433
73434  fi
73435  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73436$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73437
73438    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73439      for ac_func in _qfpclass
73440do :
73441  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73442if test "x$ac_cv_func__qfpclass" = x""yes; then :
73443  cat >>confdefs.h <<_ACEOF
73444#define HAVE__QFPCLASS 1
73445_ACEOF
73446
73447fi
73448done
73449
73450    fi
73451  fi
73452
73453
73454
73455
73456
73457  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73458$as_echo_n "checking for hypot declaration... " >&6; }
73459  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73460    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73461  $as_echo_n "(cached) " >&6
73462else
73463
73464
73465      ac_ext=cpp
73466ac_cpp='$CXXCPP $CPPFLAGS'
73467ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73468ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73469ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73470
73471      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73472/* end confdefs.h.  */
73473#include <math.h>
73474int
73475main ()
73476{
73477 hypot(0, 0);
73478  ;
73479  return 0;
73480}
73481_ACEOF
73482if ac_fn_cxx_try_compile "$LINENO"; then :
73483  glibcxx_cv_func_hypot_use=yes
73484else
73485  glibcxx_cv_func_hypot_use=no
73486fi
73487rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73488      ac_ext=c
73489ac_cpp='$CPP $CPPFLAGS'
73490ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73491ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73492ac_compiler_gnu=$ac_cv_c_compiler_gnu
73493
73494
73495fi
73496
73497  fi
73498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73499$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73500
73501  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73502    for ac_func in hypot
73503do :
73504  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73505if test "x$ac_cv_func_hypot" = x""yes; then :
73506  cat >>confdefs.h <<_ACEOF
73507#define HAVE_HYPOT 1
73508_ACEOF
73509
73510fi
73511done
73512
73513  else
73514
73515  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73516$as_echo_n "checking for _hypot declaration... " >&6; }
73517  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73518    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73519  $as_echo_n "(cached) " >&6
73520else
73521
73522
73523      ac_ext=cpp
73524ac_cpp='$CXXCPP $CPPFLAGS'
73525ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73526ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73527ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73528
73529      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73530/* end confdefs.h.  */
73531#include <math.h>
73532int
73533main ()
73534{
73535 _hypot(0, 0);
73536  ;
73537  return 0;
73538}
73539_ACEOF
73540if ac_fn_cxx_try_compile "$LINENO"; then :
73541  glibcxx_cv_func__hypot_use=yes
73542else
73543  glibcxx_cv_func__hypot_use=no
73544fi
73545rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73546      ac_ext=c
73547ac_cpp='$CPP $CPPFLAGS'
73548ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73549ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73550ac_compiler_gnu=$ac_cv_c_compiler_gnu
73551
73552
73553fi
73554
73555  fi
73556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73557$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73558
73559    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73560      for ac_func in _hypot
73561do :
73562  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73563if test "x$ac_cv_func__hypot" = x""yes; then :
73564  cat >>confdefs.h <<_ACEOF
73565#define HAVE__HYPOT 1
73566_ACEOF
73567
73568fi
73569done
73570
73571    fi
73572  fi
73573
73574
73575
73576
73577
73578    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73579$as_echo_n "checking for float trig functions... " >&6; }
73580  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73581  $as_echo_n "(cached) " >&6
73582else
73583
73584
73585    ac_ext=cpp
73586ac_cpp='$CXXCPP $CPPFLAGS'
73587ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73588ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73589ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73590
73591    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73592/* end confdefs.h.  */
73593#include <math.h>
73594int
73595main ()
73596{
73597acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73598  ;
73599  return 0;
73600}
73601_ACEOF
73602if ac_fn_cxx_try_compile "$LINENO"; then :
73603  glibcxx_cv_func_float_trig_use=yes
73604else
73605  glibcxx_cv_func_float_trig_use=no
73606fi
73607rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73608    ac_ext=c
73609ac_cpp='$CPP $CPPFLAGS'
73610ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73611ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73612ac_compiler_gnu=$ac_cv_c_compiler_gnu
73613
73614fi
73615
73616  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73617$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73618  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73619    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73620do :
73621  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73622ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73623eval as_val=\$$as_ac_var
73624   if test "x$as_val" = x""yes; then :
73625  cat >>confdefs.h <<_ACEOF
73626#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73627_ACEOF
73628
73629fi
73630done
73631
73632  else
73633    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73634$as_echo_n "checking for _float trig functions... " >&6; }
73635    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73636  $as_echo_n "(cached) " >&6
73637else
73638
73639
73640      ac_ext=cpp
73641ac_cpp='$CXXCPP $CPPFLAGS'
73642ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73643ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73644ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73645
73646      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73647/* end confdefs.h.  */
73648#include <math.h>
73649int
73650main ()
73651{
73652_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73653  ;
73654  return 0;
73655}
73656_ACEOF
73657if ac_fn_cxx_try_compile "$LINENO"; then :
73658  glibcxx_cv_func__float_trig_use=yes
73659else
73660  glibcxx_cv_func__float_trig_use=no
73661fi
73662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73663      ac_ext=c
73664ac_cpp='$CPP $CPPFLAGS'
73665ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73666ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73667ac_compiler_gnu=$ac_cv_c_compiler_gnu
73668
73669fi
73670
73671    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73672$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73673    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73674      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73675do :
73676  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73677ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73678eval as_val=\$$as_ac_var
73679   if test "x$as_val" = x""yes; then :
73680  cat >>confdefs.h <<_ACEOF
73681#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73682_ACEOF
73683
73684fi
73685done
73686
73687    fi
73688  fi
73689
73690
73691
73692
73693
73694    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73695$as_echo_n "checking for float round functions... " >&6; }
73696  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73697  $as_echo_n "(cached) " >&6
73698else
73699
73700
73701    ac_ext=cpp
73702ac_cpp='$CXXCPP $CPPFLAGS'
73703ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73704ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73705ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73706
73707    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73708/* end confdefs.h.  */
73709#include <math.h>
73710int
73711main ()
73712{
73713ceilf (0); floorf (0);
73714  ;
73715  return 0;
73716}
73717_ACEOF
73718if ac_fn_cxx_try_compile "$LINENO"; then :
73719  glibcxx_cv_func_float_round_use=yes
73720else
73721  glibcxx_cv_func_float_round_use=no
73722fi
73723rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73724    ac_ext=c
73725ac_cpp='$CPP $CPPFLAGS'
73726ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73727ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73728ac_compiler_gnu=$ac_cv_c_compiler_gnu
73729
73730fi
73731
73732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73733$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73734  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73735    for ac_func in ceilf floorf
73736do :
73737  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73738ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73739eval as_val=\$$as_ac_var
73740   if test "x$as_val" = x""yes; then :
73741  cat >>confdefs.h <<_ACEOF
73742#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73743_ACEOF
73744
73745fi
73746done
73747
73748  else
73749    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73750$as_echo_n "checking for _float round functions... " >&6; }
73751    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73752  $as_echo_n "(cached) " >&6
73753else
73754
73755
73756      ac_ext=cpp
73757ac_cpp='$CXXCPP $CPPFLAGS'
73758ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73759ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73760ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73761
73762      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73763/* end confdefs.h.  */
73764#include <math.h>
73765int
73766main ()
73767{
73768_ceilf (0); _floorf (0);
73769  ;
73770  return 0;
73771}
73772_ACEOF
73773if ac_fn_cxx_try_compile "$LINENO"; then :
73774  glibcxx_cv_func__float_round_use=yes
73775else
73776  glibcxx_cv_func__float_round_use=no
73777fi
73778rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73779      ac_ext=c
73780ac_cpp='$CPP $CPPFLAGS'
73781ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73782ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73783ac_compiler_gnu=$ac_cv_c_compiler_gnu
73784
73785fi
73786
73787    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73788$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73789    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73790      for ac_func in _ceilf _floorf
73791do :
73792  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73793ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73794eval as_val=\$$as_ac_var
73795   if test "x$as_val" = x""yes; then :
73796  cat >>confdefs.h <<_ACEOF
73797#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73798_ACEOF
73799
73800fi
73801done
73802
73803    fi
73804  fi
73805
73806
73807
73808
73809
73810
73811  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73812$as_echo_n "checking for expf declaration... " >&6; }
73813  if test x${glibcxx_cv_func_expf_use+set} != xset; then
73814    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73815  $as_echo_n "(cached) " >&6
73816else
73817
73818
73819      ac_ext=cpp
73820ac_cpp='$CXXCPP $CPPFLAGS'
73821ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73822ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73823ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73824
73825      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73826/* end confdefs.h.  */
73827#include <math.h>
73828		      #ifdef HAVE_IEEEFP_H
73829		      #include <ieeefp.h>
73830		      #endif
73831
73832int
73833main ()
73834{
73835 expf(0);
73836  ;
73837  return 0;
73838}
73839_ACEOF
73840if ac_fn_cxx_try_compile "$LINENO"; then :
73841  glibcxx_cv_func_expf_use=yes
73842else
73843  glibcxx_cv_func_expf_use=no
73844fi
73845rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73846      ac_ext=c
73847ac_cpp='$CPP $CPPFLAGS'
73848ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73849ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73850ac_compiler_gnu=$ac_cv_c_compiler_gnu
73851
73852
73853fi
73854
73855  fi
73856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73857$as_echo "$glibcxx_cv_func_expf_use" >&6; }
73858
73859  if test x$glibcxx_cv_func_expf_use = x"yes"; then
73860    for ac_func in expf
73861do :
73862  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73863if test "x$ac_cv_func_expf" = x""yes; then :
73864  cat >>confdefs.h <<_ACEOF
73865#define HAVE_EXPF 1
73866_ACEOF
73867
73868fi
73869done
73870
73871  else
73872
73873  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73874$as_echo_n "checking for _expf declaration... " >&6; }
73875  if test x${glibcxx_cv_func__expf_use+set} != xset; then
73876    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73877  $as_echo_n "(cached) " >&6
73878else
73879
73880
73881      ac_ext=cpp
73882ac_cpp='$CXXCPP $CPPFLAGS'
73883ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73884ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73885ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73886
73887      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73888/* end confdefs.h.  */
73889#include <math.h>
73890		      #ifdef HAVE_IEEEFP_H
73891		      #include <ieeefp.h>
73892		      #endif
73893
73894int
73895main ()
73896{
73897 _expf(0);
73898  ;
73899  return 0;
73900}
73901_ACEOF
73902if ac_fn_cxx_try_compile "$LINENO"; then :
73903  glibcxx_cv_func__expf_use=yes
73904else
73905  glibcxx_cv_func__expf_use=no
73906fi
73907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73908      ac_ext=c
73909ac_cpp='$CPP $CPPFLAGS'
73910ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73911ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73912ac_compiler_gnu=$ac_cv_c_compiler_gnu
73913
73914
73915fi
73916
73917  fi
73918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73919$as_echo "$glibcxx_cv_func__expf_use" >&6; }
73920
73921    if test x$glibcxx_cv_func__expf_use = x"yes"; then
73922      for ac_func in _expf
73923do :
73924  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73925if test "x$ac_cv_func__expf" = x""yes; then :
73926  cat >>confdefs.h <<_ACEOF
73927#define HAVE__EXPF 1
73928_ACEOF
73929
73930fi
73931done
73932
73933    fi
73934  fi
73935
73936
73937
73938
73939
73940  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73941$as_echo_n "checking for isnanf declaration... " >&6; }
73942  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73943    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73944  $as_echo_n "(cached) " >&6
73945else
73946
73947
73948      ac_ext=cpp
73949ac_cpp='$CXXCPP $CPPFLAGS'
73950ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73951ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73952ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73953
73954      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73955/* end confdefs.h.  */
73956#include <math.h>
73957		      #ifdef HAVE_IEEEFP_H
73958		      #include <ieeefp.h>
73959		      #endif
73960
73961int
73962main ()
73963{
73964 isnanf(0);
73965  ;
73966  return 0;
73967}
73968_ACEOF
73969if ac_fn_cxx_try_compile "$LINENO"; then :
73970  glibcxx_cv_func_isnanf_use=yes
73971else
73972  glibcxx_cv_func_isnanf_use=no
73973fi
73974rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73975      ac_ext=c
73976ac_cpp='$CPP $CPPFLAGS'
73977ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73978ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73979ac_compiler_gnu=$ac_cv_c_compiler_gnu
73980
73981
73982fi
73983
73984  fi
73985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73986$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73987
73988  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73989    for ac_func in isnanf
73990do :
73991  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73992if test "x$ac_cv_func_isnanf" = x""yes; then :
73993  cat >>confdefs.h <<_ACEOF
73994#define HAVE_ISNANF 1
73995_ACEOF
73996
73997fi
73998done
73999
74000  else
74001
74002  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
74003$as_echo_n "checking for _isnanf declaration... " >&6; }
74004  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
74005    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
74006  $as_echo_n "(cached) " >&6
74007else
74008
74009
74010      ac_ext=cpp
74011ac_cpp='$CXXCPP $CPPFLAGS'
74012ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74013ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74014ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74015
74016      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74017/* end confdefs.h.  */
74018#include <math.h>
74019		      #ifdef HAVE_IEEEFP_H
74020		      #include <ieeefp.h>
74021		      #endif
74022
74023int
74024main ()
74025{
74026 _isnanf(0);
74027  ;
74028  return 0;
74029}
74030_ACEOF
74031if ac_fn_cxx_try_compile "$LINENO"; then :
74032  glibcxx_cv_func__isnanf_use=yes
74033else
74034  glibcxx_cv_func__isnanf_use=no
74035fi
74036rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74037      ac_ext=c
74038ac_cpp='$CPP $CPPFLAGS'
74039ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74040ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74041ac_compiler_gnu=$ac_cv_c_compiler_gnu
74042
74043
74044fi
74045
74046  fi
74047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
74048$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
74049
74050    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
74051      for ac_func in _isnanf
74052do :
74053  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
74054if test "x$ac_cv_func__isnanf" = x""yes; then :
74055  cat >>confdefs.h <<_ACEOF
74056#define HAVE__ISNANF 1
74057_ACEOF
74058
74059fi
74060done
74061
74062    fi
74063  fi
74064
74065
74066
74067
74068
74069  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
74070$as_echo_n "checking for isinff declaration... " >&6; }
74071  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
74072    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
74073  $as_echo_n "(cached) " >&6
74074else
74075
74076
74077      ac_ext=cpp
74078ac_cpp='$CXXCPP $CPPFLAGS'
74079ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74080ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74081ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74082
74083      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74084/* end confdefs.h.  */
74085#include <math.h>
74086		      #ifdef HAVE_IEEEFP_H
74087		      #include <ieeefp.h>
74088		      #endif
74089
74090int
74091main ()
74092{
74093 isinff(0);
74094  ;
74095  return 0;
74096}
74097_ACEOF
74098if ac_fn_cxx_try_compile "$LINENO"; then :
74099  glibcxx_cv_func_isinff_use=yes
74100else
74101  glibcxx_cv_func_isinff_use=no
74102fi
74103rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74104      ac_ext=c
74105ac_cpp='$CPP $CPPFLAGS'
74106ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74107ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74108ac_compiler_gnu=$ac_cv_c_compiler_gnu
74109
74110
74111fi
74112
74113  fi
74114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
74115$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
74116
74117  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
74118    for ac_func in isinff
74119do :
74120  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
74121if test "x$ac_cv_func_isinff" = x""yes; then :
74122  cat >>confdefs.h <<_ACEOF
74123#define HAVE_ISINFF 1
74124_ACEOF
74125
74126fi
74127done
74128
74129  else
74130
74131  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
74132$as_echo_n "checking for _isinff declaration... " >&6; }
74133  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
74134    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
74135  $as_echo_n "(cached) " >&6
74136else
74137
74138
74139      ac_ext=cpp
74140ac_cpp='$CXXCPP $CPPFLAGS'
74141ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74142ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74143ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74144
74145      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74146/* end confdefs.h.  */
74147#include <math.h>
74148		      #ifdef HAVE_IEEEFP_H
74149		      #include <ieeefp.h>
74150		      #endif
74151
74152int
74153main ()
74154{
74155 _isinff(0);
74156  ;
74157  return 0;
74158}
74159_ACEOF
74160if ac_fn_cxx_try_compile "$LINENO"; then :
74161  glibcxx_cv_func__isinff_use=yes
74162else
74163  glibcxx_cv_func__isinff_use=no
74164fi
74165rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74166      ac_ext=c
74167ac_cpp='$CPP $CPPFLAGS'
74168ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74169ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74170ac_compiler_gnu=$ac_cv_c_compiler_gnu
74171
74172
74173fi
74174
74175  fi
74176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74177$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74178
74179    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74180      for ac_func in _isinff
74181do :
74182  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74183if test "x$ac_cv_func__isinff" = x""yes; then :
74184  cat >>confdefs.h <<_ACEOF
74185#define HAVE__ISINFF 1
74186_ACEOF
74187
74188fi
74189done
74190
74191    fi
74192  fi
74193
74194
74195
74196
74197
74198  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74199$as_echo_n "checking for atan2f declaration... " >&6; }
74200  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74201    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
74202  $as_echo_n "(cached) " >&6
74203else
74204
74205
74206      ac_ext=cpp
74207ac_cpp='$CXXCPP $CPPFLAGS'
74208ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74209ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74210ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74211
74212      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74213/* end confdefs.h.  */
74214#include <math.h>
74215int
74216main ()
74217{
74218 atan2f(0, 0);
74219  ;
74220  return 0;
74221}
74222_ACEOF
74223if ac_fn_cxx_try_compile "$LINENO"; then :
74224  glibcxx_cv_func_atan2f_use=yes
74225else
74226  glibcxx_cv_func_atan2f_use=no
74227fi
74228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74229      ac_ext=c
74230ac_cpp='$CPP $CPPFLAGS'
74231ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74232ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74233ac_compiler_gnu=$ac_cv_c_compiler_gnu
74234
74235
74236fi
74237
74238  fi
74239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74240$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74241
74242  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74243    for ac_func in atan2f
74244do :
74245  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74246if test "x$ac_cv_func_atan2f" = x""yes; then :
74247  cat >>confdefs.h <<_ACEOF
74248#define HAVE_ATAN2F 1
74249_ACEOF
74250
74251fi
74252done
74253
74254  else
74255
74256  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74257$as_echo_n "checking for _atan2f declaration... " >&6; }
74258  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74259    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74260  $as_echo_n "(cached) " >&6
74261else
74262
74263
74264      ac_ext=cpp
74265ac_cpp='$CXXCPP $CPPFLAGS'
74266ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74267ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74268ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74269
74270      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74271/* end confdefs.h.  */
74272#include <math.h>
74273int
74274main ()
74275{
74276 _atan2f(0, 0);
74277  ;
74278  return 0;
74279}
74280_ACEOF
74281if ac_fn_cxx_try_compile "$LINENO"; then :
74282  glibcxx_cv_func__atan2f_use=yes
74283else
74284  glibcxx_cv_func__atan2f_use=no
74285fi
74286rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74287      ac_ext=c
74288ac_cpp='$CPP $CPPFLAGS'
74289ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74290ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74291ac_compiler_gnu=$ac_cv_c_compiler_gnu
74292
74293
74294fi
74295
74296  fi
74297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74298$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74299
74300    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74301      for ac_func in _atan2f
74302do :
74303  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74304if test "x$ac_cv_func__atan2f" = x""yes; then :
74305  cat >>confdefs.h <<_ACEOF
74306#define HAVE__ATAN2F 1
74307_ACEOF
74308
74309fi
74310done
74311
74312    fi
74313  fi
74314
74315
74316
74317
74318
74319  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74320$as_echo_n "checking for fabsf declaration... " >&6; }
74321  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74322    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74323  $as_echo_n "(cached) " >&6
74324else
74325
74326
74327      ac_ext=cpp
74328ac_cpp='$CXXCPP $CPPFLAGS'
74329ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74330ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74331ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74332
74333      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74334/* end confdefs.h.  */
74335#include <math.h>
74336		      #ifdef HAVE_IEEEFP_H
74337		      #include <ieeefp.h>
74338		      #endif
74339
74340int
74341main ()
74342{
74343 fabsf(0);
74344  ;
74345  return 0;
74346}
74347_ACEOF
74348if ac_fn_cxx_try_compile "$LINENO"; then :
74349  glibcxx_cv_func_fabsf_use=yes
74350else
74351  glibcxx_cv_func_fabsf_use=no
74352fi
74353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74354      ac_ext=c
74355ac_cpp='$CPP $CPPFLAGS'
74356ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74357ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74358ac_compiler_gnu=$ac_cv_c_compiler_gnu
74359
74360
74361fi
74362
74363  fi
74364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74365$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74366
74367  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74368    for ac_func in fabsf
74369do :
74370  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74371if test "x$ac_cv_func_fabsf" = x""yes; then :
74372  cat >>confdefs.h <<_ACEOF
74373#define HAVE_FABSF 1
74374_ACEOF
74375
74376fi
74377done
74378
74379  else
74380
74381  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74382$as_echo_n "checking for _fabsf declaration... " >&6; }
74383  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74384    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74385  $as_echo_n "(cached) " >&6
74386else
74387
74388
74389      ac_ext=cpp
74390ac_cpp='$CXXCPP $CPPFLAGS'
74391ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74392ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74393ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74394
74395      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74396/* end confdefs.h.  */
74397#include <math.h>
74398		      #ifdef HAVE_IEEEFP_H
74399		      #include <ieeefp.h>
74400		      #endif
74401
74402int
74403main ()
74404{
74405 _fabsf(0);
74406  ;
74407  return 0;
74408}
74409_ACEOF
74410if ac_fn_cxx_try_compile "$LINENO"; then :
74411  glibcxx_cv_func__fabsf_use=yes
74412else
74413  glibcxx_cv_func__fabsf_use=no
74414fi
74415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74416      ac_ext=c
74417ac_cpp='$CPP $CPPFLAGS'
74418ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74419ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74420ac_compiler_gnu=$ac_cv_c_compiler_gnu
74421
74422
74423fi
74424
74425  fi
74426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74427$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74428
74429    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74430      for ac_func in _fabsf
74431do :
74432  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74433if test "x$ac_cv_func__fabsf" = x""yes; then :
74434  cat >>confdefs.h <<_ACEOF
74435#define HAVE__FABSF 1
74436_ACEOF
74437
74438fi
74439done
74440
74441    fi
74442  fi
74443
74444
74445
74446
74447
74448  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74449$as_echo_n "checking for fmodf declaration... " >&6; }
74450  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74451    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74452  $as_echo_n "(cached) " >&6
74453else
74454
74455
74456      ac_ext=cpp
74457ac_cpp='$CXXCPP $CPPFLAGS'
74458ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74459ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74460ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74461
74462      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74463/* end confdefs.h.  */
74464#include <math.h>
74465int
74466main ()
74467{
74468 fmodf(0, 0);
74469  ;
74470  return 0;
74471}
74472_ACEOF
74473if ac_fn_cxx_try_compile "$LINENO"; then :
74474  glibcxx_cv_func_fmodf_use=yes
74475else
74476  glibcxx_cv_func_fmodf_use=no
74477fi
74478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74479      ac_ext=c
74480ac_cpp='$CPP $CPPFLAGS'
74481ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74482ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74483ac_compiler_gnu=$ac_cv_c_compiler_gnu
74484
74485
74486fi
74487
74488  fi
74489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74490$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74491
74492  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74493    for ac_func in fmodf
74494do :
74495  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74496if test "x$ac_cv_func_fmodf" = x""yes; then :
74497  cat >>confdefs.h <<_ACEOF
74498#define HAVE_FMODF 1
74499_ACEOF
74500
74501fi
74502done
74503
74504  else
74505
74506  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74507$as_echo_n "checking for _fmodf declaration... " >&6; }
74508  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74509    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74510  $as_echo_n "(cached) " >&6
74511else
74512
74513
74514      ac_ext=cpp
74515ac_cpp='$CXXCPP $CPPFLAGS'
74516ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74517ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74518ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74519
74520      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74521/* end confdefs.h.  */
74522#include <math.h>
74523int
74524main ()
74525{
74526 _fmodf(0, 0);
74527  ;
74528  return 0;
74529}
74530_ACEOF
74531if ac_fn_cxx_try_compile "$LINENO"; then :
74532  glibcxx_cv_func__fmodf_use=yes
74533else
74534  glibcxx_cv_func__fmodf_use=no
74535fi
74536rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74537      ac_ext=c
74538ac_cpp='$CPP $CPPFLAGS'
74539ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74540ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74541ac_compiler_gnu=$ac_cv_c_compiler_gnu
74542
74543
74544fi
74545
74546  fi
74547  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74548$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74549
74550    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74551      for ac_func in _fmodf
74552do :
74553  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74554if test "x$ac_cv_func__fmodf" = x""yes; then :
74555  cat >>confdefs.h <<_ACEOF
74556#define HAVE__FMODF 1
74557_ACEOF
74558
74559fi
74560done
74561
74562    fi
74563  fi
74564
74565
74566
74567
74568
74569  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74570$as_echo_n "checking for frexpf declaration... " >&6; }
74571  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74572    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74573  $as_echo_n "(cached) " >&6
74574else
74575
74576
74577      ac_ext=cpp
74578ac_cpp='$CXXCPP $CPPFLAGS'
74579ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74580ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74581ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74582
74583      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74584/* end confdefs.h.  */
74585#include <math.h>
74586int
74587main ()
74588{
74589 frexpf(0, 0);
74590  ;
74591  return 0;
74592}
74593_ACEOF
74594if ac_fn_cxx_try_compile "$LINENO"; then :
74595  glibcxx_cv_func_frexpf_use=yes
74596else
74597  glibcxx_cv_func_frexpf_use=no
74598fi
74599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74600      ac_ext=c
74601ac_cpp='$CPP $CPPFLAGS'
74602ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74603ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74604ac_compiler_gnu=$ac_cv_c_compiler_gnu
74605
74606
74607fi
74608
74609  fi
74610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74611$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74612
74613  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74614    for ac_func in frexpf
74615do :
74616  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74617if test "x$ac_cv_func_frexpf" = x""yes; then :
74618  cat >>confdefs.h <<_ACEOF
74619#define HAVE_FREXPF 1
74620_ACEOF
74621
74622fi
74623done
74624
74625  else
74626
74627  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74628$as_echo_n "checking for _frexpf declaration... " >&6; }
74629  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74630    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74631  $as_echo_n "(cached) " >&6
74632else
74633
74634
74635      ac_ext=cpp
74636ac_cpp='$CXXCPP $CPPFLAGS'
74637ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74638ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74639ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74640
74641      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74642/* end confdefs.h.  */
74643#include <math.h>
74644int
74645main ()
74646{
74647 _frexpf(0, 0);
74648  ;
74649  return 0;
74650}
74651_ACEOF
74652if ac_fn_cxx_try_compile "$LINENO"; then :
74653  glibcxx_cv_func__frexpf_use=yes
74654else
74655  glibcxx_cv_func__frexpf_use=no
74656fi
74657rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74658      ac_ext=c
74659ac_cpp='$CPP $CPPFLAGS'
74660ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74661ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74662ac_compiler_gnu=$ac_cv_c_compiler_gnu
74663
74664
74665fi
74666
74667  fi
74668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74669$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74670
74671    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74672      for ac_func in _frexpf
74673do :
74674  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74675if test "x$ac_cv_func__frexpf" = x""yes; then :
74676  cat >>confdefs.h <<_ACEOF
74677#define HAVE__FREXPF 1
74678_ACEOF
74679
74680fi
74681done
74682
74683    fi
74684  fi
74685
74686
74687
74688
74689
74690  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74691$as_echo_n "checking for hypotf declaration... " >&6; }
74692  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74693    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74694  $as_echo_n "(cached) " >&6
74695else
74696
74697
74698      ac_ext=cpp
74699ac_cpp='$CXXCPP $CPPFLAGS'
74700ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74701ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74702ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74703
74704      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74705/* end confdefs.h.  */
74706#include <math.h>
74707int
74708main ()
74709{
74710 hypotf(0, 0);
74711  ;
74712  return 0;
74713}
74714_ACEOF
74715if ac_fn_cxx_try_compile "$LINENO"; then :
74716  glibcxx_cv_func_hypotf_use=yes
74717else
74718  glibcxx_cv_func_hypotf_use=no
74719fi
74720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74721      ac_ext=c
74722ac_cpp='$CPP $CPPFLAGS'
74723ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74724ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74725ac_compiler_gnu=$ac_cv_c_compiler_gnu
74726
74727
74728fi
74729
74730  fi
74731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74732$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74733
74734  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74735    for ac_func in hypotf
74736do :
74737  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74738if test "x$ac_cv_func_hypotf" = x""yes; then :
74739  cat >>confdefs.h <<_ACEOF
74740#define HAVE_HYPOTF 1
74741_ACEOF
74742
74743fi
74744done
74745
74746  else
74747
74748  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74749$as_echo_n "checking for _hypotf declaration... " >&6; }
74750  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74751    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74752  $as_echo_n "(cached) " >&6
74753else
74754
74755
74756      ac_ext=cpp
74757ac_cpp='$CXXCPP $CPPFLAGS'
74758ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74759ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74760ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74761
74762      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74763/* end confdefs.h.  */
74764#include <math.h>
74765int
74766main ()
74767{
74768 _hypotf(0, 0);
74769  ;
74770  return 0;
74771}
74772_ACEOF
74773if ac_fn_cxx_try_compile "$LINENO"; then :
74774  glibcxx_cv_func__hypotf_use=yes
74775else
74776  glibcxx_cv_func__hypotf_use=no
74777fi
74778rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74779      ac_ext=c
74780ac_cpp='$CPP $CPPFLAGS'
74781ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74782ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74783ac_compiler_gnu=$ac_cv_c_compiler_gnu
74784
74785
74786fi
74787
74788  fi
74789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74790$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74791
74792    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74793      for ac_func in _hypotf
74794do :
74795  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74796if test "x$ac_cv_func__hypotf" = x""yes; then :
74797  cat >>confdefs.h <<_ACEOF
74798#define HAVE__HYPOTF 1
74799_ACEOF
74800
74801fi
74802done
74803
74804    fi
74805  fi
74806
74807
74808
74809
74810
74811  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74812$as_echo_n "checking for ldexpf declaration... " >&6; }
74813  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74814    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74815  $as_echo_n "(cached) " >&6
74816else
74817
74818
74819      ac_ext=cpp
74820ac_cpp='$CXXCPP $CPPFLAGS'
74821ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74822ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74823ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74824
74825      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74826/* end confdefs.h.  */
74827#include <math.h>
74828int
74829main ()
74830{
74831 ldexpf(0, 0);
74832  ;
74833  return 0;
74834}
74835_ACEOF
74836if ac_fn_cxx_try_compile "$LINENO"; then :
74837  glibcxx_cv_func_ldexpf_use=yes
74838else
74839  glibcxx_cv_func_ldexpf_use=no
74840fi
74841rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74842      ac_ext=c
74843ac_cpp='$CPP $CPPFLAGS'
74844ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74845ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74846ac_compiler_gnu=$ac_cv_c_compiler_gnu
74847
74848
74849fi
74850
74851  fi
74852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74853$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74854
74855  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74856    for ac_func in ldexpf
74857do :
74858  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74859if test "x$ac_cv_func_ldexpf" = x""yes; then :
74860  cat >>confdefs.h <<_ACEOF
74861#define HAVE_LDEXPF 1
74862_ACEOF
74863
74864fi
74865done
74866
74867  else
74868
74869  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74870$as_echo_n "checking for _ldexpf declaration... " >&6; }
74871  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74872    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74873  $as_echo_n "(cached) " >&6
74874else
74875
74876
74877      ac_ext=cpp
74878ac_cpp='$CXXCPP $CPPFLAGS'
74879ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74880ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74881ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74882
74883      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74884/* end confdefs.h.  */
74885#include <math.h>
74886int
74887main ()
74888{
74889 _ldexpf(0, 0);
74890  ;
74891  return 0;
74892}
74893_ACEOF
74894if ac_fn_cxx_try_compile "$LINENO"; then :
74895  glibcxx_cv_func__ldexpf_use=yes
74896else
74897  glibcxx_cv_func__ldexpf_use=no
74898fi
74899rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74900      ac_ext=c
74901ac_cpp='$CPP $CPPFLAGS'
74902ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74903ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74904ac_compiler_gnu=$ac_cv_c_compiler_gnu
74905
74906
74907fi
74908
74909  fi
74910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74911$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74912
74913    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74914      for ac_func in _ldexpf
74915do :
74916  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74917if test "x$ac_cv_func__ldexpf" = x""yes; then :
74918  cat >>confdefs.h <<_ACEOF
74919#define HAVE__LDEXPF 1
74920_ACEOF
74921
74922fi
74923done
74924
74925    fi
74926  fi
74927
74928
74929
74930
74931
74932  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74933$as_echo_n "checking for logf declaration... " >&6; }
74934  if test x${glibcxx_cv_func_logf_use+set} != xset; then
74935    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74936  $as_echo_n "(cached) " >&6
74937else
74938
74939
74940      ac_ext=cpp
74941ac_cpp='$CXXCPP $CPPFLAGS'
74942ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74943ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74944ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74945
74946      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74947/* end confdefs.h.  */
74948#include <math.h>
74949		      #ifdef HAVE_IEEEFP_H
74950		      #include <ieeefp.h>
74951		      #endif
74952
74953int
74954main ()
74955{
74956 logf(0);
74957  ;
74958  return 0;
74959}
74960_ACEOF
74961if ac_fn_cxx_try_compile "$LINENO"; then :
74962  glibcxx_cv_func_logf_use=yes
74963else
74964  glibcxx_cv_func_logf_use=no
74965fi
74966rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74967      ac_ext=c
74968ac_cpp='$CPP $CPPFLAGS'
74969ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74970ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74971ac_compiler_gnu=$ac_cv_c_compiler_gnu
74972
74973
74974fi
74975
74976  fi
74977  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74978$as_echo "$glibcxx_cv_func_logf_use" >&6; }
74979
74980  if test x$glibcxx_cv_func_logf_use = x"yes"; then
74981    for ac_func in logf
74982do :
74983  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74984if test "x$ac_cv_func_logf" = x""yes; then :
74985  cat >>confdefs.h <<_ACEOF
74986#define HAVE_LOGF 1
74987_ACEOF
74988
74989fi
74990done
74991
74992  else
74993
74994  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74995$as_echo_n "checking for _logf declaration... " >&6; }
74996  if test x${glibcxx_cv_func__logf_use+set} != xset; then
74997    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74998  $as_echo_n "(cached) " >&6
74999else
75000
75001
75002      ac_ext=cpp
75003ac_cpp='$CXXCPP $CPPFLAGS'
75004ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75005ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75006ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75007
75008      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75009/* end confdefs.h.  */
75010#include <math.h>
75011		      #ifdef HAVE_IEEEFP_H
75012		      #include <ieeefp.h>
75013		      #endif
75014
75015int
75016main ()
75017{
75018 _logf(0);
75019  ;
75020  return 0;
75021}
75022_ACEOF
75023if ac_fn_cxx_try_compile "$LINENO"; then :
75024  glibcxx_cv_func__logf_use=yes
75025else
75026  glibcxx_cv_func__logf_use=no
75027fi
75028rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75029      ac_ext=c
75030ac_cpp='$CPP $CPPFLAGS'
75031ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75032ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75033ac_compiler_gnu=$ac_cv_c_compiler_gnu
75034
75035
75036fi
75037
75038  fi
75039  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
75040$as_echo "$glibcxx_cv_func__logf_use" >&6; }
75041
75042    if test x$glibcxx_cv_func__logf_use = x"yes"; then
75043      for ac_func in _logf
75044do :
75045  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
75046if test "x$ac_cv_func__logf" = x""yes; then :
75047  cat >>confdefs.h <<_ACEOF
75048#define HAVE__LOGF 1
75049_ACEOF
75050
75051fi
75052done
75053
75054    fi
75055  fi
75056
75057
75058
75059
75060
75061  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
75062$as_echo_n "checking for log10f declaration... " >&6; }
75063  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
75064    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
75065  $as_echo_n "(cached) " >&6
75066else
75067
75068
75069      ac_ext=cpp
75070ac_cpp='$CXXCPP $CPPFLAGS'
75071ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75072ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75073ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75074
75075      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75076/* end confdefs.h.  */
75077#include <math.h>
75078		      #ifdef HAVE_IEEEFP_H
75079		      #include <ieeefp.h>
75080		      #endif
75081
75082int
75083main ()
75084{
75085 log10f(0);
75086  ;
75087  return 0;
75088}
75089_ACEOF
75090if ac_fn_cxx_try_compile "$LINENO"; then :
75091  glibcxx_cv_func_log10f_use=yes
75092else
75093  glibcxx_cv_func_log10f_use=no
75094fi
75095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75096      ac_ext=c
75097ac_cpp='$CPP $CPPFLAGS'
75098ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75099ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75100ac_compiler_gnu=$ac_cv_c_compiler_gnu
75101
75102
75103fi
75104
75105  fi
75106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
75107$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
75108
75109  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
75110    for ac_func in log10f
75111do :
75112  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
75113if test "x$ac_cv_func_log10f" = x""yes; then :
75114  cat >>confdefs.h <<_ACEOF
75115#define HAVE_LOG10F 1
75116_ACEOF
75117
75118fi
75119done
75120
75121  else
75122
75123  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
75124$as_echo_n "checking for _log10f declaration... " >&6; }
75125  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
75126    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
75127  $as_echo_n "(cached) " >&6
75128else
75129
75130
75131      ac_ext=cpp
75132ac_cpp='$CXXCPP $CPPFLAGS'
75133ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75134ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75135ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75136
75137      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75138/* end confdefs.h.  */
75139#include <math.h>
75140		      #ifdef HAVE_IEEEFP_H
75141		      #include <ieeefp.h>
75142		      #endif
75143
75144int
75145main ()
75146{
75147 _log10f(0);
75148  ;
75149  return 0;
75150}
75151_ACEOF
75152if ac_fn_cxx_try_compile "$LINENO"; then :
75153  glibcxx_cv_func__log10f_use=yes
75154else
75155  glibcxx_cv_func__log10f_use=no
75156fi
75157rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75158      ac_ext=c
75159ac_cpp='$CPP $CPPFLAGS'
75160ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75161ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75162ac_compiler_gnu=$ac_cv_c_compiler_gnu
75163
75164
75165fi
75166
75167  fi
75168  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75169$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75170
75171    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75172      for ac_func in _log10f
75173do :
75174  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75175if test "x$ac_cv_func__log10f" = x""yes; then :
75176  cat >>confdefs.h <<_ACEOF
75177#define HAVE__LOG10F 1
75178_ACEOF
75179
75180fi
75181done
75182
75183    fi
75184  fi
75185
75186
75187
75188
75189
75190  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75191$as_echo_n "checking for modff declaration... " >&6; }
75192  if test x${glibcxx_cv_func_modff_use+set} != xset; then
75193    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
75194  $as_echo_n "(cached) " >&6
75195else
75196
75197
75198      ac_ext=cpp
75199ac_cpp='$CXXCPP $CPPFLAGS'
75200ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75201ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75202ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75203
75204      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75205/* end confdefs.h.  */
75206#include <math.h>
75207int
75208main ()
75209{
75210 modff(0, 0);
75211  ;
75212  return 0;
75213}
75214_ACEOF
75215if ac_fn_cxx_try_compile "$LINENO"; then :
75216  glibcxx_cv_func_modff_use=yes
75217else
75218  glibcxx_cv_func_modff_use=no
75219fi
75220rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75221      ac_ext=c
75222ac_cpp='$CPP $CPPFLAGS'
75223ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75224ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75225ac_compiler_gnu=$ac_cv_c_compiler_gnu
75226
75227
75228fi
75229
75230  fi
75231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75232$as_echo "$glibcxx_cv_func_modff_use" >&6; }
75233
75234  if test x$glibcxx_cv_func_modff_use = x"yes"; then
75235    for ac_func in modff
75236do :
75237  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75238if test "x$ac_cv_func_modff" = x""yes; then :
75239  cat >>confdefs.h <<_ACEOF
75240#define HAVE_MODFF 1
75241_ACEOF
75242
75243fi
75244done
75245
75246  else
75247
75248  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75249$as_echo_n "checking for _modff declaration... " >&6; }
75250  if test x${glibcxx_cv_func__modff_use+set} != xset; then
75251    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75252  $as_echo_n "(cached) " >&6
75253else
75254
75255
75256      ac_ext=cpp
75257ac_cpp='$CXXCPP $CPPFLAGS'
75258ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75259ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75260ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75261
75262      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75263/* end confdefs.h.  */
75264#include <math.h>
75265int
75266main ()
75267{
75268 _modff(0, 0);
75269  ;
75270  return 0;
75271}
75272_ACEOF
75273if ac_fn_cxx_try_compile "$LINENO"; then :
75274  glibcxx_cv_func__modff_use=yes
75275else
75276  glibcxx_cv_func__modff_use=no
75277fi
75278rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75279      ac_ext=c
75280ac_cpp='$CPP $CPPFLAGS'
75281ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75282ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75283ac_compiler_gnu=$ac_cv_c_compiler_gnu
75284
75285
75286fi
75287
75288  fi
75289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75290$as_echo "$glibcxx_cv_func__modff_use" >&6; }
75291
75292    if test x$glibcxx_cv_func__modff_use = x"yes"; then
75293      for ac_func in _modff
75294do :
75295  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75296if test "x$ac_cv_func__modff" = x""yes; then :
75297  cat >>confdefs.h <<_ACEOF
75298#define HAVE__MODFF 1
75299_ACEOF
75300
75301fi
75302done
75303
75304    fi
75305  fi
75306
75307
75308
75309
75310
75311  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75312$as_echo_n "checking for modf declaration... " >&6; }
75313  if test x${glibcxx_cv_func_modf_use+set} != xset; then
75314    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75315  $as_echo_n "(cached) " >&6
75316else
75317
75318
75319      ac_ext=cpp
75320ac_cpp='$CXXCPP $CPPFLAGS'
75321ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75322ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75323ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75324
75325      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75326/* end confdefs.h.  */
75327#include <math.h>
75328int
75329main ()
75330{
75331 modf(0, 0);
75332  ;
75333  return 0;
75334}
75335_ACEOF
75336if ac_fn_cxx_try_compile "$LINENO"; then :
75337  glibcxx_cv_func_modf_use=yes
75338else
75339  glibcxx_cv_func_modf_use=no
75340fi
75341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75342      ac_ext=c
75343ac_cpp='$CPP $CPPFLAGS'
75344ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75345ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75346ac_compiler_gnu=$ac_cv_c_compiler_gnu
75347
75348
75349fi
75350
75351  fi
75352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75353$as_echo "$glibcxx_cv_func_modf_use" >&6; }
75354
75355  if test x$glibcxx_cv_func_modf_use = x"yes"; then
75356    for ac_func in modf
75357do :
75358  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75359if test "x$ac_cv_func_modf" = x""yes; then :
75360  cat >>confdefs.h <<_ACEOF
75361#define HAVE_MODF 1
75362_ACEOF
75363
75364fi
75365done
75366
75367  else
75368
75369  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75370$as_echo_n "checking for _modf declaration... " >&6; }
75371  if test x${glibcxx_cv_func__modf_use+set} != xset; then
75372    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75373  $as_echo_n "(cached) " >&6
75374else
75375
75376
75377      ac_ext=cpp
75378ac_cpp='$CXXCPP $CPPFLAGS'
75379ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75380ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75381ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75382
75383      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75384/* end confdefs.h.  */
75385#include <math.h>
75386int
75387main ()
75388{
75389 _modf(0, 0);
75390  ;
75391  return 0;
75392}
75393_ACEOF
75394if ac_fn_cxx_try_compile "$LINENO"; then :
75395  glibcxx_cv_func__modf_use=yes
75396else
75397  glibcxx_cv_func__modf_use=no
75398fi
75399rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75400      ac_ext=c
75401ac_cpp='$CPP $CPPFLAGS'
75402ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75403ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75404ac_compiler_gnu=$ac_cv_c_compiler_gnu
75405
75406
75407fi
75408
75409  fi
75410  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75411$as_echo "$glibcxx_cv_func__modf_use" >&6; }
75412
75413    if test x$glibcxx_cv_func__modf_use = x"yes"; then
75414      for ac_func in _modf
75415do :
75416  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75417if test "x$ac_cv_func__modf" = x""yes; then :
75418  cat >>confdefs.h <<_ACEOF
75419#define HAVE__MODF 1
75420_ACEOF
75421
75422fi
75423done
75424
75425    fi
75426  fi
75427
75428
75429
75430
75431
75432  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75433$as_echo_n "checking for powf declaration... " >&6; }
75434  if test x${glibcxx_cv_func_powf_use+set} != xset; then
75435    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75436  $as_echo_n "(cached) " >&6
75437else
75438
75439
75440      ac_ext=cpp
75441ac_cpp='$CXXCPP $CPPFLAGS'
75442ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75443ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75444ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75445
75446      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75447/* end confdefs.h.  */
75448#include <math.h>
75449int
75450main ()
75451{
75452 powf(0, 0);
75453  ;
75454  return 0;
75455}
75456_ACEOF
75457if ac_fn_cxx_try_compile "$LINENO"; then :
75458  glibcxx_cv_func_powf_use=yes
75459else
75460  glibcxx_cv_func_powf_use=no
75461fi
75462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75463      ac_ext=c
75464ac_cpp='$CPP $CPPFLAGS'
75465ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75466ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75467ac_compiler_gnu=$ac_cv_c_compiler_gnu
75468
75469
75470fi
75471
75472  fi
75473  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75474$as_echo "$glibcxx_cv_func_powf_use" >&6; }
75475
75476  if test x$glibcxx_cv_func_powf_use = x"yes"; then
75477    for ac_func in powf
75478do :
75479  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75480if test "x$ac_cv_func_powf" = x""yes; then :
75481  cat >>confdefs.h <<_ACEOF
75482#define HAVE_POWF 1
75483_ACEOF
75484
75485fi
75486done
75487
75488  else
75489
75490  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75491$as_echo_n "checking for _powf declaration... " >&6; }
75492  if test x${glibcxx_cv_func__powf_use+set} != xset; then
75493    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75494  $as_echo_n "(cached) " >&6
75495else
75496
75497
75498      ac_ext=cpp
75499ac_cpp='$CXXCPP $CPPFLAGS'
75500ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75501ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75502ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75503
75504      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75505/* end confdefs.h.  */
75506#include <math.h>
75507int
75508main ()
75509{
75510 _powf(0, 0);
75511  ;
75512  return 0;
75513}
75514_ACEOF
75515if ac_fn_cxx_try_compile "$LINENO"; then :
75516  glibcxx_cv_func__powf_use=yes
75517else
75518  glibcxx_cv_func__powf_use=no
75519fi
75520rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75521      ac_ext=c
75522ac_cpp='$CPP $CPPFLAGS'
75523ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75524ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75525ac_compiler_gnu=$ac_cv_c_compiler_gnu
75526
75527
75528fi
75529
75530  fi
75531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75532$as_echo "$glibcxx_cv_func__powf_use" >&6; }
75533
75534    if test x$glibcxx_cv_func__powf_use = x"yes"; then
75535      for ac_func in _powf
75536do :
75537  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75538if test "x$ac_cv_func__powf" = x""yes; then :
75539  cat >>confdefs.h <<_ACEOF
75540#define HAVE__POWF 1
75541_ACEOF
75542
75543fi
75544done
75545
75546    fi
75547  fi
75548
75549
75550
75551
75552
75553  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75554$as_echo_n "checking for sqrtf declaration... " >&6; }
75555  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75556    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75557  $as_echo_n "(cached) " >&6
75558else
75559
75560
75561      ac_ext=cpp
75562ac_cpp='$CXXCPP $CPPFLAGS'
75563ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75564ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75565ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75566
75567      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75568/* end confdefs.h.  */
75569#include <math.h>
75570		      #ifdef HAVE_IEEEFP_H
75571		      #include <ieeefp.h>
75572		      #endif
75573
75574int
75575main ()
75576{
75577 sqrtf(0);
75578  ;
75579  return 0;
75580}
75581_ACEOF
75582if ac_fn_cxx_try_compile "$LINENO"; then :
75583  glibcxx_cv_func_sqrtf_use=yes
75584else
75585  glibcxx_cv_func_sqrtf_use=no
75586fi
75587rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75588      ac_ext=c
75589ac_cpp='$CPP $CPPFLAGS'
75590ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75591ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75592ac_compiler_gnu=$ac_cv_c_compiler_gnu
75593
75594
75595fi
75596
75597  fi
75598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75599$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75600
75601  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75602    for ac_func in sqrtf
75603do :
75604  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75605if test "x$ac_cv_func_sqrtf" = x""yes; then :
75606  cat >>confdefs.h <<_ACEOF
75607#define HAVE_SQRTF 1
75608_ACEOF
75609
75610fi
75611done
75612
75613  else
75614
75615  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75616$as_echo_n "checking for _sqrtf declaration... " >&6; }
75617  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75618    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75619  $as_echo_n "(cached) " >&6
75620else
75621
75622
75623      ac_ext=cpp
75624ac_cpp='$CXXCPP $CPPFLAGS'
75625ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75626ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75627ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75628
75629      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75630/* end confdefs.h.  */
75631#include <math.h>
75632		      #ifdef HAVE_IEEEFP_H
75633		      #include <ieeefp.h>
75634		      #endif
75635
75636int
75637main ()
75638{
75639 _sqrtf(0);
75640  ;
75641  return 0;
75642}
75643_ACEOF
75644if ac_fn_cxx_try_compile "$LINENO"; then :
75645  glibcxx_cv_func__sqrtf_use=yes
75646else
75647  glibcxx_cv_func__sqrtf_use=no
75648fi
75649rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75650      ac_ext=c
75651ac_cpp='$CPP $CPPFLAGS'
75652ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75653ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75654ac_compiler_gnu=$ac_cv_c_compiler_gnu
75655
75656
75657fi
75658
75659  fi
75660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75661$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75662
75663    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75664      for ac_func in _sqrtf
75665do :
75666  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75667if test "x$ac_cv_func__sqrtf" = x""yes; then :
75668  cat >>confdefs.h <<_ACEOF
75669#define HAVE__SQRTF 1
75670_ACEOF
75671
75672fi
75673done
75674
75675    fi
75676  fi
75677
75678
75679
75680
75681
75682  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75683$as_echo_n "checking for sincosf declaration... " >&6; }
75684  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75685    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75686  $as_echo_n "(cached) " >&6
75687else
75688
75689
75690      ac_ext=cpp
75691ac_cpp='$CXXCPP $CPPFLAGS'
75692ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75693ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75694ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75695
75696      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75697/* end confdefs.h.  */
75698#include <math.h>
75699int
75700main ()
75701{
75702 sincosf(0, 0, 0);
75703  ;
75704  return 0;
75705}
75706_ACEOF
75707if ac_fn_cxx_try_compile "$LINENO"; then :
75708  glibcxx_cv_func_sincosf_use=yes
75709else
75710  glibcxx_cv_func_sincosf_use=no
75711fi
75712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75713      ac_ext=c
75714ac_cpp='$CPP $CPPFLAGS'
75715ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75716ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75717ac_compiler_gnu=$ac_cv_c_compiler_gnu
75718
75719
75720fi
75721
75722  fi
75723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75724$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75725
75726  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75727    for ac_func in sincosf
75728do :
75729  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75730if test "x$ac_cv_func_sincosf" = x""yes; then :
75731  cat >>confdefs.h <<_ACEOF
75732#define HAVE_SINCOSF 1
75733_ACEOF
75734
75735fi
75736done
75737
75738  else
75739
75740  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75741$as_echo_n "checking for _sincosf declaration... " >&6; }
75742  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75743    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75744  $as_echo_n "(cached) " >&6
75745else
75746
75747
75748      ac_ext=cpp
75749ac_cpp='$CXXCPP $CPPFLAGS'
75750ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75751ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75752ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75753
75754      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75755/* end confdefs.h.  */
75756#include <math.h>
75757int
75758main ()
75759{
75760 _sincosf(0, 0, 0);
75761  ;
75762  return 0;
75763}
75764_ACEOF
75765if ac_fn_cxx_try_compile "$LINENO"; then :
75766  glibcxx_cv_func__sincosf_use=yes
75767else
75768  glibcxx_cv_func__sincosf_use=no
75769fi
75770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75771      ac_ext=c
75772ac_cpp='$CPP $CPPFLAGS'
75773ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75774ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75775ac_compiler_gnu=$ac_cv_c_compiler_gnu
75776
75777
75778fi
75779
75780  fi
75781  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75782$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75783
75784    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75785      for ac_func in _sincosf
75786do :
75787  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75788if test "x$ac_cv_func__sincosf" = x""yes; then :
75789  cat >>confdefs.h <<_ACEOF
75790#define HAVE__SINCOSF 1
75791_ACEOF
75792
75793fi
75794done
75795
75796    fi
75797  fi
75798
75799
75800
75801
75802
75803  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75804$as_echo_n "checking for finitef declaration... " >&6; }
75805  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75806    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75807  $as_echo_n "(cached) " >&6
75808else
75809
75810
75811      ac_ext=cpp
75812ac_cpp='$CXXCPP $CPPFLAGS'
75813ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75814ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75815ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75816
75817      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75818/* end confdefs.h.  */
75819#include <math.h>
75820		      #ifdef HAVE_IEEEFP_H
75821		      #include <ieeefp.h>
75822		      #endif
75823
75824int
75825main ()
75826{
75827 finitef(0);
75828  ;
75829  return 0;
75830}
75831_ACEOF
75832if ac_fn_cxx_try_compile "$LINENO"; then :
75833  glibcxx_cv_func_finitef_use=yes
75834else
75835  glibcxx_cv_func_finitef_use=no
75836fi
75837rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75838      ac_ext=c
75839ac_cpp='$CPP $CPPFLAGS'
75840ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75841ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75842ac_compiler_gnu=$ac_cv_c_compiler_gnu
75843
75844
75845fi
75846
75847  fi
75848  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75849$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75850
75851  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75852    for ac_func in finitef
75853do :
75854  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75855if test "x$ac_cv_func_finitef" = x""yes; then :
75856  cat >>confdefs.h <<_ACEOF
75857#define HAVE_FINITEF 1
75858_ACEOF
75859
75860fi
75861done
75862
75863  else
75864
75865  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75866$as_echo_n "checking for _finitef declaration... " >&6; }
75867  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75868    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75869  $as_echo_n "(cached) " >&6
75870else
75871
75872
75873      ac_ext=cpp
75874ac_cpp='$CXXCPP $CPPFLAGS'
75875ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75876ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75877ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75878
75879      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75880/* end confdefs.h.  */
75881#include <math.h>
75882		      #ifdef HAVE_IEEEFP_H
75883		      #include <ieeefp.h>
75884		      #endif
75885
75886int
75887main ()
75888{
75889 _finitef(0);
75890  ;
75891  return 0;
75892}
75893_ACEOF
75894if ac_fn_cxx_try_compile "$LINENO"; then :
75895  glibcxx_cv_func__finitef_use=yes
75896else
75897  glibcxx_cv_func__finitef_use=no
75898fi
75899rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75900      ac_ext=c
75901ac_cpp='$CPP $CPPFLAGS'
75902ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75903ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75904ac_compiler_gnu=$ac_cv_c_compiler_gnu
75905
75906
75907fi
75908
75909  fi
75910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75911$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75912
75913    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75914      for ac_func in _finitef
75915do :
75916  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75917if test "x$ac_cv_func__finitef" = x""yes; then :
75918  cat >>confdefs.h <<_ACEOF
75919#define HAVE__FINITEF 1
75920_ACEOF
75921
75922fi
75923done
75924
75925    fi
75926  fi
75927
75928
75929
75930
75931
75932    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75933$as_echo_n "checking for long double trig functions... " >&6; }
75934  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75935  $as_echo_n "(cached) " >&6
75936else
75937
75938
75939    ac_ext=cpp
75940ac_cpp='$CXXCPP $CPPFLAGS'
75941ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75942ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75943ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75944
75945    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75946/* end confdefs.h.  */
75947#include <math.h>
75948int
75949main ()
75950{
75951acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75952  ;
75953  return 0;
75954}
75955_ACEOF
75956if ac_fn_cxx_try_compile "$LINENO"; then :
75957  glibcxx_cv_func_long_double_trig_use=yes
75958else
75959  glibcxx_cv_func_long_double_trig_use=no
75960fi
75961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75962    ac_ext=c
75963ac_cpp='$CPP $CPPFLAGS'
75964ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75965ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75966ac_compiler_gnu=$ac_cv_c_compiler_gnu
75967
75968fi
75969
75970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75971$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75972  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75973    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75974do :
75975  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75976ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75977eval as_val=\$$as_ac_var
75978   if test "x$as_val" = x""yes; then :
75979  cat >>confdefs.h <<_ACEOF
75980#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75981_ACEOF
75982
75983fi
75984done
75985
75986  else
75987    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75988$as_echo_n "checking for _long double trig functions... " >&6; }
75989    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75990  $as_echo_n "(cached) " >&6
75991else
75992
75993
75994      ac_ext=cpp
75995ac_cpp='$CXXCPP $CPPFLAGS'
75996ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75997ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75998ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75999
76000      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76001/* end confdefs.h.  */
76002#include <math.h>
76003int
76004main ()
76005{
76006_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
76007  ;
76008  return 0;
76009}
76010_ACEOF
76011if ac_fn_cxx_try_compile "$LINENO"; then :
76012  glibcxx_cv_func__long_double_trig_use=yes
76013else
76014  glibcxx_cv_func__long_double_trig_use=no
76015fi
76016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76017      ac_ext=c
76018ac_cpp='$CPP $CPPFLAGS'
76019ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76020ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76021ac_compiler_gnu=$ac_cv_c_compiler_gnu
76022
76023fi
76024
76025    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
76026$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
76027    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
76028      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
76029do :
76030  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76031ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76032eval as_val=\$$as_ac_var
76033   if test "x$as_val" = x""yes; then :
76034  cat >>confdefs.h <<_ACEOF
76035#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76036_ACEOF
76037
76038fi
76039done
76040
76041    fi
76042  fi
76043
76044
76045
76046
76047
76048    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
76049$as_echo_n "checking for long double round functions... " >&6; }
76050  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
76051  $as_echo_n "(cached) " >&6
76052else
76053
76054
76055    ac_ext=cpp
76056ac_cpp='$CXXCPP $CPPFLAGS'
76057ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76058ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76059ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76060
76061    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76062/* end confdefs.h.  */
76063#include <math.h>
76064int
76065main ()
76066{
76067ceill (0); floorl (0);
76068  ;
76069  return 0;
76070}
76071_ACEOF
76072if ac_fn_cxx_try_compile "$LINENO"; then :
76073  glibcxx_cv_func_long_double_round_use=yes
76074else
76075  glibcxx_cv_func_long_double_round_use=no
76076fi
76077rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76078    ac_ext=c
76079ac_cpp='$CPP $CPPFLAGS'
76080ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76081ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76082ac_compiler_gnu=$ac_cv_c_compiler_gnu
76083
76084fi
76085
76086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
76087$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
76088  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
76089    for ac_func in ceill floorl
76090do :
76091  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76092ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76093eval as_val=\$$as_ac_var
76094   if test "x$as_val" = x""yes; then :
76095  cat >>confdefs.h <<_ACEOF
76096#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76097_ACEOF
76098
76099fi
76100done
76101
76102  else
76103    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
76104$as_echo_n "checking for _long double round functions... " >&6; }
76105    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
76106  $as_echo_n "(cached) " >&6
76107else
76108
76109
76110      ac_ext=cpp
76111ac_cpp='$CXXCPP $CPPFLAGS'
76112ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76113ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76114ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76115
76116      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76117/* end confdefs.h.  */
76118#include <math.h>
76119int
76120main ()
76121{
76122_ceill (0); _floorl (0);
76123  ;
76124  return 0;
76125}
76126_ACEOF
76127if ac_fn_cxx_try_compile "$LINENO"; then :
76128  glibcxx_cv_func__long_double_round_use=yes
76129else
76130  glibcxx_cv_func__long_double_round_use=no
76131fi
76132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76133      ac_ext=c
76134ac_cpp='$CPP $CPPFLAGS'
76135ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76136ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76137ac_compiler_gnu=$ac_cv_c_compiler_gnu
76138
76139fi
76140
76141    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
76142$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
76143    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
76144      for ac_func in _ceill _floorl
76145do :
76146  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76147ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76148eval as_val=\$$as_ac_var
76149   if test "x$as_val" = x""yes; then :
76150  cat >>confdefs.h <<_ACEOF
76151#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76152_ACEOF
76153
76154fi
76155done
76156
76157    fi
76158  fi
76159
76160
76161
76162
76163
76164
76165  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76166$as_echo_n "checking for isnanl declaration... " >&6; }
76167  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76168    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
76169  $as_echo_n "(cached) " >&6
76170else
76171
76172
76173      ac_ext=cpp
76174ac_cpp='$CXXCPP $CPPFLAGS'
76175ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76176ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76177ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76178
76179      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76180/* end confdefs.h.  */
76181#include <math.h>
76182		      #ifdef HAVE_IEEEFP_H
76183		      #include <ieeefp.h>
76184		      #endif
76185
76186int
76187main ()
76188{
76189 isnanl(0);
76190  ;
76191  return 0;
76192}
76193_ACEOF
76194if ac_fn_cxx_try_compile "$LINENO"; then :
76195  glibcxx_cv_func_isnanl_use=yes
76196else
76197  glibcxx_cv_func_isnanl_use=no
76198fi
76199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76200      ac_ext=c
76201ac_cpp='$CPP $CPPFLAGS'
76202ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76203ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76204ac_compiler_gnu=$ac_cv_c_compiler_gnu
76205
76206
76207fi
76208
76209  fi
76210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76211$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76212
76213  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76214    for ac_func in isnanl
76215do :
76216  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76217if test "x$ac_cv_func_isnanl" = x""yes; then :
76218  cat >>confdefs.h <<_ACEOF
76219#define HAVE_ISNANL 1
76220_ACEOF
76221
76222fi
76223done
76224
76225  else
76226
76227  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76228$as_echo_n "checking for _isnanl declaration... " >&6; }
76229  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76230    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
76231  $as_echo_n "(cached) " >&6
76232else
76233
76234
76235      ac_ext=cpp
76236ac_cpp='$CXXCPP $CPPFLAGS'
76237ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76238ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76239ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76240
76241      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76242/* end confdefs.h.  */
76243#include <math.h>
76244		      #ifdef HAVE_IEEEFP_H
76245		      #include <ieeefp.h>
76246		      #endif
76247
76248int
76249main ()
76250{
76251 _isnanl(0);
76252  ;
76253  return 0;
76254}
76255_ACEOF
76256if ac_fn_cxx_try_compile "$LINENO"; then :
76257  glibcxx_cv_func__isnanl_use=yes
76258else
76259  glibcxx_cv_func__isnanl_use=no
76260fi
76261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76262      ac_ext=c
76263ac_cpp='$CPP $CPPFLAGS'
76264ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76265ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76266ac_compiler_gnu=$ac_cv_c_compiler_gnu
76267
76268
76269fi
76270
76271  fi
76272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76273$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76274
76275    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76276      for ac_func in _isnanl
76277do :
76278  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76279if test "x$ac_cv_func__isnanl" = x""yes; then :
76280  cat >>confdefs.h <<_ACEOF
76281#define HAVE__ISNANL 1
76282_ACEOF
76283
76284fi
76285done
76286
76287    fi
76288  fi
76289
76290
76291
76292
76293
76294  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76295$as_echo_n "checking for isinfl declaration... " >&6; }
76296  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76297    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76298  $as_echo_n "(cached) " >&6
76299else
76300
76301
76302      ac_ext=cpp
76303ac_cpp='$CXXCPP $CPPFLAGS'
76304ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76305ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76306ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76307
76308      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76309/* end confdefs.h.  */
76310#include <math.h>
76311		      #ifdef HAVE_IEEEFP_H
76312		      #include <ieeefp.h>
76313		      #endif
76314
76315int
76316main ()
76317{
76318 isinfl(0);
76319  ;
76320  return 0;
76321}
76322_ACEOF
76323if ac_fn_cxx_try_compile "$LINENO"; then :
76324  glibcxx_cv_func_isinfl_use=yes
76325else
76326  glibcxx_cv_func_isinfl_use=no
76327fi
76328rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76329      ac_ext=c
76330ac_cpp='$CPP $CPPFLAGS'
76331ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76332ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76333ac_compiler_gnu=$ac_cv_c_compiler_gnu
76334
76335
76336fi
76337
76338  fi
76339  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76340$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76341
76342  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76343    for ac_func in isinfl
76344do :
76345  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76346if test "x$ac_cv_func_isinfl" = x""yes; then :
76347  cat >>confdefs.h <<_ACEOF
76348#define HAVE_ISINFL 1
76349_ACEOF
76350
76351fi
76352done
76353
76354  else
76355
76356  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76357$as_echo_n "checking for _isinfl declaration... " >&6; }
76358  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76359    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76360  $as_echo_n "(cached) " >&6
76361else
76362
76363
76364      ac_ext=cpp
76365ac_cpp='$CXXCPP $CPPFLAGS'
76366ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76367ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76368ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76369
76370      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76371/* end confdefs.h.  */
76372#include <math.h>
76373		      #ifdef HAVE_IEEEFP_H
76374		      #include <ieeefp.h>
76375		      #endif
76376
76377int
76378main ()
76379{
76380 _isinfl(0);
76381  ;
76382  return 0;
76383}
76384_ACEOF
76385if ac_fn_cxx_try_compile "$LINENO"; then :
76386  glibcxx_cv_func__isinfl_use=yes
76387else
76388  glibcxx_cv_func__isinfl_use=no
76389fi
76390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76391      ac_ext=c
76392ac_cpp='$CPP $CPPFLAGS'
76393ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76394ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76395ac_compiler_gnu=$ac_cv_c_compiler_gnu
76396
76397
76398fi
76399
76400  fi
76401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76402$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76403
76404    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76405      for ac_func in _isinfl
76406do :
76407  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76408if test "x$ac_cv_func__isinfl" = x""yes; then :
76409  cat >>confdefs.h <<_ACEOF
76410#define HAVE__ISINFL 1
76411_ACEOF
76412
76413fi
76414done
76415
76416    fi
76417  fi
76418
76419
76420
76421
76422
76423  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76424$as_echo_n "checking for atan2l declaration... " >&6; }
76425  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76426    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76427  $as_echo_n "(cached) " >&6
76428else
76429
76430
76431      ac_ext=cpp
76432ac_cpp='$CXXCPP $CPPFLAGS'
76433ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76434ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76435ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76436
76437      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76438/* end confdefs.h.  */
76439#include <math.h>
76440int
76441main ()
76442{
76443 atan2l(0, 0);
76444  ;
76445  return 0;
76446}
76447_ACEOF
76448if ac_fn_cxx_try_compile "$LINENO"; then :
76449  glibcxx_cv_func_atan2l_use=yes
76450else
76451  glibcxx_cv_func_atan2l_use=no
76452fi
76453rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76454      ac_ext=c
76455ac_cpp='$CPP $CPPFLAGS'
76456ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76457ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76458ac_compiler_gnu=$ac_cv_c_compiler_gnu
76459
76460
76461fi
76462
76463  fi
76464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76465$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76466
76467  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76468    for ac_func in atan2l
76469do :
76470  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76471if test "x$ac_cv_func_atan2l" = x""yes; then :
76472  cat >>confdefs.h <<_ACEOF
76473#define HAVE_ATAN2L 1
76474_ACEOF
76475
76476fi
76477done
76478
76479  else
76480
76481  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76482$as_echo_n "checking for _atan2l declaration... " >&6; }
76483  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76484    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76485  $as_echo_n "(cached) " >&6
76486else
76487
76488
76489      ac_ext=cpp
76490ac_cpp='$CXXCPP $CPPFLAGS'
76491ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76492ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76493ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76494
76495      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76496/* end confdefs.h.  */
76497#include <math.h>
76498int
76499main ()
76500{
76501 _atan2l(0, 0);
76502  ;
76503  return 0;
76504}
76505_ACEOF
76506if ac_fn_cxx_try_compile "$LINENO"; then :
76507  glibcxx_cv_func__atan2l_use=yes
76508else
76509  glibcxx_cv_func__atan2l_use=no
76510fi
76511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76512      ac_ext=c
76513ac_cpp='$CPP $CPPFLAGS'
76514ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76515ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76516ac_compiler_gnu=$ac_cv_c_compiler_gnu
76517
76518
76519fi
76520
76521  fi
76522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76523$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76524
76525    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76526      for ac_func in _atan2l
76527do :
76528  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76529if test "x$ac_cv_func__atan2l" = x""yes; then :
76530  cat >>confdefs.h <<_ACEOF
76531#define HAVE__ATAN2L 1
76532_ACEOF
76533
76534fi
76535done
76536
76537    fi
76538  fi
76539
76540
76541
76542
76543
76544  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76545$as_echo_n "checking for expl declaration... " >&6; }
76546  if test x${glibcxx_cv_func_expl_use+set} != xset; then
76547    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76548  $as_echo_n "(cached) " >&6
76549else
76550
76551
76552      ac_ext=cpp
76553ac_cpp='$CXXCPP $CPPFLAGS'
76554ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76555ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76556ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76557
76558      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76559/* end confdefs.h.  */
76560#include <math.h>
76561		      #ifdef HAVE_IEEEFP_H
76562		      #include <ieeefp.h>
76563		      #endif
76564
76565int
76566main ()
76567{
76568 expl(0);
76569  ;
76570  return 0;
76571}
76572_ACEOF
76573if ac_fn_cxx_try_compile "$LINENO"; then :
76574  glibcxx_cv_func_expl_use=yes
76575else
76576  glibcxx_cv_func_expl_use=no
76577fi
76578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76579      ac_ext=c
76580ac_cpp='$CPP $CPPFLAGS'
76581ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76582ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76583ac_compiler_gnu=$ac_cv_c_compiler_gnu
76584
76585
76586fi
76587
76588  fi
76589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76590$as_echo "$glibcxx_cv_func_expl_use" >&6; }
76591
76592  if test x$glibcxx_cv_func_expl_use = x"yes"; then
76593    for ac_func in expl
76594do :
76595  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76596if test "x$ac_cv_func_expl" = x""yes; then :
76597  cat >>confdefs.h <<_ACEOF
76598#define HAVE_EXPL 1
76599_ACEOF
76600
76601fi
76602done
76603
76604  else
76605
76606  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76607$as_echo_n "checking for _expl declaration... " >&6; }
76608  if test x${glibcxx_cv_func__expl_use+set} != xset; then
76609    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76610  $as_echo_n "(cached) " >&6
76611else
76612
76613
76614      ac_ext=cpp
76615ac_cpp='$CXXCPP $CPPFLAGS'
76616ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76617ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76618ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76619
76620      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76621/* end confdefs.h.  */
76622#include <math.h>
76623		      #ifdef HAVE_IEEEFP_H
76624		      #include <ieeefp.h>
76625		      #endif
76626
76627int
76628main ()
76629{
76630 _expl(0);
76631  ;
76632  return 0;
76633}
76634_ACEOF
76635if ac_fn_cxx_try_compile "$LINENO"; then :
76636  glibcxx_cv_func__expl_use=yes
76637else
76638  glibcxx_cv_func__expl_use=no
76639fi
76640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76641      ac_ext=c
76642ac_cpp='$CPP $CPPFLAGS'
76643ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76644ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76645ac_compiler_gnu=$ac_cv_c_compiler_gnu
76646
76647
76648fi
76649
76650  fi
76651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76652$as_echo "$glibcxx_cv_func__expl_use" >&6; }
76653
76654    if test x$glibcxx_cv_func__expl_use = x"yes"; then
76655      for ac_func in _expl
76656do :
76657  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76658if test "x$ac_cv_func__expl" = x""yes; then :
76659  cat >>confdefs.h <<_ACEOF
76660#define HAVE__EXPL 1
76661_ACEOF
76662
76663fi
76664done
76665
76666    fi
76667  fi
76668
76669
76670
76671
76672
76673  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76674$as_echo_n "checking for fabsl declaration... " >&6; }
76675  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76676    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76677  $as_echo_n "(cached) " >&6
76678else
76679
76680
76681      ac_ext=cpp
76682ac_cpp='$CXXCPP $CPPFLAGS'
76683ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76684ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76685ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76686
76687      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76688/* end confdefs.h.  */
76689#include <math.h>
76690		      #ifdef HAVE_IEEEFP_H
76691		      #include <ieeefp.h>
76692		      #endif
76693
76694int
76695main ()
76696{
76697 fabsl(0);
76698  ;
76699  return 0;
76700}
76701_ACEOF
76702if ac_fn_cxx_try_compile "$LINENO"; then :
76703  glibcxx_cv_func_fabsl_use=yes
76704else
76705  glibcxx_cv_func_fabsl_use=no
76706fi
76707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76708      ac_ext=c
76709ac_cpp='$CPP $CPPFLAGS'
76710ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76711ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76712ac_compiler_gnu=$ac_cv_c_compiler_gnu
76713
76714
76715fi
76716
76717  fi
76718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76719$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76720
76721  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76722    for ac_func in fabsl
76723do :
76724  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76725if test "x$ac_cv_func_fabsl" = x""yes; then :
76726  cat >>confdefs.h <<_ACEOF
76727#define HAVE_FABSL 1
76728_ACEOF
76729
76730fi
76731done
76732
76733  else
76734
76735  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76736$as_echo_n "checking for _fabsl declaration... " >&6; }
76737  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76738    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76739  $as_echo_n "(cached) " >&6
76740else
76741
76742
76743      ac_ext=cpp
76744ac_cpp='$CXXCPP $CPPFLAGS'
76745ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76746ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76747ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76748
76749      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76750/* end confdefs.h.  */
76751#include <math.h>
76752		      #ifdef HAVE_IEEEFP_H
76753		      #include <ieeefp.h>
76754		      #endif
76755
76756int
76757main ()
76758{
76759 _fabsl(0);
76760  ;
76761  return 0;
76762}
76763_ACEOF
76764if ac_fn_cxx_try_compile "$LINENO"; then :
76765  glibcxx_cv_func__fabsl_use=yes
76766else
76767  glibcxx_cv_func__fabsl_use=no
76768fi
76769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76770      ac_ext=c
76771ac_cpp='$CPP $CPPFLAGS'
76772ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76773ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76774ac_compiler_gnu=$ac_cv_c_compiler_gnu
76775
76776
76777fi
76778
76779  fi
76780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76781$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76782
76783    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76784      for ac_func in _fabsl
76785do :
76786  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76787if test "x$ac_cv_func__fabsl" = x""yes; then :
76788  cat >>confdefs.h <<_ACEOF
76789#define HAVE__FABSL 1
76790_ACEOF
76791
76792fi
76793done
76794
76795    fi
76796  fi
76797
76798
76799
76800
76801
76802  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76803$as_echo_n "checking for fmodl declaration... " >&6; }
76804  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76805    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76806  $as_echo_n "(cached) " >&6
76807else
76808
76809
76810      ac_ext=cpp
76811ac_cpp='$CXXCPP $CPPFLAGS'
76812ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76813ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76814ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76815
76816      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76817/* end confdefs.h.  */
76818#include <math.h>
76819int
76820main ()
76821{
76822 fmodl(0, 0);
76823  ;
76824  return 0;
76825}
76826_ACEOF
76827if ac_fn_cxx_try_compile "$LINENO"; then :
76828  glibcxx_cv_func_fmodl_use=yes
76829else
76830  glibcxx_cv_func_fmodl_use=no
76831fi
76832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76833      ac_ext=c
76834ac_cpp='$CPP $CPPFLAGS'
76835ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76836ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76837ac_compiler_gnu=$ac_cv_c_compiler_gnu
76838
76839
76840fi
76841
76842  fi
76843  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76844$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76845
76846  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76847    for ac_func in fmodl
76848do :
76849  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76850if test "x$ac_cv_func_fmodl" = x""yes; then :
76851  cat >>confdefs.h <<_ACEOF
76852#define HAVE_FMODL 1
76853_ACEOF
76854
76855fi
76856done
76857
76858  else
76859
76860  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76861$as_echo_n "checking for _fmodl declaration... " >&6; }
76862  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76863    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76864  $as_echo_n "(cached) " >&6
76865else
76866
76867
76868      ac_ext=cpp
76869ac_cpp='$CXXCPP $CPPFLAGS'
76870ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76871ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76872ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76873
76874      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76875/* end confdefs.h.  */
76876#include <math.h>
76877int
76878main ()
76879{
76880 _fmodl(0, 0);
76881  ;
76882  return 0;
76883}
76884_ACEOF
76885if ac_fn_cxx_try_compile "$LINENO"; then :
76886  glibcxx_cv_func__fmodl_use=yes
76887else
76888  glibcxx_cv_func__fmodl_use=no
76889fi
76890rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76891      ac_ext=c
76892ac_cpp='$CPP $CPPFLAGS'
76893ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76894ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76895ac_compiler_gnu=$ac_cv_c_compiler_gnu
76896
76897
76898fi
76899
76900  fi
76901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76902$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76903
76904    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76905      for ac_func in _fmodl
76906do :
76907  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76908if test "x$ac_cv_func__fmodl" = x""yes; then :
76909  cat >>confdefs.h <<_ACEOF
76910#define HAVE__FMODL 1
76911_ACEOF
76912
76913fi
76914done
76915
76916    fi
76917  fi
76918
76919
76920
76921
76922
76923  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76924$as_echo_n "checking for frexpl declaration... " >&6; }
76925  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76926    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76927  $as_echo_n "(cached) " >&6
76928else
76929
76930
76931      ac_ext=cpp
76932ac_cpp='$CXXCPP $CPPFLAGS'
76933ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76934ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76935ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76936
76937      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76938/* end confdefs.h.  */
76939#include <math.h>
76940int
76941main ()
76942{
76943 frexpl(0, 0);
76944  ;
76945  return 0;
76946}
76947_ACEOF
76948if ac_fn_cxx_try_compile "$LINENO"; then :
76949  glibcxx_cv_func_frexpl_use=yes
76950else
76951  glibcxx_cv_func_frexpl_use=no
76952fi
76953rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76954      ac_ext=c
76955ac_cpp='$CPP $CPPFLAGS'
76956ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76957ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76958ac_compiler_gnu=$ac_cv_c_compiler_gnu
76959
76960
76961fi
76962
76963  fi
76964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76965$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76966
76967  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76968    for ac_func in frexpl
76969do :
76970  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76971if test "x$ac_cv_func_frexpl" = x""yes; then :
76972  cat >>confdefs.h <<_ACEOF
76973#define HAVE_FREXPL 1
76974_ACEOF
76975
76976fi
76977done
76978
76979  else
76980
76981  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76982$as_echo_n "checking for _frexpl declaration... " >&6; }
76983  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76984    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76985  $as_echo_n "(cached) " >&6
76986else
76987
76988
76989      ac_ext=cpp
76990ac_cpp='$CXXCPP $CPPFLAGS'
76991ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76992ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76993ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76994
76995      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76996/* end confdefs.h.  */
76997#include <math.h>
76998int
76999main ()
77000{
77001 _frexpl(0, 0);
77002  ;
77003  return 0;
77004}
77005_ACEOF
77006if ac_fn_cxx_try_compile "$LINENO"; then :
77007  glibcxx_cv_func__frexpl_use=yes
77008else
77009  glibcxx_cv_func__frexpl_use=no
77010fi
77011rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77012      ac_ext=c
77013ac_cpp='$CPP $CPPFLAGS'
77014ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77015ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77016ac_compiler_gnu=$ac_cv_c_compiler_gnu
77017
77018
77019fi
77020
77021  fi
77022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
77023$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
77024
77025    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
77026      for ac_func in _frexpl
77027do :
77028  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
77029if test "x$ac_cv_func__frexpl" = x""yes; then :
77030  cat >>confdefs.h <<_ACEOF
77031#define HAVE__FREXPL 1
77032_ACEOF
77033
77034fi
77035done
77036
77037    fi
77038  fi
77039
77040
77041
77042
77043
77044  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
77045$as_echo_n "checking for hypotl declaration... " >&6; }
77046  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
77047    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
77048  $as_echo_n "(cached) " >&6
77049else
77050
77051
77052      ac_ext=cpp
77053ac_cpp='$CXXCPP $CPPFLAGS'
77054ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77055ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77056ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77057
77058      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77059/* end confdefs.h.  */
77060#include <math.h>
77061int
77062main ()
77063{
77064 hypotl(0, 0);
77065  ;
77066  return 0;
77067}
77068_ACEOF
77069if ac_fn_cxx_try_compile "$LINENO"; then :
77070  glibcxx_cv_func_hypotl_use=yes
77071else
77072  glibcxx_cv_func_hypotl_use=no
77073fi
77074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77075      ac_ext=c
77076ac_cpp='$CPP $CPPFLAGS'
77077ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77078ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77079ac_compiler_gnu=$ac_cv_c_compiler_gnu
77080
77081
77082fi
77083
77084  fi
77085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
77086$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
77087
77088  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
77089    for ac_func in hypotl
77090do :
77091  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
77092if test "x$ac_cv_func_hypotl" = x""yes; then :
77093  cat >>confdefs.h <<_ACEOF
77094#define HAVE_HYPOTL 1
77095_ACEOF
77096
77097fi
77098done
77099
77100  else
77101
77102  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
77103$as_echo_n "checking for _hypotl declaration... " >&6; }
77104  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
77105    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
77106  $as_echo_n "(cached) " >&6
77107else
77108
77109
77110      ac_ext=cpp
77111ac_cpp='$CXXCPP $CPPFLAGS'
77112ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77113ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77114ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77115
77116      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77117/* end confdefs.h.  */
77118#include <math.h>
77119int
77120main ()
77121{
77122 _hypotl(0, 0);
77123  ;
77124  return 0;
77125}
77126_ACEOF
77127if ac_fn_cxx_try_compile "$LINENO"; then :
77128  glibcxx_cv_func__hypotl_use=yes
77129else
77130  glibcxx_cv_func__hypotl_use=no
77131fi
77132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77133      ac_ext=c
77134ac_cpp='$CPP $CPPFLAGS'
77135ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77136ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77137ac_compiler_gnu=$ac_cv_c_compiler_gnu
77138
77139
77140fi
77141
77142  fi
77143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
77144$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
77145
77146    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
77147      for ac_func in _hypotl
77148do :
77149  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
77150if test "x$ac_cv_func__hypotl" = x""yes; then :
77151  cat >>confdefs.h <<_ACEOF
77152#define HAVE__HYPOTL 1
77153_ACEOF
77154
77155fi
77156done
77157
77158    fi
77159  fi
77160
77161
77162
77163
77164
77165  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77166$as_echo_n "checking for ldexpl declaration... " >&6; }
77167  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77168    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
77169  $as_echo_n "(cached) " >&6
77170else
77171
77172
77173      ac_ext=cpp
77174ac_cpp='$CXXCPP $CPPFLAGS'
77175ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77176ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77177ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77178
77179      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77180/* end confdefs.h.  */
77181#include <math.h>
77182int
77183main ()
77184{
77185 ldexpl(0, 0);
77186  ;
77187  return 0;
77188}
77189_ACEOF
77190if ac_fn_cxx_try_compile "$LINENO"; then :
77191  glibcxx_cv_func_ldexpl_use=yes
77192else
77193  glibcxx_cv_func_ldexpl_use=no
77194fi
77195rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77196      ac_ext=c
77197ac_cpp='$CPP $CPPFLAGS'
77198ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77199ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77200ac_compiler_gnu=$ac_cv_c_compiler_gnu
77201
77202
77203fi
77204
77205  fi
77206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77207$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77208
77209  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77210    for ac_func in ldexpl
77211do :
77212  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77213if test "x$ac_cv_func_ldexpl" = x""yes; then :
77214  cat >>confdefs.h <<_ACEOF
77215#define HAVE_LDEXPL 1
77216_ACEOF
77217
77218fi
77219done
77220
77221  else
77222
77223  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77224$as_echo_n "checking for _ldexpl declaration... " >&6; }
77225  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77226    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
77227  $as_echo_n "(cached) " >&6
77228else
77229
77230
77231      ac_ext=cpp
77232ac_cpp='$CXXCPP $CPPFLAGS'
77233ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77234ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77235ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77236
77237      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77238/* end confdefs.h.  */
77239#include <math.h>
77240int
77241main ()
77242{
77243 _ldexpl(0, 0);
77244  ;
77245  return 0;
77246}
77247_ACEOF
77248if ac_fn_cxx_try_compile "$LINENO"; then :
77249  glibcxx_cv_func__ldexpl_use=yes
77250else
77251  glibcxx_cv_func__ldexpl_use=no
77252fi
77253rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77254      ac_ext=c
77255ac_cpp='$CPP $CPPFLAGS'
77256ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77257ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77258ac_compiler_gnu=$ac_cv_c_compiler_gnu
77259
77260
77261fi
77262
77263  fi
77264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77265$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77266
77267    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77268      for ac_func in _ldexpl
77269do :
77270  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77271if test "x$ac_cv_func__ldexpl" = x""yes; then :
77272  cat >>confdefs.h <<_ACEOF
77273#define HAVE__LDEXPL 1
77274_ACEOF
77275
77276fi
77277done
77278
77279    fi
77280  fi
77281
77282
77283
77284
77285
77286  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77287$as_echo_n "checking for logl declaration... " >&6; }
77288  if test x${glibcxx_cv_func_logl_use+set} != xset; then
77289    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77290  $as_echo_n "(cached) " >&6
77291else
77292
77293
77294      ac_ext=cpp
77295ac_cpp='$CXXCPP $CPPFLAGS'
77296ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77297ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77298ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77299
77300      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77301/* end confdefs.h.  */
77302#include <math.h>
77303		      #ifdef HAVE_IEEEFP_H
77304		      #include <ieeefp.h>
77305		      #endif
77306
77307int
77308main ()
77309{
77310 logl(0);
77311  ;
77312  return 0;
77313}
77314_ACEOF
77315if ac_fn_cxx_try_compile "$LINENO"; then :
77316  glibcxx_cv_func_logl_use=yes
77317else
77318  glibcxx_cv_func_logl_use=no
77319fi
77320rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77321      ac_ext=c
77322ac_cpp='$CPP $CPPFLAGS'
77323ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77324ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77325ac_compiler_gnu=$ac_cv_c_compiler_gnu
77326
77327
77328fi
77329
77330  fi
77331  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77332$as_echo "$glibcxx_cv_func_logl_use" >&6; }
77333
77334  if test x$glibcxx_cv_func_logl_use = x"yes"; then
77335    for ac_func in logl
77336do :
77337  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77338if test "x$ac_cv_func_logl" = x""yes; then :
77339  cat >>confdefs.h <<_ACEOF
77340#define HAVE_LOGL 1
77341_ACEOF
77342
77343fi
77344done
77345
77346  else
77347
77348  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77349$as_echo_n "checking for _logl declaration... " >&6; }
77350  if test x${glibcxx_cv_func__logl_use+set} != xset; then
77351    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77352  $as_echo_n "(cached) " >&6
77353else
77354
77355
77356      ac_ext=cpp
77357ac_cpp='$CXXCPP $CPPFLAGS'
77358ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77359ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77360ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77361
77362      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77363/* end confdefs.h.  */
77364#include <math.h>
77365		      #ifdef HAVE_IEEEFP_H
77366		      #include <ieeefp.h>
77367		      #endif
77368
77369int
77370main ()
77371{
77372 _logl(0);
77373  ;
77374  return 0;
77375}
77376_ACEOF
77377if ac_fn_cxx_try_compile "$LINENO"; then :
77378  glibcxx_cv_func__logl_use=yes
77379else
77380  glibcxx_cv_func__logl_use=no
77381fi
77382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77383      ac_ext=c
77384ac_cpp='$CPP $CPPFLAGS'
77385ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77386ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77387ac_compiler_gnu=$ac_cv_c_compiler_gnu
77388
77389
77390fi
77391
77392  fi
77393  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77394$as_echo "$glibcxx_cv_func__logl_use" >&6; }
77395
77396    if test x$glibcxx_cv_func__logl_use = x"yes"; then
77397      for ac_func in _logl
77398do :
77399  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77400if test "x$ac_cv_func__logl" = x""yes; then :
77401  cat >>confdefs.h <<_ACEOF
77402#define HAVE__LOGL 1
77403_ACEOF
77404
77405fi
77406done
77407
77408    fi
77409  fi
77410
77411
77412
77413
77414
77415  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77416$as_echo_n "checking for log10l declaration... " >&6; }
77417  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77418    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77419  $as_echo_n "(cached) " >&6
77420else
77421
77422
77423      ac_ext=cpp
77424ac_cpp='$CXXCPP $CPPFLAGS'
77425ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77426ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77427ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77428
77429      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77430/* end confdefs.h.  */
77431#include <math.h>
77432		      #ifdef HAVE_IEEEFP_H
77433		      #include <ieeefp.h>
77434		      #endif
77435
77436int
77437main ()
77438{
77439 log10l(0);
77440  ;
77441  return 0;
77442}
77443_ACEOF
77444if ac_fn_cxx_try_compile "$LINENO"; then :
77445  glibcxx_cv_func_log10l_use=yes
77446else
77447  glibcxx_cv_func_log10l_use=no
77448fi
77449rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77450      ac_ext=c
77451ac_cpp='$CPP $CPPFLAGS'
77452ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77453ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77454ac_compiler_gnu=$ac_cv_c_compiler_gnu
77455
77456
77457fi
77458
77459  fi
77460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77461$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77462
77463  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77464    for ac_func in log10l
77465do :
77466  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77467if test "x$ac_cv_func_log10l" = x""yes; then :
77468  cat >>confdefs.h <<_ACEOF
77469#define HAVE_LOG10L 1
77470_ACEOF
77471
77472fi
77473done
77474
77475  else
77476
77477  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77478$as_echo_n "checking for _log10l declaration... " >&6; }
77479  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77480    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77481  $as_echo_n "(cached) " >&6
77482else
77483
77484
77485      ac_ext=cpp
77486ac_cpp='$CXXCPP $CPPFLAGS'
77487ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77488ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77489ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77490
77491      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77492/* end confdefs.h.  */
77493#include <math.h>
77494		      #ifdef HAVE_IEEEFP_H
77495		      #include <ieeefp.h>
77496		      #endif
77497
77498int
77499main ()
77500{
77501 _log10l(0);
77502  ;
77503  return 0;
77504}
77505_ACEOF
77506if ac_fn_cxx_try_compile "$LINENO"; then :
77507  glibcxx_cv_func__log10l_use=yes
77508else
77509  glibcxx_cv_func__log10l_use=no
77510fi
77511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77512      ac_ext=c
77513ac_cpp='$CPP $CPPFLAGS'
77514ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77515ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77516ac_compiler_gnu=$ac_cv_c_compiler_gnu
77517
77518
77519fi
77520
77521  fi
77522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77523$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77524
77525    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77526      for ac_func in _log10l
77527do :
77528  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77529if test "x$ac_cv_func__log10l" = x""yes; then :
77530  cat >>confdefs.h <<_ACEOF
77531#define HAVE__LOG10L 1
77532_ACEOF
77533
77534fi
77535done
77536
77537    fi
77538  fi
77539
77540
77541
77542
77543
77544  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77545$as_echo_n "checking for modfl declaration... " >&6; }
77546  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77547    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77548  $as_echo_n "(cached) " >&6
77549else
77550
77551
77552      ac_ext=cpp
77553ac_cpp='$CXXCPP $CPPFLAGS'
77554ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77555ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77556ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77557
77558      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77559/* end confdefs.h.  */
77560#include <math.h>
77561int
77562main ()
77563{
77564 modfl(0, 0);
77565  ;
77566  return 0;
77567}
77568_ACEOF
77569if ac_fn_cxx_try_compile "$LINENO"; then :
77570  glibcxx_cv_func_modfl_use=yes
77571else
77572  glibcxx_cv_func_modfl_use=no
77573fi
77574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77575      ac_ext=c
77576ac_cpp='$CPP $CPPFLAGS'
77577ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77578ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77579ac_compiler_gnu=$ac_cv_c_compiler_gnu
77580
77581
77582fi
77583
77584  fi
77585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77586$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77587
77588  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77589    for ac_func in modfl
77590do :
77591  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77592if test "x$ac_cv_func_modfl" = x""yes; then :
77593  cat >>confdefs.h <<_ACEOF
77594#define HAVE_MODFL 1
77595_ACEOF
77596
77597fi
77598done
77599
77600  else
77601
77602  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77603$as_echo_n "checking for _modfl declaration... " >&6; }
77604  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77605    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77606  $as_echo_n "(cached) " >&6
77607else
77608
77609
77610      ac_ext=cpp
77611ac_cpp='$CXXCPP $CPPFLAGS'
77612ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77613ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77614ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77615
77616      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77617/* end confdefs.h.  */
77618#include <math.h>
77619int
77620main ()
77621{
77622 _modfl(0, 0);
77623  ;
77624  return 0;
77625}
77626_ACEOF
77627if ac_fn_cxx_try_compile "$LINENO"; then :
77628  glibcxx_cv_func__modfl_use=yes
77629else
77630  glibcxx_cv_func__modfl_use=no
77631fi
77632rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77633      ac_ext=c
77634ac_cpp='$CPP $CPPFLAGS'
77635ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77636ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77637ac_compiler_gnu=$ac_cv_c_compiler_gnu
77638
77639
77640fi
77641
77642  fi
77643  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77644$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77645
77646    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77647      for ac_func in _modfl
77648do :
77649  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77650if test "x$ac_cv_func__modfl" = x""yes; then :
77651  cat >>confdefs.h <<_ACEOF
77652#define HAVE__MODFL 1
77653_ACEOF
77654
77655fi
77656done
77657
77658    fi
77659  fi
77660
77661
77662
77663
77664
77665  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77666$as_echo_n "checking for powl declaration... " >&6; }
77667  if test x${glibcxx_cv_func_powl_use+set} != xset; then
77668    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77669  $as_echo_n "(cached) " >&6
77670else
77671
77672
77673      ac_ext=cpp
77674ac_cpp='$CXXCPP $CPPFLAGS'
77675ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77676ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77677ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77678
77679      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77680/* end confdefs.h.  */
77681#include <math.h>
77682int
77683main ()
77684{
77685 powl(0, 0);
77686  ;
77687  return 0;
77688}
77689_ACEOF
77690if ac_fn_cxx_try_compile "$LINENO"; then :
77691  glibcxx_cv_func_powl_use=yes
77692else
77693  glibcxx_cv_func_powl_use=no
77694fi
77695rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77696      ac_ext=c
77697ac_cpp='$CPP $CPPFLAGS'
77698ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77699ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77700ac_compiler_gnu=$ac_cv_c_compiler_gnu
77701
77702
77703fi
77704
77705  fi
77706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77707$as_echo "$glibcxx_cv_func_powl_use" >&6; }
77708
77709  if test x$glibcxx_cv_func_powl_use = x"yes"; then
77710    for ac_func in powl
77711do :
77712  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77713if test "x$ac_cv_func_powl" = x""yes; then :
77714  cat >>confdefs.h <<_ACEOF
77715#define HAVE_POWL 1
77716_ACEOF
77717
77718fi
77719done
77720
77721  else
77722
77723  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77724$as_echo_n "checking for _powl declaration... " >&6; }
77725  if test x${glibcxx_cv_func__powl_use+set} != xset; then
77726    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77727  $as_echo_n "(cached) " >&6
77728else
77729
77730
77731      ac_ext=cpp
77732ac_cpp='$CXXCPP $CPPFLAGS'
77733ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77734ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77735ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77736
77737      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77738/* end confdefs.h.  */
77739#include <math.h>
77740int
77741main ()
77742{
77743 _powl(0, 0);
77744  ;
77745  return 0;
77746}
77747_ACEOF
77748if ac_fn_cxx_try_compile "$LINENO"; then :
77749  glibcxx_cv_func__powl_use=yes
77750else
77751  glibcxx_cv_func__powl_use=no
77752fi
77753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77754      ac_ext=c
77755ac_cpp='$CPP $CPPFLAGS'
77756ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77757ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77758ac_compiler_gnu=$ac_cv_c_compiler_gnu
77759
77760
77761fi
77762
77763  fi
77764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77765$as_echo "$glibcxx_cv_func__powl_use" >&6; }
77766
77767    if test x$glibcxx_cv_func__powl_use = x"yes"; then
77768      for ac_func in _powl
77769do :
77770  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77771if test "x$ac_cv_func__powl" = x""yes; then :
77772  cat >>confdefs.h <<_ACEOF
77773#define HAVE__POWL 1
77774_ACEOF
77775
77776fi
77777done
77778
77779    fi
77780  fi
77781
77782
77783
77784
77785
77786  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77787$as_echo_n "checking for sqrtl declaration... " >&6; }
77788  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77789    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77790  $as_echo_n "(cached) " >&6
77791else
77792
77793
77794      ac_ext=cpp
77795ac_cpp='$CXXCPP $CPPFLAGS'
77796ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77797ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77798ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77799
77800      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77801/* end confdefs.h.  */
77802#include <math.h>
77803		      #ifdef HAVE_IEEEFP_H
77804		      #include <ieeefp.h>
77805		      #endif
77806
77807int
77808main ()
77809{
77810 sqrtl(0);
77811  ;
77812  return 0;
77813}
77814_ACEOF
77815if ac_fn_cxx_try_compile "$LINENO"; then :
77816  glibcxx_cv_func_sqrtl_use=yes
77817else
77818  glibcxx_cv_func_sqrtl_use=no
77819fi
77820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77821      ac_ext=c
77822ac_cpp='$CPP $CPPFLAGS'
77823ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77824ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77825ac_compiler_gnu=$ac_cv_c_compiler_gnu
77826
77827
77828fi
77829
77830  fi
77831  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77832$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77833
77834  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77835    for ac_func in sqrtl
77836do :
77837  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77838if test "x$ac_cv_func_sqrtl" = x""yes; then :
77839  cat >>confdefs.h <<_ACEOF
77840#define HAVE_SQRTL 1
77841_ACEOF
77842
77843fi
77844done
77845
77846  else
77847
77848  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77849$as_echo_n "checking for _sqrtl declaration... " >&6; }
77850  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77851    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77852  $as_echo_n "(cached) " >&6
77853else
77854
77855
77856      ac_ext=cpp
77857ac_cpp='$CXXCPP $CPPFLAGS'
77858ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77859ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77860ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77861
77862      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77863/* end confdefs.h.  */
77864#include <math.h>
77865		      #ifdef HAVE_IEEEFP_H
77866		      #include <ieeefp.h>
77867		      #endif
77868
77869int
77870main ()
77871{
77872 _sqrtl(0);
77873  ;
77874  return 0;
77875}
77876_ACEOF
77877if ac_fn_cxx_try_compile "$LINENO"; then :
77878  glibcxx_cv_func__sqrtl_use=yes
77879else
77880  glibcxx_cv_func__sqrtl_use=no
77881fi
77882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77883      ac_ext=c
77884ac_cpp='$CPP $CPPFLAGS'
77885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77887ac_compiler_gnu=$ac_cv_c_compiler_gnu
77888
77889
77890fi
77891
77892  fi
77893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77894$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77895
77896    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77897      for ac_func in _sqrtl
77898do :
77899  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77900if test "x$ac_cv_func__sqrtl" = x""yes; then :
77901  cat >>confdefs.h <<_ACEOF
77902#define HAVE__SQRTL 1
77903_ACEOF
77904
77905fi
77906done
77907
77908    fi
77909  fi
77910
77911
77912
77913
77914
77915  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77916$as_echo_n "checking for sincosl declaration... " >&6; }
77917  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77918    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77919  $as_echo_n "(cached) " >&6
77920else
77921
77922
77923      ac_ext=cpp
77924ac_cpp='$CXXCPP $CPPFLAGS'
77925ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77926ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77927ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77928
77929      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77930/* end confdefs.h.  */
77931#include <math.h>
77932int
77933main ()
77934{
77935 sincosl(0, 0, 0);
77936  ;
77937  return 0;
77938}
77939_ACEOF
77940if ac_fn_cxx_try_compile "$LINENO"; then :
77941  glibcxx_cv_func_sincosl_use=yes
77942else
77943  glibcxx_cv_func_sincosl_use=no
77944fi
77945rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77946      ac_ext=c
77947ac_cpp='$CPP $CPPFLAGS'
77948ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77949ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77950ac_compiler_gnu=$ac_cv_c_compiler_gnu
77951
77952
77953fi
77954
77955  fi
77956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77957$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77958
77959  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77960    for ac_func in sincosl
77961do :
77962  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77963if test "x$ac_cv_func_sincosl" = x""yes; then :
77964  cat >>confdefs.h <<_ACEOF
77965#define HAVE_SINCOSL 1
77966_ACEOF
77967
77968fi
77969done
77970
77971  else
77972
77973  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77974$as_echo_n "checking for _sincosl declaration... " >&6; }
77975  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77976    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77977  $as_echo_n "(cached) " >&6
77978else
77979
77980
77981      ac_ext=cpp
77982ac_cpp='$CXXCPP $CPPFLAGS'
77983ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77984ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77985ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77986
77987      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77988/* end confdefs.h.  */
77989#include <math.h>
77990int
77991main ()
77992{
77993 _sincosl(0, 0, 0);
77994  ;
77995  return 0;
77996}
77997_ACEOF
77998if ac_fn_cxx_try_compile "$LINENO"; then :
77999  glibcxx_cv_func__sincosl_use=yes
78000else
78001  glibcxx_cv_func__sincosl_use=no
78002fi
78003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78004      ac_ext=c
78005ac_cpp='$CPP $CPPFLAGS'
78006ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78007ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78008ac_compiler_gnu=$ac_cv_c_compiler_gnu
78009
78010
78011fi
78012
78013  fi
78014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
78015$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
78016
78017    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
78018      for ac_func in _sincosl
78019do :
78020  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
78021if test "x$ac_cv_func__sincosl" = x""yes; then :
78022  cat >>confdefs.h <<_ACEOF
78023#define HAVE__SINCOSL 1
78024_ACEOF
78025
78026fi
78027done
78028
78029    fi
78030  fi
78031
78032
78033
78034
78035
78036  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
78037$as_echo_n "checking for finitel declaration... " >&6; }
78038  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
78039    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
78040  $as_echo_n "(cached) " >&6
78041else
78042
78043
78044      ac_ext=cpp
78045ac_cpp='$CXXCPP $CPPFLAGS'
78046ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78047ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78048ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78049
78050      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78051/* end confdefs.h.  */
78052#include <math.h>
78053		      #ifdef HAVE_IEEEFP_H
78054		      #include <ieeefp.h>
78055		      #endif
78056
78057int
78058main ()
78059{
78060 finitel(0);
78061  ;
78062  return 0;
78063}
78064_ACEOF
78065if ac_fn_cxx_try_compile "$LINENO"; then :
78066  glibcxx_cv_func_finitel_use=yes
78067else
78068  glibcxx_cv_func_finitel_use=no
78069fi
78070rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78071      ac_ext=c
78072ac_cpp='$CPP $CPPFLAGS'
78073ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78074ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78075ac_compiler_gnu=$ac_cv_c_compiler_gnu
78076
78077
78078fi
78079
78080  fi
78081  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
78082$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
78083
78084  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
78085    for ac_func in finitel
78086do :
78087  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
78088if test "x$ac_cv_func_finitel" = x""yes; then :
78089  cat >>confdefs.h <<_ACEOF
78090#define HAVE_FINITEL 1
78091_ACEOF
78092
78093fi
78094done
78095
78096  else
78097
78098  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
78099$as_echo_n "checking for _finitel declaration... " >&6; }
78100  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
78101    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
78102  $as_echo_n "(cached) " >&6
78103else
78104
78105
78106      ac_ext=cpp
78107ac_cpp='$CXXCPP $CPPFLAGS'
78108ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78109ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78110ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78111
78112      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78113/* end confdefs.h.  */
78114#include <math.h>
78115		      #ifdef HAVE_IEEEFP_H
78116		      #include <ieeefp.h>
78117		      #endif
78118
78119int
78120main ()
78121{
78122 _finitel(0);
78123  ;
78124  return 0;
78125}
78126_ACEOF
78127if ac_fn_cxx_try_compile "$LINENO"; then :
78128  glibcxx_cv_func__finitel_use=yes
78129else
78130  glibcxx_cv_func__finitel_use=no
78131fi
78132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78133      ac_ext=c
78134ac_cpp='$CPP $CPPFLAGS'
78135ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78136ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78137ac_compiler_gnu=$ac_cv_c_compiler_gnu
78138
78139
78140fi
78141
78142  fi
78143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
78144$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
78145
78146    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
78147      for ac_func in _finitel
78148do :
78149  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
78150if test "x$ac_cv_func__finitel" = x""yes; then :
78151  cat >>confdefs.h <<_ACEOF
78152#define HAVE__FINITEL 1
78153_ACEOF
78154
78155fi
78156done
78157
78158    fi
78159  fi
78160
78161
78162
78163
78164  LIBS="$ac_save_LIBS"
78165  CXXFLAGS="$ac_save_CXXFLAGS"
78166
78167
78168  ac_test_CXXFLAGS="${CXXFLAGS+set}"
78169  ac_save_CXXFLAGS="$CXXFLAGS"
78170  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78171
78172
78173  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78174$as_echo_n "checking for at_quick_exit declaration... " >&6; }
78175  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78176    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
78177  $as_echo_n "(cached) " >&6
78178else
78179
78180
78181      ac_ext=cpp
78182ac_cpp='$CXXCPP $CPPFLAGS'
78183ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78184ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78185ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78186
78187      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78188/* end confdefs.h.  */
78189#include <stdlib.h>
78190int
78191main ()
78192{
78193 at_quick_exit(0);
78194  ;
78195  return 0;
78196}
78197_ACEOF
78198if ac_fn_cxx_try_compile "$LINENO"; then :
78199  glibcxx_cv_func_at_quick_exit_use=yes
78200else
78201  glibcxx_cv_func_at_quick_exit_use=no
78202fi
78203rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78204      ac_ext=c
78205ac_cpp='$CPP $CPPFLAGS'
78206ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78207ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78208ac_compiler_gnu=$ac_cv_c_compiler_gnu
78209
78210
78211fi
78212
78213  fi
78214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78215$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78216  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78217    for ac_func in at_quick_exit
78218do :
78219  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78220if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
78221  cat >>confdefs.h <<_ACEOF
78222#define HAVE_AT_QUICK_EXIT 1
78223_ACEOF
78224
78225fi
78226done
78227
78228  fi
78229
78230
78231  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78232$as_echo_n "checking for quick_exit declaration... " >&6; }
78233  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78234    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
78235  $as_echo_n "(cached) " >&6
78236else
78237
78238
78239      ac_ext=cpp
78240ac_cpp='$CXXCPP $CPPFLAGS'
78241ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78242ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78243ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78244
78245      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78246/* end confdefs.h.  */
78247#include <stdlib.h>
78248int
78249main ()
78250{
78251 quick_exit(0);
78252  ;
78253  return 0;
78254}
78255_ACEOF
78256if ac_fn_cxx_try_compile "$LINENO"; then :
78257  glibcxx_cv_func_quick_exit_use=yes
78258else
78259  glibcxx_cv_func_quick_exit_use=no
78260fi
78261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78262      ac_ext=c
78263ac_cpp='$CPP $CPPFLAGS'
78264ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78265ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78266ac_compiler_gnu=$ac_cv_c_compiler_gnu
78267
78268
78269fi
78270
78271  fi
78272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78273$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78274  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78275    for ac_func in quick_exit
78276do :
78277  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78278if test "x$ac_cv_func_quick_exit" = x""yes; then :
78279  cat >>confdefs.h <<_ACEOF
78280#define HAVE_QUICK_EXIT 1
78281_ACEOF
78282
78283fi
78284done
78285
78286  fi
78287
78288
78289  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78290$as_echo_n "checking for strtold declaration... " >&6; }
78291  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78292    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78293  $as_echo_n "(cached) " >&6
78294else
78295
78296
78297      ac_ext=cpp
78298ac_cpp='$CXXCPP $CPPFLAGS'
78299ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78300ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78301ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78302
78303      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78304/* end confdefs.h.  */
78305#include <stdlib.h>
78306int
78307main ()
78308{
78309 strtold(0, 0);
78310  ;
78311  return 0;
78312}
78313_ACEOF
78314if ac_fn_cxx_try_compile "$LINENO"; then :
78315  glibcxx_cv_func_strtold_use=yes
78316else
78317  glibcxx_cv_func_strtold_use=no
78318fi
78319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78320      ac_ext=c
78321ac_cpp='$CPP $CPPFLAGS'
78322ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78324ac_compiler_gnu=$ac_cv_c_compiler_gnu
78325
78326
78327fi
78328
78329  fi
78330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78331$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78332  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78333    for ac_func in strtold
78334do :
78335  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78336if test "x$ac_cv_func_strtold" = x""yes; then :
78337  cat >>confdefs.h <<_ACEOF
78338#define HAVE_STRTOLD 1
78339_ACEOF
78340
78341fi
78342done
78343
78344  fi
78345
78346
78347
78348
78349  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78350$as_echo_n "checking for strtof declaration... " >&6; }
78351  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78352    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78353  $as_echo_n "(cached) " >&6
78354else
78355
78356
78357      ac_ext=cpp
78358ac_cpp='$CXXCPP $CPPFLAGS'
78359ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78360ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78361ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78362
78363      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78364/* end confdefs.h.  */
78365#include <stdlib.h>
78366int
78367main ()
78368{
78369 strtof(0, 0);
78370  ;
78371  return 0;
78372}
78373_ACEOF
78374if ac_fn_cxx_try_compile "$LINENO"; then :
78375  glibcxx_cv_func_strtof_use=yes
78376else
78377  glibcxx_cv_func_strtof_use=no
78378fi
78379rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78380      ac_ext=c
78381ac_cpp='$CPP $CPPFLAGS'
78382ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78383ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78384ac_compiler_gnu=$ac_cv_c_compiler_gnu
78385
78386
78387fi
78388
78389  fi
78390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78391$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78392  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78393    for ac_func in strtof
78394do :
78395  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78396if test "x$ac_cv_func_strtof" = x""yes; then :
78397  cat >>confdefs.h <<_ACEOF
78398#define HAVE_STRTOF 1
78399_ACEOF
78400
78401fi
78402done
78403
78404  fi
78405
78406
78407
78408
78409  CXXFLAGS="$ac_save_CXXFLAGS"
78410
78411    ;;
78412  *-vxworks)
78413    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78414
78415    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78416
78417    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78418
78419    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78420
78421    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78422
78423    $as_echo "#define HAVE_COSF 1" >>confdefs.h
78424
78425    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78426
78427    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78428
78429    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78430
78431    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78432
78433    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78434
78435    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78436
78437    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78438
78439    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78440
78441    $as_echo "#define HAVE_POWF 1" >>confdefs.h
78442
78443    $as_echo "#define HAVE_SINF 1" >>confdefs.h
78444
78445    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78446
78447    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78448
78449    $as_echo "#define HAVE_TANF 1" >>confdefs.h
78450
78451    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78452
78453    ;;
78454  *)
78455    as_fn_error "No support for this host/target combination." "$LINENO" 5
78456   ;;
78457esac
78458
78459  fi
78460
78461  # At some point, we should differentiate between architectures
78462  # like x86, which have long double versions, and alpha/powerpc/etc.,
78463  # which don't. For the time being, punt.
78464  if test x"long_double_math_on_this_cpu" = x"yes"; then
78465    $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78466
78467    $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78468
78469    $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78470
78471    $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78472
78473    $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78474
78475    $as_echo "#define HAVE_COSL 1" >>confdefs.h
78476
78477    $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78478
78479    $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78480
78481    $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78482
78483    $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78484
78485    $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78486
78487    $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78488
78489    $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78490
78491    $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78492
78493    $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78494
78495    $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78496
78497    $as_echo "#define HAVE_POWL 1" >>confdefs.h
78498
78499    $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78500
78501    $as_echo "#define HAVE_SINL 1" >>confdefs.h
78502
78503    $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78504
78505    $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78506
78507    $as_echo "#define HAVE_TANL 1" >>confdefs.h
78508
78509    $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78510
78511  fi
78512fi
78513
78514# Check for _Unwind_GetIPInfo.
78515
78516
78517# Check whether --with-system-libunwind was given.
78518if test "${with_system_libunwind+set}" = set; then :
78519  withval=$with_system_libunwind;
78520fi
78521
78522  # If system-libunwind was not specifically set, pick a default setting.
78523  if test x$with_system_libunwind = x; then
78524    case ${target} in
78525      ia64-*-hpux*) with_system_libunwind=yes ;;
78526      *) with_system_libunwind=no ;;
78527    esac
78528  fi
78529  # Based on system-libunwind and target, do we have ipinfo?
78530  if  test x$with_system_libunwind = xyes; then
78531    case ${target} in
78532      ia64-*-*) have_unwind_getipinfo=no ;;
78533      *) have_unwind_getipinfo=yes ;;
78534    esac
78535  else
78536    # Darwin before version 9 does not have _Unwind_GetIPInfo.
78537
78538    case ${target} in
78539      *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78540      *) have_unwind_getipinfo=yes ;;
78541    esac
78542
78543  fi
78544
78545  if test x$have_unwind_getipinfo = xyes; then
78546
78547$as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78548
78549  fi
78550
78551
78552 # Check whether --enable-linux-futex was given.
78553if test "${enable_linux_futex+set}" = set; then :
78554  enableval=$enable_linux_futex;
78555      case "$enableval" in
78556       yes|no|default) ;;
78557       *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78558                          esac
78559
78560else
78561  enable_linux_futex=default
78562fi
78563
78564
78565case "$target" in
78566  *-linux*)
78567    case "$enable_linux_futex" in
78568      default)
78569	# If headers don't have gettid/futex syscalls definition, then
78570	# default to no, otherwise there will be compile time failures.
78571	# Otherwise, default to yes.  If we don't detect we are
78572	# compiled/linked against NPTL and not cross-compiling, check
78573	# if programs are run by default against NPTL and if not, issue
78574	# a warning.
78575	enable_linux_futex=no
78576	if test x$gcc_no_link = xyes; then
78577  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78578fi
78579cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78580/* end confdefs.h.  */
78581#include <sys/syscall.h>
78582	   int lk;
78583int
78584main ()
78585{
78586syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78587  ;
78588  return 0;
78589}
78590_ACEOF
78591if ac_fn_c_try_link "$LINENO"; then :
78592  save_LIBS="$LIBS"
78593	   LIBS="-lpthread $LIBS"
78594	   if test x$gcc_no_link = xyes; then
78595  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78596fi
78597cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78598/* end confdefs.h.  */
78599#ifndef _GNU_SOURCE
78600	     #define _GNU_SOURCE 1
78601	     #endif
78602	     #include <pthread.h>
78603	     pthread_t th; void *status;
78604int
78605main ()
78606{
78607pthread_tryjoin_np (th, &status);
78608  ;
78609  return 0;
78610}
78611_ACEOF
78612if ac_fn_c_try_link "$LINENO"; then :
78613  enable_linux_futex=yes
78614else
78615  if test x$cross_compiling = xno; then
78616	       if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78617		  | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78618		 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78619If so, please configure with --disable-linux-futex" >&5
78620$as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78621If so, please configure with --disable-linux-futex" >&2;}
78622	       fi
78623	     fi
78624	     enable_linux_futex=yes
78625fi
78626rm -f core conftest.err conftest.$ac_objext \
78627    conftest$ac_exeext conftest.$ac_ext
78628	   LIBS="$save_LIBS"
78629fi
78630rm -f core conftest.err conftest.$ac_objext \
78631    conftest$ac_exeext conftest.$ac_ext
78632	;;
78633      yes)
78634	if test x$gcc_no_link = xyes; then
78635  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78636fi
78637cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78638/* end confdefs.h.  */
78639#include <sys/syscall.h>
78640	   int lk;
78641int
78642main ()
78643{
78644syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78645  ;
78646  return 0;
78647}
78648_ACEOF
78649if ac_fn_c_try_link "$LINENO"; then :
78650
78651else
78652  as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78653fi
78654rm -f core conftest.err conftest.$ac_objext \
78655    conftest$ac_exeext conftest.$ac_ext
78656	;;
78657    esac
78658    ;;
78659  *)
78660    enable_linux_futex=no
78661    ;;
78662esac
78663if test x$enable_linux_futex = xyes; then
78664
78665$as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78666
78667fi
78668
78669
78670
78671
78672inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
78673
78674acx_cv_header_stdint=stddef.h
78675acx_cv_header_stdint_kind="(already complete)"
78676for i in stdint.h $inttype_headers; do
78677  unset ac_cv_type_uintptr_t
78678  unset ac_cv_type_uintmax_t
78679  unset ac_cv_type_int_least32_t
78680  unset ac_cv_type_int_fast32_t
78681  unset ac_cv_type_uint64_t
78682  $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78683  ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78684#include <$i>
78685"
78686if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78687  acx_cv_header_stdint=$i
78688else
78689  continue
78690fi
78691
78692  ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78693#include <$i>
78694"
78695if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78696
78697else
78698  acx_cv_header_stdint_kind="(mostly complete)"
78699fi
78700
78701  ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78702#include <$i>
78703"
78704if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78705
78706else
78707  acx_cv_header_stdint_kind="(mostly complete)"
78708fi
78709
78710  ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78711#include <$i>
78712"
78713if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78714
78715else
78716  acx_cv_header_stdint_kind="(mostly complete)"
78717fi
78718
78719  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78720#include <$i>
78721"
78722if test "x$ac_cv_type_uint64_t" = x""yes; then :
78723
78724else
78725  acx_cv_header_stdint_kind="(lacks uint64_t)"
78726fi
78727
78728  break
78729done
78730if test "$acx_cv_header_stdint" = stddef.h; then
78731  acx_cv_header_stdint_kind="(lacks uintmax_t)"
78732  for i in stdint.h $inttype_headers; do
78733    unset ac_cv_type_uintptr_t
78734    unset ac_cv_type_uint32_t
78735    unset ac_cv_type_uint64_t
78736    $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78737    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78738#include <$i>
78739"
78740if test "x$ac_cv_type_uint32_t" = x""yes; then :
78741  acx_cv_header_stdint=$i
78742else
78743  continue
78744fi
78745
78746    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78747#include <$i>
78748"
78749if test "x$ac_cv_type_uint64_t" = x""yes; then :
78750
78751fi
78752
78753    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78754#include <$i>
78755"
78756if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78757
78758fi
78759
78760    break
78761  done
78762fi
78763if test "$acx_cv_header_stdint" = stddef.h; then
78764  acx_cv_header_stdint_kind="(u_intXX_t style)"
78765  for i in sys/types.h $inttype_headers; do
78766    unset ac_cv_type_u_int32_t
78767    unset ac_cv_type_u_int64_t
78768    $as_echo_n "looking for u_intXX_t types in $i, " >&6
78769    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78770#include <$i>
78771"
78772if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78773  acx_cv_header_stdint=$i
78774else
78775  continue
78776fi
78777
78778    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78779#include <$i>
78780"
78781if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78782
78783fi
78784
78785    break
78786  done
78787fi
78788if test "$acx_cv_header_stdint" = stddef.h; then
78789  acx_cv_header_stdint_kind="(using manual detection)"
78790fi
78791
78792test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78793test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78794test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78795test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78796test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78797
78798# ----------------- Summarize what we found so far
78799
78800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78801$as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78802
78803case `$as_basename -- include/gstdint.h ||
78804$as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78805	 Xinclude/gstdint.h : 'X\(//\)$' \| \
78806	 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78807$as_echo X/include/gstdint.h |
78808    sed '/^.*\/\([^/][^/]*\)\/*$/{
78809	    s//\1/
78810	    q
78811	  }
78812	  /^X\/\(\/\/\)$/{
78813	    s//\1/
78814	    q
78815	  }
78816	  /^X\/\(\/\).*/{
78817	    s//\1/
78818	    q
78819	  }
78820	  s/.*/./; q'` in
78821  stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78822$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78823  inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78824$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78825  *) ;;
78826esac
78827
78828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78829$as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78830
78831# ----------------- done included file, check C basic types --------
78832
78833# Lacking an uintptr_t?  Test size of void *
78834case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78835  stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78836# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78837# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78838# This bug is HP SR number 8606223364.
78839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78840$as_echo_n "checking size of void *... " >&6; }
78841if test "${ac_cv_sizeof_void_p+set}" = set; then :
78842  $as_echo_n "(cached) " >&6
78843else
78844  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
78845
78846else
78847  if test "$ac_cv_type_void_p" = yes; then
78848     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78849$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78850{ as_fn_set_status 77
78851as_fn_error "cannot compute sizeof (void *)
78852See \`config.log' for more details." "$LINENO" 5; }; }
78853   else
78854     ac_cv_sizeof_void_p=0
78855   fi
78856fi
78857
78858fi
78859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78860$as_echo "$ac_cv_sizeof_void_p" >&6; }
78861
78862
78863
78864cat >>confdefs.h <<_ACEOF
78865#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78866_ACEOF
78867
78868 ;;
78869esac
78870
78871# Lacking an uint64_t?  Test size of long
78872case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78873  stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78874# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78875# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78876# This bug is HP SR number 8606223364.
78877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78878$as_echo_n "checking size of long... " >&6; }
78879if test "${ac_cv_sizeof_long+set}" = set; then :
78880  $as_echo_n "(cached) " >&6
78881else
78882  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
78883
78884else
78885  if test "$ac_cv_type_long" = yes; then
78886     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78887$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78888{ as_fn_set_status 77
78889as_fn_error "cannot compute sizeof (long)
78890See \`config.log' for more details." "$LINENO" 5; }; }
78891   else
78892     ac_cv_sizeof_long=0
78893   fi
78894fi
78895
78896fi
78897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78898$as_echo "$ac_cv_sizeof_long" >&6; }
78899
78900
78901
78902cat >>confdefs.h <<_ACEOF
78903#define SIZEOF_LONG $ac_cv_sizeof_long
78904_ACEOF
78905
78906 ;;
78907esac
78908
78909if test $acx_cv_header_stdint = stddef.h; then
78910  # Lacking a good header?  Test size of everything and deduce all types.
78911  # The cast to long int works around a bug in the HP C Compiler
78912# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78913# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78914# This bug is HP SR number 8606223364.
78915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78916$as_echo_n "checking size of int... " >&6; }
78917if test "${ac_cv_sizeof_int+set}" = set; then :
78918  $as_echo_n "(cached) " >&6
78919else
78920  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
78921
78922else
78923  if test "$ac_cv_type_int" = yes; then
78924     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78925$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78926{ as_fn_set_status 77
78927as_fn_error "cannot compute sizeof (int)
78928See \`config.log' for more details." "$LINENO" 5; }; }
78929   else
78930     ac_cv_sizeof_int=0
78931   fi
78932fi
78933
78934fi
78935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78936$as_echo "$ac_cv_sizeof_int" >&6; }
78937
78938
78939
78940cat >>confdefs.h <<_ACEOF
78941#define SIZEOF_INT $ac_cv_sizeof_int
78942_ACEOF
78943
78944
78945  # The cast to long int works around a bug in the HP C Compiler
78946# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78947# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78948# This bug is HP SR number 8606223364.
78949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78950$as_echo_n "checking size of short... " >&6; }
78951if test "${ac_cv_sizeof_short+set}" = set; then :
78952  $as_echo_n "(cached) " >&6
78953else
78954  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
78955
78956else
78957  if test "$ac_cv_type_short" = yes; then
78958     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78959$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78960{ as_fn_set_status 77
78961as_fn_error "cannot compute sizeof (short)
78962See \`config.log' for more details." "$LINENO" 5; }; }
78963   else
78964     ac_cv_sizeof_short=0
78965   fi
78966fi
78967
78968fi
78969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78970$as_echo "$ac_cv_sizeof_short" >&6; }
78971
78972
78973
78974cat >>confdefs.h <<_ACEOF
78975#define SIZEOF_SHORT $ac_cv_sizeof_short
78976_ACEOF
78977
78978
78979  # The cast to long int works around a bug in the HP C Compiler
78980# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78981# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78982# This bug is HP SR number 8606223364.
78983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78984$as_echo_n "checking size of char... " >&6; }
78985if test "${ac_cv_sizeof_char+set}" = set; then :
78986  $as_echo_n "(cached) " >&6
78987else
78988  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
78989
78990else
78991  if test "$ac_cv_type_char" = yes; then
78992     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78993$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78994{ as_fn_set_status 77
78995as_fn_error "cannot compute sizeof (char)
78996See \`config.log' for more details." "$LINENO" 5; }; }
78997   else
78998     ac_cv_sizeof_char=0
78999   fi
79000fi
79001
79002fi
79003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
79004$as_echo "$ac_cv_sizeof_char" >&6; }
79005
79006
79007
79008cat >>confdefs.h <<_ACEOF
79009#define SIZEOF_CHAR $ac_cv_sizeof_char
79010_ACEOF
79011
79012
79013
79014  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
79015$as_echo_n "checking for type equivalent to int8_t... " >&6; }
79016  case "$ac_cv_sizeof_char" in
79017    1) acx_cv_type_int8_t=char ;;
79018    *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
79019  esac
79020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
79021$as_echo "$acx_cv_type_int8_t" >&6; }
79022
79023  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
79024$as_echo_n "checking for type equivalent to int16_t... " >&6; }
79025  case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
79026    2:*) acx_cv_type_int16_t=int ;;
79027    *:2) acx_cv_type_int16_t=short ;;
79028    *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
79029  esac
79030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
79031$as_echo "$acx_cv_type_int16_t" >&6; }
79032
79033  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
79034$as_echo_n "checking for type equivalent to int32_t... " >&6; }
79035  case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
79036    4:*) acx_cv_type_int32_t=int ;;
79037    *:4) acx_cv_type_int32_t=long ;;
79038    *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
79039  esac
79040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
79041$as_echo "$acx_cv_type_int32_t" >&6; }
79042fi
79043
79044# These tests are here to make the output prettier
79045
79046if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
79047  case "$ac_cv_sizeof_long" in
79048    8) acx_cv_type_int64_t=long ;;
79049  esac
79050  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
79051$as_echo_n "checking for type equivalent to int64_t... " >&6; }
79052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
79053$as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
79054fi
79055
79056# Now we can use the above types
79057
79058if test "$ac_cv_type_uintptr_t" != yes; then
79059  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
79060$as_echo_n "checking for type equivalent to intptr_t... " >&6; }
79061  case $ac_cv_sizeof_void_p in
79062    2) acx_cv_type_intptr_t=int16_t ;;
79063    4) acx_cv_type_intptr_t=int32_t ;;
79064    8) acx_cv_type_intptr_t=int64_t ;;
79065    *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
79066  esac
79067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
79068$as_echo "$acx_cv_type_intptr_t" >&6; }
79069fi
79070
79071# ----------------- done all checks, emit header -------------
79072ac_config_commands="$ac_config_commands include/gstdint.h"
79073
79074
79075
79076
79077
79078  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
79079$as_echo_n "checking for GNU c++filt... " >&6; }
79080if test "${ac_cv_path_CXXFILT+set}" = set; then :
79081  $as_echo_n "(cached) " >&6
79082else
79083  if test -z "$CXXFILT"; then
79084  ac_path_CXXFILT_found=false
79085  # Loop through the user's path and test for each of PROGNAME-LIST
79086  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79087for as_dir in $PATH
79088do
79089  IFS=$as_save_IFS
79090  test -z "$as_dir" && as_dir=.
79091    for ac_prog in c++filt gc++filt; do
79092    for ac_exec_ext in '' $ac_executable_extensions; do
79093      ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
79094      { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
79095# Check for GNU $ac_path_CXXFILT
79096case `"$ac_path_CXXFILT" --version 2>&1` in
79097*GNU*)
79098  ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
79099esac
79100
79101      $ac_path_CXXFILT_found && break 3
79102    done
79103  done
79104  done
79105IFS=$as_save_IFS
79106  if test -z "$ac_cv_path_CXXFILT"; then
79107    :
79108  fi
79109else
79110  ac_cv_path_CXXFILT=$CXXFILT
79111fi
79112
79113fi
79114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
79115$as_echo "$ac_cv_path_CXXFILT" >&6; }
79116  CXXFILT=$ac_cv_path_CXXFILT
79117
79118
79119
79120 # Check whether --enable-symvers was given.
79121if test "${enable_symvers+set}" = set; then :
79122  enableval=$enable_symvers;
79123      case "$enableval" in
79124       yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
79125       *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
79126	  	        esac
79127
79128else
79129  enable_symvers=yes
79130fi
79131
79132
79133
79134# If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
79135# don't know enough about $LD to do tricks...
79136
79137# Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
79138# with extern "C++" in version scripts.
79139
79140
79141# Turn a 'yes' into a suitable default.
79142if test x$enable_symvers = xyes ; then
79143  if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
79144    enable_symvers=no
79145  else
79146    if test $with_gnu_ld = yes ; then
79147      case ${target_os} in
79148	hpux*)
79149	  enable_symvers=no ;;
79150	*)
79151	  enable_symvers=gnu ;;
79152      esac
79153    else
79154      case ${target_os} in
79155	darwin*)
79156	  enable_symvers=darwin ;;
79157	# Sun symbol versioning exists since Solaris 2.5.
79158	solaris2.[5-9]* | solaris2.1[0-9]*)
79159	  # make_sunver.pl needs GNU c++filt to support extern "C++" in
79160	  # version scripts, so disable symbol versioning if none can be
79161	  # found.
79162	  if test -z "$ac_cv_path_CXXFILT"; then
79163	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79164$as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79165	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
79166$as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
79167	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79168$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79169	    enable_symvers=no
79170	  else
79171	    enable_symvers=sun
79172	  fi
79173	  ;;
79174	*)
79175	  enable_symvers=no ;;
79176      esac
79177    fi
79178  fi
79179fi
79180
79181# Check to see if 'darwin' or 'darwin-export' can win.
79182if test x$enable_symvers = xdarwin-export ; then
79183    enable_symvers=darwin
79184fi
79185
79186# Check if 'sun' was requested on non-Solaris 2 platforms.
79187if test x$enable_symvers = xsun ; then
79188  case ${target_os} in
79189    solaris2*)
79190      # All fine.
79191      ;;
79192    *)
79193      # Unlikely to work.
79194      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79195$as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79196      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79197$as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79198      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79199$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79200      enable_symvers=no
79201      ;;
79202  esac
79203fi
79204
79205# Check to see if 'gnu' can win.
79206if test $enable_symvers = gnu ||
79207  test $enable_symvers = gnu-versioned-namespace ||
79208  test $enable_symvers = sun; then
79209  # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79210  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79211$as_echo_n "checking for shared libgcc... " >&6; }
79212  ac_save_CFLAGS="$CFLAGS"
79213  CFLAGS=' -lgcc_s'
79214  if test x$gcc_no_link = xyes; then
79215  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79216fi
79217cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79218/* end confdefs.h.  */
79219
79220int
79221main ()
79222{
79223return 0;
79224  ;
79225  return 0;
79226}
79227_ACEOF
79228if ac_fn_c_try_link "$LINENO"; then :
79229  glibcxx_shared_libgcc=yes
79230else
79231  glibcxx_shared_libgcc=no
79232fi
79233rm -f core conftest.err conftest.$ac_objext \
79234    conftest$ac_exeext conftest.$ac_ext
79235  CFLAGS="$ac_save_CFLAGS"
79236  if test $glibcxx_shared_libgcc = no; then
79237    cat > conftest.c <<EOF
79238int main (void) { return 0; }
79239EOF
79240    glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79241			     -shared -shared-libgcc -o conftest.so \
79242			     conftest.c -v 2>&1 >/dev/null \
79243			     | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79244    rm -f conftest.c conftest.so
79245    if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79246      CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79247      if test x$gcc_no_link = xyes; then
79248  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79249fi
79250cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79251/* end confdefs.h.  */
79252
79253int
79254main ()
79255{
79256return 0;
79257  ;
79258  return 0;
79259}
79260_ACEOF
79261if ac_fn_c_try_link "$LINENO"; then :
79262  glibcxx_shared_libgcc=yes
79263fi
79264rm -f core conftest.err conftest.$ac_objext \
79265    conftest$ac_exeext conftest.$ac_ext
79266      CFLAGS="$ac_save_CFLAGS"
79267    fi
79268  fi
79269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79270$as_echo "$glibcxx_shared_libgcc" >&6; }
79271
79272  # For GNU ld, we need at least this version.  The format is described in
79273  # GLIBCXX_CHECK_LINKER_FEATURES above.
79274  glibcxx_min_gnu_ld_version=21400
79275
79276  # If no shared libgcc, can't win.
79277  if test $glibcxx_shared_libgcc != yes; then
79278      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79279$as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79280      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79281$as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79282      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79283$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79284      enable_symvers=no
79285  elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79286    : All interesting versions of Sun ld support sun style symbol versioning.
79287  elif test $with_gnu_ld != yes ; then
79288    # just fail for now
79289    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79290$as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79291    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79292$as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79293    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79294$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79295    enable_symvers=no
79296  elif test $glibcxx_ld_is_gold = yes ; then
79297    : All versions of gold support symbol versioning.
79298  elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79299    # The right tools, the right setup, but too old.  Fallbacks?
79300    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79301$as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79302    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79303$as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79304    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79305$as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79306    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79307$as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79308    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79309$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79310    enable_symvers=no
79311  fi
79312fi
79313
79314# For libtool versioning info, format is CURRENT:REVISION:AGE
79315libtool_VERSION=6:24:0
79316
79317# Everything parsed; figure out what files and settings to use.
79318case $enable_symvers in
79319  no)
79320    SYMVER_FILE=config/abi/pre/none.ver
79321    ;;
79322  gnu)
79323    SYMVER_FILE=config/abi/pre/gnu.ver
79324
79325$as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79326
79327    ;;
79328  gnu-versioned-namespace)
79329    libtool_VERSION=7:0:0
79330    SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79331
79332$as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79333
79334    ;;
79335  darwin)
79336    SYMVER_FILE=config/abi/pre/gnu.ver
79337
79338$as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79339
79340    ;;
79341  sun)
79342    SYMVER_FILE=config/abi/pre/gnu.ver
79343
79344$as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79345
79346    ;;
79347esac
79348
79349if test x$enable_symvers != xno ; then
79350
79351$as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79352
79353fi
79354
79355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79356$as_echo_n "checking whether the target supports .symver directive... " >&6; }
79357if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79358  $as_echo_n "(cached) " >&6
79359else
79360
79361  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79362/* end confdefs.h.  */
79363void foo (void); __asm (".symver foo, bar@SYMVER");
79364int
79365main ()
79366{
79367
79368  ;
79369  return 0;
79370}
79371_ACEOF
79372if ac_fn_c_try_compile "$LINENO"; then :
79373  glibcxx_cv_have_as_symver_directive=yes
79374else
79375  glibcxx_cv_have_as_symver_directive=no
79376fi
79377rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79378fi
79379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79380$as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79381if test $glibcxx_cv_have_as_symver_directive = yes; then
79382
79383$as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79384
79385fi
79386
79387
79388
79389
79390
79391
79392
79393
79394{ $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79395$as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79396
79397if test $enable_symvers != no ; then
79398   case ${target_os} in
79399     # The Solaris 2 runtime linker doesn't support the GNU extension of
79400     # binding the same symbol to different versions
79401     solaris2*)
79402       ;;
79403     # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79404     *)
79405
79406$as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79407
79408       ;;
79409    esac
79410fi
79411
79412# Now, set up compatibility support, if any.
79413# In addition, need this to deal with std::size_t mangling in
79414# src/compatibility.cc.  In a perfect world, could use
79415# typeid(std::size_t).name()[0] to do direct substitution.
79416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79417$as_echo_n "checking for size_t as unsigned int... " >&6; }
79418ac_save_CFLAGS="$CFLAGS"
79419CFLAGS="-Werror"
79420cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79421/* end confdefs.h.  */
79422
79423int
79424main ()
79425{
79426__SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79427  ;
79428  return 0;
79429}
79430_ACEOF
79431if ac_fn_c_try_compile "$LINENO"; then :
79432  glibcxx_size_t_is_i=yes
79433else
79434  glibcxx_size_t_is_i=no
79435fi
79436rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79437CFLAGS=$ac_save_CFLAGS
79438if test "$glibcxx_size_t_is_i" = yes; then
79439
79440$as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79441
79442fi
79443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79444$as_echo "$glibcxx_size_t_is_i" >&6; }
79445
79446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79447$as_echo_n "checking for ptrdiff_t as int... " >&6; }
79448ac_save_CFLAGS="$CFLAGS"
79449CFLAGS="-Werror"
79450cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79451/* end confdefs.h.  */
79452
79453int
79454main ()
79455{
79456__PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79457  ;
79458  return 0;
79459}
79460_ACEOF
79461if ac_fn_c_try_compile "$LINENO"; then :
79462  glibcxx_ptrdiff_t_is_i=yes
79463else
79464  glibcxx_ptrdiff_t_is_i=no
79465fi
79466rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79467CFLAGS=$ac_save_CFLAGS
79468if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79469
79470$as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79471
79472fi
79473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79474$as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79475
79476
79477
79478
79479 # Check whether --enable-libstdcxx-visibility was given.
79480if test "${enable_libstdcxx_visibility+set}" = set; then :
79481  enableval=$enable_libstdcxx_visibility;
79482      case "$enableval" in
79483       yes|no) ;;
79484       *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79485      esac
79486
79487else
79488  enable_libstdcxx_visibility=yes
79489fi
79490
79491
79492
79493if test x$enable_libstdcxx_visibility = xyes ; then
79494      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79495$as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79496if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79497  $as_echo_n "(cached) " >&6
79498else
79499
79500  save_CFLAGS="$CFLAGS"
79501  CFLAGS="$CFLAGS -Werror"
79502  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79503/* end confdefs.h.  */
79504void __attribute__((visibility("hidden"))) foo(void) { }
79505int
79506main ()
79507{
79508
79509  ;
79510  return 0;
79511}
79512_ACEOF
79513if ac_fn_c_try_compile "$LINENO"; then :
79514  glibcxx_cv_have_attribute_visibility=yes
79515else
79516  glibcxx_cv_have_attribute_visibility=no
79517fi
79518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79519  CFLAGS="$save_CFLAGS"
79520fi
79521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79522$as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79523  if test $glibcxx_cv_have_attribute_visibility = no; then
79524    enable_libstdcxx_visibility=no
79525  fi
79526fi
79527
79528
79529{ $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79530$as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79531
79532
79533
79534   # Check whether --enable-libstdcxx-dual-abi was given.
79535if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79536  enableval=$enable_libstdcxx_dual_abi;
79537      case "$enableval" in
79538       yes|no) ;;
79539       *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79540      esac
79541
79542else
79543  enable_libstdcxx_dual_abi=yes
79544fi
79545
79546
79547  if test x$enable_symvers = xgnu-versioned-namespace; then
79548    # gnu-versioned-namespace is incompatible with the dual ABI.
79549    enable_libstdcxx_dual_abi="no"
79550  fi
79551  if test x"$enable_libstdcxx_dual_abi" != xyes; then
79552    { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79553$as_echo "$as_me: dual ABI is disabled" >&6;}
79554    default_libstdcxx_abi="gcc4-compatible"
79555  fi
79556
79557
79558
79559  if test x$enable_libstdcxx_dual_abi = xyes; then
79560  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79561$as_echo_n "checking for default std::string ABI to use... " >&6; }
79562
79563# Check whether --with-default-libstdcxx-abi was given.
79564if test "${with_default_libstdcxx_abi+set}" = set; then :
79565  withval=$with_default_libstdcxx_abi; case "$withval" in
79566      gcc4-compatible)  default_libstdcxx_abi="gcc4-compatible" ;;
79567      new|cxx11)  default_libstdcxx_abi="new" ;;
79568      c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79569      *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79570     esac
79571
79572else
79573  default_libstdcxx_abi="new"
79574fi
79575
79576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79577$as_echo "${default_libstdcxx_abi}" >&6; }
79578  fi
79579  if test $default_libstdcxx_abi = "new"; then
79580    glibcxx_cxx11_abi=1
79581    glibcxx_cxx98_abi=0
79582  else
79583    glibcxx_cxx11_abi=0
79584    glibcxx_cxx98_abi=1
79585  fi
79586
79587
79588
79589
79590ac_ldbl_compat=no
79591LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79592case "$target" in
79593  powerpc*-*-linux* | \
79594  sparc*-*-linux* | \
79595  s390*-*-linux* | \
79596  alpha*-*-linux*)
79597  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79598/* end confdefs.h.  */
79599
79600int
79601main ()
79602{
79603
79604#if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79605#error no need for long double compatibility
79606#endif
79607
79608  ;
79609  return 0;
79610}
79611_ACEOF
79612if ac_fn_c_try_compile "$LINENO"; then :
79613  ac_ldbl_compat=yes
79614else
79615  ac_ldbl_compat=no
79616fi
79617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79618  if test "$ac_ldbl_compat" = yes; then
79619
79620$as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79621
79622    port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79623    case "$target" in
79624      powerpc*-*-linux*)
79625	LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79626    esac
79627  fi
79628esac
79629
79630
79631
79632# Check if assembler supports disabling hardware capability support.
79633
79634  test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79635
79636  # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79637  # with a different meaning.
79638  case ${target_os} in
79639    solaris2*)
79640      ac_save_CFLAGS="$CFLAGS"
79641      CFLAGS="$CFLAGS -Wa,-nH"
79642
79643      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79644$as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79645      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79646/* end confdefs.h.  */
79647
79648int
79649main ()
79650{
79651return 0;
79652  ;
79653  return 0;
79654}
79655_ACEOF
79656if ac_fn_c_try_compile "$LINENO"; then :
79657  ac_hwcap_flags=yes
79658else
79659  ac_hwcap_flags=no
79660fi
79661rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79662      if test "$ac_hwcap_flags" = "yes"; then
79663	HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79664      fi
79665      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79666$as_echo "$ac_hwcap_flags" >&6; }
79667
79668      CFLAGS="$ac_save_CFLAGS"
79669      ;;
79670  esac
79671
79672
79673
79674
79675# Check if assembler supports rdrand opcode.
79676
79677  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79678$as_echo_n "checking for rdrand support in assembler... " >&6; }
79679  if test "${ac_cv_x86_rdrand+set}" = set; then :
79680  $as_echo_n "(cached) " >&6
79681else
79682
79683  ac_cv_x86_rdrand=no
79684  case "$target" in
79685    i?86-*-* | \
79686    x86_64-*-*)
79687    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79688/* end confdefs.h.  */
79689
79690int
79691main ()
79692{
79693asm("rdrand %eax");
79694  ;
79695  return 0;
79696}
79697_ACEOF
79698if ac_fn_c_try_compile "$LINENO"; then :
79699  ac_cv_x86_rdrand=yes
79700else
79701  ac_cv_x86_rdrand=no
79702fi
79703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79704  esac
79705
79706fi
79707
79708  if test $ac_cv_x86_rdrand = yes; then
79709
79710$as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79711
79712  fi
79713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79714$as_echo "$ac_cv_x86_rdrand" >&6; }
79715
79716
79717# This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79718
79719  # Do checks for resource limit functions.
79720
79721  setrlimit_have_headers=yes
79722  for ac_header in unistd.h sys/time.h sys/resource.h
79723do :
79724  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79725ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79726eval as_val=\$$as_ac_Header
79727   if test "x$as_val" = x""yes; then :
79728  cat >>confdefs.h <<_ACEOF
79729#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79730_ACEOF
79731
79732else
79733  setrlimit_have_headers=no
79734fi
79735
79736done
79737
79738  # If don't have the headers, then we can't run the tests now, and we
79739  # won't be seeing any of these during testsuite compilation.
79740  if test $setrlimit_have_headers = yes; then
79741    # Can't do these in a loop, else the resulting syntax is wrong.
79742
79743  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79744$as_echo_n "checking for RLIMIT_DATA... " >&6; }
79745  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79746/* end confdefs.h.  */
79747#include <unistd.h>
79748     #include <sys/time.h>
79749     #include <sys/resource.h>
79750
79751int
79752main ()
79753{
79754 int f = RLIMIT_DATA ;
79755  ;
79756  return 0;
79757}
79758_ACEOF
79759if ac_fn_c_try_compile "$LINENO"; then :
79760  glibcxx_mresult=1
79761else
79762  glibcxx_mresult=0
79763fi
79764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79765
79766cat >>confdefs.h <<_ACEOF
79767#define HAVE_LIMIT_DATA $glibcxx_mresult
79768_ACEOF
79769
79770  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79772$as_echo "$res" >&6; }
79773
79774
79775  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79776$as_echo_n "checking for RLIMIT_RSS... " >&6; }
79777  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79778/* end confdefs.h.  */
79779#include <unistd.h>
79780     #include <sys/time.h>
79781     #include <sys/resource.h>
79782
79783int
79784main ()
79785{
79786 int f = RLIMIT_RSS ;
79787  ;
79788  return 0;
79789}
79790_ACEOF
79791if ac_fn_c_try_compile "$LINENO"; then :
79792  glibcxx_mresult=1
79793else
79794  glibcxx_mresult=0
79795fi
79796rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79797
79798cat >>confdefs.h <<_ACEOF
79799#define HAVE_LIMIT_RSS $glibcxx_mresult
79800_ACEOF
79801
79802  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79804$as_echo "$res" >&6; }
79805
79806
79807  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79808$as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79809  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79810/* end confdefs.h.  */
79811#include <unistd.h>
79812     #include <sys/time.h>
79813     #include <sys/resource.h>
79814
79815int
79816main ()
79817{
79818 int f = RLIMIT_VMEM ;
79819  ;
79820  return 0;
79821}
79822_ACEOF
79823if ac_fn_c_try_compile "$LINENO"; then :
79824  glibcxx_mresult=1
79825else
79826  glibcxx_mresult=0
79827fi
79828rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79829
79830cat >>confdefs.h <<_ACEOF
79831#define HAVE_LIMIT_VMEM $glibcxx_mresult
79832_ACEOF
79833
79834  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79836$as_echo "$res" >&6; }
79837
79838
79839  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79840$as_echo_n "checking for RLIMIT_AS... " >&6; }
79841  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79842/* end confdefs.h.  */
79843#include <unistd.h>
79844     #include <sys/time.h>
79845     #include <sys/resource.h>
79846
79847int
79848main ()
79849{
79850 int f = RLIMIT_AS ;
79851  ;
79852  return 0;
79853}
79854_ACEOF
79855if ac_fn_c_try_compile "$LINENO"; then :
79856  glibcxx_mresult=1
79857else
79858  glibcxx_mresult=0
79859fi
79860rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79861
79862cat >>confdefs.h <<_ACEOF
79863#define HAVE_LIMIT_AS $glibcxx_mresult
79864_ACEOF
79865
79866  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79868$as_echo "$res" >&6; }
79869
79870
79871  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79872$as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79873  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79874/* end confdefs.h.  */
79875#include <unistd.h>
79876     #include <sys/time.h>
79877     #include <sys/resource.h>
79878
79879int
79880main ()
79881{
79882 int f = RLIMIT_FSIZE ;
79883  ;
79884  return 0;
79885}
79886_ACEOF
79887if ac_fn_c_try_compile "$LINENO"; then :
79888  glibcxx_mresult=1
79889else
79890  glibcxx_mresult=0
79891fi
79892rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79893
79894cat >>confdefs.h <<_ACEOF
79895#define HAVE_LIMIT_FSIZE $glibcxx_mresult
79896_ACEOF
79897
79898  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79900$as_echo "$res" >&6; }
79901
79902
79903    # Check for rlimit, setrlimit.
79904    if test "${glibcxx_cv_setrlimit+set}" = set; then :
79905  $as_echo_n "(cached) " >&6
79906else
79907
79908      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79909/* end confdefs.h.  */
79910#include <unistd.h>
79911	 #include <sys/time.h>
79912	 #include <sys/resource.h>
79913
79914int
79915main ()
79916{
79917struct rlimit r;
79918	 setrlimit(0, &r);
79919  ;
79920  return 0;
79921}
79922_ACEOF
79923if ac_fn_c_try_compile "$LINENO"; then :
79924  glibcxx_cv_setrlimit=yes
79925else
79926  glibcxx_cv_setrlimit=no
79927fi
79928rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79929
79930fi
79931
79932  fi
79933
79934  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79935$as_echo_n "checking for testsuite resource limits support... " >&6; }
79936  if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79937    ac_res_limits=yes
79938
79939$as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79940
79941  else
79942    ac_res_limits=no
79943  fi
79944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79945$as_echo "$ac_res_limits" >&6; }
79946
79947
79948  if $GLIBCXX_IS_NATIVE ; then
79949    # Look for setenv, so that extended locale tests can be performed.
79950
79951  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79952$as_echo_n "checking for setenv declaration... " >&6; }
79953  if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79954    if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79955  $as_echo_n "(cached) " >&6
79956else
79957
79958
79959      ac_ext=cpp
79960ac_cpp='$CXXCPP $CPPFLAGS'
79961ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79962ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79963ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79964
79965      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79966/* end confdefs.h.  */
79967#include <stdlib.h>
79968int
79969main ()
79970{
79971 setenv(0, 0, 0);
79972  ;
79973  return 0;
79974}
79975_ACEOF
79976if ac_fn_cxx_try_compile "$LINENO"; then :
79977  glibcxx_cv_func_setenv_use=yes
79978else
79979  glibcxx_cv_func_setenv_use=no
79980fi
79981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79982      ac_ext=c
79983ac_cpp='$CPP $CPPFLAGS'
79984ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79985ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79986ac_compiler_gnu=$ac_cv_c_compiler_gnu
79987
79988
79989fi
79990
79991  fi
79992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79993$as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79994  if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79995    for ac_func in setenv
79996do :
79997  ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79998if test "x$ac_cv_func_setenv" = x""yes; then :
79999  cat >>confdefs.h <<_ACEOF
80000#define HAVE_SETENV 1
80001_ACEOF
80002
80003fi
80004done
80005
80006  fi
80007
80008  fi
80009
80010  if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
80011     test $enable_symvers != no; then
80012    case "$host" in
80013      *-*-cygwin*)
80014	enable_abi_check=no ;;
80015      *)
80016	enable_abi_check=yes ;;
80017    esac
80018  else
80019    # Only build this as native, since automake does not understand
80020    # CXX_FOR_BUILD.
80021    enable_abi_check=no
80022  fi
80023
80024  # Export file names for ABI checking.
80025  baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
80026
80027  baseline_subdir_switch="$abi_baseline_subdir_switch"
80028
80029
80030
80031# For gthread support.  Depends on GLIBCXX_ENABLE_SYMVERS.
80032
80033   # Check whether --enable-libstdcxx-threads was given.
80034if test "${enable_libstdcxx_threads+set}" = set; then :
80035  enableval=$enable_libstdcxx_threads;
80036      case "$enableval" in
80037       yes|no) ;;
80038       *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
80039      esac
80040
80041else
80042  enable_libstdcxx_threads=auto
80043fi
80044
80045
80046
80047  if test x$enable_libstdcxx_threads = xauto ||
80048     test x$enable_libstdcxx_threads = xyes; then
80049
80050
80051  ac_ext=cpp
80052ac_cpp='$CXXCPP $CPPFLAGS'
80053ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80054ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80055ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80056
80057
80058  ac_save_CXXFLAGS="$CXXFLAGS"
80059  CXXFLAGS="$CXXFLAGS -fno-exceptions \
80060	-I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
80061
80062  target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
80063  case $target_thread_file in
80064    posix)
80065      CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
80066  esac
80067
80068  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
80069$as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
80070
80071  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80072/* end confdefs.h.  */
80073#include <unistd.h>
80074int
80075main ()
80076{
80077
80078      // In case of POSIX threads check _POSIX_TIMEOUTS.
80079      #if (defined(_PTHREADS) \
80080	  && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
80081      #error
80082      #endif
80083
80084  ;
80085  return 0;
80086}
80087_ACEOF
80088if ac_fn_cxx_try_compile "$LINENO"; then :
80089  ac_gthread_use_mutex_timedlock=1
80090else
80091  ac_gthread_use_mutex_timedlock=0
80092fi
80093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80094
80095
80096cat >>confdefs.h <<_ACEOF
80097#define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
80098_ACEOF
80099
80100
80101  if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
80102  else res_mutex_timedlock=no ; fi
80103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
80104$as_echo "$res_mutex_timedlock" >&6; }
80105
80106  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
80107$as_echo_n "checking for gthreads library... " >&6; }
80108
80109  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80110/* end confdefs.h.  */
80111#include "gthr.h"
80112int
80113main ()
80114{
80115
80116      #ifndef __GTHREADS_CXX0X
80117      #error
80118      #endif
80119
80120  ;
80121  return 0;
80122}
80123_ACEOF
80124if ac_fn_cxx_try_compile "$LINENO"; then :
80125  ac_has_gthreads=yes
80126else
80127  ac_has_gthreads=no
80128fi
80129rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80130  else
80131    ac_has_gthreads=no
80132  fi
80133
80134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
80135$as_echo "$ac_has_gthreads" >&6; }
80136
80137  if test x"$ac_has_gthreads" = x"yes"; then
80138
80139$as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
80140
80141
80142    # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
80143    ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
80144"
80145if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
80146
80147$as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
80148
80149fi
80150
80151  fi
80152
80153  CXXFLAGS="$ac_save_CXXFLAGS"
80154  ac_ext=c
80155ac_cpp='$CPP $CPPFLAGS'
80156ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80157ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80158ac_compiler_gnu=$ac_cv_c_compiler_gnu
80159
80160
80161
80162# For Filesystem TS.
80163for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80164do :
80165  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80166ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80167eval as_val=\$$as_ac_Header
80168   if test "x$as_val" = x""yes; then :
80169  cat >>confdefs.h <<_ACEOF
80170#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80171_ACEOF
80172
80173fi
80174
80175done
80176
80177
80178   # Check whether --enable-libstdcxx-filesystem-ts was given.
80179if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80180  enableval=$enable_libstdcxx_filesystem_ts;
80181      case "$enableval" in
80182       yes|no|auto) ;;
80183       *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80184	  	        esac
80185
80186else
80187  enable_libstdcxx_filesystem_ts=auto
80188fi
80189
80190
80191
80192  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80193$as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80194  if test x"$ac_cv_header_dirent_h" != x"yes"; then
80195    enable_libstdcxx_filesystem_ts=no
80196  fi
80197  if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80198    case "${target_os}" in
80199      freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80200        enable_libstdcxx_filesystem_ts=yes
80201        ;;
80202      gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80203        enable_libstdcxx_filesystem_ts=yes
80204        ;;
80205      solaris*)
80206        enable_libstdcxx_filesystem_ts=yes
80207        ;;
80208      *)
80209        enable_libstdcxx_filesystem_ts=no
80210        ;;
80211    esac
80212  fi
80213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80214$as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80215
80216
80217
80218  ac_ext=cpp
80219ac_cpp='$CXXCPP $CPPFLAGS'
80220ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80221ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80222ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80223
80224  ac_save_CXXFLAGS="$CXXFLAGS"
80225  CXXFLAGS="$CXXFLAGS -fno-exceptions"
80226  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80227$as_echo_n "checking for struct dirent.d_type... " >&6; }
80228  if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
80229  $as_echo_n "(cached) " >&6
80230else
80231      if test x$gcc_no_link = xyes; then
80232  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80233/* end confdefs.h.  */
80234#include <dirent.h>
80235int
80236main ()
80237{
80238
80239       struct dirent d;
80240       if (sizeof d.d_type) return 0;
80241
80242  ;
80243  return 0;
80244}
80245_ACEOF
80246if ac_fn_cxx_try_compile "$LINENO"; then :
80247  glibcxx_cv_dirent_d_type=yes
80248else
80249  glibcxx_cv_dirent_d_type=no
80250fi
80251rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80252else
80253  if test x$gcc_no_link = xyes; then
80254  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80255fi
80256cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80257/* end confdefs.h.  */
80258#include <dirent.h>
80259int
80260main ()
80261{
80262
80263       struct dirent d;
80264       if (sizeof d.d_type) return 0;
80265
80266  ;
80267  return 0;
80268}
80269_ACEOF
80270if ac_fn_cxx_try_link "$LINENO"; then :
80271  glibcxx_cv_dirent_d_type=yes
80272else
80273  glibcxx_cv_dirent_d_type=no
80274fi
80275rm -f core conftest.err conftest.$ac_objext \
80276    conftest$ac_exeext conftest.$ac_ext
80277fi
80278
80279fi
80280
80281  if test $glibcxx_cv_dirent_d_type = yes; then
80282
80283$as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80284
80285  fi
80286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80287$as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80288  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80289$as_echo_n "checking for realpath... " >&6; }
80290  if test "${glibcxx_cv_realpath+set}" = set; then :
80291  $as_echo_n "(cached) " >&6
80292else
80293      if test x$gcc_no_link = xyes; then
80294  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80295/* end confdefs.h.  */
80296
80297       #include <limits.h>
80298       #include <stdlib.h>
80299       #include <unistd.h>
80300
80301int
80302main ()
80303{
80304
80305       #if _XOPEN_VERSION < 500
80306       #error
80307       #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80308       char *tmp = realpath((const char*)NULL, (char*)NULL);
80309       #else
80310       #error
80311       #endif
80312
80313  ;
80314  return 0;
80315}
80316_ACEOF
80317if ac_fn_cxx_try_compile "$LINENO"; then :
80318  glibcxx_cv_realpath=yes
80319else
80320  glibcxx_cv_realpath=no
80321fi
80322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80323else
80324  if test x$gcc_no_link = xyes; then
80325  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80326fi
80327cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80328/* end confdefs.h.  */
80329
80330       #include <limits.h>
80331       #include <stdlib.h>
80332       #include <unistd.h>
80333
80334int
80335main ()
80336{
80337
80338       #if _XOPEN_VERSION < 500
80339       #error
80340       #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80341       char *tmp = realpath((const char*)NULL, (char*)NULL);
80342       #else
80343       #error
80344       #endif
80345
80346  ;
80347  return 0;
80348}
80349_ACEOF
80350if ac_fn_cxx_try_link "$LINENO"; then :
80351  glibcxx_cv_realpath=yes
80352else
80353  glibcxx_cv_realpath=no
80354fi
80355rm -f core conftest.err conftest.$ac_objext \
80356    conftest$ac_exeext conftest.$ac_ext
80357fi
80358
80359fi
80360
80361  if test $glibcxx_cv_realpath = yes; then
80362
80363$as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80364
80365  fi
80366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80367$as_echo "$glibcxx_cv_realpath" >&6; }
80368  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80369$as_echo_n "checking for utimensat... " >&6; }
80370  if test "${glibcxx_cv_utimensat+set}" = set; then :
80371  $as_echo_n "(cached) " >&6
80372else
80373      if test x$gcc_no_link = xyes; then
80374  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80375/* end confdefs.h.  */
80376
80377        #include <fcntl.h>
80378        #include <sys/stat.h>
80379
80380int
80381main ()
80382{
80383
80384        struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80385        int i = utimensat(AT_FDCWD, "path", ts, 0);
80386
80387  ;
80388  return 0;
80389}
80390_ACEOF
80391if ac_fn_cxx_try_compile "$LINENO"; then :
80392  glibcxx_cv_utimensat=yes
80393else
80394  glibcxx_cv_utimensat=no
80395fi
80396rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80397else
80398  if test x$gcc_no_link = xyes; then
80399  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80400fi
80401cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80402/* end confdefs.h.  */
80403
80404        #include <fcntl.h>
80405        #include <sys/stat.h>
80406
80407int
80408main ()
80409{
80410
80411        struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80412        int i = utimensat(AT_FDCWD, "path", ts, 0);
80413
80414  ;
80415  return 0;
80416}
80417_ACEOF
80418if ac_fn_cxx_try_link "$LINENO"; then :
80419  glibcxx_cv_utimensat=yes
80420else
80421  glibcxx_cv_utimensat=no
80422fi
80423rm -f core conftest.err conftest.$ac_objext \
80424    conftest$ac_exeext conftest.$ac_ext
80425fi
80426
80427fi
80428
80429  if test $glibcxx_cv_utimensat = yes; then
80430
80431$as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80432
80433  fi
80434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80435$as_echo "$glibcxx_cv_utimensat" >&6; }
80436  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80437$as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80438  if test "${glibcxx_cv_st_mtim+set}" = set; then :
80439  $as_echo_n "(cached) " >&6
80440else
80441      if test x$gcc_no_link = xyes; then
80442  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80443/* end confdefs.h.  */
80444 #include <sys/stat.h>
80445int
80446main ()
80447{
80448
80449        struct stat st;
80450        return st.st_mtim.tv_nsec;
80451
80452  ;
80453  return 0;
80454}
80455_ACEOF
80456if ac_fn_cxx_try_compile "$LINENO"; then :
80457  glibcxx_cv_st_mtim=yes
80458else
80459  glibcxx_cv_st_mtim=no
80460fi
80461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80462else
80463  if test x$gcc_no_link = xyes; then
80464  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80465fi
80466cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80467/* end confdefs.h.  */
80468 #include <sys/stat.h>
80469int
80470main ()
80471{
80472
80473        struct stat st;
80474        return st.st_mtim.tv_nsec;
80475
80476  ;
80477  return 0;
80478}
80479_ACEOF
80480if ac_fn_cxx_try_link "$LINENO"; then :
80481  glibcxx_cv_st_mtim=yes
80482else
80483  glibcxx_cv_st_mtim=no
80484fi
80485rm -f core conftest.err conftest.$ac_objext \
80486    conftest$ac_exeext conftest.$ac_ext
80487fi
80488
80489fi
80490
80491  if test $glibcxx_cv_st_mtim = yes; then
80492
80493$as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80494
80495  fi
80496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80497$as_echo "$glibcxx_cv_st_mtim" >&6; }
80498  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80499$as_echo_n "checking for fchmod... " >&6; }
80500  if test "${glibcxx_cv_fchmod+set}" = set; then :
80501  $as_echo_n "(cached) " >&6
80502else
80503      if test x$gcc_no_link = xyes; then
80504  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80505/* end confdefs.h.  */
80506#include <sys/stat.h>
80507int
80508main ()
80509{
80510fchmod(1, S_IWUSR);
80511  ;
80512  return 0;
80513}
80514_ACEOF
80515if ac_fn_cxx_try_compile "$LINENO"; then :
80516  glibcxx_cv_fchmod=yes
80517else
80518  glibcxx_cv_fchmod=no
80519fi
80520rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80521else
80522  if test x$gcc_no_link = xyes; then
80523  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80524fi
80525cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80526/* end confdefs.h.  */
80527#include <sys/stat.h>
80528int
80529main ()
80530{
80531fchmod(1, S_IWUSR);
80532  ;
80533  return 0;
80534}
80535_ACEOF
80536if ac_fn_cxx_try_link "$LINENO"; then :
80537  glibcxx_cv_fchmod=yes
80538else
80539  glibcxx_cv_fchmod=no
80540fi
80541rm -f core conftest.err conftest.$ac_objext \
80542    conftest$ac_exeext conftest.$ac_ext
80543fi
80544
80545fi
80546
80547  if test $glibcxx_cv_fchmod = yes; then
80548
80549$as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80550
80551  fi
80552  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80553$as_echo "$glibcxx_cv_fchmod" >&6; }
80554  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80555$as_echo_n "checking for fchmodat... " >&6; }
80556  if test "${glibcxx_cv_fchmodat+set}" = set; then :
80557  $as_echo_n "(cached) " >&6
80558else
80559      if test x$gcc_no_link = xyes; then
80560  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80561/* end confdefs.h.  */
80562
80563        #include <fcntl.h>
80564        #include <sys/stat.h>
80565
80566int
80567main ()
80568{
80569fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80570  ;
80571  return 0;
80572}
80573_ACEOF
80574if ac_fn_cxx_try_compile "$LINENO"; then :
80575  glibcxx_cv_fchmodat=yes
80576else
80577  glibcxx_cv_fchmodat=no
80578fi
80579rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80580else
80581  if test x$gcc_no_link = xyes; then
80582  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80583fi
80584cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80585/* end confdefs.h.  */
80586
80587        #include <fcntl.h>
80588        #include <sys/stat.h>
80589
80590int
80591main ()
80592{
80593fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80594  ;
80595  return 0;
80596}
80597_ACEOF
80598if ac_fn_cxx_try_link "$LINENO"; then :
80599  glibcxx_cv_fchmodat=yes
80600else
80601  glibcxx_cv_fchmodat=no
80602fi
80603rm -f core conftest.err conftest.$ac_objext \
80604    conftest$ac_exeext conftest.$ac_ext
80605fi
80606
80607fi
80608
80609  if test $glibcxx_cv_fchmodat = yes; then
80610
80611$as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80612
80613  fi
80614  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80615$as_echo "$glibcxx_cv_fchmodat" >&6; }
80616  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80617$as_echo_n "checking for sendfile that can copy files... " >&6; }
80618  if test "${glibcxx_cv_sendfile+set}" = set; then :
80619  $as_echo_n "(cached) " >&6
80620else
80621      case "${target_os}" in
80622      gnu* | linux* | solaris*)
80623        if test x$gcc_no_link = xyes; then
80624  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80625/* end confdefs.h.  */
80626#include <sys/sendfile.h>
80627int
80628main ()
80629{
80630sendfile(1, 2, (off_t*)0, sizeof 1);
80631  ;
80632  return 0;
80633}
80634_ACEOF
80635if ac_fn_cxx_try_compile "$LINENO"; then :
80636  glibcxx_cv_sendfile=yes
80637else
80638  glibcxx_cv_sendfile=no
80639fi
80640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80641else
80642  if test x$gcc_no_link = xyes; then
80643  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80644fi
80645cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80646/* end confdefs.h.  */
80647#include <sys/sendfile.h>
80648int
80649main ()
80650{
80651sendfile(1, 2, (off_t*)0, sizeof 1);
80652  ;
80653  return 0;
80654}
80655_ACEOF
80656if ac_fn_cxx_try_link "$LINENO"; then :
80657  glibcxx_cv_sendfile=yes
80658else
80659  glibcxx_cv_sendfile=no
80660fi
80661rm -f core conftest.err conftest.$ac_objext \
80662    conftest$ac_exeext conftest.$ac_ext
80663fi
80664        ;;
80665      *)
80666        glibcxx_cv_sendfile=no
80667        ;;
80668    esac
80669
80670fi
80671
80672  if test $glibcxx_cv_sendfile = yes; then
80673
80674$as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80675
80676  fi
80677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80678$as_echo "$glibcxx_cv_sendfile" >&6; }
80679  CXXFLAGS="$ac_save_CXXFLAGS"
80680  ac_ext=c
80681ac_cpp='$CPP $CPPFLAGS'
80682ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80683ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80684ac_compiler_gnu=$ac_cv_c_compiler_gnu
80685
80686
80687
80688# For Transactional Memory TS
80689
80690  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80691$as_echo_n "checking how size_t is mangled... " >&6; }
80692if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80693  $as_echo_n "(cached) " >&6
80694else
80695
80696    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80697/* end confdefs.h.  */
80698
80699int
80700main ()
80701{
80702extern __SIZE_TYPE__ x; extern unsigned long x;
80703  ;
80704  return 0;
80705}
80706_ACEOF
80707if ac_fn_c_try_compile "$LINENO"; then :
80708  glibcxx_cv_size_t_mangling=m
80709else
80710
80711      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80712/* end confdefs.h.  */
80713
80714int
80715main ()
80716{
80717extern __SIZE_TYPE__ x; extern unsigned int x;
80718  ;
80719  return 0;
80720}
80721_ACEOF
80722if ac_fn_c_try_compile "$LINENO"; then :
80723  glibcxx_cv_size_t_mangling=j
80724else
80725
80726        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80727/* end confdefs.h.  */
80728
80729int
80730main ()
80731{
80732extern __SIZE_TYPE__ x; extern unsigned long long x;
80733  ;
80734  return 0;
80735}
80736_ACEOF
80737if ac_fn_c_try_compile "$LINENO"; then :
80738  glibcxx_cv_size_t_mangling=y
80739else
80740
80741          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80742/* end confdefs.h.  */
80743
80744int
80745main ()
80746{
80747extern __SIZE_TYPE__ x; extern unsigned short x;
80748  ;
80749  return 0;
80750}
80751_ACEOF
80752if ac_fn_c_try_compile "$LINENO"; then :
80753  glibcxx_cv_size_t_mangling=t
80754else
80755
80756            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80757/* end confdefs.h.  */
80758
80759int
80760main ()
80761{
80762extern __SIZE_TYPE__ x; extern __int20 unsigned x;
80763  ;
80764  return 0;
80765}
80766_ACEOF
80767if ac_fn_c_try_compile "$LINENO"; then :
80768  glibcxx_cv_size_t_mangling=u6uint20
80769else
80770  glibcxx_cv_size_t_mangling=x
80771fi
80772rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80773
80774fi
80775rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80776
80777fi
80778rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80779
80780fi
80781rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80782
80783fi
80784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80785
80786fi
80787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80788$as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80789  if test $glibcxx_cv_size_t_mangling = x; then
80790    as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80791  fi
80792
80793cat >>confdefs.h <<_ACEOF
80794#define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80795_ACEOF
80796
80797
80798
80799# Check which release added std::exception_ptr for the target
80800
80801  if test $enable_symvers != no; then
80802    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80803$as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80804    case ${target} in
80805      aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80806      m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80807        ac_exception_ptr_since_gcc46=yes
80808        ;;
80809      *)
80810        # If the value of this macro changes then we will need to hardcode
80811        # yes/no here for additional targets based on the original value.
80812        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80813/* end confdefs.h.  */
80814
80815int
80816main ()
80817{
80818
80819          #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80820          # error atomic int not always lock free
80821          #endif
80822
80823  ;
80824  return 0;
80825}
80826_ACEOF
80827if ac_fn_c_try_compile "$LINENO"; then :
80828  ac_exception_ptr_since_gcc46=yes
80829else
80830  ac_exception_ptr_since_gcc46=no
80831fi
80832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80833        ;;
80834    esac
80835    if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
80836
80837$as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
80838
80839      { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
80840$as_echo "4.6.0" >&6; }
80841    else
80842      { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
80843$as_echo "7.1.0" >&6; }
80844    fi
80845  fi
80846
80847
80848# Define documentation rules conditionally.
80849
80850# See if makeinfo has been installed and is modern enough
80851# that we can use it.
80852
80853  # Extract the first word of "makeinfo", so it can be a program name with args.
80854set dummy makeinfo; ac_word=$2
80855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80856$as_echo_n "checking for $ac_word... " >&6; }
80857if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80858  $as_echo_n "(cached) " >&6
80859else
80860  if test -n "$MAKEINFO"; then
80861  ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80862else
80863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80864for as_dir in $PATH
80865do
80866  IFS=$as_save_IFS
80867  test -z "$as_dir" && as_dir=.
80868    for ac_exec_ext in '' $ac_executable_extensions; do
80869  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80870    ac_cv_prog_MAKEINFO="makeinfo"
80871    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80872    break 2
80873  fi
80874done
80875  done
80876IFS=$as_save_IFS
80877
80878fi
80879fi
80880MAKEINFO=$ac_cv_prog_MAKEINFO
80881if test -n "$MAKEINFO"; then
80882  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80883$as_echo "$MAKEINFO" >&6; }
80884else
80885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80886$as_echo "no" >&6; }
80887fi
80888
80889
80890  if test -n "$MAKEINFO"; then
80891    # Found it, now check the version.
80892    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80893$as_echo_n "checking for modern makeinfo... " >&6; }
80894if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80895  $as_echo_n "(cached) " >&6
80896else
80897  ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80898                                     sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80899
80900                    case $ac_prog_version in
80901                      '')  gcc_cv_prog_makeinfo_modern=no;;
80902                      4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
80903                      *)   gcc_cv_prog_makeinfo_modern=no;;
80904                    esac
80905
80906fi
80907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80908$as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80909  else
80910    gcc_cv_prog_makeinfo_modern=no
80911  fi
80912  if test $gcc_cv_prog_makeinfo_modern = no; then
80913    MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80914  fi
80915
80916 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80917  BUILD_INFO_TRUE=
80918  BUILD_INFO_FALSE='#'
80919else
80920  BUILD_INFO_TRUE='#'
80921  BUILD_INFO_FALSE=
80922fi
80923
80924
80925# Check for doxygen
80926# Extract the first word of "doxygen", so it can be a program name with args.
80927set dummy doxygen; ac_word=$2
80928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80929$as_echo_n "checking for $ac_word... " >&6; }
80930if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80931  $as_echo_n "(cached) " >&6
80932else
80933  if test -n "$DOXYGEN"; then
80934  ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80935else
80936as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80937for as_dir in $PATH
80938do
80939  IFS=$as_save_IFS
80940  test -z "$as_dir" && as_dir=.
80941    for ac_exec_ext in '' $ac_executable_extensions; do
80942  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80943    ac_cv_prog_DOXYGEN="yes"
80944    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80945    break 2
80946  fi
80947done
80948  done
80949IFS=$as_save_IFS
80950
80951  test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80952fi
80953fi
80954DOXYGEN=$ac_cv_prog_DOXYGEN
80955if test -n "$DOXYGEN"; then
80956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80957$as_echo "$DOXYGEN" >&6; }
80958else
80959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80960$as_echo "no" >&6; }
80961fi
80962
80963
80964# Extract the first word of "dot", so it can be a program name with args.
80965set dummy dot; ac_word=$2
80966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80967$as_echo_n "checking for $ac_word... " >&6; }
80968if test "${ac_cv_prog_DOT+set}" = set; then :
80969  $as_echo_n "(cached) " >&6
80970else
80971  if test -n "$DOT"; then
80972  ac_cv_prog_DOT="$DOT" # Let the user override the test.
80973else
80974as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80975for as_dir in $PATH
80976do
80977  IFS=$as_save_IFS
80978  test -z "$as_dir" && as_dir=.
80979    for ac_exec_ext in '' $ac_executable_extensions; do
80980  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80981    ac_cv_prog_DOT="yes"
80982    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80983    break 2
80984  fi
80985done
80986  done
80987IFS=$as_save_IFS
80988
80989  test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80990fi
80991fi
80992DOT=$ac_cv_prog_DOT
80993if test -n "$DOT"; then
80994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80995$as_echo "$DOT" >&6; }
80996else
80997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80998$as_echo "no" >&6; }
80999fi
81000
81001
81002
81003# Check for docbook
81004# Extract the first word of "xsltproc", so it can be a program name with args.
81005set dummy xsltproc; ac_word=$2
81006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81007$as_echo_n "checking for $ac_word... " >&6; }
81008if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
81009  $as_echo_n "(cached) " >&6
81010else
81011  if test -n "$XSLTPROC"; then
81012  ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
81013else
81014as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81015for as_dir in $PATH
81016do
81017  IFS=$as_save_IFS
81018  test -z "$as_dir" && as_dir=.
81019    for ac_exec_ext in '' $ac_executable_extensions; do
81020  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81021    ac_cv_prog_XSLTPROC="yes"
81022    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81023    break 2
81024  fi
81025done
81026  done
81027IFS=$as_save_IFS
81028
81029  test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
81030fi
81031fi
81032XSLTPROC=$ac_cv_prog_XSLTPROC
81033if test -n "$XSLTPROC"; then
81034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
81035$as_echo "$XSLTPROC" >&6; }
81036else
81037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81038$as_echo "no" >&6; }
81039fi
81040
81041
81042# Extract the first word of "xmllint", so it can be a program name with args.
81043set dummy xmllint; ac_word=$2
81044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81045$as_echo_n "checking for $ac_word... " >&6; }
81046if test "${ac_cv_prog_XMLLINT+set}" = set; then :
81047  $as_echo_n "(cached) " >&6
81048else
81049  if test -n "$XMLLINT"; then
81050  ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
81051else
81052as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81053for as_dir in $PATH
81054do
81055  IFS=$as_save_IFS
81056  test -z "$as_dir" && as_dir=.
81057    for ac_exec_ext in '' $ac_executable_extensions; do
81058  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81059    ac_cv_prog_XMLLINT="yes"
81060    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81061    break 2
81062  fi
81063done
81064  done
81065IFS=$as_save_IFS
81066
81067  test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
81068fi
81069fi
81070XMLLINT=$ac_cv_prog_XMLLINT
81071if test -n "$XMLLINT"; then
81072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
81073$as_echo "$XMLLINT" >&6; }
81074else
81075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81076$as_echo "no" >&6; }
81077fi
81078
81079
81080
81081
81082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
81083$as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
81084glibcxx_stylesheets=no
81085if 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
81086  glibcxx_stylesheets=yes
81087fi
81088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
81089$as_echo "$glibcxx_stylesheets" >&6; }
81090
81091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
81092$as_echo_n "checking for local stylesheet directory... " >&6; }
81093glibcxx_local_stylesheets=no
81094if test x"$glibcxx_stylesheets" = x"yes"; then
81095  if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
81096    glibcxx_local_stylesheets=yes
81097    XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
81098  fi
81099  if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
81100    glibcxx_local_stylesheets=yes
81101    XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
81102  fi
81103  if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
81104    glibcxx_local_stylesheets=yes
81105    XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
81106  fi
81107fi
81108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
81109$as_echo "$glibcxx_local_stylesheets" >&6; }
81110
81111if test x"$glibcxx_local_stylesheets" = x"yes"; then
81112
81113  { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
81114$as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
81115else
81116  glibcxx_stylesheets=no
81117fi
81118
81119# Check for epub3 dependencies.
81120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
81121$as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
81122glibcxx_epub_stylesheets=no
81123if test x"$glibcxx_local_stylesheets" = x"yes"; then
81124   if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
81125      glibcxx_epub_stylesheets=yes
81126   fi
81127fi
81128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
81129$as_echo "$glibcxx_epub_stylesheets" >&6; }
81130 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
81131  BUILD_EPUB_TRUE=
81132  BUILD_EPUB_FALSE='#'
81133else
81134  BUILD_EPUB_TRUE='#'
81135  BUILD_EPUB_FALSE=
81136fi
81137
81138
81139
81140
81141# Check for xml/html dependencies.
81142 if test $ac_cv_prog_DOXYGEN = "yes" &&
81143	       test $ac_cv_prog_DOT = "yes" &&
81144	       test $ac_cv_prog_XSLTPROC = "yes" &&
81145	       test $ac_cv_prog_XMLLINT = "yes" &&
81146	       test $glibcxx_stylesheets = "yes"; then
81147  BUILD_XML_TRUE=
81148  BUILD_XML_FALSE='#'
81149else
81150  BUILD_XML_TRUE='#'
81151  BUILD_XML_FALSE=
81152fi
81153
81154
81155 if test $ac_cv_prog_DOXYGEN = "yes" &&
81156	       test $ac_cv_prog_DOT = "yes" &&
81157	       test $ac_cv_prog_XSLTPROC = "yes" &&
81158	       test $ac_cv_prog_XMLLINT = "yes" &&
81159	       test $glibcxx_stylesheets = "yes"; then
81160  BUILD_HTML_TRUE=
81161  BUILD_HTML_FALSE='#'
81162else
81163  BUILD_HTML_TRUE='#'
81164  BUILD_HTML_FALSE=
81165fi
81166
81167
81168# Check for man dependencies.
81169 if test $ac_cv_prog_DOXYGEN = "yes" &&
81170	       test $ac_cv_prog_DOT = "yes"; then
81171  BUILD_MAN_TRUE=
81172  BUILD_MAN_FALSE='#'
81173else
81174  BUILD_MAN_TRUE='#'
81175  BUILD_MAN_FALSE=
81176fi
81177
81178
81179# Check for pdf dependencies.
81180# Extract the first word of "dblatex", so it can be a program name with args.
81181set dummy dblatex; ac_word=$2
81182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81183$as_echo_n "checking for $ac_word... " >&6; }
81184if test "${ac_cv_prog_DBLATEX+set}" = set; then :
81185  $as_echo_n "(cached) " >&6
81186else
81187  if test -n "$DBLATEX"; then
81188  ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81189else
81190as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81191for as_dir in $PATH
81192do
81193  IFS=$as_save_IFS
81194  test -z "$as_dir" && as_dir=.
81195    for ac_exec_ext in '' $ac_executable_extensions; do
81196  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81197    ac_cv_prog_DBLATEX="yes"
81198    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81199    break 2
81200  fi
81201done
81202  done
81203IFS=$as_save_IFS
81204
81205  test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81206fi
81207fi
81208DBLATEX=$ac_cv_prog_DBLATEX
81209if test -n "$DBLATEX"; then
81210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81211$as_echo "$DBLATEX" >&6; }
81212else
81213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81214$as_echo "no" >&6; }
81215fi
81216
81217
81218# Extract the first word of "pdflatex", so it can be a program name with args.
81219set dummy pdflatex; ac_word=$2
81220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81221$as_echo_n "checking for $ac_word... " >&6; }
81222if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
81223  $as_echo_n "(cached) " >&6
81224else
81225  if test -n "$PDFLATEX"; then
81226  ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81227else
81228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81229for as_dir in $PATH
81230do
81231  IFS=$as_save_IFS
81232  test -z "$as_dir" && as_dir=.
81233    for ac_exec_ext in '' $ac_executable_extensions; do
81234  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81235    ac_cv_prog_PDFLATEX="yes"
81236    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81237    break 2
81238  fi
81239done
81240  done
81241IFS=$as_save_IFS
81242
81243  test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81244fi
81245fi
81246PDFLATEX=$ac_cv_prog_PDFLATEX
81247if test -n "$PDFLATEX"; then
81248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81249$as_echo "$PDFLATEX" >&6; }
81250else
81251  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81252$as_echo "no" >&6; }
81253fi
81254
81255
81256 if test $ac_cv_prog_DBLATEX = "yes" &&
81257	       test $ac_cv_prog_PDFLATEX = "yes"; then
81258  BUILD_PDF_TRUE=
81259  BUILD_PDF_FALSE='#'
81260else
81261  BUILD_PDF_TRUE='#'
81262  BUILD_PDF_FALSE=
81263fi
81264
81265
81266case "$build" in
81267 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81268 * ) glibcxx_include_dir_notparallel=no ;;
81269esac
81270 if test $glibcxx_include_dir_notparallel = "yes"; then
81271  INCLUDE_DIR_NOTPARALLEL_TRUE=
81272  INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81273else
81274  INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81275  INCLUDE_DIR_NOTPARALLEL_FALSE=
81276fi
81277
81278
81279# Propagate the target-specific source directories through the build chain.
81280ATOMICITY_SRCDIR=config/${atomicity_dir}
81281ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81282ATOMIC_FLAGS=${atomic_flags}
81283CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81284OS_INC_SRCDIR=config/${os_include_dir}
81285ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81286ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81287CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81288CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81289
81290
81291
81292
81293
81294
81295
81296
81297
81298
81299
81300# Determine cross-compile flags and AM_CONDITIONALs.
81301#AC_SUBST(GLIBCXX_IS_NATIVE)
81302#AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81303    if test $is_hosted = yes; then
81304  GLIBCXX_HOSTED_TRUE=
81305  GLIBCXX_HOSTED_FALSE='#'
81306else
81307  GLIBCXX_HOSTED_TRUE='#'
81308  GLIBCXX_HOSTED_FALSE=
81309fi
81310
81311
81312    if test $enable_libstdcxx_pch = yes; then
81313  GLIBCXX_BUILD_PCH_TRUE=
81314  GLIBCXX_BUILD_PCH_FALSE='#'
81315else
81316  GLIBCXX_BUILD_PCH_TRUE='#'
81317  GLIBCXX_BUILD_PCH_FALSE=
81318fi
81319
81320
81321    if test $enable_float128 = yes; then
81322  ENABLE_FLOAT128_TRUE=
81323  ENABLE_FLOAT128_FALSE='#'
81324else
81325  ENABLE_FLOAT128_TRUE='#'
81326  ENABLE_FLOAT128_FALSE=
81327fi
81328
81329
81330    if test $enable_libstdcxx_allocator_flag = new; then
81331  ENABLE_ALLOCATOR_NEW_TRUE=
81332  ENABLE_ALLOCATOR_NEW_FALSE='#'
81333else
81334  ENABLE_ALLOCATOR_NEW_TRUE='#'
81335  ENABLE_ALLOCATOR_NEW_FALSE=
81336fi
81337
81338
81339    if test $enable_cheaders = c; then
81340  GLIBCXX_C_HEADERS_C_TRUE=
81341  GLIBCXX_C_HEADERS_C_FALSE='#'
81342else
81343  GLIBCXX_C_HEADERS_C_TRUE='#'
81344  GLIBCXX_C_HEADERS_C_FALSE=
81345fi
81346
81347
81348    if test $enable_cheaders = c_std; then
81349  GLIBCXX_C_HEADERS_C_STD_TRUE=
81350  GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81351else
81352  GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81353  GLIBCXX_C_HEADERS_C_STD_FALSE=
81354fi
81355
81356
81357    if test $enable_cheaders = c_global; then
81358  GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81359  GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81360else
81361  GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81362  GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81363fi
81364
81365
81366    if test $c_compatibility = yes; then
81367  GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81368  GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81369else
81370  GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81371  GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81372fi
81373
81374
81375    if test $enable_libstdcxx_debug = yes; then
81376  GLIBCXX_BUILD_DEBUG_TRUE=
81377  GLIBCXX_BUILD_DEBUG_FALSE='#'
81378else
81379  GLIBCXX_BUILD_DEBUG_TRUE='#'
81380  GLIBCXX_BUILD_DEBUG_FALSE=
81381fi
81382
81383
81384    if test $enable_extern_template = yes; then
81385  ENABLE_EXTERN_TEMPLATE_TRUE=
81386  ENABLE_EXTERN_TEMPLATE_FALSE='#'
81387else
81388  ENABLE_EXTERN_TEMPLATE_TRUE='#'
81389  ENABLE_EXTERN_TEMPLATE_FALSE=
81390fi
81391
81392
81393    if test $python_mod_dir != no; then
81394  ENABLE_PYTHONDIR_TRUE=
81395  ENABLE_PYTHONDIR_FALSE='#'
81396else
81397  ENABLE_PYTHONDIR_TRUE='#'
81398  ENABLE_PYTHONDIR_FALSE=
81399fi
81400
81401
81402    if test $enable_werror = yes; then
81403  ENABLE_WERROR_TRUE=
81404  ENABLE_WERROR_FALSE='#'
81405else
81406  ENABLE_WERROR_TRUE='#'
81407  ENABLE_WERROR_FALSE=
81408fi
81409
81410
81411    if test $enable_vtable_verify = yes; then
81412  ENABLE_VTABLE_VERIFY_TRUE=
81413  ENABLE_VTABLE_VERIFY_FALSE='#'
81414else
81415  ENABLE_VTABLE_VERIFY_TRUE='#'
81416  ENABLE_VTABLE_VERIFY_FALSE=
81417fi
81418
81419
81420    if test $enable_symvers != no; then
81421  ENABLE_SYMVERS_TRUE=
81422  ENABLE_SYMVERS_FALSE='#'
81423else
81424  ENABLE_SYMVERS_TRUE='#'
81425  ENABLE_SYMVERS_FALSE=
81426fi
81427
81428
81429    if test $enable_symvers = gnu; then
81430  ENABLE_SYMVERS_GNU_TRUE=
81431  ENABLE_SYMVERS_GNU_FALSE='#'
81432else
81433  ENABLE_SYMVERS_GNU_TRUE='#'
81434  ENABLE_SYMVERS_GNU_FALSE=
81435fi
81436
81437
81438    if test $enable_symvers = gnu-versioned-namespace; then
81439  ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81440  ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81441else
81442  ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81443  ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81444fi
81445
81446
81447    if test $enable_symvers = darwin; then
81448  ENABLE_SYMVERS_DARWIN_TRUE=
81449  ENABLE_SYMVERS_DARWIN_FALSE='#'
81450else
81451  ENABLE_SYMVERS_DARWIN_TRUE='#'
81452  ENABLE_SYMVERS_DARWIN_FALSE=
81453fi
81454
81455
81456    if test $enable_symvers = sun; then
81457  ENABLE_SYMVERS_SUN_TRUE=
81458  ENABLE_SYMVERS_SUN_FALSE='#'
81459else
81460  ENABLE_SYMVERS_SUN_TRUE='#'
81461  ENABLE_SYMVERS_SUN_FALSE=
81462fi
81463
81464
81465    if test $enable_libstdcxx_visibility = yes; then
81466  ENABLE_VISIBILITY_TRUE=
81467  ENABLE_VISIBILITY_FALSE='#'
81468else
81469  ENABLE_VISIBILITY_TRUE='#'
81470  ENABLE_VISIBILITY_FALSE=
81471fi
81472
81473
81474    if test $enable_libstdcxx_dual_abi = yes; then
81475  ENABLE_DUAL_ABI_TRUE=
81476  ENABLE_DUAL_ABI_FALSE='#'
81477else
81478  ENABLE_DUAL_ABI_TRUE='#'
81479  ENABLE_DUAL_ABI_FALSE=
81480fi
81481
81482
81483    if test $glibcxx_cxx11_abi = 1; then
81484  ENABLE_CXX11_ABI_TRUE=
81485  ENABLE_CXX11_ABI_FALSE='#'
81486else
81487  ENABLE_CXX11_ABI_TRUE='#'
81488  ENABLE_CXX11_ABI_FALSE=
81489fi
81490
81491
81492    if test $ac_ldbl_compat = yes; then
81493  GLIBCXX_LDBL_COMPAT_TRUE=
81494  GLIBCXX_LDBL_COMPAT_FALSE='#'
81495else
81496  GLIBCXX_LDBL_COMPAT_TRUE='#'
81497  GLIBCXX_LDBL_COMPAT_FALSE=
81498fi
81499
81500
81501    if test $enable_libstdcxx_filesystem_ts = yes; then
81502  ENABLE_FILESYSTEM_TS_TRUE=
81503  ENABLE_FILESYSTEM_TS_FALSE='#'
81504else
81505  ENABLE_FILESYSTEM_TS_TRUE='#'
81506  ENABLE_FILESYSTEM_TS_FALSE=
81507fi
81508
81509
81510
81511
81512cat >confcache <<\_ACEOF
81513# This file is a shell script that caches the results of configure
81514# tests run on this system so they can be shared between configure
81515# scripts and configure runs, see configure's option --config-cache.
81516# It is not useful on other systems.  If it contains results you don't
81517# want to keep, you may remove or edit it.
81518#
81519# config.status only pays attention to the cache file if you give it
81520# the --recheck option to rerun configure.
81521#
81522# `ac_cv_env_foo' variables (set or unset) will be overridden when
81523# loading this file, other *unset* `ac_cv_foo' will be assigned the
81524# following values.
81525
81526_ACEOF
81527
81528# The following way of writing the cache mishandles newlines in values,
81529# but we know of no workaround that is simple, portable, and efficient.
81530# So, we kill variables containing newlines.
81531# Ultrix sh set writes to stderr and can't be redirected directly,
81532# and sets the high bit in the cache file unless we assign to the vars.
81533(
81534  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81535    eval ac_val=\$$ac_var
81536    case $ac_val in #(
81537    *${as_nl}*)
81538      case $ac_var in #(
81539      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81540$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81541      esac
81542      case $ac_var in #(
81543      _ | IFS | as_nl) ;; #(
81544      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81545      *) { eval $ac_var=; unset $ac_var;} ;;
81546      esac ;;
81547    esac
81548  done
81549
81550  (set) 2>&1 |
81551    case $as_nl`(ac_space=' '; set) 2>&1` in #(
81552    *${as_nl}ac_space=\ *)
81553      # `set' does not quote correctly, so add quotes: double-quote
81554      # substitution turns \\\\ into \\, and sed turns \\ into \.
81555      sed -n \
81556	"s/'/'\\\\''/g;
81557	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81558      ;; #(
81559    *)
81560      # `set' quotes correctly as required by POSIX, so do not add quotes.
81561      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81562      ;;
81563    esac |
81564    sort
81565) |
81566  sed '
81567     /^ac_cv_env_/b end
81568     t clear
81569     :clear
81570     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81571     t end
81572     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81573     :end' >>confcache
81574if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81575  if test -w "$cache_file"; then
81576    test "x$cache_file" != "x/dev/null" &&
81577      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81578$as_echo "$as_me: updating cache $cache_file" >&6;}
81579    cat confcache >$cache_file
81580  else
81581    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81582$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81583  fi
81584fi
81585rm -f confcache
81586
81587if test ${multilib} = yes; then
81588  multilib_arg="--enable-multilib"
81589else
81590  multilib_arg=
81591fi
81592
81593# Export all the install information.
81594
81595  glibcxx_toolexecdir=no
81596  glibcxx_toolexeclibdir=no
81597  glibcxx_prefixdir=$prefix
81598
81599  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81600$as_echo_n "checking for gxx-include-dir... " >&6; }
81601
81602# Check whether --with-gxx-include-dir was given.
81603if test "${with_gxx_include_dir+set}" = set; then :
81604  withval=$with_gxx_include_dir; case "$withval" in
81605      yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81606      no)  gxx_include_dir=no ;;
81607      *)   gxx_include_dir=$withval ;;
81608     esac
81609else
81610  gxx_include_dir=no
81611fi
81612
81613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81614$as_echo "$gxx_include_dir" >&6; }
81615
81616  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81617$as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81618  # Check whether --enable-version-specific-runtime-libs was given.
81619if test "${enable_version_specific_runtime_libs+set}" = set; then :
81620  enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81621      yes) version_specific_libs=yes ;;
81622      no)  version_specific_libs=no ;;
81623      *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81624     esac
81625else
81626  version_specific_libs=no
81627fi
81628
81629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81630$as_echo "$version_specific_libs" >&6; }
81631
81632  # Default case for install directory for include files.
81633  if test $version_specific_libs = no && test $gxx_include_dir = no; then
81634    gxx_include_dir='include/c++/${gcc_version}'
81635    if test -n "$with_cross_host" &&
81636       test x"$with_cross_host" != x"no"; then
81637      gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81638    else
81639      gxx_include_dir='${prefix}/'"$gxx_include_dir"
81640    fi
81641  fi
81642
81643  # Version-specific runtime libs processing.
81644  if test $version_specific_libs = yes; then
81645    # Need the gcc compiler version to know where to install libraries
81646    # and header files if --enable-version-specific-runtime-libs option
81647    # is selected.  FIXME: these variables are misnamed, there are
81648    # no executables installed in _toolexecdir or _toolexeclibdir.
81649    if test x"$gxx_include_dir" = x"no"; then
81650      gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81651    fi
81652    glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81653    glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81654  fi
81655
81656  # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81657  # Install a library built with a cross compiler in tooldir, not libdir.
81658  if test x"$glibcxx_toolexecdir" = x"no"; then
81659    if test -n "$with_cross_host" &&
81660       test x"$with_cross_host" != x"no"; then
81661      glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81662      glibcxx_toolexeclibdir='${toolexecdir}/lib'
81663    else
81664      glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81665      glibcxx_toolexeclibdir='${libdir}'
81666    fi
81667    multi_os_directory=`$CXX -print-multi-os-directory`
81668    case $multi_os_directory in
81669      .) ;; # Avoid trailing /.
81670      *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81671    esac
81672  fi
81673
81674  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81675$as_echo_n "checking for install location... " >&6; }
81676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81677$as_echo "$gxx_include_dir" >&6; }
81678
81679
81680
81681
81682
81683
81684
81685# Export all the include and flag information to Makefiles.
81686
81687  # Used for every C++ compile we perform.
81688  GLIBCXX_INCLUDES="\
81689-I$glibcxx_builddir/include/$host_alias \
81690-I$glibcxx_builddir/include \
81691-I$glibcxx_srcdir/libsupc++"
81692
81693  # For Canadian crosses, pick this up too.
81694  if test $CANADIAN = yes; then
81695    GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81696  fi
81697
81698  # Stuff in the actual top level.  Currently only used by libsupc++ to
81699  # get unwind* headers from the libgcc dir.
81700  #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81701  TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81702
81703  # Now, export this to all the little Makefiles....
81704
81705
81706
81707
81708  # Optimization flags that are probably a good idea for thrill-seekers. Just
81709  # uncomment the lines below and make, everything else is ready to go...
81710  # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81711  # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81712
81713
81714  WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81715
81716
81717
81718# Determine what GCC version number to use in filesystem paths.
81719
81720  get_gcc_base_ver="cat"
81721
81722# Check whether --with-gcc-major-version-only was given.
81723if test "${with_gcc_major_version_only+set}" = set; then :
81724  withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
81725        get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
81726      fi
81727
81728fi
81729
81730
81731
81732
81733ac_config_files="$ac_config_files Makefile"
81734
81735ac_config_files="$ac_config_files scripts/testsuite_flags"
81736
81737ac_config_files="$ac_config_files scripts/extract_symvers"
81738
81739ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81740
81741
81742# Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81743# that multilib installs will end up installed in the correct place.
81744# The testsuite needs it for multilib-aware ABI baseline files.
81745# To work around this not being passed down from config-ml.in ->
81746# srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81747# append it here.  Only modify Makefiles that have just been created.
81748#
81749# Also, get rid of this simulated-VPATH thing that automake does.
81750ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/filesystem/Makefile doc/Makefile python/Makefile"
81751
81752
81753ac_config_commands="$ac_config_commands generate-headers"
81754
81755
81756cat >confcache <<\_ACEOF
81757# This file is a shell script that caches the results of configure
81758# tests run on this system so they can be shared between configure
81759# scripts and configure runs, see configure's option --config-cache.
81760# It is not useful on other systems.  If it contains results you don't
81761# want to keep, you may remove or edit it.
81762#
81763# config.status only pays attention to the cache file if you give it
81764# the --recheck option to rerun configure.
81765#
81766# `ac_cv_env_foo' variables (set or unset) will be overridden when
81767# loading this file, other *unset* `ac_cv_foo' will be assigned the
81768# following values.
81769
81770_ACEOF
81771
81772# The following way of writing the cache mishandles newlines in values,
81773# but we know of no workaround that is simple, portable, and efficient.
81774# So, we kill variables containing newlines.
81775# Ultrix sh set writes to stderr and can't be redirected directly,
81776# and sets the high bit in the cache file unless we assign to the vars.
81777(
81778  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81779    eval ac_val=\$$ac_var
81780    case $ac_val in #(
81781    *${as_nl}*)
81782      case $ac_var in #(
81783      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81784$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81785      esac
81786      case $ac_var in #(
81787      _ | IFS | as_nl) ;; #(
81788      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81789      *) { eval $ac_var=; unset $ac_var;} ;;
81790      esac ;;
81791    esac
81792  done
81793
81794  (set) 2>&1 |
81795    case $as_nl`(ac_space=' '; set) 2>&1` in #(
81796    *${as_nl}ac_space=\ *)
81797      # `set' does not quote correctly, so add quotes: double-quote
81798      # substitution turns \\\\ into \\, and sed turns \\ into \.
81799      sed -n \
81800	"s/'/'\\\\''/g;
81801	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81802      ;; #(
81803    *)
81804      # `set' quotes correctly as required by POSIX, so do not add quotes.
81805      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81806      ;;
81807    esac |
81808    sort
81809) |
81810  sed '
81811     /^ac_cv_env_/b end
81812     t clear
81813     :clear
81814     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81815     t end
81816     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81817     :end' >>confcache
81818if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81819  if test -w "$cache_file"; then
81820    test "x$cache_file" != "x/dev/null" &&
81821      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81822$as_echo "$as_me: updating cache $cache_file" >&6;}
81823    cat confcache >$cache_file
81824  else
81825    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81826$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81827  fi
81828fi
81829rm -f confcache
81830
81831test "x$prefix" = xNONE && prefix=$ac_default_prefix
81832# Let make expand exec_prefix.
81833test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81834
81835DEFS=-DHAVE_CONFIG_H
81836
81837ac_libobjs=
81838ac_ltlibobjs=
81839for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81840  # 1. Remove the extension, and $U if already installed.
81841  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81842  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81843  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
81844  #    will be set to the directory where LIBOBJS objects are built.
81845  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81846  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81847done
81848LIBOBJS=$ac_libobjs
81849
81850LTLIBOBJS=$ac_ltlibobjs
81851
81852
81853 if test -n "$EXEEXT"; then
81854  am__EXEEXT_TRUE=
81855  am__EXEEXT_FALSE='#'
81856else
81857  am__EXEEXT_TRUE='#'
81858  am__EXEEXT_FALSE=
81859fi
81860
81861if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81862  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81863Usually this means the macro was only invoked conditionally." "$LINENO" 5
81864fi
81865if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81866  as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81867Usually this means the macro was only invoked conditionally." "$LINENO" 5
81868fi
81869if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81870  as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81871Usually this means the macro was only invoked conditionally." "$LINENO" 5
81872fi
81873if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
81874  as_fn_error "conditional \"ENABLE_FLOAT128\" was never defined.
81875Usually this means the macro was only invoked conditionally." "$LINENO" 5
81876fi
81877if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81878  as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81879Usually this means the macro was only invoked conditionally." "$LINENO" 5
81880fi
81881if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81882  as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81883Usually this means the macro was only invoked conditionally." "$LINENO" 5
81884fi
81885if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81886  as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81887Usually this means the macro was only invoked conditionally." "$LINENO" 5
81888fi
81889if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81890  as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81891Usually this means the macro was only invoked conditionally." "$LINENO" 5
81892fi
81893if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81894  as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81895Usually this means the macro was only invoked conditionally." "$LINENO" 5
81896fi
81897if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81898  as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81899Usually this means the macro was only invoked conditionally." "$LINENO" 5
81900fi
81901if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81902  as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81903Usually this means the macro was only invoked conditionally." "$LINENO" 5
81904fi
81905if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81906  as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81907Usually this means the macro was only invoked conditionally." "$LINENO" 5
81908fi
81909if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81910  as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81911Usually this means the macro was only invoked conditionally." "$LINENO" 5
81912fi
81913if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81914  as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81915Usually this means the macro was only invoked conditionally." "$LINENO" 5
81916fi
81917if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81918  as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81919Usually this means the macro was only invoked conditionally." "$LINENO" 5
81920fi
81921if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81922  as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81923Usually this means the macro was only invoked conditionally." "$LINENO" 5
81924fi
81925if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81926  as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81927Usually this means the macro was only invoked conditionally." "$LINENO" 5
81928fi
81929if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81930  as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81931Usually this means the macro was only invoked conditionally." "$LINENO" 5
81932fi
81933if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81934  as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81935Usually this means the macro was only invoked conditionally." "$LINENO" 5
81936fi
81937if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81938  as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81939Usually this means the macro was only invoked conditionally." "$LINENO" 5
81940fi
81941if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81942  as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81943Usually this means the macro was only invoked conditionally." "$LINENO" 5
81944fi
81945if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81946  as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81947Usually this means the macro was only invoked conditionally." "$LINENO" 5
81948fi
81949if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81950  as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81951Usually this means the macro was only invoked conditionally." "$LINENO" 5
81952fi
81953if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81954  as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81955Usually this means the macro was only invoked conditionally." "$LINENO" 5
81956fi
81957if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81958  as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81959Usually this means the macro was only invoked conditionally." "$LINENO" 5
81960fi
81961if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81962  as_fn_error "conditional \"BUILD_INFO\" was never defined.
81963Usually this means the macro was only invoked conditionally." "$LINENO" 5
81964fi
81965if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81966  as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81967Usually this means the macro was only invoked conditionally." "$LINENO" 5
81968fi
81969if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81970  as_fn_error "conditional \"BUILD_XML\" was never defined.
81971Usually this means the macro was only invoked conditionally." "$LINENO" 5
81972fi
81973if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81974  as_fn_error "conditional \"BUILD_HTML\" was never defined.
81975Usually this means the macro was only invoked conditionally." "$LINENO" 5
81976fi
81977if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81978  as_fn_error "conditional \"BUILD_MAN\" was never defined.
81979Usually this means the macro was only invoked conditionally." "$LINENO" 5
81980fi
81981if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81982  as_fn_error "conditional \"BUILD_PDF\" was never defined.
81983Usually this means the macro was only invoked conditionally." "$LINENO" 5
81984fi
81985if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
81986  as_fn_error "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
81987Usually this means the macro was only invoked conditionally." "$LINENO" 5
81988fi
81989
81990: ${CONFIG_STATUS=./config.status}
81991ac_write_fail=0
81992ac_clean_files_save=$ac_clean_files
81993ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81994{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81995$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81996as_write_fail=0
81997cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81998#! $SHELL
81999# Generated by $as_me.
82000# Run this file to recreate the current configuration.
82001# Compiler output produced by configure, useful for debugging
82002# configure, is in config.log if it exists.
82003
82004debug=false
82005ac_cs_recheck=false
82006ac_cs_silent=false
82007
82008SHELL=\${CONFIG_SHELL-$SHELL}
82009export SHELL
82010_ASEOF
82011cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
82012## -------------------- ##
82013## M4sh Initialization. ##
82014## -------------------- ##
82015
82016# Be more Bourne compatible
82017DUALCASE=1; export DUALCASE # for MKS sh
82018if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
82019  emulate sh
82020  NULLCMD=:
82021  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
82022  # is contrary to our usage.  Disable this feature.
82023  alias -g '${1+"$@"}'='"$@"'
82024  setopt NO_GLOB_SUBST
82025else
82026  case `(set -o) 2>/dev/null` in #(
82027  *posix*) :
82028    set -o posix ;; #(
82029  *) :
82030     ;;
82031esac
82032fi
82033
82034
82035as_nl='
82036'
82037export as_nl
82038# Printing a long string crashes Solaris 7 /usr/bin/printf.
82039as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
82040as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
82041as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
82042# Prefer a ksh shell builtin over an external printf program on Solaris,
82043# but without wasting forks for bash or zsh.
82044if test -z "$BASH_VERSION$ZSH_VERSION" \
82045    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
82046  as_echo='print -r --'
82047  as_echo_n='print -rn --'
82048elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
82049  as_echo='printf %s\n'
82050  as_echo_n='printf %s'
82051else
82052  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
82053    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
82054    as_echo_n='/usr/ucb/echo -n'
82055  else
82056    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
82057    as_echo_n_body='eval
82058      arg=$1;
82059      case $arg in #(
82060      *"$as_nl"*)
82061	expr "X$arg" : "X\\(.*\\)$as_nl";
82062	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
82063      esac;
82064      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
82065    '
82066    export as_echo_n_body
82067    as_echo_n='sh -c $as_echo_n_body as_echo'
82068  fi
82069  export as_echo_body
82070  as_echo='sh -c $as_echo_body as_echo'
82071fi
82072
82073# The user is always right.
82074if test "${PATH_SEPARATOR+set}" != set; then
82075  PATH_SEPARATOR=:
82076  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82077    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82078      PATH_SEPARATOR=';'
82079  }
82080fi
82081
82082
82083# IFS
82084# We need space, tab and new line, in precisely that order.  Quoting is
82085# there to prevent editors from complaining about space-tab.
82086# (If _AS_PATH_WALK were called with IFS unset, it would disable word
82087# splitting by setting IFS to empty value.)
82088IFS=" ""	$as_nl"
82089
82090# Find who we are.  Look in the path if we contain no directory separator.
82091case $0 in #((
82092  *[\\/]* ) as_myself=$0 ;;
82093  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82094for as_dir in $PATH
82095do
82096  IFS=$as_save_IFS
82097  test -z "$as_dir" && as_dir=.
82098    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82099  done
82100IFS=$as_save_IFS
82101
82102     ;;
82103esac
82104# We did not find ourselves, most probably we were run as `sh COMMAND'
82105# in which case we are not to be found in the path.
82106if test "x$as_myself" = x; then
82107  as_myself=$0
82108fi
82109if test ! -f "$as_myself"; then
82110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82111  exit 1
82112fi
82113
82114# Unset variables that we do not need and which cause bugs (e.g. in
82115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
82116# suppresses any "Segmentation fault" message there.  '((' could
82117# trigger a bug in pdksh 5.2.14.
82118for as_var in BASH_ENV ENV MAIL MAILPATH
82119do eval test x\${$as_var+set} = xset \
82120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82121done
82122PS1='$ '
82123PS2='> '
82124PS4='+ '
82125
82126# NLS nuisances.
82127LC_ALL=C
82128export LC_ALL
82129LANGUAGE=C
82130export LANGUAGE
82131
82132# CDPATH.
82133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82134
82135
82136# as_fn_error ERROR [LINENO LOG_FD]
82137# ---------------------------------
82138# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82139# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82140# script with status $?, using 1 if that was 0.
82141as_fn_error ()
82142{
82143  as_status=$?; test $as_status -eq 0 && as_status=1
82144  if test "$3"; then
82145    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82146    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
82147  fi
82148  $as_echo "$as_me: error: $1" >&2
82149  as_fn_exit $as_status
82150} # as_fn_error
82151
82152
82153# as_fn_set_status STATUS
82154# -----------------------
82155# Set $? to STATUS, without forking.
82156as_fn_set_status ()
82157{
82158  return $1
82159} # as_fn_set_status
82160
82161# as_fn_exit STATUS
82162# -----------------
82163# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82164as_fn_exit ()
82165{
82166  set +e
82167  as_fn_set_status $1
82168  exit $1
82169} # as_fn_exit
82170
82171# as_fn_unset VAR
82172# ---------------
82173# Portably unset VAR.
82174as_fn_unset ()
82175{
82176  { eval $1=; unset $1;}
82177}
82178as_unset=as_fn_unset
82179# as_fn_append VAR VALUE
82180# ----------------------
82181# Append the text in VALUE to the end of the definition contained in VAR. Take
82182# advantage of any shell optimizations that allow amortized linear growth over
82183# repeated appends, instead of the typical quadratic growth present in naive
82184# implementations.
82185if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82186  eval 'as_fn_append ()
82187  {
82188    eval $1+=\$2
82189  }'
82190else
82191  as_fn_append ()
82192  {
82193    eval $1=\$$1\$2
82194  }
82195fi # as_fn_append
82196
82197# as_fn_arith ARG...
82198# ------------------
82199# Perform arithmetic evaluation on the ARGs, and store the result in the
82200# global $as_val. Take advantage of shells that can avoid forks. The arguments
82201# must be portable across $(()) and expr.
82202if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82203  eval 'as_fn_arith ()
82204  {
82205    as_val=$(( $* ))
82206  }'
82207else
82208  as_fn_arith ()
82209  {
82210    as_val=`expr "$@" || test $? -eq 1`
82211  }
82212fi # as_fn_arith
82213
82214
82215if expr a : '\(a\)' >/dev/null 2>&1 &&
82216   test "X`expr 00001 : '.*\(...\)'`" = X001; then
82217  as_expr=expr
82218else
82219  as_expr=false
82220fi
82221
82222if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82223  as_basename=basename
82224else
82225  as_basename=false
82226fi
82227
82228if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82229  as_dirname=dirname
82230else
82231  as_dirname=false
82232fi
82233
82234as_me=`$as_basename -- "$0" ||
82235$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82236	 X"$0" : 'X\(//\)$' \| \
82237	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82238$as_echo X/"$0" |
82239    sed '/^.*\/\([^/][^/]*\)\/*$/{
82240	    s//\1/
82241	    q
82242	  }
82243	  /^X\/\(\/\/\)$/{
82244	    s//\1/
82245	    q
82246	  }
82247	  /^X\/\(\/\).*/{
82248	    s//\1/
82249	    q
82250	  }
82251	  s/.*/./; q'`
82252
82253# Avoid depending upon Character Ranges.
82254as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82255as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82256as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82257as_cr_digits='0123456789'
82258as_cr_alnum=$as_cr_Letters$as_cr_digits
82259
82260ECHO_C= ECHO_N= ECHO_T=
82261case `echo -n x` in #(((((
82262-n*)
82263  case `echo 'xy\c'` in
82264  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
82265  xy)  ECHO_C='\c';;
82266  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
82267       ECHO_T='	';;
82268  esac;;
82269*)
82270  ECHO_N='-n';;
82271esac
82272
82273rm -f conf$$ conf$$.exe conf$$.file
82274if test -d conf$$.dir; then
82275  rm -f conf$$.dir/conf$$.file
82276else
82277  rm -f conf$$.dir
82278  mkdir conf$$.dir 2>/dev/null
82279fi
82280if (echo >conf$$.file) 2>/dev/null; then
82281  if ln -s conf$$.file conf$$ 2>/dev/null; then
82282    as_ln_s='ln -s'
82283    # ... but there are two gotchas:
82284    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82285    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82286    # In both cases, we have to default to `cp -p'.
82287    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82288      as_ln_s='cp -p'
82289  elif ln conf$$.file conf$$ 2>/dev/null; then
82290    as_ln_s=ln
82291  else
82292    as_ln_s='cp -p'
82293  fi
82294else
82295  as_ln_s='cp -p'
82296fi
82297rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82298rmdir conf$$.dir 2>/dev/null
82299
82300
82301# as_fn_mkdir_p
82302# -------------
82303# Create "$as_dir" as a directory, including parents if necessary.
82304as_fn_mkdir_p ()
82305{
82306
82307  case $as_dir in #(
82308  -*) as_dir=./$as_dir;;
82309  esac
82310  test -d "$as_dir" || eval $as_mkdir_p || {
82311    as_dirs=
82312    while :; do
82313      case $as_dir in #(
82314      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82315      *) as_qdir=$as_dir;;
82316      esac
82317      as_dirs="'$as_qdir' $as_dirs"
82318      as_dir=`$as_dirname -- "$as_dir" ||
82319$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82320	 X"$as_dir" : 'X\(//\)[^/]' \| \
82321	 X"$as_dir" : 'X\(//\)$' \| \
82322	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82323$as_echo X"$as_dir" |
82324    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82325	    s//\1/
82326	    q
82327	  }
82328	  /^X\(\/\/\)[^/].*/{
82329	    s//\1/
82330	    q
82331	  }
82332	  /^X\(\/\/\)$/{
82333	    s//\1/
82334	    q
82335	  }
82336	  /^X\(\/\).*/{
82337	    s//\1/
82338	    q
82339	  }
82340	  s/.*/./; q'`
82341      test -d "$as_dir" && break
82342    done
82343    test -z "$as_dirs" || eval "mkdir $as_dirs"
82344  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
82345
82346
82347} # as_fn_mkdir_p
82348if mkdir -p . 2>/dev/null; then
82349  as_mkdir_p='mkdir -p "$as_dir"'
82350else
82351  test -d ./-p && rmdir ./-p
82352  as_mkdir_p=false
82353fi
82354
82355if test -x / >/dev/null 2>&1; then
82356  as_test_x='test -x'
82357else
82358  if ls -dL / >/dev/null 2>&1; then
82359    as_ls_L_option=L
82360  else
82361    as_ls_L_option=
82362  fi
82363  as_test_x='
82364    eval sh -c '\''
82365      if test -d "$1"; then
82366	test -d "$1/.";
82367      else
82368	case $1 in #(
82369	-*)set "./$1";;
82370	esac;
82371	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82372	???[sx]*):;;*)false;;esac;fi
82373    '\'' sh
82374  '
82375fi
82376as_executable_p=$as_test_x
82377
82378# Sed expression to map a string onto a valid CPP name.
82379as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82380
82381# Sed expression to map a string onto a valid variable name.
82382as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82383
82384
82385exec 6>&1
82386## ----------------------------------- ##
82387## Main body of $CONFIG_STATUS script. ##
82388## ----------------------------------- ##
82389_ASEOF
82390test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82391
82392cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82393# Save the log message, to keep $0 and so on meaningful, and to
82394# report actual input values of CONFIG_FILES etc. instead of their
82395# values after options handling.
82396ac_log="
82397This file was extended by package-unused $as_me version-unused, which was
82398generated by GNU Autoconf 2.64.  Invocation command line was
82399
82400  CONFIG_FILES    = $CONFIG_FILES
82401  CONFIG_HEADERS  = $CONFIG_HEADERS
82402  CONFIG_LINKS    = $CONFIG_LINKS
82403  CONFIG_COMMANDS = $CONFIG_COMMANDS
82404  $ $0 $@
82405
82406on `(hostname || uname -n) 2>/dev/null | sed 1q`
82407"
82408
82409_ACEOF
82410
82411case $ac_config_files in *"
82412"*) set x $ac_config_files; shift; ac_config_files=$*;;
82413esac
82414
82415case $ac_config_headers in *"
82416"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82417esac
82418
82419
82420cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82421# Files that config.status was made for.
82422config_files="$ac_config_files"
82423config_headers="$ac_config_headers"
82424config_commands="$ac_config_commands"
82425
82426_ACEOF
82427
82428cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82429ac_cs_usage="\
82430\`$as_me' instantiates files and other configuration actions
82431from templates according to the current configuration.  Unless the files
82432and actions are specified as TAGs, all are instantiated by default.
82433
82434Usage: $0 [OPTION]... [TAG]...
82435
82436  -h, --help       print this help, then exit
82437  -V, --version    print version number and configuration settings, then exit
82438  -q, --quiet, --silent
82439                   do not print progress messages
82440  -d, --debug      don't remove temporary files
82441      --recheck    update $as_me by reconfiguring in the same conditions
82442      --file=FILE[:TEMPLATE]
82443                   instantiate the configuration file FILE
82444      --header=FILE[:TEMPLATE]
82445                   instantiate the configuration header FILE
82446
82447Configuration files:
82448$config_files
82449
82450Configuration headers:
82451$config_headers
82452
82453Configuration commands:
82454$config_commands
82455
82456Report bugs to the package provider."
82457
82458_ACEOF
82459cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82460ac_cs_version="\\
82461package-unused config.status version-unused
82462configured by $0, generated by GNU Autoconf 2.64,
82463  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82464
82465Copyright (C) 2009 Free Software Foundation, Inc.
82466This config.status script is free software; the Free Software Foundation
82467gives unlimited permission to copy, distribute and modify it."
82468
82469ac_pwd='$ac_pwd'
82470srcdir='$srcdir'
82471INSTALL='$INSTALL'
82472MKDIR_P='$MKDIR_P'
82473AWK='$AWK'
82474test -n "\$AWK" || AWK=awk
82475_ACEOF
82476
82477cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82478# The default lists apply if the user does not specify any file.
82479ac_need_defaults=:
82480while test $# != 0
82481do
82482  case $1 in
82483  --*=*)
82484    ac_option=`expr "X$1" : 'X\([^=]*\)='`
82485    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82486    ac_shift=:
82487    ;;
82488  *)
82489    ac_option=$1
82490    ac_optarg=$2
82491    ac_shift=shift
82492    ;;
82493  esac
82494
82495  case $ac_option in
82496  # Handling of the options.
82497  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82498    ac_cs_recheck=: ;;
82499  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82500    $as_echo "$ac_cs_version"; exit ;;
82501  --debug | --debu | --deb | --de | --d | -d )
82502    debug=: ;;
82503  --file | --fil | --fi | --f )
82504    $ac_shift
82505    case $ac_optarg in
82506    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82507    esac
82508    as_fn_append CONFIG_FILES " '$ac_optarg'"
82509    ac_need_defaults=false;;
82510  --header | --heade | --head | --hea )
82511    $ac_shift
82512    case $ac_optarg in
82513    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82514    esac
82515    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82516    ac_need_defaults=false;;
82517  --he | --h)
82518    # Conflict between --help and --header
82519    as_fn_error "ambiguous option: \`$1'
82520Try \`$0 --help' for more information.";;
82521  --help | --hel | -h )
82522    $as_echo "$ac_cs_usage"; exit ;;
82523  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82524  | -silent | --silent | --silen | --sile | --sil | --si | --s)
82525    ac_cs_silent=: ;;
82526
82527  # This is an error.
82528  -*) as_fn_error "unrecognized option: \`$1'
82529Try \`$0 --help' for more information." ;;
82530
82531  *) as_fn_append ac_config_targets " $1"
82532     ac_need_defaults=false ;;
82533
82534  esac
82535  shift
82536done
82537
82538ac_configure_extra_args=
82539
82540if $ac_cs_silent; then
82541  exec 6>/dev/null
82542  ac_configure_extra_args="$ac_configure_extra_args --silent"
82543fi
82544
82545_ACEOF
82546cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82547if \$ac_cs_recheck; then
82548  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82549  shift
82550  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82551  CONFIG_SHELL='$SHELL'
82552  export CONFIG_SHELL
82553  exec "\$@"
82554fi
82555
82556_ACEOF
82557cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82558exec 5>>config.log
82559{
82560  echo
82561  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82562## Running $as_me. ##
82563_ASBOX
82564  $as_echo "$ac_log"
82565} >&5
82566
82567_ACEOF
82568cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82569#
82570# INIT-COMMANDS
82571#
82572
82573srcdir="$srcdir"
82574host="$host"
82575target="$target"
82576with_multisubdir="$with_multisubdir"
82577with_multisrctop="$with_multisrctop"
82578with_target_subdir="$with_target_subdir"
82579ac_configure_args="${multilib_arg} ${ac_configure_args}"
82580multi_basedir="$multi_basedir"
82581CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82582CC="$CC"
82583CXX="$CXX"
82584GFORTRAN="$GFORTRAN"
82585
82586
82587# The HP-UX ksh and POSIX shell print the target directory to stdout
82588# if CDPATH is set.
82589(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82590
82591sed_quote_subst='$sed_quote_subst'
82592double_quote_subst='$double_quote_subst'
82593delay_variable_subst='$delay_variable_subst'
82594macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82595macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82596enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82597enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82598pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82599enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82600SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82601ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82602host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82603host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82604host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82605build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82606build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82607build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82608SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82609Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82610GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82611EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82612FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82613LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82614NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82615LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82616max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82617ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82618exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82619lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82620lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82621lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82622reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82623reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82624OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82625deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82626file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82627AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82628AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82629STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82630RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82631old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82632old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82633old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82634lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82635CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82636CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82637compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82638GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82639lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82640lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82641lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82642lt_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"`'
82643objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82644MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82645lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82646lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82647lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82648lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82649lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82650need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82651DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82652NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82653LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82654OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82655OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82656libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82657shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82658extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82659archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82660enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82661export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82662whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82663compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82664old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82665old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82666archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82667archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82668module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82669module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82670with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82671allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82672no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82673hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82674hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82675hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82676hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82677hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82678hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82679hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82680hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82681inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82682link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82683fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82684always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82685export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82686exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82687include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82688prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82689file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82690variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82691need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82692need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82693version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82694runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82695shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82696shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82697libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82698library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82699soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82700install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82701postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82702postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82703finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82704finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82705hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82706sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82707sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82708hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82709enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82710enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82711enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82712old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82713striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82714compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82715predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82716postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82717predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82718postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82719compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82720LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82721reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82722reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82723old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82724compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82725GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82726lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82727lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82728lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82729lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82730lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82731archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82732enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82733export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82734whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82735compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82736old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82737old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82738archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82739archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82740module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82741module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82742with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82743allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82744no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82745hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82746hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82747hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82748hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82749hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82750hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82751hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82752hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82753inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82754link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82755fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82756always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82757export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82758exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82759include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82760prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82761file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82762hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82763compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82764predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82765postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82766predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82767postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82768compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82769
82770LTCC='$LTCC'
82771LTCFLAGS='$LTCFLAGS'
82772compiler='$compiler_DEFAULT'
82773
82774# A function that is used when there is no print builtin or printf.
82775func_fallback_echo ()
82776{
82777  eval 'cat <<_LTECHO_EOF
82778\$1
82779_LTECHO_EOF'
82780}
82781
82782# Quote evaled strings.
82783for var in SHELL \
82784ECHO \
82785SED \
82786GREP \
82787EGREP \
82788FGREP \
82789LD \
82790NM \
82791LN_S \
82792lt_SP2NL \
82793lt_NL2SP \
82794reload_flag \
82795OBJDUMP \
82796deplibs_check_method \
82797file_magic_cmd \
82798AR \
82799AR_FLAGS \
82800STRIP \
82801RANLIB \
82802CC \
82803CFLAGS \
82804compiler \
82805lt_cv_sys_global_symbol_pipe \
82806lt_cv_sys_global_symbol_to_cdecl \
82807lt_cv_sys_global_symbol_to_c_name_address \
82808lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82809lt_prog_compiler_no_builtin_flag \
82810lt_prog_compiler_wl \
82811lt_prog_compiler_pic \
82812lt_prog_compiler_static \
82813lt_cv_prog_compiler_c_o \
82814need_locks \
82815DSYMUTIL \
82816NMEDIT \
82817LIPO \
82818OTOOL \
82819OTOOL64 \
82820shrext_cmds \
82821export_dynamic_flag_spec \
82822whole_archive_flag_spec \
82823compiler_needs_object \
82824with_gnu_ld \
82825allow_undefined_flag \
82826no_undefined_flag \
82827hardcode_libdir_flag_spec \
82828hardcode_libdir_flag_spec_ld \
82829hardcode_libdir_separator \
82830fix_srcfile_path \
82831exclude_expsyms \
82832include_expsyms \
82833file_list_spec \
82834variables_saved_for_relink \
82835libname_spec \
82836library_names_spec \
82837soname_spec \
82838install_override_mode \
82839finish_eval \
82840old_striplib \
82841striplib \
82842compiler_lib_search_dirs \
82843predep_objects \
82844postdep_objects \
82845predeps \
82846postdeps \
82847compiler_lib_search_path \
82848LD_CXX \
82849reload_flag_CXX \
82850compiler_CXX \
82851lt_prog_compiler_no_builtin_flag_CXX \
82852lt_prog_compiler_wl_CXX \
82853lt_prog_compiler_pic_CXX \
82854lt_prog_compiler_static_CXX \
82855lt_cv_prog_compiler_c_o_CXX \
82856export_dynamic_flag_spec_CXX \
82857whole_archive_flag_spec_CXX \
82858compiler_needs_object_CXX \
82859with_gnu_ld_CXX \
82860allow_undefined_flag_CXX \
82861no_undefined_flag_CXX \
82862hardcode_libdir_flag_spec_CXX \
82863hardcode_libdir_flag_spec_ld_CXX \
82864hardcode_libdir_separator_CXX \
82865fix_srcfile_path_CXX \
82866exclude_expsyms_CXX \
82867include_expsyms_CXX \
82868file_list_spec_CXX \
82869compiler_lib_search_dirs_CXX \
82870predep_objects_CXX \
82871postdep_objects_CXX \
82872predeps_CXX \
82873postdeps_CXX \
82874compiler_lib_search_path_CXX; do
82875    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82876    *[\\\\\\\`\\"\\\$]*)
82877      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82878      ;;
82879    *)
82880      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82881      ;;
82882    esac
82883done
82884
82885# Double-quote double-evaled strings.
82886for var in reload_cmds \
82887old_postinstall_cmds \
82888old_postuninstall_cmds \
82889old_archive_cmds \
82890extract_expsyms_cmds \
82891old_archive_from_new_cmds \
82892old_archive_from_expsyms_cmds \
82893archive_cmds \
82894archive_expsym_cmds \
82895module_cmds \
82896module_expsym_cmds \
82897export_symbols_cmds \
82898prelink_cmds \
82899postinstall_cmds \
82900postuninstall_cmds \
82901finish_cmds \
82902sys_lib_search_path_spec \
82903sys_lib_dlsearch_path_spec \
82904reload_cmds_CXX \
82905old_archive_cmds_CXX \
82906old_archive_from_new_cmds_CXX \
82907old_archive_from_expsyms_cmds_CXX \
82908archive_cmds_CXX \
82909archive_expsym_cmds_CXX \
82910module_cmds_CXX \
82911module_expsym_cmds_CXX \
82912export_symbols_cmds_CXX \
82913prelink_cmds_CXX; do
82914    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82915    *[\\\\\\\`\\"\\\$]*)
82916      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82917      ;;
82918    *)
82919      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82920      ;;
82921    esac
82922done
82923
82924ac_aux_dir='$ac_aux_dir'
82925xsi_shell='$xsi_shell'
82926lt_shell_append='$lt_shell_append'
82927
82928# See if we are running on zsh, and set the options which allow our
82929# commands through without removal of \ escapes INIT.
82930if test -n "\${ZSH_VERSION+set}" ; then
82931   setopt NO_GLOB_SUBST
82932fi
82933
82934
82935    PACKAGE='$PACKAGE'
82936    VERSION='$VERSION'
82937    TIMESTAMP='$TIMESTAMP'
82938    RM='$RM'
82939    ofile='$ofile'
82940
82941
82942
82943
82944
82945
82946GCC="$GCC"
82947CC="$CC"
82948acx_cv_header_stdint="$acx_cv_header_stdint"
82949acx_cv_type_int8_t="$acx_cv_type_int8_t"
82950acx_cv_type_int16_t="$acx_cv_type_int16_t"
82951acx_cv_type_int32_t="$acx_cv_type_int32_t"
82952acx_cv_type_int64_t="$acx_cv_type_int64_t"
82953acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82954ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82955ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82956ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82957ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82958ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82959ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82960ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82961ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82962
82963
82964_ACEOF
82965
82966cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82967
82968# Handling of arguments.
82969for ac_config_target in $ac_config_targets
82970do
82971  case $ac_config_target in
82972    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82973    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82974    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82975    "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82976    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82977    "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82978    "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82979    "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82980    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82981    "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82982    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82983    "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82984    "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82985    "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82986    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82987    "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82988    "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82989
82990  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82991  esac
82992done
82993
82994
82995# If the user did not use the arguments to specify the items to instantiate,
82996# then the envvar interface is used.  Set only those that are not.
82997# We use the long form for the default assignment because of an extremely
82998# bizarre bug on SunOS 4.1.3.
82999if $ac_need_defaults; then
83000  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
83001  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
83002  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
83003fi
83004
83005# Have a temporary directory for convenience.  Make it in the build tree
83006# simply because there is no reason against having it here, and in addition,
83007# creating and moving files from /tmp can sometimes cause problems.
83008# Hook for its removal unless debugging.
83009# Note that there is a small window in which the directory will not be cleaned:
83010# after its creation but before its name has been assigned to `$tmp'.
83011$debug ||
83012{
83013  tmp=
83014  trap 'exit_status=$?
83015  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
83016' 0
83017  trap 'as_fn_exit 1' 1 2 13 15
83018}
83019# Create a (secure) tmp directory for tmp files.
83020
83021{
83022  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
83023  test -n "$tmp" && test -d "$tmp"
83024}  ||
83025{
83026  tmp=./conf$$-$RANDOM
83027  (umask 077 && mkdir "$tmp")
83028} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
83029
83030# Set up the scripts for CONFIG_FILES section.
83031# No need to generate them if there are no CONFIG_FILES.
83032# This happens for instance with `./config.status config.h'.
83033if test -n "$CONFIG_FILES"; then
83034
83035
83036ac_cr=`echo X | tr X '\015'`
83037# On cygwin, bash can eat \r inside `` if the user requested igncr.
83038# But we know of no other shell where ac_cr would be empty at this
83039# point, so we can use a bashism as a fallback.
83040if test "x$ac_cr" = x; then
83041  eval ac_cr=\$\'\\r\'
83042fi
83043ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
83044if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
83045  ac_cs_awk_cr='\r'
83046else
83047  ac_cs_awk_cr=$ac_cr
83048fi
83049
83050echo 'BEGIN {' >"$tmp/subs1.awk" &&
83051_ACEOF
83052
83053
83054{
83055  echo "cat >conf$$subs.awk <<_ACEOF" &&
83056  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
83057  echo "_ACEOF"
83058} >conf$$subs.sh ||
83059  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83060ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
83061ac_delim='%!_!# '
83062for ac_last_try in false false false false false :; do
83063  . ./conf$$subs.sh ||
83064    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83065
83066  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
83067  if test $ac_delim_n = $ac_delim_num; then
83068    break
83069  elif $ac_last_try; then
83070    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83071  else
83072    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83073  fi
83074done
83075rm -f conf$$subs.sh
83076
83077cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83078cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
83079_ACEOF
83080sed -n '
83081h
83082s/^/S["/; s/!.*/"]=/
83083p
83084g
83085s/^[^!]*!//
83086:repl
83087t repl
83088s/'"$ac_delim"'$//
83089t delim
83090:nl
83091h
83092s/\(.\{148\}\).*/\1/
83093t more1
83094s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
83095p
83096n
83097b repl
83098:more1
83099s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83100p
83101g
83102s/.\{148\}//
83103t nl
83104:delim
83105h
83106s/\(.\{148\}\).*/\1/
83107t more2
83108s/["\\]/\\&/g; s/^/"/; s/$/"/
83109p
83110b
83111:more2
83112s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83113p
83114g
83115s/.\{148\}//
83116t delim
83117' <conf$$subs.awk | sed '
83118/^[^""]/{
83119  N
83120  s/\n//
83121}
83122' >>$CONFIG_STATUS || ac_write_fail=1
83123rm -f conf$$subs.awk
83124cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83125_ACAWK
83126cat >>"\$tmp/subs1.awk" <<_ACAWK &&
83127  for (key in S) S_is_set[key] = 1
83128  FS = ""
83129
83130}
83131{
83132  line = $ 0
83133  nfields = split(line, field, "@")
83134  substed = 0
83135  len = length(field[1])
83136  for (i = 2; i < nfields; i++) {
83137    key = field[i]
83138    keylen = length(key)
83139    if (S_is_set[key]) {
83140      value = S[key]
83141      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83142      len += length(value) + length(field[++i])
83143      substed = 1
83144    } else
83145      len += 1 + keylen
83146  }
83147
83148  print line
83149}
83150
83151_ACAWK
83152_ACEOF
83153cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83154if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83155  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83156else
83157  cat
83158fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
83159  || as_fn_error "could not setup config files machinery" "$LINENO" 5
83160_ACEOF
83161
83162# VPATH may cause trouble with some makes, so we remove $(srcdir),
83163# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
83164# trailing colons and then remove the whole line if VPATH becomes empty
83165# (actually we leave an empty line to preserve line numbers).
83166if test "x$srcdir" = x.; then
83167  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
83168s/:*\$(srcdir):*/:/
83169s/:*\${srcdir}:*/:/
83170s/:*@srcdir@:*/:/
83171s/^\([^=]*=[	 ]*\):*/\1/
83172s/:*$//
83173s/^[^=]*=[	 ]*$//
83174}'
83175fi
83176
83177cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83178fi # test -n "$CONFIG_FILES"
83179
83180# Set up the scripts for CONFIG_HEADERS section.
83181# No need to generate them if there are no CONFIG_HEADERS.
83182# This happens for instance with `./config.status Makefile'.
83183if test -n "$CONFIG_HEADERS"; then
83184cat >"$tmp/defines.awk" <<\_ACAWK ||
83185BEGIN {
83186_ACEOF
83187
83188# Transform confdefs.h into an awk script `defines.awk', embedded as
83189# here-document in config.status, that substitutes the proper values into
83190# config.h.in to produce config.h.
83191
83192# Create a delimiter string that does not exist in confdefs.h, to ease
83193# handling of long lines.
83194ac_delim='%!_!# '
83195for ac_last_try in false false :; do
83196  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
83197  if test -z "$ac_t"; then
83198    break
83199  elif $ac_last_try; then
83200    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
83201  else
83202    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83203  fi
83204done
83205
83206# For the awk script, D is an array of macro values keyed by name,
83207# likewise P contains macro parameters if any.  Preserve backslash
83208# newline sequences.
83209
83210ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83211sed -n '
83212s/.\{148\}/&'"$ac_delim"'/g
83213t rset
83214:rset
83215s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
83216t def
83217d
83218:def
83219s/\\$//
83220t bsnl
83221s/["\\]/\\&/g
83222s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
83223D["\1"]=" \3"/p
83224s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
83225d
83226:bsnl
83227s/["\\]/\\&/g
83228s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
83229D["\1"]=" \3\\\\\\n"\\/p
83230t cont
83231s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83232t cont
83233d
83234:cont
83235n
83236s/.\{148\}/&'"$ac_delim"'/g
83237t clear
83238:clear
83239s/\\$//
83240t bsnlc
83241s/["\\]/\\&/g; s/^/"/; s/$/"/p
83242d
83243:bsnlc
83244s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83245b cont
83246' <confdefs.h | sed '
83247s/'"$ac_delim"'/"\\\
83248"/g' >>$CONFIG_STATUS || ac_write_fail=1
83249
83250cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83251  for (key in D) D_is_set[key] = 1
83252  FS = ""
83253}
83254/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83255  line = \$ 0
83256  split(line, arg, " ")
83257  if (arg[1] == "#") {
83258    defundef = arg[2]
83259    mac1 = arg[3]
83260  } else {
83261    defundef = substr(arg[1], 2)
83262    mac1 = arg[2]
83263  }
83264  split(mac1, mac2, "(") #)
83265  macro = mac2[1]
83266  prefix = substr(line, 1, index(line, defundef) - 1)
83267  if (D_is_set[macro]) {
83268    # Preserve the white space surrounding the "#".
83269    print prefix "define", macro P[macro] D[macro]
83270    next
83271  } else {
83272    # Replace #undef with comments.  This is necessary, for example,
83273    # in the case of _POSIX_SOURCE, which is predefined and required
83274    # on some systems where configure will not decide to define it.
83275    if (defundef == "undef") {
83276      print "/*", prefix defundef, macro, "*/"
83277      next
83278    }
83279  }
83280}
83281{ print }
83282_ACAWK
83283_ACEOF
83284cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83285  as_fn_error "could not setup config headers machinery" "$LINENO" 5
83286fi # test -n "$CONFIG_HEADERS"
83287
83288
83289eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
83290shift
83291for ac_tag
83292do
83293  case $ac_tag in
83294  :[FHLC]) ac_mode=$ac_tag; continue;;
83295  esac
83296  case $ac_mode$ac_tag in
83297  :[FHL]*:*);;
83298  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
83299  :[FH]-) ac_tag=-:-;;
83300  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83301  esac
83302  ac_save_IFS=$IFS
83303  IFS=:
83304  set x $ac_tag
83305  IFS=$ac_save_IFS
83306  shift
83307  ac_file=$1
83308  shift
83309
83310  case $ac_mode in
83311  :L) ac_source=$1;;
83312  :[FH])
83313    ac_file_inputs=
83314    for ac_f
83315    do
83316      case $ac_f in
83317      -) ac_f="$tmp/stdin";;
83318      *) # Look for the file first in the build tree, then in the source tree
83319	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
83320	 # because $ac_f cannot contain `:'.
83321	 test -f "$ac_f" ||
83322	   case $ac_f in
83323	   [\\/$]*) false;;
83324	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83325	   esac ||
83326	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83327      esac
83328      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83329      as_fn_append ac_file_inputs " '$ac_f'"
83330    done
83331
83332    # Let's still pretend it is `configure' which instantiates (i.e., don't
83333    # use $as_me), people would be surprised to read:
83334    #    /* config.h.  Generated by config.status.  */
83335    configure_input='Generated from '`
83336	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83337	`' by configure.'
83338    if test x"$ac_file" != x-; then
83339      configure_input="$ac_file.  $configure_input"
83340      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83341$as_echo "$as_me: creating $ac_file" >&6;}
83342    fi
83343    # Neutralize special characters interpreted by sed in replacement strings.
83344    case $configure_input in #(
83345    *\&* | *\|* | *\\* )
83346       ac_sed_conf_input=`$as_echo "$configure_input" |
83347       sed 's/[\\\\&|]/\\\\&/g'`;; #(
83348    *) ac_sed_conf_input=$configure_input;;
83349    esac
83350
83351    case $ac_tag in
83352    *:-:* | *:-) cat >"$tmp/stdin" \
83353      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83354    esac
83355    ;;
83356  esac
83357
83358  ac_dir=`$as_dirname -- "$ac_file" ||
83359$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83360	 X"$ac_file" : 'X\(//\)[^/]' \| \
83361	 X"$ac_file" : 'X\(//\)$' \| \
83362	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83363$as_echo X"$ac_file" |
83364    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83365	    s//\1/
83366	    q
83367	  }
83368	  /^X\(\/\/\)[^/].*/{
83369	    s//\1/
83370	    q
83371	  }
83372	  /^X\(\/\/\)$/{
83373	    s//\1/
83374	    q
83375	  }
83376	  /^X\(\/\).*/{
83377	    s//\1/
83378	    q
83379	  }
83380	  s/.*/./; q'`
83381  as_dir="$ac_dir"; as_fn_mkdir_p
83382  ac_builddir=.
83383
83384case "$ac_dir" in
83385.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83386*)
83387  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83388  # A ".." for each directory in $ac_dir_suffix.
83389  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83390  case $ac_top_builddir_sub in
83391  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83392  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83393  esac ;;
83394esac
83395ac_abs_top_builddir=$ac_pwd
83396ac_abs_builddir=$ac_pwd$ac_dir_suffix
83397# for backward compatibility:
83398ac_top_builddir=$ac_top_build_prefix
83399
83400case $srcdir in
83401  .)  # We are building in place.
83402    ac_srcdir=.
83403    ac_top_srcdir=$ac_top_builddir_sub
83404    ac_abs_top_srcdir=$ac_pwd ;;
83405  [\\/]* | ?:[\\/]* )  # Absolute name.
83406    ac_srcdir=$srcdir$ac_dir_suffix;
83407    ac_top_srcdir=$srcdir
83408    ac_abs_top_srcdir=$srcdir ;;
83409  *) # Relative name.
83410    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83411    ac_top_srcdir=$ac_top_build_prefix$srcdir
83412    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83413esac
83414ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83415
83416
83417  case $ac_mode in
83418  :F)
83419  #
83420  # CONFIG_FILE
83421  #
83422
83423  case $INSTALL in
83424  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83425  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83426  esac
83427  ac_MKDIR_P=$MKDIR_P
83428  case $MKDIR_P in
83429  [\\/$]* | ?:[\\/]* ) ;;
83430  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83431  esac
83432_ACEOF
83433
83434cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83435# If the template does not know about datarootdir, expand it.
83436# FIXME: This hack should be removed a few years after 2.60.
83437ac_datarootdir_hack=; ac_datarootdir_seen=
83438ac_sed_dataroot='
83439/datarootdir/ {
83440  p
83441  q
83442}
83443/@datadir@/p
83444/@docdir@/p
83445/@infodir@/p
83446/@localedir@/p
83447/@mandir@/p'
83448case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83449*datarootdir*) ac_datarootdir_seen=yes;;
83450*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83451  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83452$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83453_ACEOF
83454cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83455  ac_datarootdir_hack='
83456  s&@datadir@&$datadir&g
83457  s&@docdir@&$docdir&g
83458  s&@infodir@&$infodir&g
83459  s&@localedir@&$localedir&g
83460  s&@mandir@&$mandir&g
83461  s&\\\${datarootdir}&$datarootdir&g' ;;
83462esac
83463_ACEOF
83464
83465# Neutralize VPATH when `$srcdir' = `.'.
83466# Shell code in configure.ac might set extrasub.
83467# FIXME: do we really want to maintain this feature?
83468cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83469ac_sed_extra="$ac_vpsub
83470$extrasub
83471_ACEOF
83472cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83473:t
83474/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83475s|@configure_input@|$ac_sed_conf_input|;t t
83476s&@top_builddir@&$ac_top_builddir_sub&;t t
83477s&@top_build_prefix@&$ac_top_build_prefix&;t t
83478s&@srcdir@&$ac_srcdir&;t t
83479s&@abs_srcdir@&$ac_abs_srcdir&;t t
83480s&@top_srcdir@&$ac_top_srcdir&;t t
83481s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83482s&@builddir@&$ac_builddir&;t t
83483s&@abs_builddir@&$ac_abs_builddir&;t t
83484s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83485s&@INSTALL@&$ac_INSTALL&;t t
83486s&@MKDIR_P@&$ac_MKDIR_P&;t t
83487$ac_datarootdir_hack
83488"
83489eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83490  || as_fn_error "could not create $ac_file" "$LINENO" 5
83491
83492test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83493  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83494  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83495  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83496which seems to be undefined.  Please make sure it is defined." >&5
83497$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83498which seems to be undefined.  Please make sure it is defined." >&2;}
83499
83500  rm -f "$tmp/stdin"
83501  case $ac_file in
83502  -) cat "$tmp/out" && rm -f "$tmp/out";;
83503  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83504  esac \
83505  || as_fn_error "could not create $ac_file" "$LINENO" 5
83506 ;;
83507  :H)
83508  #
83509  # CONFIG_HEADER
83510  #
83511  if test x"$ac_file" != x-; then
83512    {
83513      $as_echo "/* $configure_input  */" \
83514      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83515    } >"$tmp/config.h" \
83516      || as_fn_error "could not create $ac_file" "$LINENO" 5
83517    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83518      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83519$as_echo "$as_me: $ac_file is unchanged" >&6;}
83520    else
83521      rm -f "$ac_file"
83522      mv "$tmp/config.h" "$ac_file" \
83523	|| as_fn_error "could not create $ac_file" "$LINENO" 5
83524    fi
83525  else
83526    $as_echo "/* $configure_input  */" \
83527      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83528      || as_fn_error "could not create -" "$LINENO" 5
83529  fi
83530# Compute "$ac_file"'s index in $config_headers.
83531_am_arg="$ac_file"
83532_am_stamp_count=1
83533for _am_header in $config_headers :; do
83534  case $_am_header in
83535    $_am_arg | $_am_arg:* )
83536      break ;;
83537    * )
83538      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83539  esac
83540done
83541echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83542$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83543	 X"$_am_arg" : 'X\(//\)[^/]' \| \
83544	 X"$_am_arg" : 'X\(//\)$' \| \
83545	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83546$as_echo X"$_am_arg" |
83547    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83548	    s//\1/
83549	    q
83550	  }
83551	  /^X\(\/\/\)[^/].*/{
83552	    s//\1/
83553	    q
83554	  }
83555	  /^X\(\/\/\)$/{
83556	    s//\1/
83557	    q
83558	  }
83559	  /^X\(\/\).*/{
83560	    s//\1/
83561	    q
83562	  }
83563	  s/.*/./; q'`/stamp-h$_am_stamp_count
83564 ;;
83565
83566  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83567$as_echo "$as_me: executing $ac_file commands" >&6;}
83568 ;;
83569  esac
83570
83571
83572  case $ac_file$ac_mode in
83573    "default-1":C)
83574# Only add multilib support code if we just rebuilt the top-level
83575# Makefile.
83576case " $CONFIG_FILES " in
83577 *" Makefile "*)
83578   ac_file=Makefile . ${multi_basedir}/config-ml.in
83579   ;;
83580esac ;;
83581    "libtool":C)
83582
83583    # See if we are running on zsh, and set the options which allow our
83584    # commands through without removal of \ escapes.
83585    if test -n "${ZSH_VERSION+set}" ; then
83586      setopt NO_GLOB_SUBST
83587    fi
83588
83589    cfgfile="${ofile}T"
83590    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83591    $RM "$cfgfile"
83592
83593    cat <<_LT_EOF >> "$cfgfile"
83594#! $SHELL
83595
83596# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83597# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83598# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83599# NOTE: Changes made to this file will be lost: look at ltmain.sh.
83600#
83601#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83602#                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83603#   Written by Gordon Matzigkeit, 1996
83604#
83605#   This file is part of GNU Libtool.
83606#
83607# GNU Libtool is free software; you can redistribute it and/or
83608# modify it under the terms of the GNU General Public License as
83609# published by the Free Software Foundation; either version 2 of
83610# the License, or (at your option) any later version.
83611#
83612# As a special exception to the GNU General Public License,
83613# if you distribute this file as part of a program or library that
83614# is built using GNU Libtool, you may include this file under the
83615# same distribution terms that you use for the rest of that program.
83616#
83617# GNU Libtool is distributed in the hope that it will be useful,
83618# but WITHOUT ANY WARRANTY; without even the implied warranty of
83619# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
83620# GNU General Public License for more details.
83621#
83622# You should have received a copy of the GNU General Public License
83623# along with GNU Libtool; see the file COPYING.  If not, a copy
83624# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83625# obtained by writing to the Free Software Foundation, Inc.,
83626# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83627
83628
83629# The names of the tagged configurations supported by this script.
83630available_tags="CXX "
83631
83632# ### BEGIN LIBTOOL CONFIG
83633
83634# Which release of libtool.m4 was used?
83635macro_version=$macro_version
83636macro_revision=$macro_revision
83637
83638# Whether or not to build shared libraries.
83639build_libtool_libs=$enable_shared
83640
83641# Whether or not to build static libraries.
83642build_old_libs=$enable_static
83643
83644# What type of objects to build.
83645pic_mode=$pic_mode
83646
83647# Whether or not to optimize for fast installation.
83648fast_install=$enable_fast_install
83649
83650# Shell to use when invoking shell scripts.
83651SHELL=$lt_SHELL
83652
83653# An echo program that protects backslashes.
83654ECHO=$lt_ECHO
83655
83656# The host system.
83657host_alias=$host_alias
83658host=$host
83659host_os=$host_os
83660
83661# The build system.
83662build_alias=$build_alias
83663build=$build
83664build_os=$build_os
83665
83666# A sed program that does not truncate output.
83667SED=$lt_SED
83668
83669# Sed that helps us avoid accidentally triggering echo(1) options like -n.
83670Xsed="\$SED -e 1s/^X//"
83671
83672# A grep program that handles long lines.
83673GREP=$lt_GREP
83674
83675# An ERE matcher.
83676EGREP=$lt_EGREP
83677
83678# A literal string matcher.
83679FGREP=$lt_FGREP
83680
83681# A BSD- or MS-compatible name lister.
83682NM=$lt_NM
83683
83684# Whether we need soft or hard links.
83685LN_S=$lt_LN_S
83686
83687# What is the maximum length of a command?
83688max_cmd_len=$max_cmd_len
83689
83690# Object file suffix (normally "o").
83691objext=$ac_objext
83692
83693# Executable file suffix (normally "").
83694exeext=$exeext
83695
83696# whether the shell understands "unset".
83697lt_unset=$lt_unset
83698
83699# turn spaces into newlines.
83700SP2NL=$lt_lt_SP2NL
83701
83702# turn newlines into spaces.
83703NL2SP=$lt_lt_NL2SP
83704
83705# An object symbol dumper.
83706OBJDUMP=$lt_OBJDUMP
83707
83708# Method to check whether dependent libraries are shared objects.
83709deplibs_check_method=$lt_deplibs_check_method
83710
83711# Command to use when deplibs_check_method == "file_magic".
83712file_magic_cmd=$lt_file_magic_cmd
83713
83714# The archiver.
83715AR=$lt_AR
83716AR_FLAGS=$lt_AR_FLAGS
83717
83718# A symbol stripping program.
83719STRIP=$lt_STRIP
83720
83721# Commands used to install an old-style archive.
83722RANLIB=$lt_RANLIB
83723old_postinstall_cmds=$lt_old_postinstall_cmds
83724old_postuninstall_cmds=$lt_old_postuninstall_cmds
83725
83726# Whether to use a lock for old archive extraction.
83727lock_old_archive_extraction=$lock_old_archive_extraction
83728
83729# A C compiler.
83730LTCC=$lt_CC
83731
83732# LTCC compiler flags.
83733LTCFLAGS=$lt_CFLAGS
83734
83735# Take the output of nm and produce a listing of raw symbols and C names.
83736global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83737
83738# Transform the output of nm in a proper C declaration.
83739global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83740
83741# Transform the output of nm in a C name address pair.
83742global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83743
83744# Transform the output of nm in a C name address pair when lib prefix is needed.
83745global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83746
83747# The name of the directory that contains temporary libtool files.
83748objdir=$objdir
83749
83750# Used to examine libraries when file_magic_cmd begins with "file".
83751MAGIC_CMD=$MAGIC_CMD
83752
83753# Must we lock files when doing compilation?
83754need_locks=$lt_need_locks
83755
83756# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83757DSYMUTIL=$lt_DSYMUTIL
83758
83759# Tool to change global to local symbols on Mac OS X.
83760NMEDIT=$lt_NMEDIT
83761
83762# Tool to manipulate fat objects and archives on Mac OS X.
83763LIPO=$lt_LIPO
83764
83765# ldd/readelf like tool for Mach-O binaries on Mac OS X.
83766OTOOL=$lt_OTOOL
83767
83768# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83769OTOOL64=$lt_OTOOL64
83770
83771# Old archive suffix (normally "a").
83772libext=$libext
83773
83774# Shared library suffix (normally ".so").
83775shrext_cmds=$lt_shrext_cmds
83776
83777# The commands to extract the exported symbol list from a shared archive.
83778extract_expsyms_cmds=$lt_extract_expsyms_cmds
83779
83780# Variables whose values should be saved in libtool wrapper scripts and
83781# restored at link time.
83782variables_saved_for_relink=$lt_variables_saved_for_relink
83783
83784# Do we need the "lib" prefix for modules?
83785need_lib_prefix=$need_lib_prefix
83786
83787# Do we need a version for libraries?
83788need_version=$need_version
83789
83790# Library versioning type.
83791version_type=$version_type
83792
83793# Shared library runtime path variable.
83794runpath_var=$runpath_var
83795
83796# Shared library path variable.
83797shlibpath_var=$shlibpath_var
83798
83799# Is shlibpath searched before the hard-coded library search path?
83800shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83801
83802# Format of library name prefix.
83803libname_spec=$lt_libname_spec
83804
83805# List of archive names.  First name is the real one, the rest are links.
83806# The last name is the one that the linker finds with -lNAME
83807library_names_spec=$lt_library_names_spec
83808
83809# The coded name of the library, if different from the real name.
83810soname_spec=$lt_soname_spec
83811
83812# Permission mode override for installation of shared libraries.
83813install_override_mode=$lt_install_override_mode
83814
83815# Command to use after installation of a shared archive.
83816postinstall_cmds=$lt_postinstall_cmds
83817
83818# Command to use after uninstallation of a shared archive.
83819postuninstall_cmds=$lt_postuninstall_cmds
83820
83821# Commands used to finish a libtool library installation in a directory.
83822finish_cmds=$lt_finish_cmds
83823
83824# As "finish_cmds", except a single script fragment to be evaled but
83825# not shown.
83826finish_eval=$lt_finish_eval
83827
83828# Whether we should hardcode library paths into libraries.
83829hardcode_into_libs=$hardcode_into_libs
83830
83831# Compile-time system search path for libraries.
83832sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83833
83834# Run-time system search path for libraries.
83835sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83836
83837# Whether dlopen is supported.
83838dlopen_support=$enable_dlopen
83839
83840# Whether dlopen of programs is supported.
83841dlopen_self=$enable_dlopen_self
83842
83843# Whether dlopen of statically linked programs is supported.
83844dlopen_self_static=$enable_dlopen_self_static
83845
83846# Commands to strip libraries.
83847old_striplib=$lt_old_striplib
83848striplib=$lt_striplib
83849
83850
83851# The linker used to build libraries.
83852LD=$lt_LD
83853
83854# How to create reloadable object files.
83855reload_flag=$lt_reload_flag
83856reload_cmds=$lt_reload_cmds
83857
83858# Commands used to build an old-style archive.
83859old_archive_cmds=$lt_old_archive_cmds
83860
83861# A language specific compiler.
83862CC=$lt_compiler
83863
83864# Is the compiler the GNU compiler?
83865with_gcc=$GCC
83866
83867# Compiler flag to turn off builtin functions.
83868no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83869
83870# How to pass a linker flag through the compiler.
83871wl=$lt_lt_prog_compiler_wl
83872
83873# Additional compiler flags for building library objects.
83874pic_flag=$lt_lt_prog_compiler_pic
83875
83876# Compiler flag to prevent dynamic linking.
83877link_static_flag=$lt_lt_prog_compiler_static
83878
83879# Does compiler simultaneously support -c and -o options?
83880compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83881
83882# Whether or not to add -lc for building shared libraries.
83883build_libtool_need_lc=$archive_cmds_need_lc
83884
83885# Whether or not to disallow shared libs when runtime libs are static.
83886allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83887
83888# Compiler flag to allow reflexive dlopens.
83889export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83890
83891# Compiler flag to generate shared objects directly from archives.
83892whole_archive_flag_spec=$lt_whole_archive_flag_spec
83893
83894# Whether the compiler copes with passing no objects directly.
83895compiler_needs_object=$lt_compiler_needs_object
83896
83897# Create an old-style archive from a shared archive.
83898old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83899
83900# Create a temporary old-style archive to link instead of a shared archive.
83901old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83902
83903# Commands used to build a shared archive.
83904archive_cmds=$lt_archive_cmds
83905archive_expsym_cmds=$lt_archive_expsym_cmds
83906
83907# Commands used to build a loadable module if different from building
83908# a shared archive.
83909module_cmds=$lt_module_cmds
83910module_expsym_cmds=$lt_module_expsym_cmds
83911
83912# Whether we are building with GNU ld or not.
83913with_gnu_ld=$lt_with_gnu_ld
83914
83915# Flag that allows shared libraries with undefined symbols to be built.
83916allow_undefined_flag=$lt_allow_undefined_flag
83917
83918# Flag that enforces no undefined symbols.
83919no_undefined_flag=$lt_no_undefined_flag
83920
83921# Flag to hardcode \$libdir into a binary during linking.
83922# This must work even if \$libdir does not exist
83923hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83924
83925# If ld is used when linking, flag to hardcode \$libdir into a binary
83926# during linking.  This must work even if \$libdir does not exist.
83927hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83928
83929# Whether we need a single "-rpath" flag with a separated argument.
83930hardcode_libdir_separator=$lt_hardcode_libdir_separator
83931
83932# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83933# DIR into the resulting binary.
83934hardcode_direct=$hardcode_direct
83935
83936# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83937# DIR into the resulting binary and the resulting library dependency is
83938# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83939# library is relocated.
83940hardcode_direct_absolute=$hardcode_direct_absolute
83941
83942# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83943# into the resulting binary.
83944hardcode_minus_L=$hardcode_minus_L
83945
83946# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83947# into the resulting binary.
83948hardcode_shlibpath_var=$hardcode_shlibpath_var
83949
83950# Set to "yes" if building a shared library automatically hardcodes DIR
83951# into the library and all subsequent libraries and executables linked
83952# against it.
83953hardcode_automatic=$hardcode_automatic
83954
83955# Set to yes if linker adds runtime paths of dependent libraries
83956# to runtime path list.
83957inherit_rpath=$inherit_rpath
83958
83959# Whether libtool must link a program against all its dependency libraries.
83960link_all_deplibs=$link_all_deplibs
83961
83962# Fix the shell variable \$srcfile for the compiler.
83963fix_srcfile_path=$lt_fix_srcfile_path
83964
83965# Set to "yes" if exported symbols are required.
83966always_export_symbols=$always_export_symbols
83967
83968# The commands to list exported symbols.
83969export_symbols_cmds=$lt_export_symbols_cmds
83970
83971# Symbols that should not be listed in the preloaded symbols.
83972exclude_expsyms=$lt_exclude_expsyms
83973
83974# Symbols that must always be exported.
83975include_expsyms=$lt_include_expsyms
83976
83977# Commands necessary for linking programs (against libraries) with templates.
83978prelink_cmds=$lt_prelink_cmds
83979
83980# Specify filename containing input files.
83981file_list_spec=$lt_file_list_spec
83982
83983# How to hardcode a shared library path into an executable.
83984hardcode_action=$hardcode_action
83985
83986# The directories searched by this compiler when creating a shared library.
83987compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83988
83989# Dependencies to place before and after the objects being linked to
83990# create a shared library.
83991predep_objects=$lt_predep_objects
83992postdep_objects=$lt_postdep_objects
83993predeps=$lt_predeps
83994postdeps=$lt_postdeps
83995
83996# The library search path used internally by the compiler when linking
83997# a shared library.
83998compiler_lib_search_path=$lt_compiler_lib_search_path
83999
84000# ### END LIBTOOL CONFIG
84001
84002_LT_EOF
84003
84004  case $host_os in
84005  aix3*)
84006    cat <<\_LT_EOF >> "$cfgfile"
84007# AIX sometimes has problems with the GCC collect2 program.  For some
84008# reason, if we set the COLLECT_NAMES environment variable, the problems
84009# vanish in a puff of smoke.
84010if test "X${COLLECT_NAMES+set}" != Xset; then
84011  COLLECT_NAMES=
84012  export COLLECT_NAMES
84013fi
84014_LT_EOF
84015    ;;
84016  esac
84017
84018
84019ltmain="$ac_aux_dir/ltmain.sh"
84020
84021
84022  # We use sed instead of cat because bash on DJGPP gets confused if
84023  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
84024  # text mode, it properly converts lines to CR/LF.  This bash problem
84025  # is reportedly fixed, but why not run on old versions too?
84026  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
84027    || (rm -f "$cfgfile"; exit 1)
84028
84029  case $xsi_shell in
84030  yes)
84031    cat << \_LT_EOF >> "$cfgfile"
84032
84033# func_dirname file append nondir_replacement
84034# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
84035# otherwise set result to NONDIR_REPLACEMENT.
84036func_dirname ()
84037{
84038  case ${1} in
84039    */*) func_dirname_result="${1%/*}${2}" ;;
84040    *  ) func_dirname_result="${3}" ;;
84041  esac
84042}
84043
84044# func_basename file
84045func_basename ()
84046{
84047  func_basename_result="${1##*/}"
84048}
84049
84050# func_dirname_and_basename file append nondir_replacement
84051# perform func_basename and func_dirname in a single function
84052# call:
84053#   dirname:  Compute the dirname of FILE.  If nonempty,
84054#             add APPEND to the result, otherwise set result
84055#             to NONDIR_REPLACEMENT.
84056#             value returned in "$func_dirname_result"
84057#   basename: Compute filename of FILE.
84058#             value retuned in "$func_basename_result"
84059# Implementation must be kept synchronized with func_dirname
84060# and func_basename. For efficiency, we do not delegate to
84061# those functions but instead duplicate the functionality here.
84062func_dirname_and_basename ()
84063{
84064  case ${1} in
84065    */*) func_dirname_result="${1%/*}${2}" ;;
84066    *  ) func_dirname_result="${3}" ;;
84067  esac
84068  func_basename_result="${1##*/}"
84069}
84070
84071# func_stripname prefix suffix name
84072# strip PREFIX and SUFFIX off of NAME.
84073# PREFIX and SUFFIX must not contain globbing or regex special
84074# characters, hashes, percent signs, but SUFFIX may contain a leading
84075# dot (in which case that matches only a dot).
84076func_stripname ()
84077{
84078  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
84079  # positional parameters, so assign one to ordinary parameter first.
84080  func_stripname_result=${3}
84081  func_stripname_result=${func_stripname_result#"${1}"}
84082  func_stripname_result=${func_stripname_result%"${2}"}
84083}
84084
84085# func_opt_split
84086func_opt_split ()
84087{
84088  func_opt_split_opt=${1%%=*}
84089  func_opt_split_arg=${1#*=}
84090}
84091
84092# func_lo2o object
84093func_lo2o ()
84094{
84095  case ${1} in
84096    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
84097    *)    func_lo2o_result=${1} ;;
84098  esac
84099}
84100
84101# func_xform libobj-or-source
84102func_xform ()
84103{
84104  func_xform_result=${1%.*}.lo
84105}
84106
84107# func_arith arithmetic-term...
84108func_arith ()
84109{
84110  func_arith_result=$(( $* ))
84111}
84112
84113# func_len string
84114# STRING may not start with a hyphen.
84115func_len ()
84116{
84117  func_len_result=${#1}
84118}
84119
84120_LT_EOF
84121    ;;
84122  *) # Bourne compatible functions.
84123    cat << \_LT_EOF >> "$cfgfile"
84124
84125# func_dirname file append nondir_replacement
84126# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
84127# otherwise set result to NONDIR_REPLACEMENT.
84128func_dirname ()
84129{
84130  # Extract subdirectory from the argument.
84131  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84132  if test "X$func_dirname_result" = "X${1}"; then
84133    func_dirname_result="${3}"
84134  else
84135    func_dirname_result="$func_dirname_result${2}"
84136  fi
84137}
84138
84139# func_basename file
84140func_basename ()
84141{
84142  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84143}
84144
84145
84146# func_stripname prefix suffix name
84147# strip PREFIX and SUFFIX off of NAME.
84148# PREFIX and SUFFIX must not contain globbing or regex special
84149# characters, hashes, percent signs, but SUFFIX may contain a leading
84150# dot (in which case that matches only a dot).
84151# func_strip_suffix prefix name
84152func_stripname ()
84153{
84154  case ${2} in
84155    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84156    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84157  esac
84158}
84159
84160# sed scripts:
84161my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84162my_sed_long_arg='1s/^-[^=]*=//'
84163
84164# func_opt_split
84165func_opt_split ()
84166{
84167  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84168  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84169}
84170
84171# func_lo2o object
84172func_lo2o ()
84173{
84174  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84175}
84176
84177# func_xform libobj-or-source
84178func_xform ()
84179{
84180  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84181}
84182
84183# func_arith arithmetic-term...
84184func_arith ()
84185{
84186  func_arith_result=`expr "$@"`
84187}
84188
84189# func_len string
84190# STRING may not start with a hyphen.
84191func_len ()
84192{
84193  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84194}
84195
84196_LT_EOF
84197esac
84198
84199case $lt_shell_append in
84200  yes)
84201    cat << \_LT_EOF >> "$cfgfile"
84202
84203# func_append var value
84204# Append VALUE to the end of shell variable VAR.
84205func_append ()
84206{
84207  eval "$1+=\$2"
84208}
84209_LT_EOF
84210    ;;
84211  *)
84212    cat << \_LT_EOF >> "$cfgfile"
84213
84214# func_append var value
84215# Append VALUE to the end of shell variable VAR.
84216func_append ()
84217{
84218  eval "$1=\$$1\$2"
84219}
84220
84221_LT_EOF
84222    ;;
84223  esac
84224
84225
84226  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84227    || (rm -f "$cfgfile"; exit 1)
84228
84229  mv -f "$cfgfile" "$ofile" ||
84230    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84231  chmod +x "$ofile"
84232
84233
84234    cat <<_LT_EOF >> "$ofile"
84235
84236# ### BEGIN LIBTOOL TAG CONFIG: CXX
84237
84238# The linker used to build libraries.
84239LD=$lt_LD_CXX
84240
84241# How to create reloadable object files.
84242reload_flag=$lt_reload_flag_CXX
84243reload_cmds=$lt_reload_cmds_CXX
84244
84245# Commands used to build an old-style archive.
84246old_archive_cmds=$lt_old_archive_cmds_CXX
84247
84248# A language specific compiler.
84249CC=$lt_compiler_CXX
84250
84251# Is the compiler the GNU compiler?
84252with_gcc=$GCC_CXX
84253
84254# Compiler flag to turn off builtin functions.
84255no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84256
84257# How to pass a linker flag through the compiler.
84258wl=$lt_lt_prog_compiler_wl_CXX
84259
84260# Additional compiler flags for building library objects.
84261pic_flag=$lt_lt_prog_compiler_pic_CXX
84262
84263# Compiler flag to prevent dynamic linking.
84264link_static_flag=$lt_lt_prog_compiler_static_CXX
84265
84266# Does compiler simultaneously support -c and -o options?
84267compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84268
84269# Whether or not to add -lc for building shared libraries.
84270build_libtool_need_lc=$archive_cmds_need_lc_CXX
84271
84272# Whether or not to disallow shared libs when runtime libs are static.
84273allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84274
84275# Compiler flag to allow reflexive dlopens.
84276export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84277
84278# Compiler flag to generate shared objects directly from archives.
84279whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84280
84281# Whether the compiler copes with passing no objects directly.
84282compiler_needs_object=$lt_compiler_needs_object_CXX
84283
84284# Create an old-style archive from a shared archive.
84285old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84286
84287# Create a temporary old-style archive to link instead of a shared archive.
84288old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84289
84290# Commands used to build a shared archive.
84291archive_cmds=$lt_archive_cmds_CXX
84292archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84293
84294# Commands used to build a loadable module if different from building
84295# a shared archive.
84296module_cmds=$lt_module_cmds_CXX
84297module_expsym_cmds=$lt_module_expsym_cmds_CXX
84298
84299# Whether we are building with GNU ld or not.
84300with_gnu_ld=$lt_with_gnu_ld_CXX
84301
84302# Flag that allows shared libraries with undefined symbols to be built.
84303allow_undefined_flag=$lt_allow_undefined_flag_CXX
84304
84305# Flag that enforces no undefined symbols.
84306no_undefined_flag=$lt_no_undefined_flag_CXX
84307
84308# Flag to hardcode \$libdir into a binary during linking.
84309# This must work even if \$libdir does not exist
84310hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84311
84312# If ld is used when linking, flag to hardcode \$libdir into a binary
84313# during linking.  This must work even if \$libdir does not exist.
84314hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84315
84316# Whether we need a single "-rpath" flag with a separated argument.
84317hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84318
84319# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84320# DIR into the resulting binary.
84321hardcode_direct=$hardcode_direct_CXX
84322
84323# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84324# DIR into the resulting binary and the resulting library dependency is
84325# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84326# library is relocated.
84327hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84328
84329# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84330# into the resulting binary.
84331hardcode_minus_L=$hardcode_minus_L_CXX
84332
84333# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84334# into the resulting binary.
84335hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84336
84337# Set to "yes" if building a shared library automatically hardcodes DIR
84338# into the library and all subsequent libraries and executables linked
84339# against it.
84340hardcode_automatic=$hardcode_automatic_CXX
84341
84342# Set to yes if linker adds runtime paths of dependent libraries
84343# to runtime path list.
84344inherit_rpath=$inherit_rpath_CXX
84345
84346# Whether libtool must link a program against all its dependency libraries.
84347link_all_deplibs=$link_all_deplibs_CXX
84348
84349# Fix the shell variable \$srcfile for the compiler.
84350fix_srcfile_path=$lt_fix_srcfile_path_CXX
84351
84352# Set to "yes" if exported symbols are required.
84353always_export_symbols=$always_export_symbols_CXX
84354
84355# The commands to list exported symbols.
84356export_symbols_cmds=$lt_export_symbols_cmds_CXX
84357
84358# Symbols that should not be listed in the preloaded symbols.
84359exclude_expsyms=$lt_exclude_expsyms_CXX
84360
84361# Symbols that must always be exported.
84362include_expsyms=$lt_include_expsyms_CXX
84363
84364# Commands necessary for linking programs (against libraries) with templates.
84365prelink_cmds=$lt_prelink_cmds_CXX
84366
84367# Specify filename containing input files.
84368file_list_spec=$lt_file_list_spec_CXX
84369
84370# How to hardcode a shared library path into an executable.
84371hardcode_action=$hardcode_action_CXX
84372
84373# The directories searched by this compiler when creating a shared library.
84374compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84375
84376# Dependencies to place before and after the objects being linked to
84377# create a shared library.
84378predep_objects=$lt_predep_objects_CXX
84379postdep_objects=$lt_postdep_objects_CXX
84380predeps=$lt_predeps_CXX
84381postdeps=$lt_postdeps_CXX
84382
84383# The library search path used internally by the compiler when linking
84384# a shared library.
84385compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84386
84387# ### END LIBTOOL TAG CONFIG: CXX
84388_LT_EOF
84389
84390 ;;
84391    "include/gstdint.h":C)
84392if test "$GCC" = yes; then
84393  echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84394else
84395  echo "/* generated for $CC */" > tmp-stdint.h
84396fi
84397
84398sed 's/^ *//' >> tmp-stdint.h <<EOF
84399
84400  #ifndef GCC_GENERATED_STDINT_H
84401  #define GCC_GENERATED_STDINT_H 1
84402
84403  #include <sys/types.h>
84404EOF
84405
84406if test "$acx_cv_header_stdint" != stdint.h; then
84407  echo "#include <stddef.h>" >> tmp-stdint.h
84408fi
84409if test "$acx_cv_header_stdint" != stddef.h; then
84410  echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84411fi
84412
84413sed 's/^ *//' >> tmp-stdint.h <<EOF
84414  /* glibc uses these symbols as guards to prevent redefinitions.  */
84415  #ifdef __int8_t_defined
84416  #define _INT8_T
84417  #define _INT16_T
84418  #define _INT32_T
84419  #endif
84420  #ifdef __uint32_t_defined
84421  #define _UINT32_T
84422  #endif
84423
84424EOF
84425
84426# ----------------- done header, emit basic int types -------------
84427if test "$acx_cv_header_stdint" = stddef.h; then
84428  sed 's/^ *//' >> tmp-stdint.h <<EOF
84429
84430    #ifndef _UINT8_T
84431    #define _UINT8_T
84432    #ifndef __uint8_t_defined
84433    #define __uint8_t_defined
84434    #ifndef uint8_t
84435    typedef unsigned $acx_cv_type_int8_t uint8_t;
84436    #endif
84437    #endif
84438    #endif
84439
84440    #ifndef _UINT16_T
84441    #define _UINT16_T
84442    #ifndef __uint16_t_defined
84443    #define __uint16_t_defined
84444    #ifndef uint16_t
84445    typedef unsigned $acx_cv_type_int16_t uint16_t;
84446    #endif
84447    #endif
84448    #endif
84449
84450    #ifndef _UINT32_T
84451    #define _UINT32_T
84452    #ifndef __uint32_t_defined
84453    #define __uint32_t_defined
84454    #ifndef uint32_t
84455    typedef unsigned $acx_cv_type_int32_t uint32_t;
84456    #endif
84457    #endif
84458    #endif
84459
84460    #ifndef _INT8_T
84461    #define _INT8_T
84462    #ifndef __int8_t_defined
84463    #define __int8_t_defined
84464    #ifndef int8_t
84465    typedef $acx_cv_type_int8_t int8_t;
84466    #endif
84467    #endif
84468    #endif
84469
84470    #ifndef _INT16_T
84471    #define _INT16_T
84472    #ifndef __int16_t_defined
84473    #define __int16_t_defined
84474    #ifndef int16_t
84475    typedef $acx_cv_type_int16_t int16_t;
84476    #endif
84477    #endif
84478    #endif
84479
84480    #ifndef _INT32_T
84481    #define _INT32_T
84482    #ifndef __int32_t_defined
84483    #define __int32_t_defined
84484    #ifndef int32_t
84485    typedef $acx_cv_type_int32_t int32_t;
84486    #endif
84487    #endif
84488    #endif
84489EOF
84490elif test "$ac_cv_type_u_int32_t" = yes; then
84491  sed 's/^ *//' >> tmp-stdint.h <<EOF
84492
84493    /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84494    #ifndef _INT8_T
84495    #define _INT8_T
84496    #endif
84497    #ifndef _INT16_T
84498    #define _INT16_T
84499    #endif
84500    #ifndef _INT32_T
84501    #define _INT32_T
84502    #endif
84503
84504    #ifndef _UINT8_T
84505    #define _UINT8_T
84506    #ifndef __uint8_t_defined
84507    #define __uint8_t_defined
84508    #ifndef uint8_t
84509    typedef u_int8_t uint8_t;
84510    #endif
84511    #endif
84512    #endif
84513
84514    #ifndef _UINT16_T
84515    #define _UINT16_T
84516    #ifndef __uint16_t_defined
84517    #define __uint16_t_defined
84518    #ifndef uint16_t
84519    typedef u_int16_t uint16_t;
84520    #endif
84521    #endif
84522    #endif
84523
84524    #ifndef _UINT32_T
84525    #define _UINT32_T
84526    #ifndef __uint32_t_defined
84527    #define __uint32_t_defined
84528    #ifndef uint32_t
84529    typedef u_int32_t uint32_t;
84530    #endif
84531    #endif
84532    #endif
84533EOF
84534else
84535  sed 's/^ *//' >> tmp-stdint.h <<EOF
84536
84537    /* Some systems have guard macros to prevent redefinitions, define them.  */
84538    #ifndef _INT8_T
84539    #define _INT8_T
84540    #endif
84541    #ifndef _INT16_T
84542    #define _INT16_T
84543    #endif
84544    #ifndef _INT32_T
84545    #define _INT32_T
84546    #endif
84547    #ifndef _UINT8_T
84548    #define _UINT8_T
84549    #endif
84550    #ifndef _UINT16_T
84551    #define _UINT16_T
84552    #endif
84553    #ifndef _UINT32_T
84554    #define _UINT32_T
84555    #endif
84556EOF
84557fi
84558
84559# ------------- done basic int types, emit int64_t types ------------
84560if test "$ac_cv_type_uint64_t" = yes; then
84561  sed 's/^ *//' >> tmp-stdint.h <<EOF
84562
84563    /* system headers have good uint64_t and int64_t */
84564    #ifndef _INT64_T
84565    #define _INT64_T
84566    #endif
84567    #ifndef _UINT64_T
84568    #define _UINT64_T
84569    #endif
84570EOF
84571elif test "$ac_cv_type_u_int64_t" = yes; then
84572  sed 's/^ *//' >> tmp-stdint.h <<EOF
84573
84574    /* system headers have an u_int64_t (and int64_t) */
84575    #ifndef _INT64_T
84576    #define _INT64_T
84577    #endif
84578    #ifndef _UINT64_T
84579    #define _UINT64_T
84580    #ifndef __uint64_t_defined
84581    #define __uint64_t_defined
84582    #ifndef uint64_t
84583    typedef u_int64_t uint64_t;
84584    #endif
84585    #endif
84586    #endif
84587EOF
84588elif test -n "$acx_cv_type_int64_t"; then
84589  sed 's/^ *//' >> tmp-stdint.h <<EOF
84590
84591    /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84592    #ifndef _INT64_T
84593    #define _INT64_T
84594    #ifndef int64_t
84595    typedef $acx_cv_type_int64_t int64_t;
84596    #endif
84597    #endif
84598    #ifndef _UINT64_T
84599    #define _UINT64_T
84600    #ifndef __uint64_t_defined
84601    #define __uint64_t_defined
84602    #ifndef uint64_t
84603    typedef unsigned $acx_cv_type_int64_t uint64_t;
84604    #endif
84605    #endif
84606    #endif
84607EOF
84608else
84609  sed 's/^ *//' >> tmp-stdint.h <<EOF
84610
84611    /* some common heuristics for int64_t, using compiler-specific tests */
84612    #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84613    #ifndef _INT64_T
84614    #define _INT64_T
84615    #ifndef __int64_t_defined
84616    #ifndef int64_t
84617    typedef long long int64_t;
84618    #endif
84619    #endif
84620    #endif
84621    #ifndef _UINT64_T
84622    #define _UINT64_T
84623    #ifndef uint64_t
84624    typedef unsigned long long uint64_t;
84625    #endif
84626    #endif
84627
84628    #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84629    /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84630       does not implement __extension__.  But that compiler doesn't define
84631       __GNUC_MINOR__.  */
84632    # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84633    # define __extension__
84634    # endif
84635
84636    # ifndef _INT64_T
84637    # define _INT64_T
84638    # ifndef int64_t
84639    __extension__ typedef long long int64_t;
84640    # endif
84641    # endif
84642    # ifndef _UINT64_T
84643    # define _UINT64_T
84644    # ifndef uint64_t
84645    __extension__ typedef unsigned long long uint64_t;
84646    # endif
84647    # endif
84648
84649    #elif !defined __STRICT_ANSI__
84650    # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84651
84652    #  ifndef _INT64_T
84653    #  define _INT64_T
84654    #  ifndef int64_t
84655    typedef __int64 int64_t;
84656    #  endif
84657    #  endif
84658    #  ifndef _UINT64_T
84659    #  define _UINT64_T
84660    #  ifndef uint64_t
84661    typedef unsigned __int64 uint64_t;
84662    #  endif
84663    #  endif
84664    # endif /* compiler */
84665
84666    #endif /* ANSI version */
84667EOF
84668fi
84669
84670# ------------- done int64_t types, emit intptr types ------------
84671if test "$ac_cv_type_uintptr_t" != yes; then
84672  sed 's/^ *//' >> tmp-stdint.h <<EOF
84673
84674    /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84675    #ifndef __uintptr_t_defined
84676    #ifndef uintptr_t
84677    typedef u$acx_cv_type_intptr_t uintptr_t;
84678    #endif
84679    #endif
84680    #ifndef __intptr_t_defined
84681    #ifndef intptr_t
84682    typedef $acx_cv_type_intptr_t  intptr_t;
84683    #endif
84684    #endif
84685EOF
84686fi
84687
84688# ------------- done intptr types, emit int_least types ------------
84689if test "$ac_cv_type_int_least32_t" != yes; then
84690  sed 's/^ *//' >> tmp-stdint.h <<EOF
84691
84692    /* Define int_least types */
84693    typedef int8_t     int_least8_t;
84694    typedef int16_t    int_least16_t;
84695    typedef int32_t    int_least32_t;
84696    #ifdef _INT64_T
84697    typedef int64_t    int_least64_t;
84698    #endif
84699
84700    typedef uint8_t    uint_least8_t;
84701    typedef uint16_t   uint_least16_t;
84702    typedef uint32_t   uint_least32_t;
84703    #ifdef _UINT64_T
84704    typedef uint64_t   uint_least64_t;
84705    #endif
84706EOF
84707fi
84708
84709# ------------- done intptr types, emit int_fast types ------------
84710if test "$ac_cv_type_int_fast32_t" != yes; then
84711      sed 's/^ *//' >> tmp-stdint.h <<EOF
84712
84713    /* Define int_fast types.  short is often slow */
84714    typedef int8_t       int_fast8_t;
84715    typedef int          int_fast16_t;
84716    typedef int32_t      int_fast32_t;
84717    #ifdef _INT64_T
84718    typedef int64_t      int_fast64_t;
84719    #endif
84720
84721    typedef uint8_t      uint_fast8_t;
84722    typedef unsigned int uint_fast16_t;
84723    typedef uint32_t     uint_fast32_t;
84724    #ifdef _UINT64_T
84725    typedef uint64_t     uint_fast64_t;
84726    #endif
84727EOF
84728fi
84729
84730if test "$ac_cv_type_uintmax_t" != yes; then
84731  sed 's/^ *//' >> tmp-stdint.h <<EOF
84732
84733    /* Define intmax based on what we found */
84734    #ifndef intmax_t
84735    #ifdef _INT64_T
84736    typedef int64_t       intmax_t;
84737    #else
84738    typedef long          intmax_t;
84739    #endif
84740    #endif
84741    #ifndef uintmax_t
84742    #ifdef _UINT64_T
84743    typedef uint64_t      uintmax_t;
84744    #else
84745    typedef unsigned long uintmax_t;
84746    #endif
84747    #endif
84748EOF
84749fi
84750
84751sed 's/^ *//' >> tmp-stdint.h <<EOF
84752
84753  #endif /* GCC_GENERATED_STDINT_H */
84754EOF
84755
84756if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84757  rm -f tmp-stdint.h
84758else
84759  mv -f tmp-stdint.h include/gstdint.h
84760fi
84761
84762 ;;
84763    "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84764    "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84765    "include/Makefile":F) cat > vpsed$$ << \_EOF
84766s!`test -f '$<' || echo '$(srcdir)/'`!!
84767_EOF
84768   sed -f vpsed$$ $ac_file > tmp$$
84769   mv tmp$$ $ac_file
84770   rm vpsed$$
84771   echo 'MULTISUBDIR =' >> $ac_file
84772   ml_norecursion=yes
84773   . ${multi_basedir}/config-ml.in
84774   { ml_norecursion=; unset ml_norecursion;}
84775 ;;
84776    "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84777s!`test -f '$<' || echo '$(srcdir)/'`!!
84778_EOF
84779   sed -f vpsed$$ $ac_file > tmp$$
84780   mv tmp$$ $ac_file
84781   rm vpsed$$
84782   echo 'MULTISUBDIR =' >> $ac_file
84783   ml_norecursion=yes
84784   . ${multi_basedir}/config-ml.in
84785   { ml_norecursion=; unset ml_norecursion;}
84786 ;;
84787    "src/Makefile":F) cat > vpsed$$ << \_EOF
84788s!`test -f '$<' || echo '$(srcdir)/'`!!
84789_EOF
84790   sed -f vpsed$$ $ac_file > tmp$$
84791   mv tmp$$ $ac_file
84792   rm vpsed$$
84793   echo 'MULTISUBDIR =' >> $ac_file
84794   ml_norecursion=yes
84795   . ${multi_basedir}/config-ml.in
84796   { ml_norecursion=; unset ml_norecursion;}
84797 ;;
84798    "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84799s!`test -f '$<' || echo '$(srcdir)/'`!!
84800_EOF
84801   sed -f vpsed$$ $ac_file > tmp$$
84802   mv tmp$$ $ac_file
84803   rm vpsed$$
84804   echo 'MULTISUBDIR =' >> $ac_file
84805   ml_norecursion=yes
84806   . ${multi_basedir}/config-ml.in
84807   { ml_norecursion=; unset ml_norecursion;}
84808 ;;
84809    "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84810s!`test -f '$<' || echo '$(srcdir)/'`!!
84811_EOF
84812   sed -f vpsed$$ $ac_file > tmp$$
84813   mv tmp$$ $ac_file
84814   rm vpsed$$
84815   echo 'MULTISUBDIR =' >> $ac_file
84816   ml_norecursion=yes
84817   . ${multi_basedir}/config-ml.in
84818   { ml_norecursion=; unset ml_norecursion;}
84819 ;;
84820    "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84821s!`test -f '$<' || echo '$(srcdir)/'`!!
84822_EOF
84823   sed -f vpsed$$ $ac_file > tmp$$
84824   mv tmp$$ $ac_file
84825   rm vpsed$$
84826   echo 'MULTISUBDIR =' >> $ac_file
84827   ml_norecursion=yes
84828   . ${multi_basedir}/config-ml.in
84829   { ml_norecursion=; unset ml_norecursion;}
84830 ;;
84831    "doc/Makefile":F) cat > vpsed$$ << \_EOF
84832s!`test -f '$<' || echo '$(srcdir)/'`!!
84833_EOF
84834   sed -f vpsed$$ $ac_file > tmp$$
84835   mv tmp$$ $ac_file
84836   rm vpsed$$
84837   echo 'MULTISUBDIR =' >> $ac_file
84838   ml_norecursion=yes
84839   . ${multi_basedir}/config-ml.in
84840   { ml_norecursion=; unset ml_norecursion;}
84841 ;;
84842    "python/Makefile":F) cat > vpsed$$ << \_EOF
84843s!`test -f '$<' || echo '$(srcdir)/'`!!
84844_EOF
84845   sed -f vpsed$$ $ac_file > tmp$$
84846   mv tmp$$ $ac_file
84847   rm vpsed$$
84848   echo 'MULTISUBDIR =' >> $ac_file
84849   ml_norecursion=yes
84850   . ${multi_basedir}/config-ml.in
84851   { ml_norecursion=; unset ml_norecursion;}
84852 ;;
84853    "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84854
84855  esac
84856done # for ac_tag
84857
84858
84859as_fn_exit 0
84860_ACEOF
84861ac_clean_files=$ac_clean_files_save
84862
84863test $ac_write_fail = 0 ||
84864  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84865
84866
84867# configure is writing to config.log, and then calls config.status.
84868# config.status does its own redirection, appending to config.log.
84869# Unfortunately, on DOS this fails, as config.log is still kept open
84870# by configure, so config.status won't be able to write to it; its
84871# output is simply discarded.  So we exec the FD to /dev/null,
84872# effectively closing config.log, so it can be properly (re)opened and
84873# appended to by config.status.  When coming back to configure, we
84874# need to make the FD available again.
84875if test "$no_create" != yes; then
84876  ac_cs_success=:
84877  ac_config_status_args=
84878  test "$silent" = yes &&
84879    ac_config_status_args="$ac_config_status_args --quiet"
84880  exec 5>/dev/null
84881  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84882  exec 5>>config.log
84883  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84884  # would make configure fail if this is the last instruction.
84885  $ac_cs_success || as_fn_exit $?
84886fi
84887if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84888  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84889$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
84890fi
84891
84892