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
614EXTRA_CFLAGS
615CPU_OPT_BITS_RANDOM
616CPU_OPT_EXT_RANDOM
617ERROR_CONSTANTS_SRCDIR
618OS_INC_SRCDIR
619ABI_TWEAKS_SRCDIR
620CPU_DEFINES_SRCDIR
621ATOMIC_FLAGS
622ATOMIC_WORD_SRCDIR
623ATOMICITY_SRCDIR
624INCLUDE_DIR_NOTPARALLEL_FALSE
625INCLUDE_DIR_NOTPARALLEL_TRUE
626BUILD_PDF_FALSE
627BUILD_PDF_TRUE
628PDFLATEX
629DBLATEX
630BUILD_MAN_FALSE
631BUILD_MAN_TRUE
632BUILD_HTML_FALSE
633BUILD_HTML_TRUE
634BUILD_XML_FALSE
635BUILD_XML_TRUE
636BUILD_EPUB_FALSE
637BUILD_EPUB_TRUE
638XSL_STYLE_DIR
639XMLLINT
640XSLTPROC
641XMLCATALOG
642DOT
643DOXYGEN
644BUILD_INFO_FALSE
645BUILD_INFO_TRUE
646ENABLE_FILESYSTEM_TS_FALSE
647ENABLE_FILESYSTEM_TS_TRUE
648baseline_subdir_switch
649baseline_dir
650HWCAP_CFLAGS
651GLIBCXX_LDBL_COMPAT_FALSE
652GLIBCXX_LDBL_COMPAT_TRUE
653LONG_DOUBLE_COMPAT_FLAGS
654ENABLE_CXX11_ABI_FALSE
655ENABLE_CXX11_ABI_TRUE
656glibcxx_cxx98_abi
657ENABLE_DUAL_ABI_FALSE
658ENABLE_DUAL_ABI_TRUE
659ENABLE_VISIBILITY_FALSE
660ENABLE_VISIBILITY_TRUE
661libtool_VERSION
662ENABLE_SYMVERS_SUN_FALSE
663ENABLE_SYMVERS_SUN_TRUE
664ENABLE_SYMVERS_DARWIN_FALSE
665ENABLE_SYMVERS_DARWIN_TRUE
666ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
667ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
668ENABLE_SYMVERS_GNU_FALSE
669ENABLE_SYMVERS_GNU_TRUE
670ENABLE_SYMVERS_FALSE
671ENABLE_SYMVERS_TRUE
672port_specific_symbol_files
673SYMVER_FILE
674CXXFILT
675LTLIBICONV
676LIBICONV
677OPT_LDFLAGS
678SECTION_LDFLAGS
679GLIBCXX_LIBS
680ENABLE_VTABLE_VERIFY_FALSE
681ENABLE_VTABLE_VERIFY_TRUE
682VTV_CYGMIN_FALSE
683VTV_CYGMIN_TRUE
684VTV_CXXLINKFLAGS
685VTV_PCH_CXXFLAGS
686VTV_CXXFLAGS
687ENABLE_WERROR_FALSE
688ENABLE_WERROR_TRUE
689ENABLE_PYTHONDIR_FALSE
690ENABLE_PYTHONDIR_TRUE
691python_mod_dir
692ENABLE_EXTERN_TEMPLATE_FALSE
693ENABLE_EXTERN_TEMPLATE_TRUE
694EXTRA_CXX_FLAGS
695GLIBCXX_BUILD_DEBUG_FALSE
696GLIBCXX_BUILD_DEBUG_TRUE
697DEBUG_FLAGS
698GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
699GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
700GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
701GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
702GLIBCXX_C_HEADERS_C_STD_FALSE
703GLIBCXX_C_HEADERS_C_STD_TRUE
704GLIBCXX_C_HEADERS_C_FALSE
705GLIBCXX_C_HEADERS_C_TRUE
706C_INCLUDE_DIR
707ALLOCATOR_NAME
708ALLOCATOR_H
709ENABLE_ALLOCATOR_NEW_FALSE
710ENABLE_ALLOCATOR_NEW_TRUE
711CLOCALE_INTERNAL_H
712CLOCALE_CC
713CTIME_CC
714CTIME_H
715CNUMERIC_CC
716CMONEY_CC
717CMESSAGES_CC
718CCTYPE_CC
719CCOLLATE_CC
720CCODECVT_CC
721CMESSAGES_H
722CLOCALE_H
723USE_NLS
724glibcxx_localedir
725glibcxx_POFILES
726glibcxx_MOFILES
727check_msgfmt
728BASIC_FILE_CC
729BASIC_FILE_H
730CSTDIO_H
731SECTION_FLAGS
732WERROR
733ENABLE_FLOAT128_FALSE
734ENABLE_FLOAT128_TRUE
735thread_header
736glibcxx_PCHFLAGS
737GLIBCXX_BUILD_PCH_FALSE
738GLIBCXX_BUILD_PCH_TRUE
739GLIBCXX_HOSTED_FALSE
740GLIBCXX_HOSTED_TRUE
741glibcxx_compiler_shared_flag
742glibcxx_compiler_pic_flag
743glibcxx_lt_pic_flag
744enable_static
745enable_shared
746lt_host_flags
747CXXCPP
748OTOOL64
749OTOOL
750LIPO
751NMEDIT
752DSYMUTIL
753OBJDUMP
754NM
755ac_ct_DUMPBIN
756DUMPBIN
757LD
758FGREP
759SED
760LIBTOOL
761EGREP
762GREP
763CPP
764MAINT
765MAINTAINER_MODE_FALSE
766MAINTAINER_MODE_TRUE
767RANLIB
768AR
769AS
770LN_S
771toplevel_srcdir
772toplevel_builddir
773glibcxx_srcdir
774glibcxx_builddir
775ac_ct_CXX
776CXXFLAGS
777CXX
778OBJEXT
779EXEEXT
780ac_ct_CC
781CPPFLAGS
782LDFLAGS
783CFLAGS
784CC
785am__untar
786am__tar
787AMTAR
788am__leading_dot
789SET_MAKE
790AWK
791mkdir_p
792MKDIR_P
793INSTALL_STRIP_PROGRAM
794STRIP
795install_sh
796MAKEINFO
797AUTOHEADER
798AUTOMAKE
799AUTOCONF
800ACLOCAL
801VERSION
802PACKAGE
803CYGPATH_W
804am__isrc
805INSTALL_DATA
806INSTALL_SCRIPT
807INSTALL_PROGRAM
808target_os
809target_vendor
810target_cpu
811target
812host_os
813host_vendor
814host_cpu
815host
816build_os
817build_vendor
818build_cpu
819build
820multi_basedir
821target_alias
822host_alias
823build_alias
824LIBS
825ECHO_T
826ECHO_N
827ECHO_C
828DEFS
829mandir
830localedir
831libdir
832psdir
833pdfdir
834dvidir
835htmldir
836infodir
837docdir
838oldincludedir
839includedir
840localstatedir
841sharedstatedir
842sysconfdir
843datadir
844datarootdir
845libexecdir
846sbindir
847bindir
848program_transform_name
849prefix
850exec_prefix
851PACKAGE_URL
852PACKAGE_BUGREPORT
853PACKAGE_STRING
854PACKAGE_VERSION
855PACKAGE_TARNAME
856PACKAGE_NAME
857PATH_SEPARATOR
858SHELL'
859ac_subst_files=''
860ac_user_opts='
861enable_option_checking
862enable_multilib
863enable_largefile
864with_target_subdir
865with_cross_host
866with_newlib
867enable_maintainer_mode
868enable_shared
869enable_static
870with_pic
871enable_fast_install
872with_gnu_ld
873enable_libtool_lock
874enable_hosted_libstdcxx
875enable_libstdcxx_verbose
876enable_libstdcxx_pch
877enable_cstdio
878enable_clocale
879enable_nls
880enable_libstdcxx_allocator
881enable_cheaders
882enable_long_long
883enable_wchar_t
884enable_c99
885enable_concept_checks
886enable_libstdcxx_debug_flags
887enable_libstdcxx_debug
888enable_cxx_flags
889enable_fully_dynamic_string
890enable_extern_template
891with_python_dir
892enable_werror
893enable_vtable_verify
894enable_libstdcxx_time
895enable_tls
896enable_rpath
897with_libiconv_prefix
898with_system_libunwind
899enable_linux_futex
900enable_symvers
901enable_libstdcxx_visibility
902enable_libstdcxx_dual_abi
903with_default_libstdcxx_abi
904enable_libstdcxx_threads
905enable_libstdcxx_filesystem_ts
906enable_cet
907with_gxx_include_dir
908enable_version_specific_runtime_libs
909with_gcc_major_version_only
910'
911      ac_precious_vars='build_alias
912host_alias
913target_alias
914CC
915CFLAGS
916LDFLAGS
917LIBS
918CPPFLAGS
919CXX
920CXXFLAGS
921CCC
922CPP
923CXXCPP
924CXXFILT'
925
926
927# Initialize some variables set by options.
928ac_init_help=
929ac_init_version=false
930ac_unrecognized_opts=
931ac_unrecognized_sep=
932# The variables have the same names as the options, with
933# dashes changed to underlines.
934cache_file=/dev/null
935exec_prefix=NONE
936no_create=
937no_recursion=
938prefix=NONE
939program_prefix=NONE
940program_suffix=NONE
941program_transform_name=s,x,x,
942silent=
943site=
944srcdir=
945verbose=
946x_includes=NONE
947x_libraries=NONE
948
949# Installation directory options.
950# These are left unexpanded so users can "make install exec_prefix=/foo"
951# and all the variables that are supposed to be based on exec_prefix
952# by default will actually change.
953# Use braces instead of parens because sh, perl, etc. also accept them.
954# (The list follows the same order as the GNU Coding Standards.)
955bindir='${exec_prefix}/bin'
956sbindir='${exec_prefix}/sbin'
957libexecdir='${exec_prefix}/libexec'
958datarootdir='${prefix}/share'
959datadir='${datarootdir}'
960sysconfdir='${prefix}/etc'
961sharedstatedir='${prefix}/com'
962localstatedir='${prefix}/var'
963includedir='${prefix}/include'
964oldincludedir='/usr/include'
965docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
966infodir='${datarootdir}/info'
967htmldir='${docdir}'
968dvidir='${docdir}'
969pdfdir='${docdir}'
970psdir='${docdir}'
971libdir='${exec_prefix}/lib'
972localedir='${datarootdir}/locale'
973mandir='${datarootdir}/man'
974
975ac_prev=
976ac_dashdash=
977for ac_option
978do
979  # If the previous option needs an argument, assign it.
980  if test -n "$ac_prev"; then
981    eval $ac_prev=\$ac_option
982    ac_prev=
983    continue
984  fi
985
986  case $ac_option in
987  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
988  *)	ac_optarg=yes ;;
989  esac
990
991  # Accept the important Cygnus configure options, so we can diagnose typos.
992
993  case $ac_dashdash$ac_option in
994  --)
995    ac_dashdash=yes ;;
996
997  -bindir | --bindir | --bindi | --bind | --bin | --bi)
998    ac_prev=bindir ;;
999  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1000    bindir=$ac_optarg ;;
1001
1002  -build | --build | --buil | --bui | --bu)
1003    ac_prev=build_alias ;;
1004  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1005    build_alias=$ac_optarg ;;
1006
1007  -cache-file | --cache-file | --cache-fil | --cache-fi \
1008  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1009    ac_prev=cache_file ;;
1010  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1011  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1012    cache_file=$ac_optarg ;;
1013
1014  --config-cache | -C)
1015    cache_file=config.cache ;;
1016
1017  -datadir | --datadir | --datadi | --datad)
1018    ac_prev=datadir ;;
1019  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1020    datadir=$ac_optarg ;;
1021
1022  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1023  | --dataroo | --dataro | --datar)
1024    ac_prev=datarootdir ;;
1025  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1026  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1027    datarootdir=$ac_optarg ;;
1028
1029  -disable-* | --disable-*)
1030    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1031    # Reject names that are not valid shell variable names.
1032    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1033      as_fn_error "invalid feature name: $ac_useropt"
1034    ac_useropt_orig=$ac_useropt
1035    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1036    case $ac_user_opts in
1037      *"
1038"enable_$ac_useropt"
1039"*) ;;
1040      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1041	 ac_unrecognized_sep=', ';;
1042    esac
1043    eval enable_$ac_useropt=no ;;
1044
1045  -docdir | --docdir | --docdi | --doc | --do)
1046    ac_prev=docdir ;;
1047  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1048    docdir=$ac_optarg ;;
1049
1050  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1051    ac_prev=dvidir ;;
1052  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1053    dvidir=$ac_optarg ;;
1054
1055  -enable-* | --enable-*)
1056    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1057    # Reject names that are not valid shell variable names.
1058    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1059      as_fn_error "invalid feature name: $ac_useropt"
1060    ac_useropt_orig=$ac_useropt
1061    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062    case $ac_user_opts in
1063      *"
1064"enable_$ac_useropt"
1065"*) ;;
1066      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1067	 ac_unrecognized_sep=', ';;
1068    esac
1069    eval enable_$ac_useropt=\$ac_optarg ;;
1070
1071  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1072  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1073  | --exec | --exe | --ex)
1074    ac_prev=exec_prefix ;;
1075  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1076  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1077  | --exec=* | --exe=* | --ex=*)
1078    exec_prefix=$ac_optarg ;;
1079
1080  -gas | --gas | --ga | --g)
1081    # Obsolete; use --with-gas.
1082    with_gas=yes ;;
1083
1084  -help | --help | --hel | --he | -h)
1085    ac_init_help=long ;;
1086  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1087    ac_init_help=recursive ;;
1088  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1089    ac_init_help=short ;;
1090
1091  -host | --host | --hos | --ho)
1092    ac_prev=host_alias ;;
1093  -host=* | --host=* | --hos=* | --ho=*)
1094    host_alias=$ac_optarg ;;
1095
1096  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1097    ac_prev=htmldir ;;
1098  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1099  | --ht=*)
1100    htmldir=$ac_optarg ;;
1101
1102  -includedir | --includedir | --includedi | --included | --include \
1103  | --includ | --inclu | --incl | --inc)
1104    ac_prev=includedir ;;
1105  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1106  | --includ=* | --inclu=* | --incl=* | --inc=*)
1107    includedir=$ac_optarg ;;
1108
1109  -infodir | --infodir | --infodi | --infod | --info | --inf)
1110    ac_prev=infodir ;;
1111  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1112    infodir=$ac_optarg ;;
1113
1114  -libdir | --libdir | --libdi | --libd)
1115    ac_prev=libdir ;;
1116  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1117    libdir=$ac_optarg ;;
1118
1119  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1120  | --libexe | --libex | --libe)
1121    ac_prev=libexecdir ;;
1122  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1123  | --libexe=* | --libex=* | --libe=*)
1124    libexecdir=$ac_optarg ;;
1125
1126  -localedir | --localedir | --localedi | --localed | --locale)
1127    ac_prev=localedir ;;
1128  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1129    localedir=$ac_optarg ;;
1130
1131  -localstatedir | --localstatedir | --localstatedi | --localstated \
1132  | --localstate | --localstat | --localsta | --localst | --locals)
1133    ac_prev=localstatedir ;;
1134  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1135  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1136    localstatedir=$ac_optarg ;;
1137
1138  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1139    ac_prev=mandir ;;
1140  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1141    mandir=$ac_optarg ;;
1142
1143  -nfp | --nfp | --nf)
1144    # Obsolete; use --without-fp.
1145    with_fp=no ;;
1146
1147  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1148  | --no-cr | --no-c | -n)
1149    no_create=yes ;;
1150
1151  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1152  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1153    no_recursion=yes ;;
1154
1155  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1156  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1157  | --oldin | --oldi | --old | --ol | --o)
1158    ac_prev=oldincludedir ;;
1159  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1160  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1161  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1162    oldincludedir=$ac_optarg ;;
1163
1164  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1165    ac_prev=prefix ;;
1166  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1167    prefix=$ac_optarg ;;
1168
1169  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1170  | --program-pre | --program-pr | --program-p)
1171    ac_prev=program_prefix ;;
1172  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1173  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1174    program_prefix=$ac_optarg ;;
1175
1176  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1177  | --program-suf | --program-su | --program-s)
1178    ac_prev=program_suffix ;;
1179  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1180  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1181    program_suffix=$ac_optarg ;;
1182
1183  -program-transform-name | --program-transform-name \
1184  | --program-transform-nam | --program-transform-na \
1185  | --program-transform-n | --program-transform- \
1186  | --program-transform | --program-transfor \
1187  | --program-transfo | --program-transf \
1188  | --program-trans | --program-tran \
1189  | --progr-tra | --program-tr | --program-t)
1190    ac_prev=program_transform_name ;;
1191  -program-transform-name=* | --program-transform-name=* \
1192  | --program-transform-nam=* | --program-transform-na=* \
1193  | --program-transform-n=* | --program-transform-=* \
1194  | --program-transform=* | --program-transfor=* \
1195  | --program-transfo=* | --program-transf=* \
1196  | --program-trans=* | --program-tran=* \
1197  | --progr-tra=* | --program-tr=* | --program-t=*)
1198    program_transform_name=$ac_optarg ;;
1199
1200  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1201    ac_prev=pdfdir ;;
1202  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1203    pdfdir=$ac_optarg ;;
1204
1205  -psdir | --psdir | --psdi | --psd | --ps)
1206    ac_prev=psdir ;;
1207  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1208    psdir=$ac_optarg ;;
1209
1210  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1211  | -silent | --silent | --silen | --sile | --sil)
1212    silent=yes ;;
1213
1214  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1215    ac_prev=sbindir ;;
1216  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1217  | --sbi=* | --sb=*)
1218    sbindir=$ac_optarg ;;
1219
1220  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1221  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1222  | --sharedst | --shareds | --shared | --share | --shar \
1223  | --sha | --sh)
1224    ac_prev=sharedstatedir ;;
1225  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1226  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1227  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1228  | --sha=* | --sh=*)
1229    sharedstatedir=$ac_optarg ;;
1230
1231  -site | --site | --sit)
1232    ac_prev=site ;;
1233  -site=* | --site=* | --sit=*)
1234    site=$ac_optarg ;;
1235
1236  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1237    ac_prev=srcdir ;;
1238  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1239    srcdir=$ac_optarg ;;
1240
1241  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1242  | --syscon | --sysco | --sysc | --sys | --sy)
1243    ac_prev=sysconfdir ;;
1244  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1245  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1246    sysconfdir=$ac_optarg ;;
1247
1248  -target | --target | --targe | --targ | --tar | --ta | --t)
1249    ac_prev=target_alias ;;
1250  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1251    target_alias=$ac_optarg ;;
1252
1253  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1254    verbose=yes ;;
1255
1256  -version | --version | --versio | --versi | --vers | -V)
1257    ac_init_version=: ;;
1258
1259  -with-* | --with-*)
1260    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1261    # Reject names that are not valid shell variable names.
1262    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1263      as_fn_error "invalid package name: $ac_useropt"
1264    ac_useropt_orig=$ac_useropt
1265    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1266    case $ac_user_opts in
1267      *"
1268"with_$ac_useropt"
1269"*) ;;
1270      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1271	 ac_unrecognized_sep=', ';;
1272    esac
1273    eval with_$ac_useropt=\$ac_optarg ;;
1274
1275  -without-* | --without-*)
1276    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1277    # Reject names that are not valid shell variable names.
1278    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1279      as_fn_error "invalid package name: $ac_useropt"
1280    ac_useropt_orig=$ac_useropt
1281    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1282    case $ac_user_opts in
1283      *"
1284"with_$ac_useropt"
1285"*) ;;
1286      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1287	 ac_unrecognized_sep=', ';;
1288    esac
1289    eval with_$ac_useropt=no ;;
1290
1291  --x)
1292    # Obsolete; use --with-x.
1293    with_x=yes ;;
1294
1295  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1296  | --x-incl | --x-inc | --x-in | --x-i)
1297    ac_prev=x_includes ;;
1298  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1299  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1300    x_includes=$ac_optarg ;;
1301
1302  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1303  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1304    ac_prev=x_libraries ;;
1305  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1306  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1307    x_libraries=$ac_optarg ;;
1308
1309  -*) as_fn_error "unrecognized option: \`$ac_option'
1310Try \`$0 --help' for more information."
1311    ;;
1312
1313  *=*)
1314    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1315    # Reject names that are not valid shell variable names.
1316    case $ac_envvar in #(
1317      '' | [0-9]* | *[!_$as_cr_alnum]* )
1318      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1319    esac
1320    eval $ac_envvar=\$ac_optarg
1321    export $ac_envvar ;;
1322
1323  *)
1324    # FIXME: should be removed in autoconf 3.0.
1325    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1326    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1327      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1328    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1329    ;;
1330
1331  esac
1332done
1333
1334if test -n "$ac_prev"; then
1335  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1336  as_fn_error "missing argument to $ac_option"
1337fi
1338
1339if test -n "$ac_unrecognized_opts"; then
1340  case $enable_option_checking in
1341    no) ;;
1342    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1343    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1344  esac
1345fi
1346
1347# Check all directory arguments for consistency.
1348for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1349		datadir sysconfdir sharedstatedir localstatedir includedir \
1350		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1351		libdir localedir mandir
1352do
1353  eval ac_val=\$$ac_var
1354  # Remove trailing slashes.
1355  case $ac_val in
1356    */ )
1357      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1358      eval $ac_var=\$ac_val;;
1359  esac
1360  # Be sure to have absolute directory names.
1361  case $ac_val in
1362    [\\/$]* | ?:[\\/]* )  continue;;
1363    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1364  esac
1365  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1366done
1367
1368# There might be people who depend on the old broken behavior: `$host'
1369# used to hold the argument of --host etc.
1370# FIXME: To remove some day.
1371build=$build_alias
1372host=$host_alias
1373target=$target_alias
1374
1375# FIXME: To remove some day.
1376if test "x$host_alias" != x; then
1377  if test "x$build_alias" = x; then
1378    cross_compiling=maybe
1379    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1380    If a cross compiler is detected then cross compile mode will be used." >&2
1381  elif test "x$build_alias" != "x$host_alias"; then
1382    cross_compiling=yes
1383  fi
1384fi
1385
1386ac_tool_prefix=
1387test -n "$host_alias" && ac_tool_prefix=$host_alias-
1388
1389test "$silent" = yes && exec 6>/dev/null
1390
1391
1392ac_pwd=`pwd` && test -n "$ac_pwd" &&
1393ac_ls_di=`ls -di .` &&
1394ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1395  as_fn_error "working directory cannot be determined"
1396test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1397  as_fn_error "pwd does not report name of working directory"
1398
1399
1400# Find the source files, if location was not specified.
1401if test -z "$srcdir"; then
1402  ac_srcdir_defaulted=yes
1403  # Try the directory containing this script, then the parent directory.
1404  ac_confdir=`$as_dirname -- "$as_myself" ||
1405$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1406	 X"$as_myself" : 'X\(//\)[^/]' \| \
1407	 X"$as_myself" : 'X\(//\)$' \| \
1408	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1409$as_echo X"$as_myself" |
1410    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1411	    s//\1/
1412	    q
1413	  }
1414	  /^X\(\/\/\)[^/].*/{
1415	    s//\1/
1416	    q
1417	  }
1418	  /^X\(\/\/\)$/{
1419	    s//\1/
1420	    q
1421	  }
1422	  /^X\(\/\).*/{
1423	    s//\1/
1424	    q
1425	  }
1426	  s/.*/./; q'`
1427  srcdir=$ac_confdir
1428  if test ! -r "$srcdir/$ac_unique_file"; then
1429    srcdir=..
1430  fi
1431else
1432  ac_srcdir_defaulted=no
1433fi
1434if test ! -r "$srcdir/$ac_unique_file"; then
1435  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1436  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1437fi
1438ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1439ac_abs_confdir=`(
1440	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1441	pwd)`
1442# When building in place, set srcdir=.
1443if test "$ac_abs_confdir" = "$ac_pwd"; then
1444  srcdir=.
1445fi
1446# Remove unnecessary trailing slashes from srcdir.
1447# Double slashes in file names in object file debugging info
1448# mess up M-x gdb in Emacs.
1449case $srcdir in
1450*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1451esac
1452for ac_var in $ac_precious_vars; do
1453  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1454  eval ac_env_${ac_var}_value=\$${ac_var}
1455  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1456  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1457done
1458
1459#
1460# Report the --help message.
1461#
1462if test "$ac_init_help" = "long"; then
1463  # Omit some internal or obsolete options to make the list less imposing.
1464  # This message is too long to be a string in the A/UX 3.1 sh.
1465  cat <<_ACEOF
1466\`configure' configures package-unused version-unused to adapt to many kinds of systems.
1467
1468Usage: $0 [OPTION]... [VAR=VALUE]...
1469
1470To assign environment variables (e.g., CC, CFLAGS...), specify them as
1471VAR=VALUE.  See below for descriptions of some of the useful variables.
1472
1473Defaults for the options are specified in brackets.
1474
1475Configuration:
1476  -h, --help              display this help and exit
1477      --help=short        display options specific to this package
1478      --help=recursive    display the short help of all the included packages
1479  -V, --version           display version information and exit
1480  -q, --quiet, --silent   do not print \`checking...' messages
1481      --cache-file=FILE   cache test results in FILE [disabled]
1482  -C, --config-cache      alias for \`--cache-file=config.cache'
1483  -n, --no-create         do not create output files
1484      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1485
1486Installation directories:
1487  --prefix=PREFIX         install architecture-independent files in PREFIX
1488                          [$ac_default_prefix]
1489  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1490                          [PREFIX]
1491
1492By default, \`make install' will install all the files in
1493\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1494an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1495for instance \`--prefix=\$HOME'.
1496
1497For better control, use the options below.
1498
1499Fine tuning of the installation directories:
1500  --bindir=DIR            user executables [EPREFIX/bin]
1501  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1502  --libexecdir=DIR        program executables [EPREFIX/libexec]
1503  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1504  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1505  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1506  --libdir=DIR            object code libraries [EPREFIX/lib]
1507  --includedir=DIR        C header files [PREFIX/include]
1508  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1509  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1510  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1511  --infodir=DIR           info documentation [DATAROOTDIR/info]
1512  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1513  --mandir=DIR            man documentation [DATAROOTDIR/man]
1514  --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1515  --htmldir=DIR           html documentation [DOCDIR]
1516  --dvidir=DIR            dvi documentation [DOCDIR]
1517  --pdfdir=DIR            pdf documentation [DOCDIR]
1518  --psdir=DIR             ps documentation [DOCDIR]
1519_ACEOF
1520
1521  cat <<\_ACEOF
1522
1523Program names:
1524  --program-prefix=PREFIX            prepend PREFIX to installed program names
1525  --program-suffix=SUFFIX            append SUFFIX to installed program names
1526  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1527
1528System types:
1529  --build=BUILD     configure for building on BUILD [guessed]
1530  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1531  --target=TARGET   configure for building compilers for TARGET [HOST]
1532_ACEOF
1533fi
1534
1535if test -n "$ac_init_help"; then
1536  case $ac_init_help in
1537     short | recursive ) echo "Configuration of package-unused version-unused:";;
1538   esac
1539  cat <<\_ACEOF
1540
1541Optional Features:
1542  --disable-option-checking  ignore unrecognized --enable/--with options
1543  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1544  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1545  --enable-multilib       build many library versions (default)
1546  --disable-largefile     omit support for large files
1547  --enable-maintainer-mode  enable make rules and dependencies not useful
1548			  (and sometimes confusing) to the casual installer
1549  --enable-shared[=PKGS]  build shared libraries [default=yes]
1550  --enable-static[=PKGS]  build static libraries [default=yes]
1551  --enable-fast-install[=PKGS]
1552                          optimize for fast installation [default=yes]
1553  --disable-libtool-lock  avoid locking (might break parallel builds)
1554  --disable-hosted-libstdcxx
1555                          only build freestanding C++ runtime support
1556  --disable-libstdcxx-verbose
1557                          disable termination messages to standard error
1558  --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1559                          [default=$is_hosted]
1560  --enable-cstdio[=PACKAGE]
1561                          use target-specific I/O package [default=stdio]
1562  --enable-clocale[=MODEL]
1563                          use MODEL for target locale package [default=auto]
1564  --enable-nls            use Native Language Support (default)
1565  --enable-libstdcxx-allocator[=KIND]
1566                          use KIND for target std::allocator base
1567                          [default=auto]
1568  --enable-cheaders[=KIND]
1569                          construct "C" headers for g++ [default=$c_model]
1570  --enable-long-long      enable template specializations for 'long long'
1571                          [default=yes]
1572  --enable-wchar_t        enable template specializations for 'wchar_t'
1573                          [default=yes]
1574  --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1575  --enable-concept-checks use Boost-derived template checks [default=no]
1576  --enable-libstdcxx-debug-flags=FLAGS
1577                          pass compiler FLAGS when building debug library
1578                          [default="-gdwarf-4 -g3 -O0"]
1579  --enable-libstdcxx-debug
1580                          build extra debug library [default=no]
1581  --enable-cxx-flags=FLAGS
1582                          pass compiler FLAGS when building library [default=]
1583  --enable-fully-dynamic-string
1584                          do not put empty strings in per-process static
1585                          memory [default=no]
1586  --enable-extern-template
1587                          enable extern template [default=yes]
1588  --enable-werror         turns on -Werror [default=yes]
1589  --enable-vtable-verify  enable vtable verify [default=no]
1590  --enable-libstdcxx-time[=KIND]
1591                          use KIND for check type [default=auto]
1592  --enable-tls            Use thread-local storage [default=yes]
1593  --disable-rpath         do not hardcode runtime library paths
1594  --enable-linux-futex    use the Linux futex system call [default=default]
1595  --enable-symvers[=STYLE]
1596                          enables symbol versioning of the shared library
1597                          [default=yes]
1598  --enable-libstdcxx-visibility
1599                          enables visibility safe usage [default=yes]
1600  --enable-libstdcxx-dual-abi
1601                          support two versions of std::string [default=yes]
1602  --enable-libstdcxx-threads
1603                          enable C++11 threads support [default=auto]
1604  --enable-libstdcxx-filesystem-ts
1605                          turns on ISO/IEC TS 18822 support [default=auto]
1606  --enable-cet            enable Intel CET in target libraries [default=no]
1607  --enable-version-specific-runtime-libs
1608                          Specify that runtime libraries should be installed
1609                          in a compiler-specific directory
1610
1611Optional Packages:
1612  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1613  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1614  --with-target-subdir=SUBDIR
1615                          configuring in a subdirectory
1616  --with-cross-host=HOST  configuring with a cross compiler
1617  --with-newlib           assume newlib as a system C library
1618  --with-pic              try to use only PIC/non-PIC objects [default=use
1619                          both]
1620  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1621  --with-python-dir       the location to install Python modules. This path is
1622                          relative starting from the prefix.
1623  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1624  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1625  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1626  --with-system-libunwind use installed libunwind
1627  --with-default-libstdcxx-abi
1628                          set the std::string ABI to use by default
1629  --with-gxx-include-dir=DIR
1630                          installation directory for include files
1631  --with-gcc-major-version-only
1632                          use only GCC major number in filesystem paths
1633
1634Some influential environment variables:
1635  CC          C compiler command
1636  CFLAGS      C compiler flags
1637  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1638              nonstandard directory <lib dir>
1639  LIBS        libraries to pass to the linker, e.g. -l<library>
1640  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1641              you have headers in a nonstandard directory <include dir>
1642  CXX         C++ compiler command
1643  CXXFLAGS    C++ compiler flags
1644  CPP         C preprocessor
1645  CXXCPP      C++ preprocessor
1646  CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1647              `c++filt', `gc++filt' on PATH.
1648
1649Use these variables to override the choices made by `configure' or to help
1650it to find libraries and programs with nonstandard names/locations.
1651
1652Report bugs to the package provider.
1653_ACEOF
1654ac_status=$?
1655fi
1656
1657if test "$ac_init_help" = "recursive"; then
1658  # If there are subdirs, report their specific --help.
1659  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1660    test -d "$ac_dir" ||
1661      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1662      continue
1663    ac_builddir=.
1664
1665case "$ac_dir" in
1666.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1667*)
1668  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1669  # A ".." for each directory in $ac_dir_suffix.
1670  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1671  case $ac_top_builddir_sub in
1672  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1673  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1674  esac ;;
1675esac
1676ac_abs_top_builddir=$ac_pwd
1677ac_abs_builddir=$ac_pwd$ac_dir_suffix
1678# for backward compatibility:
1679ac_top_builddir=$ac_top_build_prefix
1680
1681case $srcdir in
1682  .)  # We are building in place.
1683    ac_srcdir=.
1684    ac_top_srcdir=$ac_top_builddir_sub
1685    ac_abs_top_srcdir=$ac_pwd ;;
1686  [\\/]* | ?:[\\/]* )  # Absolute name.
1687    ac_srcdir=$srcdir$ac_dir_suffix;
1688    ac_top_srcdir=$srcdir
1689    ac_abs_top_srcdir=$srcdir ;;
1690  *) # Relative name.
1691    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1692    ac_top_srcdir=$ac_top_build_prefix$srcdir
1693    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1694esac
1695ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1696
1697    cd "$ac_dir" || { ac_status=$?; continue; }
1698    # Check for guested configure.
1699    if test -f "$ac_srcdir/configure.gnu"; then
1700      echo &&
1701      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1702    elif test -f "$ac_srcdir/configure"; then
1703      echo &&
1704      $SHELL "$ac_srcdir/configure" --help=recursive
1705    else
1706      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1707    fi || ac_status=$?
1708    cd "$ac_pwd" || { ac_status=$?; break; }
1709  done
1710fi
1711
1712test -n "$ac_init_help" && exit $ac_status
1713if $ac_init_version; then
1714  cat <<\_ACEOF
1715package-unused configure version-unused
1716generated by GNU Autoconf 2.64
1717
1718Copyright (C) 2009 Free Software Foundation, Inc.
1719This configure script is free software; the Free Software Foundation
1720gives unlimited permission to copy, distribute and modify it.
1721_ACEOF
1722  exit
1723fi
1724
1725## ------------------------ ##
1726## Autoconf initialization. ##
1727## ------------------------ ##
1728
1729# ac_fn_c_try_compile LINENO
1730# --------------------------
1731# Try to compile conftest.$ac_ext, and return whether this succeeded.
1732ac_fn_c_try_compile ()
1733{
1734  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735  rm -f conftest.$ac_objext
1736  if { { ac_try="$ac_compile"
1737case "(($ac_try" in
1738  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739  *) ac_try_echo=$ac_try;;
1740esac
1741eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742$as_echo "$ac_try_echo"; } >&5
1743  (eval "$ac_compile") 2>conftest.err
1744  ac_status=$?
1745  if test -s conftest.err; then
1746    grep -v '^ *+' conftest.err >conftest.er1
1747    cat conftest.er1 >&5
1748    mv -f conftest.er1 conftest.err
1749  fi
1750  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751  test $ac_status = 0; } && {
1752	 test -z "$ac_c_werror_flag" ||
1753	 test ! -s conftest.err
1754       } && test -s conftest.$ac_objext; then :
1755  ac_retval=0
1756else
1757  $as_echo "$as_me: failed program was:" >&5
1758sed 's/^/| /' conftest.$ac_ext >&5
1759
1760	ac_retval=1
1761fi
1762  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763  return $ac_retval
1764
1765} # ac_fn_c_try_compile
1766
1767# ac_fn_cxx_try_compile LINENO
1768# ----------------------------
1769# Try to compile conftest.$ac_ext, and return whether this succeeded.
1770ac_fn_cxx_try_compile ()
1771{
1772  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773  rm -f conftest.$ac_objext
1774  if { { ac_try="$ac_compile"
1775case "(($ac_try" in
1776  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1777  *) ac_try_echo=$ac_try;;
1778esac
1779eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780$as_echo "$ac_try_echo"; } >&5
1781  (eval "$ac_compile") 2>conftest.err
1782  ac_status=$?
1783  if test -s conftest.err; then
1784    grep -v '^ *+' conftest.err >conftest.er1
1785    cat conftest.er1 >&5
1786    mv -f conftest.er1 conftest.err
1787  fi
1788  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789  test $ac_status = 0; } && {
1790	 test -z "$ac_cxx_werror_flag" ||
1791	 test ! -s conftest.err
1792       } && test -s conftest.$ac_objext; then :
1793  ac_retval=0
1794else
1795  $as_echo "$as_me: failed program was:" >&5
1796sed 's/^/| /' conftest.$ac_ext >&5
1797
1798	ac_retval=1
1799fi
1800  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1801  return $ac_retval
1802
1803} # ac_fn_cxx_try_compile
1804
1805# ac_fn_c_try_cpp LINENO
1806# ----------------------
1807# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1808ac_fn_c_try_cpp ()
1809{
1810  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811  if { { ac_try="$ac_cpp conftest.$ac_ext"
1812case "(($ac_try" in
1813  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1814  *) ac_try_echo=$ac_try;;
1815esac
1816eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817$as_echo "$ac_try_echo"; } >&5
1818  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1819  ac_status=$?
1820  if test -s conftest.err; then
1821    grep -v '^ *+' conftest.err >conftest.er1
1822    cat conftest.er1 >&5
1823    mv -f conftest.er1 conftest.err
1824  fi
1825  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826  test $ac_status = 0; } >/dev/null && {
1827	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1828	 test ! -s conftest.err
1829       }; then :
1830  ac_retval=0
1831else
1832  $as_echo "$as_me: failed program was:" >&5
1833sed 's/^/| /' conftest.$ac_ext >&5
1834
1835    ac_retval=1
1836fi
1837  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1838  return $ac_retval
1839
1840} # ac_fn_c_try_cpp
1841
1842# ac_fn_c_try_link LINENO
1843# -----------------------
1844# Try to link conftest.$ac_ext, and return whether this succeeded.
1845ac_fn_c_try_link ()
1846{
1847  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848  rm -f conftest.$ac_objext conftest$ac_exeext
1849  if { { ac_try="$ac_link"
1850case "(($ac_try" in
1851  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1852  *) ac_try_echo=$ac_try;;
1853esac
1854eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1855$as_echo "$ac_try_echo"; } >&5
1856  (eval "$ac_link") 2>conftest.err
1857  ac_status=$?
1858  if test -s conftest.err; then
1859    grep -v '^ *+' conftest.err >conftest.er1
1860    cat conftest.er1 >&5
1861    mv -f conftest.er1 conftest.err
1862  fi
1863  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1864  test $ac_status = 0; } && {
1865	 test -z "$ac_c_werror_flag" ||
1866	 test ! -s conftest.err
1867       } && test -s conftest$ac_exeext && {
1868	 test "$cross_compiling" = yes ||
1869	 $as_test_x conftest$ac_exeext
1870       }; then :
1871  ac_retval=0
1872else
1873  $as_echo "$as_me: failed program was:" >&5
1874sed 's/^/| /' conftest.$ac_ext >&5
1875
1876	ac_retval=1
1877fi
1878  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1879  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1880  # interfere with the next link command; also delete a directory that is
1881  # left behind by Apple's compiler.  We do this before executing the actions.
1882  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1883  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1884  return $ac_retval
1885
1886} # ac_fn_c_try_link
1887
1888# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1889# -------------------------------------------------------
1890# Tests whether HEADER exists and can be compiled using the include files in
1891# INCLUDES, setting the cache variable VAR accordingly.
1892ac_fn_c_check_header_compile ()
1893{
1894  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1896$as_echo_n "checking for $2... " >&6; }
1897if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1898  $as_echo_n "(cached) " >&6
1899else
1900  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1901/* end confdefs.h.  */
1902$4
1903#include <$2>
1904_ACEOF
1905if ac_fn_c_try_compile "$LINENO"; then :
1906  eval "$3=yes"
1907else
1908  eval "$3=no"
1909fi
1910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911fi
1912eval ac_res=\$$3
1913	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914$as_echo "$ac_res" >&6; }
1915  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1916
1917} # ac_fn_c_check_header_compile
1918
1919# ac_fn_c_try_run LINENO
1920# ----------------------
1921# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1922# that executables *can* be run.
1923ac_fn_c_try_run ()
1924{
1925  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1926  if { { ac_try="$ac_link"
1927case "(($ac_try" in
1928  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1929  *) ac_try_echo=$ac_try;;
1930esac
1931eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1932$as_echo "$ac_try_echo"; } >&5
1933  (eval "$ac_link") 2>&5
1934  ac_status=$?
1935  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1936  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1937  { { case "(($ac_try" in
1938  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1939  *) ac_try_echo=$ac_try;;
1940esac
1941eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1942$as_echo "$ac_try_echo"; } >&5
1943  (eval "$ac_try") 2>&5
1944  ac_status=$?
1945  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1946  test $ac_status = 0; }; }; then :
1947  ac_retval=0
1948else
1949  $as_echo "$as_me: program exited with status $ac_status" >&5
1950       $as_echo "$as_me: failed program was:" >&5
1951sed 's/^/| /' conftest.$ac_ext >&5
1952
1953       ac_retval=$ac_status
1954fi
1955  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1956  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1957  return $ac_retval
1958
1959} # ac_fn_c_try_run
1960
1961# ac_fn_c_check_func LINENO FUNC VAR
1962# ----------------------------------
1963# Tests whether FUNC exists, setting the cache variable VAR accordingly
1964ac_fn_c_check_func ()
1965{
1966  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1967  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1968$as_echo_n "checking for $2... " >&6; }
1969if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1970  $as_echo_n "(cached) " >&6
1971else
1972  if test x$gcc_no_link = xyes; then
1973  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1974fi
1975cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1976/* end confdefs.h.  */
1977/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1978   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1979#define $2 innocuous_$2
1980
1981/* System header to define __stub macros and hopefully few prototypes,
1982    which can conflict with char $2 (); below.
1983    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1984    <limits.h> exists even on freestanding compilers.  */
1985
1986#ifdef __STDC__
1987# include <limits.h>
1988#else
1989# include <assert.h>
1990#endif
1991
1992#undef $2
1993
1994/* Override any GCC internal prototype to avoid an error.
1995   Use char because int might match the return type of a GCC
1996   builtin and then its argument prototype would still apply.  */
1997#ifdef __cplusplus
1998extern "C"
1999#endif
2000char $2 ();
2001/* The GNU C library defines this for functions which it implements
2002    to always fail with ENOSYS.  Some functions are actually named
2003    something starting with __ and the normal name is an alias.  */
2004#if defined __stub_$2 || defined __stub___$2
2005choke me
2006#endif
2007
2008int
2009main ()
2010{
2011return $2 ();
2012  ;
2013  return 0;
2014}
2015_ACEOF
2016if ac_fn_c_try_link "$LINENO"; then :
2017  eval "$3=yes"
2018else
2019  eval "$3=no"
2020fi
2021rm -f core conftest.err conftest.$ac_objext \
2022    conftest$ac_exeext conftest.$ac_ext
2023fi
2024eval ac_res=\$$3
2025	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2026$as_echo "$ac_res" >&6; }
2027  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2028
2029} # ac_fn_c_check_func
2030
2031# ac_fn_cxx_try_cpp LINENO
2032# ------------------------
2033# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2034ac_fn_cxx_try_cpp ()
2035{
2036  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2037  if { { ac_try="$ac_cpp conftest.$ac_ext"
2038case "(($ac_try" in
2039  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2040  *) ac_try_echo=$ac_try;;
2041esac
2042eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2043$as_echo "$ac_try_echo"; } >&5
2044  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2045  ac_status=$?
2046  if test -s conftest.err; then
2047    grep -v '^ *+' conftest.err >conftest.er1
2048    cat conftest.er1 >&5
2049    mv -f conftest.er1 conftest.err
2050  fi
2051  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2052  test $ac_status = 0; } >/dev/null && {
2053	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2054	 test ! -s conftest.err
2055       }; then :
2056  ac_retval=0
2057else
2058  $as_echo "$as_me: failed program was:" >&5
2059sed 's/^/| /' conftest.$ac_ext >&5
2060
2061    ac_retval=1
2062fi
2063  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2064  return $ac_retval
2065
2066} # ac_fn_cxx_try_cpp
2067
2068# ac_fn_cxx_try_link LINENO
2069# -------------------------
2070# Try to link conftest.$ac_ext, and return whether this succeeded.
2071ac_fn_cxx_try_link ()
2072{
2073  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2074  rm -f conftest.$ac_objext conftest$ac_exeext
2075  if { { ac_try="$ac_link"
2076case "(($ac_try" in
2077  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2078  *) ac_try_echo=$ac_try;;
2079esac
2080eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2081$as_echo "$ac_try_echo"; } >&5
2082  (eval "$ac_link") 2>conftest.err
2083  ac_status=$?
2084  if test -s conftest.err; then
2085    grep -v '^ *+' conftest.err >conftest.er1
2086    cat conftest.er1 >&5
2087    mv -f conftest.er1 conftest.err
2088  fi
2089  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2090  test $ac_status = 0; } && {
2091	 test -z "$ac_cxx_werror_flag" ||
2092	 test ! -s conftest.err
2093       } && test -s conftest$ac_exeext && {
2094	 test "$cross_compiling" = yes ||
2095	 $as_test_x conftest$ac_exeext
2096       }; then :
2097  ac_retval=0
2098else
2099  $as_echo "$as_me: failed program was:" >&5
2100sed 's/^/| /' conftest.$ac_ext >&5
2101
2102	ac_retval=1
2103fi
2104  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2105  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2106  # interfere with the next link command; also delete a directory that is
2107  # left behind by Apple's compiler.  We do this before executing the actions.
2108  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2109  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2110  return $ac_retval
2111
2112} # ac_fn_cxx_try_link
2113
2114# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2115# -------------------------------------------------------
2116# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2117# the include files in INCLUDES and setting the cache variable VAR
2118# accordingly.
2119ac_fn_c_check_header_mongrel ()
2120{
2121  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2122  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2123  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2124$as_echo_n "checking for $2... " >&6; }
2125if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2126  $as_echo_n "(cached) " >&6
2127fi
2128eval ac_res=\$$3
2129	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2130$as_echo "$ac_res" >&6; }
2131else
2132  # Is the header compilable?
2133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2134$as_echo_n "checking $2 usability... " >&6; }
2135cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136/* end confdefs.h.  */
2137$4
2138#include <$2>
2139_ACEOF
2140if ac_fn_c_try_compile "$LINENO"; then :
2141  ac_header_compiler=yes
2142else
2143  ac_header_compiler=no
2144fi
2145rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2147$as_echo "$ac_header_compiler" >&6; }
2148
2149# Is the header present?
2150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2151$as_echo_n "checking $2 presence... " >&6; }
2152cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2153/* end confdefs.h.  */
2154#include <$2>
2155_ACEOF
2156if ac_fn_c_try_cpp "$LINENO"; then :
2157  ac_header_preproc=yes
2158else
2159  ac_header_preproc=no
2160fi
2161rm -f conftest.err conftest.$ac_ext
2162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2163$as_echo "$ac_header_preproc" >&6; }
2164
2165# So?  What about this header?
2166case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2167  yes:no: )
2168    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2169$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2170    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2171$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2172    ;;
2173  no:yes:* )
2174    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2175$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2176    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2177$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2178    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2179$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2180    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2181$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2182    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2183$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2184    ;;
2185esac
2186  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2187$as_echo_n "checking for $2... " >&6; }
2188if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2189  $as_echo_n "(cached) " >&6
2190else
2191  eval "$3=\$ac_header_compiler"
2192fi
2193eval ac_res=\$$3
2194	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2195$as_echo "$ac_res" >&6; }
2196fi
2197  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2198
2199} # ac_fn_c_check_header_mongrel
2200
2201# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2202# ---------------------------------------------------------
2203# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2204# the include files in INCLUDES and setting the cache variable VAR
2205# accordingly.
2206ac_fn_cxx_check_header_mongrel ()
2207{
2208  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2209  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2210  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2211$as_echo_n "checking for $2... " >&6; }
2212if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2213  $as_echo_n "(cached) " >&6
2214fi
2215eval ac_res=\$$3
2216	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2217$as_echo "$ac_res" >&6; }
2218else
2219  # Is the header compilable?
2220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2221$as_echo_n "checking $2 usability... " >&6; }
2222cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2223/* end confdefs.h.  */
2224$4
2225#include <$2>
2226_ACEOF
2227if ac_fn_cxx_try_compile "$LINENO"; then :
2228  ac_header_compiler=yes
2229else
2230  ac_header_compiler=no
2231fi
2232rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2234$as_echo "$ac_header_compiler" >&6; }
2235
2236# Is the header present?
2237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2238$as_echo_n "checking $2 presence... " >&6; }
2239cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2240/* end confdefs.h.  */
2241#include <$2>
2242_ACEOF
2243if ac_fn_cxx_try_cpp "$LINENO"; then :
2244  ac_header_preproc=yes
2245else
2246  ac_header_preproc=no
2247fi
2248rm -f conftest.err conftest.$ac_ext
2249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2250$as_echo "$ac_header_preproc" >&6; }
2251
2252# So?  What about this header?
2253case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2254  yes:no: )
2255    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2256$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2257    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2258$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2259    ;;
2260  no:yes:* )
2261    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2262$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2263    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2264$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2265    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2266$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2267    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2268$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2269    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2270$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2271    ;;
2272esac
2273  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2274$as_echo_n "checking for $2... " >&6; }
2275if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2276  $as_echo_n "(cached) " >&6
2277else
2278  eval "$3=\$ac_header_compiler"
2279fi
2280eval ac_res=\$$3
2281	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2282$as_echo "$ac_res" >&6; }
2283fi
2284  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2285
2286} # ac_fn_cxx_check_header_mongrel
2287
2288# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2289# --------------------------------------------
2290# Tries to find the compile-time value of EXPR in a program that includes
2291# INCLUDES, setting VAR accordingly. Returns whether the value could be
2292# computed
2293ac_fn_c_compute_int ()
2294{
2295  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2296  if test "$cross_compiling" = yes; then
2297    # Depending upon the size, compute the lo and hi bounds.
2298cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2299/* end confdefs.h.  */
2300$4
2301int
2302main ()
2303{
2304static int test_array [1 - 2 * !(($2) >= 0)];
2305test_array [0] = 0
2306
2307  ;
2308  return 0;
2309}
2310_ACEOF
2311if ac_fn_c_try_compile "$LINENO"; then :
2312  ac_lo=0 ac_mid=0
2313  while :; do
2314    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2315/* end confdefs.h.  */
2316$4
2317int
2318main ()
2319{
2320static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2321test_array [0] = 0
2322
2323  ;
2324  return 0;
2325}
2326_ACEOF
2327if ac_fn_c_try_compile "$LINENO"; then :
2328  ac_hi=$ac_mid; break
2329else
2330  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2331			if test $ac_lo -le $ac_mid; then
2332			  ac_lo= ac_hi=
2333			  break
2334			fi
2335			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2336fi
2337rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2338  done
2339else
2340  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2341/* end confdefs.h.  */
2342$4
2343int
2344main ()
2345{
2346static int test_array [1 - 2 * !(($2) < 0)];
2347test_array [0] = 0
2348
2349  ;
2350  return 0;
2351}
2352_ACEOF
2353if ac_fn_c_try_compile "$LINENO"; then :
2354  ac_hi=-1 ac_mid=-1
2355  while :; do
2356    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2357/* end confdefs.h.  */
2358$4
2359int
2360main ()
2361{
2362static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2363test_array [0] = 0
2364
2365  ;
2366  return 0;
2367}
2368_ACEOF
2369if ac_fn_c_try_compile "$LINENO"; then :
2370  ac_lo=$ac_mid; break
2371else
2372  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2373			if test $ac_mid -le $ac_hi; then
2374			  ac_lo= ac_hi=
2375			  break
2376			fi
2377			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2378fi
2379rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2380  done
2381else
2382  ac_lo= ac_hi=
2383fi
2384rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2385fi
2386rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2387# Binary search between lo and hi bounds.
2388while test "x$ac_lo" != "x$ac_hi"; do
2389  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2390  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2391/* end confdefs.h.  */
2392$4
2393int
2394main ()
2395{
2396static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2397test_array [0] = 0
2398
2399  ;
2400  return 0;
2401}
2402_ACEOF
2403if ac_fn_c_try_compile "$LINENO"; then :
2404  ac_hi=$ac_mid
2405else
2406  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2407fi
2408rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2409done
2410case $ac_lo in #((
2411?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2412'') ac_retval=1 ;;
2413esac
2414  else
2415    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2416/* end confdefs.h.  */
2417$4
2418static long int longval () { return $2; }
2419static unsigned long int ulongval () { return $2; }
2420#include <stdio.h>
2421#include <stdlib.h>
2422int
2423main ()
2424{
2425
2426  FILE *f = fopen ("conftest.val", "w");
2427  if (! f)
2428    return 1;
2429  if (($2) < 0)
2430    {
2431      long int i = longval ();
2432      if (i != ($2))
2433	return 1;
2434      fprintf (f, "%ld", i);
2435    }
2436  else
2437    {
2438      unsigned long int i = ulongval ();
2439      if (i != ($2))
2440	return 1;
2441      fprintf (f, "%lu", i);
2442    }
2443  /* Do not output a trailing newline, as this causes \r\n confusion
2444     on some platforms.  */
2445  return ferror (f) || fclose (f) != 0;
2446
2447  ;
2448  return 0;
2449}
2450_ACEOF
2451if ac_fn_c_try_run "$LINENO"; then :
2452  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2453else
2454  ac_retval=1
2455fi
2456rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2457  conftest.$ac_objext conftest.beam conftest.$ac_ext
2458rm -f conftest.val
2459
2460  fi
2461  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2462  return $ac_retval
2463
2464} # ac_fn_c_compute_int
2465
2466# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2467# -------------------------------------------
2468# Tests whether TYPE exists after having included INCLUDES, setting cache
2469# variable VAR accordingly.
2470ac_fn_c_check_type ()
2471{
2472  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2473  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2474$as_echo_n "checking for $2... " >&6; }
2475if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2476  $as_echo_n "(cached) " >&6
2477else
2478  eval "$3=no"
2479  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2480/* end confdefs.h.  */
2481$4
2482int
2483main ()
2484{
2485if (sizeof ($2))
2486	 return 0;
2487  ;
2488  return 0;
2489}
2490_ACEOF
2491if ac_fn_c_try_compile "$LINENO"; then :
2492  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2493/* end confdefs.h.  */
2494$4
2495int
2496main ()
2497{
2498if (sizeof (($2)))
2499	    return 0;
2500  ;
2501  return 0;
2502}
2503_ACEOF
2504if ac_fn_c_try_compile "$LINENO"; then :
2505
2506else
2507  eval "$3=yes"
2508fi
2509rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2510fi
2511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2512fi
2513eval ac_res=\$$3
2514	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2515$as_echo "$ac_res" >&6; }
2516  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2517
2518} # ac_fn_c_check_type
2519
2520# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2521# ---------------------------------------------
2522# Tests whether TYPE exists after having included INCLUDES, setting cache
2523# variable VAR accordingly.
2524ac_fn_cxx_check_type ()
2525{
2526  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2527  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2528$as_echo_n "checking for $2... " >&6; }
2529if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2530  $as_echo_n "(cached) " >&6
2531else
2532  eval "$3=no"
2533  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2534/* end confdefs.h.  */
2535$4
2536int
2537main ()
2538{
2539if (sizeof ($2))
2540	 return 0;
2541  ;
2542  return 0;
2543}
2544_ACEOF
2545if ac_fn_cxx_try_compile "$LINENO"; then :
2546  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2547/* end confdefs.h.  */
2548$4
2549int
2550main ()
2551{
2552if (sizeof (($2)))
2553	    return 0;
2554  ;
2555  return 0;
2556}
2557_ACEOF
2558if ac_fn_cxx_try_compile "$LINENO"; then :
2559
2560else
2561  eval "$3=yes"
2562fi
2563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2564fi
2565rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2566fi
2567eval ac_res=\$$3
2568	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2569$as_echo "$ac_res" >&6; }
2570  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2571
2572} # ac_fn_cxx_check_type
2573cat >config.log <<_ACEOF
2574This file contains any messages produced by compilers while
2575running configure, to aid debugging if configure makes a mistake.
2576
2577It was created by package-unused $as_me version-unused, which was
2578generated by GNU Autoconf 2.64.  Invocation command line was
2579
2580  $ $0 $@
2581
2582_ACEOF
2583exec 5>>config.log
2584{
2585cat <<_ASUNAME
2586## --------- ##
2587## Platform. ##
2588## --------- ##
2589
2590hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2591uname -m = `(uname -m) 2>/dev/null || echo unknown`
2592uname -r = `(uname -r) 2>/dev/null || echo unknown`
2593uname -s = `(uname -s) 2>/dev/null || echo unknown`
2594uname -v = `(uname -v) 2>/dev/null || echo unknown`
2595
2596/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2597/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2598
2599/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2600/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2601/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2602/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2603/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2604/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2605/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2606
2607_ASUNAME
2608
2609as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2610for as_dir in $PATH
2611do
2612  IFS=$as_save_IFS
2613  test -z "$as_dir" && as_dir=.
2614    $as_echo "PATH: $as_dir"
2615  done
2616IFS=$as_save_IFS
2617
2618} >&5
2619
2620cat >&5 <<_ACEOF
2621
2622
2623## ----------- ##
2624## Core tests. ##
2625## ----------- ##
2626
2627_ACEOF
2628
2629
2630# Keep a trace of the command line.
2631# Strip out --no-create and --no-recursion so they do not pile up.
2632# Strip out --silent because we don't want to record it for future runs.
2633# Also quote any args containing shell meta-characters.
2634# Make two passes to allow for proper duplicate-argument suppression.
2635ac_configure_args=
2636ac_configure_args0=
2637ac_configure_args1=
2638ac_must_keep_next=false
2639for ac_pass in 1 2
2640do
2641  for ac_arg
2642  do
2643    case $ac_arg in
2644    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2645    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2646    | -silent | --silent | --silen | --sile | --sil)
2647      continue ;;
2648    *\'*)
2649      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2650    esac
2651    case $ac_pass in
2652    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2653    2)
2654      as_fn_append ac_configure_args1 " '$ac_arg'"
2655      if test $ac_must_keep_next = true; then
2656	ac_must_keep_next=false # Got value, back to normal.
2657      else
2658	case $ac_arg in
2659	  *=* | --config-cache | -C | -disable-* | --disable-* \
2660	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2661	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2662	  | -with-* | --with-* | -without-* | --without-* | --x)
2663	    case "$ac_configure_args0 " in
2664	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2665	    esac
2666	    ;;
2667	  -* ) ac_must_keep_next=true ;;
2668	esac
2669      fi
2670      as_fn_append ac_configure_args " '$ac_arg'"
2671      ;;
2672    esac
2673  done
2674done
2675{ ac_configure_args0=; unset ac_configure_args0;}
2676{ ac_configure_args1=; unset ac_configure_args1;}
2677
2678# When interrupted or exit'd, cleanup temporary files, and complete
2679# config.log.  We remove comments because anyway the quotes in there
2680# would cause problems or look ugly.
2681# WARNING: Use '\'' to represent an apostrophe within the trap.
2682# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2683trap 'exit_status=$?
2684  # Save into config.log some information that might help in debugging.
2685  {
2686    echo
2687
2688    cat <<\_ASBOX
2689## ---------------- ##
2690## Cache variables. ##
2691## ---------------- ##
2692_ASBOX
2693    echo
2694    # The following way of writing the cache mishandles newlines in values,
2695(
2696  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2697    eval ac_val=\$$ac_var
2698    case $ac_val in #(
2699    *${as_nl}*)
2700      case $ac_var in #(
2701      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2702$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2703      esac
2704      case $ac_var in #(
2705      _ | IFS | as_nl) ;; #(
2706      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2707      *) { eval $ac_var=; unset $ac_var;} ;;
2708      esac ;;
2709    esac
2710  done
2711  (set) 2>&1 |
2712    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2713    *${as_nl}ac_space=\ *)
2714      sed -n \
2715	"s/'\''/'\''\\\\'\'''\''/g;
2716	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2717      ;; #(
2718    *)
2719      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2720      ;;
2721    esac |
2722    sort
2723)
2724    echo
2725
2726    cat <<\_ASBOX
2727## ----------------- ##
2728## Output variables. ##
2729## ----------------- ##
2730_ASBOX
2731    echo
2732    for ac_var in $ac_subst_vars
2733    do
2734      eval ac_val=\$$ac_var
2735      case $ac_val in
2736      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2737      esac
2738      $as_echo "$ac_var='\''$ac_val'\''"
2739    done | sort
2740    echo
2741
2742    if test -n "$ac_subst_files"; then
2743      cat <<\_ASBOX
2744## ------------------- ##
2745## File substitutions. ##
2746## ------------------- ##
2747_ASBOX
2748      echo
2749      for ac_var in $ac_subst_files
2750      do
2751	eval ac_val=\$$ac_var
2752	case $ac_val in
2753	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2754	esac
2755	$as_echo "$ac_var='\''$ac_val'\''"
2756      done | sort
2757      echo
2758    fi
2759
2760    if test -s confdefs.h; then
2761      cat <<\_ASBOX
2762## ----------- ##
2763## confdefs.h. ##
2764## ----------- ##
2765_ASBOX
2766      echo
2767      cat confdefs.h
2768      echo
2769    fi
2770    test "$ac_signal" != 0 &&
2771      $as_echo "$as_me: caught signal $ac_signal"
2772    $as_echo "$as_me: exit $exit_status"
2773  } >&5
2774  rm -f core *.core core.conftest.* &&
2775    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2776    exit $exit_status
2777' 0
2778for ac_signal in 1 2 13 15; do
2779  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2780done
2781ac_signal=0
2782
2783# confdefs.h avoids OS command line length limits that DEFS can exceed.
2784rm -f -r conftest* confdefs.h
2785
2786$as_echo "/* confdefs.h */" > confdefs.h
2787
2788# Predefined preprocessor variables.
2789
2790cat >>confdefs.h <<_ACEOF
2791#define PACKAGE_NAME "$PACKAGE_NAME"
2792_ACEOF
2793
2794cat >>confdefs.h <<_ACEOF
2795#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2796_ACEOF
2797
2798cat >>confdefs.h <<_ACEOF
2799#define PACKAGE_VERSION "$PACKAGE_VERSION"
2800_ACEOF
2801
2802cat >>confdefs.h <<_ACEOF
2803#define PACKAGE_STRING "$PACKAGE_STRING"
2804_ACEOF
2805
2806cat >>confdefs.h <<_ACEOF
2807#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2808_ACEOF
2809
2810cat >>confdefs.h <<_ACEOF
2811#define PACKAGE_URL "$PACKAGE_URL"
2812_ACEOF
2813
2814
2815# Let the site file select an alternate cache file if it wants to.
2816# Prefer an explicitly selected file to automatically selected ones.
2817ac_site_file1=NONE
2818ac_site_file2=NONE
2819if test -n "$CONFIG_SITE"; then
2820  ac_site_file1=$CONFIG_SITE
2821elif test "x$prefix" != xNONE; then
2822  ac_site_file1=$prefix/share/config.site
2823  ac_site_file2=$prefix/etc/config.site
2824else
2825  ac_site_file1=$ac_default_prefix/share/config.site
2826  ac_site_file2=$ac_default_prefix/etc/config.site
2827fi
2828for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2829do
2830  test "x$ac_site_file" = xNONE && continue
2831  if test -r "$ac_site_file"; then
2832    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2833$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2834    sed 's/^/| /' "$ac_site_file" >&5
2835    . "$ac_site_file"
2836  fi
2837done
2838
2839if test -r "$cache_file"; then
2840  # Some versions of bash will fail to source /dev/null (special
2841  # files actually), so we avoid doing that.
2842  if test -f "$cache_file"; then
2843    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2844$as_echo "$as_me: loading cache $cache_file" >&6;}
2845    case $cache_file in
2846      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2847      *)                      . "./$cache_file";;
2848    esac
2849  fi
2850else
2851  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2852$as_echo "$as_me: creating cache $cache_file" >&6;}
2853  >$cache_file
2854fi
2855
2856# Check that the precious variables saved in the cache have kept the same
2857# value.
2858ac_cache_corrupted=false
2859for ac_var in $ac_precious_vars; do
2860  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2861  eval ac_new_set=\$ac_env_${ac_var}_set
2862  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2863  eval ac_new_val=\$ac_env_${ac_var}_value
2864  case $ac_old_set,$ac_new_set in
2865    set,)
2866      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2867$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2868      ac_cache_corrupted=: ;;
2869    ,set)
2870      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2871$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2872      ac_cache_corrupted=: ;;
2873    ,);;
2874    *)
2875      if test "x$ac_old_val" != "x$ac_new_val"; then
2876	# differences in whitespace do not lead to failure.
2877	ac_old_val_w=`echo x $ac_old_val`
2878	ac_new_val_w=`echo x $ac_new_val`
2879	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2880	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2881$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2882	  ac_cache_corrupted=:
2883	else
2884	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2885$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2886	  eval $ac_var=\$ac_old_val
2887	fi
2888	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2889$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2890	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2891$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2892      fi;;
2893  esac
2894  # Pass precious variables to config.status.
2895  if test "$ac_new_set" = set; then
2896    case $ac_new_val in
2897    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2898    *) ac_arg=$ac_var=$ac_new_val ;;
2899    esac
2900    case " $ac_configure_args " in
2901      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2902      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2903    esac
2904  fi
2905done
2906if $ac_cache_corrupted; then
2907  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2908$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2909  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2910$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2911  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2912fi
2913## -------------------- ##
2914## Main body of script. ##
2915## -------------------- ##
2916
2917ac_ext=c
2918ac_cpp='$CPP $CPPFLAGS'
2919ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2920ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2921ac_compiler_gnu=$ac_cv_c_compiler_gnu
2922
2923
2924
2925
2926
2927
2928ac_config_headers="$ac_config_headers config.h"
2929
2930
2931# This works around the fact that libtool configuration may change LD
2932# for this particular configuration, but some shells, instead of
2933# keeping the changes in LD private, export them just because LD is
2934# exported.  Only used at the end of this file.
2935### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2936
2937# Find the rest of the source tree framework.
2938# Default to --enable-multilib
2939# Check whether --enable-multilib was given.
2940if test "${enable_multilib+set}" = set; then :
2941  enableval=$enable_multilib; case "$enableval" in
2942  yes) multilib=yes ;;
2943  no)  multilib=no ;;
2944  *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2945 esac
2946else
2947  multilib=yes
2948fi
2949
2950
2951# We may get other options which we leave undocumented:
2952# --with-target-subdir, --with-multisrctop, --with-multisubdir
2953# See config-ml.in if you want the gory details.
2954
2955if test "$srcdir" = "."; then
2956  if test "$with_target_subdir" != "."; then
2957    multi_basedir="$srcdir/$with_multisrctop../.."
2958  else
2959    multi_basedir="$srcdir/$with_multisrctop.."
2960  fi
2961else
2962  multi_basedir="$srcdir/.."
2963fi
2964
2965
2966# Even if the default multilib is not a cross compilation,
2967# it may be that some of the other multilibs are.
2968if test $cross_compiling = no && test $multilib = yes \
2969   && test "x${with_multisubdir}" != x ; then
2970   cross_compiling=maybe
2971fi
2972
2973ac_config_commands="$ac_config_commands default-1"
2974
2975
2976# Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2977#
2978# You will slowly go insane if you do not grok the following fact:  when
2979# building v3 as part of the compiler, the top-level /target/ becomes the
2980# library's /host/.  configure then causes --target to default to --host,
2981# exactly like any other package using autoconf.  Therefore, 'target' and
2982# 'host' will always be the same.  This makes sense both for native and
2983# cross compilers, just think about it for a little while.  :-)
2984#
2985# Also, if v3 is being configured as part of a cross compiler, the top-level
2986# configure script will pass the "real" host as $with_cross_host.
2987#
2988# Do not delete or change the following two lines.  For why, see
2989# http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2990ac_aux_dir=
2991for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2992  for ac_t in install-sh install.sh shtool; do
2993    if test -f "$ac_dir/$ac_t"; then
2994      ac_aux_dir=$ac_dir
2995      ac_install_sh="$ac_aux_dir/$ac_t -c"
2996      break 2
2997    fi
2998  done
2999done
3000if test -z "$ac_aux_dir"; then
3001  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3002fi
3003
3004# These three variables are undocumented and unsupported,
3005# and are intended to be withdrawn in a future Autoconf release.
3006# They can cause serious problems if a builder's source tree is in a directory
3007# whose full name contains unusual characters.
3008ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3009ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3010ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3011
3012
3013# Make sure we can run config.sub.
3014$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3015  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3016
3017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3018$as_echo_n "checking build system type... " >&6; }
3019if test "${ac_cv_build+set}" = set; then :
3020  $as_echo_n "(cached) " >&6
3021else
3022  ac_build_alias=$build_alias
3023test "x$ac_build_alias" = x &&
3024  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3025test "x$ac_build_alias" = x &&
3026  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3027ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3028  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3029
3030fi
3031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3032$as_echo "$ac_cv_build" >&6; }
3033case $ac_cv_build in
3034*-*-*) ;;
3035*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3036esac
3037build=$ac_cv_build
3038ac_save_IFS=$IFS; IFS='-'
3039set x $ac_cv_build
3040shift
3041build_cpu=$1
3042build_vendor=$2
3043shift; shift
3044# Remember, the first character of IFS is used to create $*,
3045# except with old shells:
3046build_os=$*
3047IFS=$ac_save_IFS
3048case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3049
3050
3051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3052$as_echo_n "checking host system type... " >&6; }
3053if test "${ac_cv_host+set}" = set; then :
3054  $as_echo_n "(cached) " >&6
3055else
3056  if test "x$host_alias" = x; then
3057  ac_cv_host=$ac_cv_build
3058else
3059  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3060    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3061fi
3062
3063fi
3064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3065$as_echo "$ac_cv_host" >&6; }
3066case $ac_cv_host in
3067*-*-*) ;;
3068*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3069esac
3070host=$ac_cv_host
3071ac_save_IFS=$IFS; IFS='-'
3072set x $ac_cv_host
3073shift
3074host_cpu=$1
3075host_vendor=$2
3076shift; shift
3077# Remember, the first character of IFS is used to create $*,
3078# except with old shells:
3079host_os=$*
3080IFS=$ac_save_IFS
3081case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3082
3083
3084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3085$as_echo_n "checking target system type... " >&6; }
3086if test "${ac_cv_target+set}" = set; then :
3087  $as_echo_n "(cached) " >&6
3088else
3089  if test "x$target_alias" = x; then
3090  ac_cv_target=$ac_cv_host
3091else
3092  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3093    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3094fi
3095
3096fi
3097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3098$as_echo "$ac_cv_target" >&6; }
3099case $ac_cv_target in
3100*-*-*) ;;
3101*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3102esac
3103target=$ac_cv_target
3104ac_save_IFS=$IFS; IFS='-'
3105set x $ac_cv_target
3106shift
3107target_cpu=$1
3108target_vendor=$2
3109shift; shift
3110# Remember, the first character of IFS is used to create $*,
3111# except with old shells:
3112target_os=$*
3113IFS=$ac_save_IFS
3114case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3115
3116
3117# The aliases save the names the user supplied, while $host etc.
3118# will get canonicalized.
3119test -n "$target_alias" &&
3120  test "$program_prefix$program_suffix$program_transform_name" = \
3121    NONENONEs,x,x, &&
3122  program_prefix=${target_alias}-
3123
3124target_alias=${target_alias-$host_alias}
3125
3126# Handy for debugging:
3127#AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3128
3129if test "$build" != "$host"; then
3130  # We are being configured with some form of cross compiler.
3131  GLIBCXX_IS_NATIVE=false
3132  case "$host","$target" in
3133    # Darwin crosses can use the host system's libraries and headers,
3134    # because of the fat library support.  Of course, it must be the
3135    # same version of Darwin on both sides.  Allow the user to
3136    # just say --target=foo-darwin without a version number to mean
3137    # "the version on this system".
3138      *-*-darwin*,*-*-darwin*)
3139	hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3140	targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3141	if test $hostos = $targetos -o $targetos = darwin ; then
3142	  GLIBCXX_IS_NATIVE=true
3143	fi
3144	;;
3145
3146      *)
3147
3148	;;
3149  esac
3150else
3151  GLIBCXX_IS_NATIVE=true
3152fi
3153
3154# Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3155# following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3156#  1.x:  minimum required version
3157#  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3158#              of other PACKAGE_* variables will, however, and there's nothing
3159#              we can do about that; they come from AC_INIT).
3160#  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3161#            file in the top srcdir, etc, etc), so stop complaining.
3162#  no-dependencies:  turns off auto dependency generation (just for now)
3163#  no-dist:  we don't want 'dist' and related rules.
3164#  -Wall:  turns on all automake warnings...
3165#  -Wno-portability:  ...except this one, since GNU make is now required.
3166am__api_version='1.11'
3167
3168# Find a good install program.  We prefer a C program (faster),
3169# so one script is as good as another.  But avoid the broken or
3170# incompatible versions:
3171# SysV /etc/install, /usr/sbin/install
3172# SunOS /usr/etc/install
3173# IRIX /sbin/install
3174# AIX /bin/install
3175# AmigaOS /C/install, which installs bootblocks on floppy discs
3176# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3177# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3178# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3179# OS/2's system install, which has a completely different semantic
3180# ./install, which can be erroneously created by make from ./install.sh.
3181# Reject install programs that cannot install multiple files.
3182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3183$as_echo_n "checking for a BSD-compatible install... " >&6; }
3184if test -z "$INSTALL"; then
3185if test "${ac_cv_path_install+set}" = set; then :
3186  $as_echo_n "(cached) " >&6
3187else
3188  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3189for as_dir in $PATH
3190do
3191  IFS=$as_save_IFS
3192  test -z "$as_dir" && as_dir=.
3193    # Account for people who put trailing slashes in PATH elements.
3194case $as_dir/ in #((
3195  ./ | .// | /[cC]/* | \
3196  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3197  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3198  /usr/ucb/* ) ;;
3199  *)
3200    # OSF1 and SCO ODT 3.0 have their own names for install.
3201    # Don't use installbsd from OSF since it installs stuff as root
3202    # by default.
3203    for ac_prog in ginstall scoinst install; do
3204      for ac_exec_ext in '' $ac_executable_extensions; do
3205	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3206	  if test $ac_prog = install &&
3207	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3208	    # AIX install.  It has an incompatible calling convention.
3209	    :
3210	  elif test $ac_prog = install &&
3211	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3212	    # program-specific install script used by HP pwplus--don't use.
3213	    :
3214	  else
3215	    rm -rf conftest.one conftest.two conftest.dir
3216	    echo one > conftest.one
3217	    echo two > conftest.two
3218	    mkdir conftest.dir
3219	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3220	      test -s conftest.one && test -s conftest.two &&
3221	      test -s conftest.dir/conftest.one &&
3222	      test -s conftest.dir/conftest.two
3223	    then
3224	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3225	      break 3
3226	    fi
3227	  fi
3228	fi
3229      done
3230    done
3231    ;;
3232esac
3233
3234  done
3235IFS=$as_save_IFS
3236
3237rm -rf conftest.one conftest.two conftest.dir
3238
3239fi
3240  if test "${ac_cv_path_install+set}" = set; then
3241    INSTALL=$ac_cv_path_install
3242  else
3243    # As a last resort, use the slow shell script.  Don't cache a
3244    # value for INSTALL within a source directory, because that will
3245    # break other packages using the cache if that directory is
3246    # removed, or if the value is a relative name.
3247    INSTALL=$ac_install_sh
3248  fi
3249fi
3250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3251$as_echo "$INSTALL" >&6; }
3252
3253# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3254# It thinks the first close brace ends the variable substitution.
3255test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3256
3257test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3258
3259test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3260
3261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3262$as_echo_n "checking whether build environment is sane... " >&6; }
3263# Just in case
3264sleep 1
3265echo timestamp > conftest.file
3266# Reject unsafe characters in $srcdir or the absolute working directory
3267# name.  Accept space and tab only in the latter.
3268am_lf='
3269'
3270case `pwd` in
3271  *[\\\"\#\$\&\'\`$am_lf]*)
3272    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3273esac
3274case $srcdir in
3275  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3276    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3277esac
3278
3279# Do `set' in a subshell so we don't clobber the current shell's
3280# arguments.  Must try -L first in case configure is actually a
3281# symlink; some systems play weird games with the mod time of symlinks
3282# (eg FreeBSD returns the mod time of the symlink's containing
3283# directory).
3284if (
3285   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3286   if test "$*" = "X"; then
3287      # -L didn't work.
3288      set X `ls -t "$srcdir/configure" conftest.file`
3289   fi
3290   rm -f conftest.file
3291   if test "$*" != "X $srcdir/configure conftest.file" \
3292      && test "$*" != "X conftest.file $srcdir/configure"; then
3293
3294      # If neither matched, then we have a broken ls.  This can happen
3295      # if, for instance, CONFIG_SHELL is bash and it inherits a
3296      # broken ls alias from the environment.  This has actually
3297      # happened.  Such a system could not be considered "sane".
3298      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3299alias in your environment" "$LINENO" 5
3300   fi
3301
3302   test "$2" = conftest.file
3303   )
3304then
3305   # Ok.
3306   :
3307else
3308   as_fn_error "newly created file is older than distributed files!
3309Check your system clock" "$LINENO" 5
3310fi
3311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3312$as_echo "yes" >&6; }
3313test "$program_prefix" != NONE &&
3314  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3315# Use a double $ so make ignores it.
3316test "$program_suffix" != NONE &&
3317  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3318# Double any \ or $.
3319# By default was `s,x,x', remove it if useless.
3320ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3321program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3322
3323# expand $ac_aux_dir to an absolute path
3324am_aux_dir=`cd $ac_aux_dir && pwd`
3325
3326if test x"${MISSING+set}" != xset; then
3327  case $am_aux_dir in
3328  *\ * | *\	*)
3329    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3330  *)
3331    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3332  esac
3333fi
3334# Use eval to expand $SHELL
3335if eval "$MISSING --run true"; then
3336  am_missing_run="$MISSING --run "
3337else
3338  am_missing_run=
3339  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3340$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3341fi
3342
3343if test x"${install_sh}" != xset; then
3344  case $am_aux_dir in
3345  *\ * | *\	*)
3346    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3347  *)
3348    install_sh="\${SHELL} $am_aux_dir/install-sh"
3349  esac
3350fi
3351
3352# Installed binaries are usually stripped using `strip' when the user
3353# run `make install-strip'.  However `strip' might not be the right
3354# tool to use in cross-compilation environments, therefore Automake
3355# will honor the `STRIP' environment variable to overrule this program.
3356if test "$cross_compiling" != no; then
3357  if test -n "$ac_tool_prefix"; then
3358  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3359set dummy ${ac_tool_prefix}strip; ac_word=$2
3360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3361$as_echo_n "checking for $ac_word... " >&6; }
3362if test "${ac_cv_prog_STRIP+set}" = set; then :
3363  $as_echo_n "(cached) " >&6
3364else
3365  if test -n "$STRIP"; then
3366  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3367else
3368as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3369for as_dir in $PATH
3370do
3371  IFS=$as_save_IFS
3372  test -z "$as_dir" && as_dir=.
3373    for ac_exec_ext in '' $ac_executable_extensions; do
3374  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3375    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3376    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3377    break 2
3378  fi
3379done
3380  done
3381IFS=$as_save_IFS
3382
3383fi
3384fi
3385STRIP=$ac_cv_prog_STRIP
3386if test -n "$STRIP"; then
3387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3388$as_echo "$STRIP" >&6; }
3389else
3390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3391$as_echo "no" >&6; }
3392fi
3393
3394
3395fi
3396if test -z "$ac_cv_prog_STRIP"; then
3397  ac_ct_STRIP=$STRIP
3398  # Extract the first word of "strip", so it can be a program name with args.
3399set dummy strip; ac_word=$2
3400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3401$as_echo_n "checking for $ac_word... " >&6; }
3402if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3403  $as_echo_n "(cached) " >&6
3404else
3405  if test -n "$ac_ct_STRIP"; then
3406  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3407else
3408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3409for as_dir in $PATH
3410do
3411  IFS=$as_save_IFS
3412  test -z "$as_dir" && as_dir=.
3413    for ac_exec_ext in '' $ac_executable_extensions; do
3414  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3415    ac_cv_prog_ac_ct_STRIP="strip"
3416    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3417    break 2
3418  fi
3419done
3420  done
3421IFS=$as_save_IFS
3422
3423fi
3424fi
3425ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3426if test -n "$ac_ct_STRIP"; then
3427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3428$as_echo "$ac_ct_STRIP" >&6; }
3429else
3430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431$as_echo "no" >&6; }
3432fi
3433
3434  if test "x$ac_ct_STRIP" = x; then
3435    STRIP=":"
3436  else
3437    case $cross_compiling:$ac_tool_warned in
3438yes:)
3439{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3440$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3441ac_tool_warned=yes ;;
3442esac
3443    STRIP=$ac_ct_STRIP
3444  fi
3445else
3446  STRIP="$ac_cv_prog_STRIP"
3447fi
3448
3449fi
3450INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3451
3452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3453$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3454if test -z "$MKDIR_P"; then
3455  if test "${ac_cv_path_mkdir+set}" = set; then :
3456  $as_echo_n "(cached) " >&6
3457else
3458  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3459for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3460do
3461  IFS=$as_save_IFS
3462  test -z "$as_dir" && as_dir=.
3463    for ac_prog in mkdir gmkdir; do
3464	 for ac_exec_ext in '' $ac_executable_extensions; do
3465	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3466	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3467	     'mkdir (GNU coreutils) '* | \
3468	     'mkdir (coreutils) '* | \
3469	     'mkdir (fileutils) '4.1*)
3470	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3471	       break 3;;
3472	   esac
3473	 done
3474       done
3475  done
3476IFS=$as_save_IFS
3477
3478fi
3479
3480  if test "${ac_cv_path_mkdir+set}" = set; then
3481    MKDIR_P="$ac_cv_path_mkdir -p"
3482  else
3483    # As a last resort, use the slow shell script.  Don't cache a
3484    # value for MKDIR_P within a source directory, because that will
3485    # break other packages using the cache if that directory is
3486    # removed, or if the value is a relative name.
3487    test -d ./--version && rmdir ./--version
3488    MKDIR_P="$ac_install_sh -d"
3489  fi
3490fi
3491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3492$as_echo "$MKDIR_P" >&6; }
3493
3494mkdir_p="$MKDIR_P"
3495case $mkdir_p in
3496  [\\/$]* | ?:[\\/]*) ;;
3497  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3498esac
3499
3500for ac_prog in gawk mawk nawk awk
3501do
3502  # Extract the first word of "$ac_prog", so it can be a program name with args.
3503set dummy $ac_prog; ac_word=$2
3504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3505$as_echo_n "checking for $ac_word... " >&6; }
3506if test "${ac_cv_prog_AWK+set}" = set; then :
3507  $as_echo_n "(cached) " >&6
3508else
3509  if test -n "$AWK"; then
3510  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3511else
3512as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3513for as_dir in $PATH
3514do
3515  IFS=$as_save_IFS
3516  test -z "$as_dir" && as_dir=.
3517    for ac_exec_ext in '' $ac_executable_extensions; do
3518  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3519    ac_cv_prog_AWK="$ac_prog"
3520    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3521    break 2
3522  fi
3523done
3524  done
3525IFS=$as_save_IFS
3526
3527fi
3528fi
3529AWK=$ac_cv_prog_AWK
3530if test -n "$AWK"; then
3531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3532$as_echo "$AWK" >&6; }
3533else
3534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3535$as_echo "no" >&6; }
3536fi
3537
3538
3539  test -n "$AWK" && break
3540done
3541
3542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3543$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3544set x ${MAKE-make}
3545ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3546if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3547  $as_echo_n "(cached) " >&6
3548else
3549  cat >conftest.make <<\_ACEOF
3550SHELL = /bin/sh
3551all:
3552	@echo '@@@%%%=$(MAKE)=@@@%%%'
3553_ACEOF
3554# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3555case `${MAKE-make} -f conftest.make 2>/dev/null` in
3556  *@@@%%%=?*=@@@%%%*)
3557    eval ac_cv_prog_make_${ac_make}_set=yes;;
3558  *)
3559    eval ac_cv_prog_make_${ac_make}_set=no;;
3560esac
3561rm -f conftest.make
3562fi
3563if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3565$as_echo "yes" >&6; }
3566  SET_MAKE=
3567else
3568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3569$as_echo "no" >&6; }
3570  SET_MAKE="MAKE=${MAKE-make}"
3571fi
3572
3573rm -rf .tst 2>/dev/null
3574mkdir .tst 2>/dev/null
3575if test -d .tst; then
3576  am__leading_dot=.
3577else
3578  am__leading_dot=_
3579fi
3580rmdir .tst 2>/dev/null
3581
3582if test "`cd $srcdir && pwd`" != "`pwd`"; then
3583  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3584  # is not polluted with repeated "-I."
3585  am__isrc=' -I$(srcdir)'
3586  # test to see if srcdir already configured
3587  if test -f $srcdir/config.status; then
3588    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3589  fi
3590fi
3591
3592# test whether we have cygpath
3593if test -z "$CYGPATH_W"; then
3594  if (cygpath --version) >/dev/null 2>/dev/null; then
3595    CYGPATH_W='cygpath -w'
3596  else
3597    CYGPATH_W=echo
3598  fi
3599fi
3600
3601
3602# Define the identity of the package.
3603 PACKAGE='libstdc++'
3604 VERSION='version-unused'
3605
3606
3607# Some tools Automake needs.
3608
3609ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3610
3611
3612AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3613
3614
3615AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3616
3617
3618AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3619
3620
3621MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3622
3623# We need awk for the "check" target.  The system "awk" is bad on
3624# some platforms.
3625# Always define AMTAR for backward compatibility.  Yes, it's still used
3626# in the wild :-(  We should find a proper way to deprecate it ...
3627AMTAR='$${TAR-tar}'
3628
3629am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3630
3631
3632
3633
3634
3635
3636
3637
3638# -fno-builtin must be present here so that a non-conflicting form of
3639# std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3640
3641save_CXXFLAGS="$CXXFLAGS"
3642CXXFLAGS="$CXXFLAGS -fno-builtin"
3643ac_ext=c
3644ac_cpp='$CPP $CPPFLAGS'
3645ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3646ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3647ac_compiler_gnu=$ac_cv_c_compiler_gnu
3648if test -n "$ac_tool_prefix"; then
3649  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3650set dummy ${ac_tool_prefix}gcc; ac_word=$2
3651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652$as_echo_n "checking for $ac_word... " >&6; }
3653if test "${ac_cv_prog_CC+set}" = set; then :
3654  $as_echo_n "(cached) " >&6
3655else
3656  if test -n "$CC"; then
3657  ac_cv_prog_CC="$CC" # Let the user override the test.
3658else
3659as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3660for as_dir in $PATH
3661do
3662  IFS=$as_save_IFS
3663  test -z "$as_dir" && as_dir=.
3664    for ac_exec_ext in '' $ac_executable_extensions; do
3665  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3666    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3667    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3668    break 2
3669  fi
3670done
3671  done
3672IFS=$as_save_IFS
3673
3674fi
3675fi
3676CC=$ac_cv_prog_CC
3677if test -n "$CC"; then
3678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3679$as_echo "$CC" >&6; }
3680else
3681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3682$as_echo "no" >&6; }
3683fi
3684
3685
3686fi
3687if test -z "$ac_cv_prog_CC"; then
3688  ac_ct_CC=$CC
3689  # Extract the first word of "gcc", so it can be a program name with args.
3690set dummy gcc; ac_word=$2
3691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3692$as_echo_n "checking for $ac_word... " >&6; }
3693if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3694  $as_echo_n "(cached) " >&6
3695else
3696  if test -n "$ac_ct_CC"; then
3697  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3698else
3699as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3700for as_dir in $PATH
3701do
3702  IFS=$as_save_IFS
3703  test -z "$as_dir" && as_dir=.
3704    for ac_exec_ext in '' $ac_executable_extensions; do
3705  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3706    ac_cv_prog_ac_ct_CC="gcc"
3707    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3708    break 2
3709  fi
3710done
3711  done
3712IFS=$as_save_IFS
3713
3714fi
3715fi
3716ac_ct_CC=$ac_cv_prog_ac_ct_CC
3717if test -n "$ac_ct_CC"; then
3718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3719$as_echo "$ac_ct_CC" >&6; }
3720else
3721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3722$as_echo "no" >&6; }
3723fi
3724
3725  if test "x$ac_ct_CC" = x; then
3726    CC=""
3727  else
3728    case $cross_compiling:$ac_tool_warned in
3729yes:)
3730{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3731$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3732ac_tool_warned=yes ;;
3733esac
3734    CC=$ac_ct_CC
3735  fi
3736else
3737  CC="$ac_cv_prog_CC"
3738fi
3739
3740if test -z "$CC"; then
3741          if test -n "$ac_tool_prefix"; then
3742    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3743set dummy ${ac_tool_prefix}cc; ac_word=$2
3744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745$as_echo_n "checking for $ac_word... " >&6; }
3746if test "${ac_cv_prog_CC+set}" = set; then :
3747  $as_echo_n "(cached) " >&6
3748else
3749  if test -n "$CC"; then
3750  ac_cv_prog_CC="$CC" # Let the user override the test.
3751else
3752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3753for as_dir in $PATH
3754do
3755  IFS=$as_save_IFS
3756  test -z "$as_dir" && as_dir=.
3757    for ac_exec_ext in '' $ac_executable_extensions; do
3758  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3759    ac_cv_prog_CC="${ac_tool_prefix}cc"
3760    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3761    break 2
3762  fi
3763done
3764  done
3765IFS=$as_save_IFS
3766
3767fi
3768fi
3769CC=$ac_cv_prog_CC
3770if test -n "$CC"; then
3771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3772$as_echo "$CC" >&6; }
3773else
3774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775$as_echo "no" >&6; }
3776fi
3777
3778
3779  fi
3780fi
3781if test -z "$CC"; then
3782  # Extract the first word of "cc", so it can be a program name with args.
3783set dummy cc; ac_word=$2
3784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3785$as_echo_n "checking for $ac_word... " >&6; }
3786if test "${ac_cv_prog_CC+set}" = set; then :
3787  $as_echo_n "(cached) " >&6
3788else
3789  if test -n "$CC"; then
3790  ac_cv_prog_CC="$CC" # Let the user override the test.
3791else
3792  ac_prog_rejected=no
3793as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3794for as_dir in $PATH
3795do
3796  IFS=$as_save_IFS
3797  test -z "$as_dir" && as_dir=.
3798    for ac_exec_ext in '' $ac_executable_extensions; do
3799  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3800    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3801       ac_prog_rejected=yes
3802       continue
3803     fi
3804    ac_cv_prog_CC="cc"
3805    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3806    break 2
3807  fi
3808done
3809  done
3810IFS=$as_save_IFS
3811
3812if test $ac_prog_rejected = yes; then
3813  # We found a bogon in the path, so make sure we never use it.
3814  set dummy $ac_cv_prog_CC
3815  shift
3816  if test $# != 0; then
3817    # We chose a different compiler from the bogus one.
3818    # However, it has the same basename, so the bogon will be chosen
3819    # first if we set CC to just the basename; use the full file name.
3820    shift
3821    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3822  fi
3823fi
3824fi
3825fi
3826CC=$ac_cv_prog_CC
3827if test -n "$CC"; then
3828  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3829$as_echo "$CC" >&6; }
3830else
3831  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3832$as_echo "no" >&6; }
3833fi
3834
3835
3836fi
3837if test -z "$CC"; then
3838  if test -n "$ac_tool_prefix"; then
3839  for ac_prog in cl.exe
3840  do
3841    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3842set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3844$as_echo_n "checking for $ac_word... " >&6; }
3845if test "${ac_cv_prog_CC+set}" = set; then :
3846  $as_echo_n "(cached) " >&6
3847else
3848  if test -n "$CC"; then
3849  ac_cv_prog_CC="$CC" # Let the user override the test.
3850else
3851as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3852for as_dir in $PATH
3853do
3854  IFS=$as_save_IFS
3855  test -z "$as_dir" && as_dir=.
3856    for ac_exec_ext in '' $ac_executable_extensions; do
3857  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3858    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3859    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3860    break 2
3861  fi
3862done
3863  done
3864IFS=$as_save_IFS
3865
3866fi
3867fi
3868CC=$ac_cv_prog_CC
3869if test -n "$CC"; then
3870  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3871$as_echo "$CC" >&6; }
3872else
3873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3874$as_echo "no" >&6; }
3875fi
3876
3877
3878    test -n "$CC" && break
3879  done
3880fi
3881if test -z "$CC"; then
3882  ac_ct_CC=$CC
3883  for ac_prog in cl.exe
3884do
3885  # Extract the first word of "$ac_prog", so it can be a program name with args.
3886set dummy $ac_prog; ac_word=$2
3887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3888$as_echo_n "checking for $ac_word... " >&6; }
3889if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3890  $as_echo_n "(cached) " >&6
3891else
3892  if test -n "$ac_ct_CC"; then
3893  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3894else
3895as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3896for as_dir in $PATH
3897do
3898  IFS=$as_save_IFS
3899  test -z "$as_dir" && as_dir=.
3900    for ac_exec_ext in '' $ac_executable_extensions; do
3901  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3902    ac_cv_prog_ac_ct_CC="$ac_prog"
3903    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3904    break 2
3905  fi
3906done
3907  done
3908IFS=$as_save_IFS
3909
3910fi
3911fi
3912ac_ct_CC=$ac_cv_prog_ac_ct_CC
3913if test -n "$ac_ct_CC"; then
3914  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3915$as_echo "$ac_ct_CC" >&6; }
3916else
3917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3918$as_echo "no" >&6; }
3919fi
3920
3921
3922  test -n "$ac_ct_CC" && break
3923done
3924
3925  if test "x$ac_ct_CC" = x; then
3926    CC=""
3927  else
3928    case $cross_compiling:$ac_tool_warned in
3929yes:)
3930{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3931$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3932ac_tool_warned=yes ;;
3933esac
3934    CC=$ac_ct_CC
3935  fi
3936fi
3937
3938fi
3939
3940
3941test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3942$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3943as_fn_error "no acceptable C compiler found in \$PATH
3944See \`config.log' for more details." "$LINENO" 5; }
3945
3946# Provide some information about the compiler.
3947$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3948set X $ac_compile
3949ac_compiler=$2
3950for ac_option in --version -v -V -qversion; do
3951  { { ac_try="$ac_compiler $ac_option >&5"
3952case "(($ac_try" in
3953  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3954  *) ac_try_echo=$ac_try;;
3955esac
3956eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3957$as_echo "$ac_try_echo"; } >&5
3958  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3959  ac_status=$?
3960  if test -s conftest.err; then
3961    sed '10a\
3962... rest of stderr output deleted ...
3963         10q' conftest.err >conftest.er1
3964    cat conftest.er1 >&5
3965    rm -f conftest.er1 conftest.err
3966  fi
3967  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3968  test $ac_status = 0; }
3969done
3970
3971cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972/* end confdefs.h.  */
3973
3974int
3975main ()
3976{
3977
3978  ;
3979  return 0;
3980}
3981_ACEOF
3982# FIXME: Cleanup?
3983if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3984  (eval $ac_link) 2>&5
3985  ac_status=$?
3986  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3987  test $ac_status = 0; }; then :
3988  gcc_no_link=no
3989else
3990  gcc_no_link=yes
3991fi
3992if test x$gcc_no_link = xyes; then
3993  # Setting cross_compile will disable run tests; it will
3994  # also disable AC_CHECK_FILE but that's generally
3995  # correct if we can't link.
3996  cross_compiling=yes
3997  EXEEXT=
3998else
3999  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4000/* end confdefs.h.  */
4001
4002int
4003main ()
4004{
4005
4006  ;
4007  return 0;
4008}
4009_ACEOF
4010ac_clean_files_save=$ac_clean_files
4011ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4012# Try to create an executable without -o first, disregard a.out.
4013# It will help us diagnose broken compilers, and finding out an intuition
4014# of exeext.
4015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4016$as_echo_n "checking for C compiler default output file name... " >&6; }
4017ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4018
4019# The possible output files:
4020ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4021
4022ac_rmfiles=
4023for ac_file in $ac_files
4024do
4025  case $ac_file in
4026    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4027    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4028  esac
4029done
4030rm -f $ac_rmfiles
4031
4032if { { ac_try="$ac_link_default"
4033case "(($ac_try" in
4034  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035  *) ac_try_echo=$ac_try;;
4036esac
4037eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4038$as_echo "$ac_try_echo"; } >&5
4039  (eval "$ac_link_default") 2>&5
4040  ac_status=$?
4041  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042  test $ac_status = 0; }; then :
4043  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4044# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4045# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4046# so that the user can short-circuit this test for compilers unknown to
4047# Autoconf.
4048for ac_file in $ac_files ''
4049do
4050  test -f "$ac_file" || continue
4051  case $ac_file in
4052    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4053	;;
4054    [ab].out )
4055	# We found the default executable, but exeext='' is most
4056	# certainly right.
4057	break;;
4058    *.* )
4059	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4060	then :; else
4061	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4062	fi
4063	# We set ac_cv_exeext here because the later test for it is not
4064	# safe: cross compilers may not add the suffix if given an `-o'
4065	# argument, so we may need to know it at that point already.
4066	# Even if this section looks crufty: it has the advantage of
4067	# actually working.
4068	break;;
4069    * )
4070	break;;
4071  esac
4072done
4073test "$ac_cv_exeext" = no && ac_cv_exeext=
4074
4075else
4076  ac_file=''
4077fi
4078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4079$as_echo "$ac_file" >&6; }
4080if test -z "$ac_file"; then :
4081  $as_echo "$as_me: failed program was:" >&5
4082sed 's/^/| /' conftest.$ac_ext >&5
4083
4084{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4085$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4086{ as_fn_set_status 77
4087as_fn_error "C compiler cannot create executables
4088See \`config.log' for more details." "$LINENO" 5; }; }
4089fi
4090ac_exeext=$ac_cv_exeext
4091
4092# Check that the compiler produces executables we can run.  If not, either
4093# the compiler is broken, or we cross compile.
4094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4095$as_echo_n "checking whether the C compiler works... " >&6; }
4096# If not cross compiling, check that we can run a simple program.
4097if test "$cross_compiling" != yes; then
4098  if { ac_try='./$ac_file'
4099  { { case "(($ac_try" in
4100  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4101  *) ac_try_echo=$ac_try;;
4102esac
4103eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4104$as_echo "$ac_try_echo"; } >&5
4105  (eval "$ac_try") 2>&5
4106  ac_status=$?
4107  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4108  test $ac_status = 0; }; }; then
4109    cross_compiling=no
4110  else
4111    if test "$cross_compiling" = maybe; then
4112	cross_compiling=yes
4113    else
4114	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4115$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4116as_fn_error "cannot run C compiled programs.
4117If you meant to cross compile, use \`--host'.
4118See \`config.log' for more details." "$LINENO" 5; }
4119    fi
4120  fi
4121fi
4122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4123$as_echo "yes" >&6; }
4124
4125rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4126ac_clean_files=$ac_clean_files_save
4127# Check that the compiler produces executables we can run.  If not, either
4128# the compiler is broken, or we cross compile.
4129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4130$as_echo_n "checking whether we are cross compiling... " >&6; }
4131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4132$as_echo "$cross_compiling" >&6; }
4133
4134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4135$as_echo_n "checking for suffix of executables... " >&6; }
4136if { { ac_try="$ac_link"
4137case "(($ac_try" in
4138  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4139  *) ac_try_echo=$ac_try;;
4140esac
4141eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4142$as_echo "$ac_try_echo"; } >&5
4143  (eval "$ac_link") 2>&5
4144  ac_status=$?
4145  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4146  test $ac_status = 0; }; then :
4147  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4148# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4149# work properly (i.e., refer to `conftest.exe'), while it won't with
4150# `rm'.
4151for ac_file in conftest.exe conftest conftest.*; do
4152  test -f "$ac_file" || continue
4153  case $ac_file in
4154    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4155    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4156	  break;;
4157    * ) break;;
4158  esac
4159done
4160else
4161  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4162$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4163as_fn_error "cannot compute suffix of executables: cannot compile and link
4164See \`config.log' for more details." "$LINENO" 5; }
4165fi
4166rm -f conftest$ac_cv_exeext
4167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4168$as_echo "$ac_cv_exeext" >&6; }
4169
4170rm -f conftest.$ac_ext
4171EXEEXT=$ac_cv_exeext
4172ac_exeext=$EXEEXT
4173fi
4174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4175$as_echo_n "checking for suffix of object files... " >&6; }
4176if test "${ac_cv_objext+set}" = set; then :
4177  $as_echo_n "(cached) " >&6
4178else
4179  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180/* end confdefs.h.  */
4181
4182int
4183main ()
4184{
4185
4186  ;
4187  return 0;
4188}
4189_ACEOF
4190rm -f conftest.o conftest.obj
4191if { { ac_try="$ac_compile"
4192case "(($ac_try" in
4193  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4194  *) ac_try_echo=$ac_try;;
4195esac
4196eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4197$as_echo "$ac_try_echo"; } >&5
4198  (eval "$ac_compile") 2>&5
4199  ac_status=$?
4200  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4201  test $ac_status = 0; }; then :
4202  for ac_file in conftest.o conftest.obj conftest.*; do
4203  test -f "$ac_file" || continue;
4204  case $ac_file in
4205    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4206    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4207       break;;
4208  esac
4209done
4210else
4211  $as_echo "$as_me: failed program was:" >&5
4212sed 's/^/| /' conftest.$ac_ext >&5
4213
4214{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4215$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4216as_fn_error "cannot compute suffix of object files: cannot compile
4217See \`config.log' for more details." "$LINENO" 5; }
4218fi
4219rm -f conftest.$ac_cv_objext conftest.$ac_ext
4220fi
4221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4222$as_echo "$ac_cv_objext" >&6; }
4223OBJEXT=$ac_cv_objext
4224ac_objext=$OBJEXT
4225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4226$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4227if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4228  $as_echo_n "(cached) " >&6
4229else
4230  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4231/* end confdefs.h.  */
4232
4233int
4234main ()
4235{
4236#ifndef __GNUC__
4237       choke me
4238#endif
4239
4240  ;
4241  return 0;
4242}
4243_ACEOF
4244if ac_fn_c_try_compile "$LINENO"; then :
4245  ac_compiler_gnu=yes
4246else
4247  ac_compiler_gnu=no
4248fi
4249rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4250ac_cv_c_compiler_gnu=$ac_compiler_gnu
4251
4252fi
4253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4254$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4255if test $ac_compiler_gnu = yes; then
4256  GCC=yes
4257else
4258  GCC=
4259fi
4260ac_test_CFLAGS=${CFLAGS+set}
4261ac_save_CFLAGS=$CFLAGS
4262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4263$as_echo_n "checking whether $CC accepts -g... " >&6; }
4264if test "${ac_cv_prog_cc_g+set}" = set; then :
4265  $as_echo_n "(cached) " >&6
4266else
4267  ac_save_c_werror_flag=$ac_c_werror_flag
4268   ac_c_werror_flag=yes
4269   ac_cv_prog_cc_g=no
4270   CFLAGS="-g"
4271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272/* end confdefs.h.  */
4273
4274int
4275main ()
4276{
4277
4278  ;
4279  return 0;
4280}
4281_ACEOF
4282if ac_fn_c_try_compile "$LINENO"; then :
4283  ac_cv_prog_cc_g=yes
4284else
4285  CFLAGS=""
4286      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4287/* end confdefs.h.  */
4288
4289int
4290main ()
4291{
4292
4293  ;
4294  return 0;
4295}
4296_ACEOF
4297if ac_fn_c_try_compile "$LINENO"; then :
4298
4299else
4300  ac_c_werror_flag=$ac_save_c_werror_flag
4301	 CFLAGS="-g"
4302	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303/* end confdefs.h.  */
4304
4305int
4306main ()
4307{
4308
4309  ;
4310  return 0;
4311}
4312_ACEOF
4313if ac_fn_c_try_compile "$LINENO"; then :
4314  ac_cv_prog_cc_g=yes
4315fi
4316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4317fi
4318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4319fi
4320rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4321   ac_c_werror_flag=$ac_save_c_werror_flag
4322fi
4323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4324$as_echo "$ac_cv_prog_cc_g" >&6; }
4325if test "$ac_test_CFLAGS" = set; then
4326  CFLAGS=$ac_save_CFLAGS
4327elif test $ac_cv_prog_cc_g = yes; then
4328  if test "$GCC" = yes; then
4329    CFLAGS="-g -O2"
4330  else
4331    CFLAGS="-g"
4332  fi
4333else
4334  if test "$GCC" = yes; then
4335    CFLAGS="-O2"
4336  else
4337    CFLAGS=
4338  fi
4339fi
4340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4341$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4342if test "${ac_cv_prog_cc_c89+set}" = set; then :
4343  $as_echo_n "(cached) " >&6
4344else
4345  ac_cv_prog_cc_c89=no
4346ac_save_CC=$CC
4347cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4348/* end confdefs.h.  */
4349#include <stdarg.h>
4350#include <stdio.h>
4351#include <sys/types.h>
4352#include <sys/stat.h>
4353/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4354struct buf { int x; };
4355FILE * (*rcsopen) (struct buf *, struct stat *, int);
4356static char *e (p, i)
4357     char **p;
4358     int i;
4359{
4360  return p[i];
4361}
4362static char *f (char * (*g) (char **, int), char **p, ...)
4363{
4364  char *s;
4365  va_list v;
4366  va_start (v,p);
4367  s = g (p, va_arg (v,int));
4368  va_end (v);
4369  return s;
4370}
4371
4372/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4373   function prototypes and stuff, but not '\xHH' hex character constants.
4374   These don't provoke an error unfortunately, instead are silently treated
4375   as 'x'.  The following induces an error, until -std is added to get
4376   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4377   array size at least.  It's necessary to write '\x00'==0 to get something
4378   that's true only with -std.  */
4379int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4380
4381/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4382   inside strings and character constants.  */
4383#define FOO(x) 'x'
4384int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4385
4386int test (int i, double x);
4387struct s1 {int (*f) (int a);};
4388struct s2 {int (*f) (double a);};
4389int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4390int argc;
4391char **argv;
4392int
4393main ()
4394{
4395return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4396  ;
4397  return 0;
4398}
4399_ACEOF
4400for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4401	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4402do
4403  CC="$ac_save_CC $ac_arg"
4404  if ac_fn_c_try_compile "$LINENO"; then :
4405  ac_cv_prog_cc_c89=$ac_arg
4406fi
4407rm -f core conftest.err conftest.$ac_objext
4408  test "x$ac_cv_prog_cc_c89" != "xno" && break
4409done
4410rm -f conftest.$ac_ext
4411CC=$ac_save_CC
4412
4413fi
4414# AC_CACHE_VAL
4415case "x$ac_cv_prog_cc_c89" in
4416  x)
4417    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4418$as_echo "none needed" >&6; } ;;
4419  xno)
4420    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4421$as_echo "unsupported" >&6; } ;;
4422  *)
4423    CC="$CC $ac_cv_prog_cc_c89"
4424    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4425$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4426esac
4427if test "x$ac_cv_prog_cc_c89" != xno; then :
4428
4429fi
4430
4431ac_ext=c
4432ac_cpp='$CPP $CPPFLAGS'
4433ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4434ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4435ac_compiler_gnu=$ac_cv_c_compiler_gnu
4436
4437ac_ext=cpp
4438ac_cpp='$CXXCPP $CPPFLAGS'
4439ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4440ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4441ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4442if test -z "$CXX"; then
4443  if test -n "$CCC"; then
4444    CXX=$CCC
4445  else
4446    if test -n "$ac_tool_prefix"; then
4447  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4448  do
4449    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4450set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4452$as_echo_n "checking for $ac_word... " >&6; }
4453if test "${ac_cv_prog_CXX+set}" = set; then :
4454  $as_echo_n "(cached) " >&6
4455else
4456  if test -n "$CXX"; then
4457  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4458else
4459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4460for as_dir in $PATH
4461do
4462  IFS=$as_save_IFS
4463  test -z "$as_dir" && as_dir=.
4464    for ac_exec_ext in '' $ac_executable_extensions; do
4465  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4466    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4467    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4468    break 2
4469  fi
4470done
4471  done
4472IFS=$as_save_IFS
4473
4474fi
4475fi
4476CXX=$ac_cv_prog_CXX
4477if test -n "$CXX"; then
4478  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4479$as_echo "$CXX" >&6; }
4480else
4481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4482$as_echo "no" >&6; }
4483fi
4484
4485
4486    test -n "$CXX" && break
4487  done
4488fi
4489if test -z "$CXX"; then
4490  ac_ct_CXX=$CXX
4491  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4492do
4493  # Extract the first word of "$ac_prog", so it can be a program name with args.
4494set dummy $ac_prog; ac_word=$2
4495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496$as_echo_n "checking for $ac_word... " >&6; }
4497if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4498  $as_echo_n "(cached) " >&6
4499else
4500  if test -n "$ac_ct_CXX"; then
4501  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4502else
4503as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4504for as_dir in $PATH
4505do
4506  IFS=$as_save_IFS
4507  test -z "$as_dir" && as_dir=.
4508    for ac_exec_ext in '' $ac_executable_extensions; do
4509  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4510    ac_cv_prog_ac_ct_CXX="$ac_prog"
4511    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4512    break 2
4513  fi
4514done
4515  done
4516IFS=$as_save_IFS
4517
4518fi
4519fi
4520ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4521if test -n "$ac_ct_CXX"; then
4522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4523$as_echo "$ac_ct_CXX" >&6; }
4524else
4525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4526$as_echo "no" >&6; }
4527fi
4528
4529
4530  test -n "$ac_ct_CXX" && break
4531done
4532
4533  if test "x$ac_ct_CXX" = x; then
4534    CXX="g++"
4535  else
4536    case $cross_compiling:$ac_tool_warned in
4537yes:)
4538{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4539$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4540ac_tool_warned=yes ;;
4541esac
4542    CXX=$ac_ct_CXX
4543  fi
4544fi
4545
4546  fi
4547fi
4548# Provide some information about the compiler.
4549$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4550set X $ac_compile
4551ac_compiler=$2
4552for ac_option in --version -v -V -qversion; do
4553  { { ac_try="$ac_compiler $ac_option >&5"
4554case "(($ac_try" in
4555  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4556  *) ac_try_echo=$ac_try;;
4557esac
4558eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4559$as_echo "$ac_try_echo"; } >&5
4560  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4561  ac_status=$?
4562  if test -s conftest.err; then
4563    sed '10a\
4564... rest of stderr output deleted ...
4565         10q' conftest.err >conftest.er1
4566    cat conftest.er1 >&5
4567    rm -f conftest.er1 conftest.err
4568  fi
4569  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4570  test $ac_status = 0; }
4571done
4572
4573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4574$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4575if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4576  $as_echo_n "(cached) " >&6
4577else
4578  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579/* end confdefs.h.  */
4580
4581int
4582main ()
4583{
4584#ifndef __GNUC__
4585       choke me
4586#endif
4587
4588  ;
4589  return 0;
4590}
4591_ACEOF
4592if ac_fn_cxx_try_compile "$LINENO"; then :
4593  ac_compiler_gnu=yes
4594else
4595  ac_compiler_gnu=no
4596fi
4597rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4598ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4599
4600fi
4601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4602$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4603if test $ac_compiler_gnu = yes; then
4604  GXX=yes
4605else
4606  GXX=
4607fi
4608ac_test_CXXFLAGS=${CXXFLAGS+set}
4609ac_save_CXXFLAGS=$CXXFLAGS
4610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4611$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4612if test "${ac_cv_prog_cxx_g+set}" = set; then :
4613  $as_echo_n "(cached) " >&6
4614else
4615  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4616   ac_cxx_werror_flag=yes
4617   ac_cv_prog_cxx_g=no
4618   CXXFLAGS="-g"
4619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620/* end confdefs.h.  */
4621
4622int
4623main ()
4624{
4625
4626  ;
4627  return 0;
4628}
4629_ACEOF
4630if ac_fn_cxx_try_compile "$LINENO"; then :
4631  ac_cv_prog_cxx_g=yes
4632else
4633  CXXFLAGS=""
4634      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635/* end confdefs.h.  */
4636
4637int
4638main ()
4639{
4640
4641  ;
4642  return 0;
4643}
4644_ACEOF
4645if ac_fn_cxx_try_compile "$LINENO"; then :
4646
4647else
4648  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4649	 CXXFLAGS="-g"
4650	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4651/* end confdefs.h.  */
4652
4653int
4654main ()
4655{
4656
4657  ;
4658  return 0;
4659}
4660_ACEOF
4661if ac_fn_cxx_try_compile "$LINENO"; then :
4662  ac_cv_prog_cxx_g=yes
4663fi
4664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4665fi
4666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4667fi
4668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4669   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4670fi
4671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4672$as_echo "$ac_cv_prog_cxx_g" >&6; }
4673if test "$ac_test_CXXFLAGS" = set; then
4674  CXXFLAGS=$ac_save_CXXFLAGS
4675elif test $ac_cv_prog_cxx_g = yes; then
4676  if test "$GXX" = yes; then
4677    CXXFLAGS="-g -O2"
4678  else
4679    CXXFLAGS="-g"
4680  fi
4681else
4682  if test "$GXX" = yes; then
4683    CXXFLAGS="-O2"
4684  else
4685    CXXFLAGS=
4686  fi
4687fi
4688ac_ext=c
4689ac_cpp='$CPP $CPPFLAGS'
4690ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4691ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4692ac_compiler_gnu=$ac_cv_c_compiler_gnu
4693
4694CXXFLAGS="$save_CXXFLAGS"
4695
4696
4697# Check whether --enable-largefile was given.
4698if test "${enable_largefile+set}" = set; then :
4699  enableval=$enable_largefile;
4700fi
4701
4702if test "$enable_largefile" != no; then
4703
4704  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4705$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4706if test "${ac_cv_sys_largefile_CC+set}" = set; then :
4707  $as_echo_n "(cached) " >&6
4708else
4709  ac_cv_sys_largefile_CC=no
4710     if test "$GCC" != yes; then
4711       ac_save_CC=$CC
4712       while :; do
4713	 # IRIX 6.2 and later do not support large files by default,
4714	 # so use the C compiler's -n32 option if that helps.
4715	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4716/* end confdefs.h.  */
4717#include <sys/types.h>
4718 /* Check that off_t can represent 2**63 - 1 correctly.
4719    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4720    since some C++ compilers masquerading as C compilers
4721    incorrectly reject 9223372036854775807.  */
4722#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4723  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4724		       && LARGE_OFF_T % 2147483647 == 1)
4725		      ? 1 : -1];
4726int
4727main ()
4728{
4729
4730  ;
4731  return 0;
4732}
4733_ACEOF
4734	 if ac_fn_c_try_compile "$LINENO"; then :
4735  break
4736fi
4737rm -f core conftest.err conftest.$ac_objext
4738	 CC="$CC -n32"
4739	 if ac_fn_c_try_compile "$LINENO"; then :
4740  ac_cv_sys_largefile_CC=' -n32'; break
4741fi
4742rm -f core conftest.err conftest.$ac_objext
4743	 break
4744       done
4745       CC=$ac_save_CC
4746       rm -f conftest.$ac_ext
4747    fi
4748fi
4749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4750$as_echo "$ac_cv_sys_largefile_CC" >&6; }
4751  if test "$ac_cv_sys_largefile_CC" != no; then
4752    CC=$CC$ac_cv_sys_largefile_CC
4753  fi
4754
4755  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4756$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4757if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
4758  $as_echo_n "(cached) " >&6
4759else
4760  while :; do
4761  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4762/* end confdefs.h.  */
4763#include <sys/types.h>
4764 /* Check that off_t can represent 2**63 - 1 correctly.
4765    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4766    since some C++ compilers masquerading as C compilers
4767    incorrectly reject 9223372036854775807.  */
4768#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4769  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4770		       && LARGE_OFF_T % 2147483647 == 1)
4771		      ? 1 : -1];
4772int
4773main ()
4774{
4775
4776  ;
4777  return 0;
4778}
4779_ACEOF
4780if ac_fn_c_try_compile "$LINENO"; then :
4781  ac_cv_sys_file_offset_bits=no; break
4782fi
4783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4784  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785/* end confdefs.h.  */
4786#define _FILE_OFFSET_BITS 64
4787#include <sys/types.h>
4788 /* Check that off_t can represent 2**63 - 1 correctly.
4789    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4790    since some C++ compilers masquerading as C compilers
4791    incorrectly reject 9223372036854775807.  */
4792#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4793  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4794		       && LARGE_OFF_T % 2147483647 == 1)
4795		      ? 1 : -1];
4796int
4797main ()
4798{
4799
4800  ;
4801  return 0;
4802}
4803_ACEOF
4804if ac_fn_c_try_compile "$LINENO"; then :
4805  ac_cv_sys_file_offset_bits=64; break
4806fi
4807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4808  ac_cv_sys_file_offset_bits=unknown
4809  break
4810done
4811fi
4812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4813$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4814case $ac_cv_sys_file_offset_bits in #(
4815  no | unknown) ;;
4816  *)
4817cat >>confdefs.h <<_ACEOF
4818#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4819_ACEOF
4820;;
4821esac
4822rm -rf conftest*
4823  if test $ac_cv_sys_file_offset_bits = unknown; then
4824    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4825$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4826if test "${ac_cv_sys_large_files+set}" = set; then :
4827  $as_echo_n "(cached) " >&6
4828else
4829  while :; do
4830  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4831/* end confdefs.h.  */
4832#include <sys/types.h>
4833 /* Check that off_t can represent 2**63 - 1 correctly.
4834    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4835    since some C++ compilers masquerading as C compilers
4836    incorrectly reject 9223372036854775807.  */
4837#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4838  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4839		       && LARGE_OFF_T % 2147483647 == 1)
4840		      ? 1 : -1];
4841int
4842main ()
4843{
4844
4845  ;
4846  return 0;
4847}
4848_ACEOF
4849if ac_fn_c_try_compile "$LINENO"; then :
4850  ac_cv_sys_large_files=no; break
4851fi
4852rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4853  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4854/* end confdefs.h.  */
4855#define _LARGE_FILES 1
4856#include <sys/types.h>
4857 /* Check that off_t can represent 2**63 - 1 correctly.
4858    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4859    since some C++ compilers masquerading as C compilers
4860    incorrectly reject 9223372036854775807.  */
4861#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4862  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4863		       && LARGE_OFF_T % 2147483647 == 1)
4864		      ? 1 : -1];
4865int
4866main ()
4867{
4868
4869  ;
4870  return 0;
4871}
4872_ACEOF
4873if ac_fn_c_try_compile "$LINENO"; then :
4874  ac_cv_sys_large_files=1; break
4875fi
4876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4877  ac_cv_sys_large_files=unknown
4878  break
4879done
4880fi
4881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4882$as_echo "$ac_cv_sys_large_files" >&6; }
4883case $ac_cv_sys_large_files in #(
4884  no | unknown) ;;
4885  *)
4886cat >>confdefs.h <<_ACEOF
4887#define _LARGE_FILES $ac_cv_sys_large_files
4888_ACEOF
4889;;
4890esac
4891rm -rf conftest*
4892  fi
4893fi
4894
4895
4896# Runs configure.host, and assorted other critical bits.  Sets
4897# up critical shell variables.
4898ac_ext=c
4899ac_cpp='$CPP $CPPFLAGS'
4900ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4901ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4902ac_compiler_gnu=$ac_cv_c_compiler_gnu
4903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4904$as_echo_n "checking how to run the C preprocessor... " >&6; }
4905# On Suns, sometimes $CPP names a directory.
4906if test -n "$CPP" && test -d "$CPP"; then
4907  CPP=
4908fi
4909if test -z "$CPP"; then
4910  if test "${ac_cv_prog_CPP+set}" = set; then :
4911  $as_echo_n "(cached) " >&6
4912else
4913      # Double quotes because CPP needs to be expanded
4914    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4915    do
4916      ac_preproc_ok=false
4917for ac_c_preproc_warn_flag in '' yes
4918do
4919  # Use a header file that comes with gcc, so configuring glibc
4920  # with a fresh cross-compiler works.
4921  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4922  # <limits.h> exists even on freestanding compilers.
4923  # On the NeXT, cc -E runs the code through the compiler's parser,
4924  # not just through cpp. "Syntax error" is here to catch this case.
4925  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4926/* end confdefs.h.  */
4927#ifdef __STDC__
4928# include <limits.h>
4929#else
4930# include <assert.h>
4931#endif
4932		     Syntax error
4933_ACEOF
4934if ac_fn_c_try_cpp "$LINENO"; then :
4935
4936else
4937  # Broken: fails on valid input.
4938continue
4939fi
4940rm -f conftest.err conftest.$ac_ext
4941
4942  # OK, works on sane cases.  Now check whether nonexistent headers
4943  # can be detected and how.
4944  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4945/* end confdefs.h.  */
4946#include <ac_nonexistent.h>
4947_ACEOF
4948if ac_fn_c_try_cpp "$LINENO"; then :
4949  # Broken: success on invalid input.
4950continue
4951else
4952  # Passes both tests.
4953ac_preproc_ok=:
4954break
4955fi
4956rm -f conftest.err conftest.$ac_ext
4957
4958done
4959# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4960rm -f conftest.err conftest.$ac_ext
4961if $ac_preproc_ok; then :
4962  break
4963fi
4964
4965    done
4966    ac_cv_prog_CPP=$CPP
4967
4968fi
4969  CPP=$ac_cv_prog_CPP
4970else
4971  ac_cv_prog_CPP=$CPP
4972fi
4973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4974$as_echo "$CPP" >&6; }
4975ac_preproc_ok=false
4976for ac_c_preproc_warn_flag in '' yes
4977do
4978  # Use a header file that comes with gcc, so configuring glibc
4979  # with a fresh cross-compiler works.
4980  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4981  # <limits.h> exists even on freestanding compilers.
4982  # On the NeXT, cc -E runs the code through the compiler's parser,
4983  # not just through cpp. "Syntax error" is here to catch this case.
4984  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4985/* end confdefs.h.  */
4986#ifdef __STDC__
4987# include <limits.h>
4988#else
4989# include <assert.h>
4990#endif
4991		     Syntax error
4992_ACEOF
4993if ac_fn_c_try_cpp "$LINENO"; then :
4994
4995else
4996  # Broken: fails on valid input.
4997continue
4998fi
4999rm -f conftest.err conftest.$ac_ext
5000
5001  # OK, works on sane cases.  Now check whether nonexistent headers
5002  # can be detected and how.
5003  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5004/* end confdefs.h.  */
5005#include <ac_nonexistent.h>
5006_ACEOF
5007if ac_fn_c_try_cpp "$LINENO"; then :
5008  # Broken: success on invalid input.
5009continue
5010else
5011  # Passes both tests.
5012ac_preproc_ok=:
5013break
5014fi
5015rm -f conftest.err conftest.$ac_ext
5016
5017done
5018# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5019rm -f conftest.err conftest.$ac_ext
5020if $ac_preproc_ok; then :
5021
5022else
5023  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5024$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5025as_fn_error "C preprocessor \"$CPP\" fails sanity check
5026See \`config.log' for more details." "$LINENO" 5; }
5027fi
5028
5029ac_ext=c
5030ac_cpp='$CPP $CPPFLAGS'
5031ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5032ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5033ac_compiler_gnu=$ac_cv_c_compiler_gnu
5034
5035
5036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5037$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5038if test "${ac_cv_path_GREP+set}" = set; then :
5039  $as_echo_n "(cached) " >&6
5040else
5041  if test -z "$GREP"; then
5042  ac_path_GREP_found=false
5043  # Loop through the user's path and test for each of PROGNAME-LIST
5044  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5045for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5046do
5047  IFS=$as_save_IFS
5048  test -z "$as_dir" && as_dir=.
5049    for ac_prog in grep ggrep; do
5050    for ac_exec_ext in '' $ac_executable_extensions; do
5051      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5052      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5053# Check for GNU ac_path_GREP and select it if it is found.
5054  # Check for GNU $ac_path_GREP
5055case `"$ac_path_GREP" --version 2>&1` in
5056*GNU*)
5057  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5058*)
5059  ac_count=0
5060  $as_echo_n 0123456789 >"conftest.in"
5061  while :
5062  do
5063    cat "conftest.in" "conftest.in" >"conftest.tmp"
5064    mv "conftest.tmp" "conftest.in"
5065    cp "conftest.in" "conftest.nl"
5066    $as_echo 'GREP' >> "conftest.nl"
5067    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5068    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5069    as_fn_arith $ac_count + 1 && ac_count=$as_val
5070    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5071      # Best one so far, save it but keep looking for a better one
5072      ac_cv_path_GREP="$ac_path_GREP"
5073      ac_path_GREP_max=$ac_count
5074    fi
5075    # 10*(2^10) chars as input seems more than enough
5076    test $ac_count -gt 10 && break
5077  done
5078  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5079esac
5080
5081      $ac_path_GREP_found && break 3
5082    done
5083  done
5084  done
5085IFS=$as_save_IFS
5086  if test -z "$ac_cv_path_GREP"; then
5087    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5088  fi
5089else
5090  ac_cv_path_GREP=$GREP
5091fi
5092
5093fi
5094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5095$as_echo "$ac_cv_path_GREP" >&6; }
5096 GREP="$ac_cv_path_GREP"
5097
5098
5099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5100$as_echo_n "checking for egrep... " >&6; }
5101if test "${ac_cv_path_EGREP+set}" = set; then :
5102  $as_echo_n "(cached) " >&6
5103else
5104  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5105   then ac_cv_path_EGREP="$GREP -E"
5106   else
5107     if test -z "$EGREP"; then
5108  ac_path_EGREP_found=false
5109  # Loop through the user's path and test for each of PROGNAME-LIST
5110  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5111for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5112do
5113  IFS=$as_save_IFS
5114  test -z "$as_dir" && as_dir=.
5115    for ac_prog in egrep; do
5116    for ac_exec_ext in '' $ac_executable_extensions; do
5117      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5118      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5119# Check for GNU ac_path_EGREP and select it if it is found.
5120  # Check for GNU $ac_path_EGREP
5121case `"$ac_path_EGREP" --version 2>&1` in
5122*GNU*)
5123  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5124*)
5125  ac_count=0
5126  $as_echo_n 0123456789 >"conftest.in"
5127  while :
5128  do
5129    cat "conftest.in" "conftest.in" >"conftest.tmp"
5130    mv "conftest.tmp" "conftest.in"
5131    cp "conftest.in" "conftest.nl"
5132    $as_echo 'EGREP' >> "conftest.nl"
5133    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5134    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5135    as_fn_arith $ac_count + 1 && ac_count=$as_val
5136    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5137      # Best one so far, save it but keep looking for a better one
5138      ac_cv_path_EGREP="$ac_path_EGREP"
5139      ac_path_EGREP_max=$ac_count
5140    fi
5141    # 10*(2^10) chars as input seems more than enough
5142    test $ac_count -gt 10 && break
5143  done
5144  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5145esac
5146
5147      $ac_path_EGREP_found && break 3
5148    done
5149  done
5150  done
5151IFS=$as_save_IFS
5152  if test -z "$ac_cv_path_EGREP"; then
5153    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5154  fi
5155else
5156  ac_cv_path_EGREP=$EGREP
5157fi
5158
5159   fi
5160fi
5161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5162$as_echo "$ac_cv_path_EGREP" >&6; }
5163 EGREP="$ac_cv_path_EGREP"
5164
5165
5166
5167  # Keep these sync'd with the list in Makefile.am.  The first provides an
5168  # expandable list at autoconf time; the second provides an expandable list
5169  # (i.e., shell variable) at configure time.
5170
5171  SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
5172
5173  # These need to be absolute paths, yet at the same time need to
5174  # canonicalize only relative paths, because then amd will not unmount
5175  # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5176  glibcxx_builddir=`${PWDCMD-pwd}`
5177  case $srcdir in
5178    \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5179    *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5180  esac
5181  toplevel_builddir=${glibcxx_builddir}/..
5182  toplevel_srcdir=${glibcxx_srcdir}/..
5183
5184
5185
5186
5187
5188  # We use these options to decide which functions to include.  They are
5189  # set from the top level.
5190
5191# Check whether --with-target-subdir was given.
5192if test "${with_target_subdir+set}" = set; then :
5193  withval=$with_target_subdir;
5194fi
5195
5196
5197
5198# Check whether --with-cross-host was given.
5199if test "${with_cross_host+set}" = set; then :
5200  withval=$with_cross_host;
5201fi
5202
5203
5204
5205# Check whether --with-newlib was given.
5206if test "${with_newlib+set}" = set; then :
5207  withval=$with_newlib;
5208fi
5209
5210
5211  # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5212  # available).  Uncomment the next line to force a particular method.
5213  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5214$as_echo_n "checking whether ln -s works... " >&6; }
5215LN_S=$as_ln_s
5216if test "$LN_S" = "ln -s"; then
5217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5218$as_echo "yes" >&6; }
5219else
5220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5221$as_echo "no, using $LN_S" >&6; }
5222fi
5223
5224  #LN_S='cp -p'
5225
5226  if test -n "$ac_tool_prefix"; then
5227  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5228set dummy ${ac_tool_prefix}as; ac_word=$2
5229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230$as_echo_n "checking for $ac_word... " >&6; }
5231if test "${ac_cv_prog_AS+set}" = set; then :
5232  $as_echo_n "(cached) " >&6
5233else
5234  if test -n "$AS"; then
5235  ac_cv_prog_AS="$AS" # Let the user override the test.
5236else
5237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238for as_dir in $PATH
5239do
5240  IFS=$as_save_IFS
5241  test -z "$as_dir" && as_dir=.
5242    for ac_exec_ext in '' $ac_executable_extensions; do
5243  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5244    ac_cv_prog_AS="${ac_tool_prefix}as"
5245    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5246    break 2
5247  fi
5248done
5249  done
5250IFS=$as_save_IFS
5251
5252fi
5253fi
5254AS=$ac_cv_prog_AS
5255if test -n "$AS"; then
5256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5257$as_echo "$AS" >&6; }
5258else
5259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260$as_echo "no" >&6; }
5261fi
5262
5263
5264fi
5265if test -z "$ac_cv_prog_AS"; then
5266  ac_ct_AS=$AS
5267  # Extract the first word of "as", so it can be a program name with args.
5268set dummy as; ac_word=$2
5269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5270$as_echo_n "checking for $ac_word... " >&6; }
5271if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5272  $as_echo_n "(cached) " >&6
5273else
5274  if test -n "$ac_ct_AS"; then
5275  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5276else
5277as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5278for as_dir in $PATH
5279do
5280  IFS=$as_save_IFS
5281  test -z "$as_dir" && as_dir=.
5282    for ac_exec_ext in '' $ac_executable_extensions; do
5283  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5284    ac_cv_prog_ac_ct_AS="as"
5285    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5286    break 2
5287  fi
5288done
5289  done
5290IFS=$as_save_IFS
5291
5292fi
5293fi
5294ac_ct_AS=$ac_cv_prog_ac_ct_AS
5295if test -n "$ac_ct_AS"; then
5296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5297$as_echo "$ac_ct_AS" >&6; }
5298else
5299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5300$as_echo "no" >&6; }
5301fi
5302
5303  if test "x$ac_ct_AS" = x; then
5304    AS=""
5305  else
5306    case $cross_compiling:$ac_tool_warned in
5307yes:)
5308{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5309$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5310ac_tool_warned=yes ;;
5311esac
5312    AS=$ac_ct_AS
5313  fi
5314else
5315  AS="$ac_cv_prog_AS"
5316fi
5317
5318  if test -n "$ac_tool_prefix"; then
5319  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5320set dummy ${ac_tool_prefix}ar; ac_word=$2
5321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5322$as_echo_n "checking for $ac_word... " >&6; }
5323if test "${ac_cv_prog_AR+set}" = set; then :
5324  $as_echo_n "(cached) " >&6
5325else
5326  if test -n "$AR"; then
5327  ac_cv_prog_AR="$AR" # Let the user override the test.
5328else
5329as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5330for as_dir in $PATH
5331do
5332  IFS=$as_save_IFS
5333  test -z "$as_dir" && as_dir=.
5334    for ac_exec_ext in '' $ac_executable_extensions; do
5335  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5336    ac_cv_prog_AR="${ac_tool_prefix}ar"
5337    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5338    break 2
5339  fi
5340done
5341  done
5342IFS=$as_save_IFS
5343
5344fi
5345fi
5346AR=$ac_cv_prog_AR
5347if test -n "$AR"; then
5348  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5349$as_echo "$AR" >&6; }
5350else
5351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5352$as_echo "no" >&6; }
5353fi
5354
5355
5356fi
5357if test -z "$ac_cv_prog_AR"; then
5358  ac_ct_AR=$AR
5359  # Extract the first word of "ar", so it can be a program name with args.
5360set dummy ar; ac_word=$2
5361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5362$as_echo_n "checking for $ac_word... " >&6; }
5363if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5364  $as_echo_n "(cached) " >&6
5365else
5366  if test -n "$ac_ct_AR"; then
5367  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5368else
5369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5370for as_dir in $PATH
5371do
5372  IFS=$as_save_IFS
5373  test -z "$as_dir" && as_dir=.
5374    for ac_exec_ext in '' $ac_executable_extensions; do
5375  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5376    ac_cv_prog_ac_ct_AR="ar"
5377    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5378    break 2
5379  fi
5380done
5381  done
5382IFS=$as_save_IFS
5383
5384fi
5385fi
5386ac_ct_AR=$ac_cv_prog_ac_ct_AR
5387if test -n "$ac_ct_AR"; then
5388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5389$as_echo "$ac_ct_AR" >&6; }
5390else
5391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5392$as_echo "no" >&6; }
5393fi
5394
5395  if test "x$ac_ct_AR" = x; then
5396    AR=""
5397  else
5398    case $cross_compiling:$ac_tool_warned in
5399yes:)
5400{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5401$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5402ac_tool_warned=yes ;;
5403esac
5404    AR=$ac_ct_AR
5405  fi
5406else
5407  AR="$ac_cv_prog_AR"
5408fi
5409
5410  if test -n "$ac_tool_prefix"; then
5411  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5412set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5414$as_echo_n "checking for $ac_word... " >&6; }
5415if test "${ac_cv_prog_RANLIB+set}" = set; then :
5416  $as_echo_n "(cached) " >&6
5417else
5418  if test -n "$RANLIB"; then
5419  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5420else
5421as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5422for as_dir in $PATH
5423do
5424  IFS=$as_save_IFS
5425  test -z "$as_dir" && as_dir=.
5426    for ac_exec_ext in '' $ac_executable_extensions; do
5427  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5428    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5429    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5430    break 2
5431  fi
5432done
5433  done
5434IFS=$as_save_IFS
5435
5436fi
5437fi
5438RANLIB=$ac_cv_prog_RANLIB
5439if test -n "$RANLIB"; then
5440  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5441$as_echo "$RANLIB" >&6; }
5442else
5443  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444$as_echo "no" >&6; }
5445fi
5446
5447
5448fi
5449if test -z "$ac_cv_prog_RANLIB"; then
5450  ac_ct_RANLIB=$RANLIB
5451  # Extract the first word of "ranlib", so it can be a program name with args.
5452set dummy ranlib; ac_word=$2
5453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5454$as_echo_n "checking for $ac_word... " >&6; }
5455if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5456  $as_echo_n "(cached) " >&6
5457else
5458  if test -n "$ac_ct_RANLIB"; then
5459  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5460else
5461as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5462for as_dir in $PATH
5463do
5464  IFS=$as_save_IFS
5465  test -z "$as_dir" && as_dir=.
5466    for ac_exec_ext in '' $ac_executable_extensions; do
5467  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5468    ac_cv_prog_ac_ct_RANLIB="ranlib"
5469    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5470    break 2
5471  fi
5472done
5473  done
5474IFS=$as_save_IFS
5475
5476fi
5477fi
5478ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5479if test -n "$ac_ct_RANLIB"; then
5480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5481$as_echo "$ac_ct_RANLIB" >&6; }
5482else
5483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5484$as_echo "no" >&6; }
5485fi
5486
5487  if test "x$ac_ct_RANLIB" = x; then
5488    RANLIB="ranlib-not-found-in-path-error"
5489  else
5490    case $cross_compiling:$ac_tool_warned in
5491yes:)
5492{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5493$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5494ac_tool_warned=yes ;;
5495esac
5496    RANLIB=$ac_ct_RANLIB
5497  fi
5498else
5499  RANLIB="$ac_cv_prog_RANLIB"
5500fi
5501
5502
5503
5504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5505$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5506    # Check whether --enable-maintainer-mode was given.
5507if test "${enable_maintainer_mode+set}" = set; then :
5508  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5509else
5510  USE_MAINTAINER_MODE=no
5511fi
5512
5513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5514$as_echo "$USE_MAINTAINER_MODE" >&6; }
5515   if test $USE_MAINTAINER_MODE = yes; then
5516  MAINTAINER_MODE_TRUE=
5517  MAINTAINER_MODE_FALSE='#'
5518else
5519  MAINTAINER_MODE_TRUE='#'
5520  MAINTAINER_MODE_FALSE=
5521fi
5522
5523  MAINT=$MAINTAINER_MODE_TRUE
5524
5525
5526
5527  # Set up safe default values for all subsequent AM_CONDITIONAL tests
5528  # which are themselves conditionally expanded.
5529  ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5530  ## other macros from doing the same.  This should be automated.)  -pme
5531
5532  # Check for C library flavor since GNU/Linux platforms use different
5533  # configuration directories depending on the C library in use.
5534  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5535/* end confdefs.h.  */
5536
5537  #include <stdio.h>
5538  #if __UCLIBC__
5539    _using_uclibc
5540  #endif
5541
5542_ACEOF
5543if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5544  $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5545  uclibc=yes
5546else
5547  uclibc=no
5548fi
5549rm -f conftest*
5550
5551
5552  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5553/* end confdefs.h.  */
5554
5555  #include <stdio.h>
5556  #if __BIONIC__
5557    _using_bionic
5558  #endif
5559
5560_ACEOF
5561if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5562  $EGREP "_using_bionic" >/dev/null 2>&1; then :
5563  bionic=yes
5564else
5565  bionic=no
5566fi
5567rm -f conftest*
5568
5569
5570  # Find platform-specific directories containing configuration info.
5571  # Also possibly modify flags used elsewhere, as needed by the platform.
5572
5573  . $glibcxx_srcdir/configure.host
5574  { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5575$as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5576  { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5577$as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5578
5579
5580
5581# Libtool setup.
5582if test "x${with_newlib}" != "xyes"; then
5583  enable_dlopen=yes
5584
5585
5586
5587fi
5588case `pwd` in
5589  *\ * | *\	*)
5590    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5591$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5592esac
5593
5594
5595
5596macro_version='2.2.7a'
5597macro_revision='1.3134'
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611ltmain="$ac_aux_dir/ltmain.sh"
5612
5613# Backslashify metacharacters that are still active within
5614# double-quoted strings.
5615sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5616
5617# Same as above, but do not quote variable references.
5618double_quote_subst='s/\(["`\\]\)/\\\1/g'
5619
5620# Sed substitution to delay expansion of an escaped shell variable in a
5621# double_quote_subst'ed string.
5622delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5623
5624# Sed substitution to delay expansion of an escaped single quote.
5625delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5626
5627# Sed substitution to avoid accidental globbing in evaled expressions
5628no_glob_subst='s/\*/\\\*/g'
5629
5630ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5631ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5632ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5633
5634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5635$as_echo_n "checking how to print strings... " >&6; }
5636# Test print first, because it will be a builtin if present.
5637if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5638   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5639  ECHO='print -r --'
5640elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5641  ECHO='printf %s\n'
5642else
5643  # Use this function as a fallback that always works.
5644  func_fallback_echo ()
5645  {
5646    eval 'cat <<_LTECHO_EOF
5647$1
5648_LTECHO_EOF'
5649  }
5650  ECHO='func_fallback_echo'
5651fi
5652
5653# func_echo_all arg...
5654# Invoke $ECHO with all args, space-separated.
5655func_echo_all ()
5656{
5657    $ECHO ""
5658}
5659
5660case "$ECHO" in
5661  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5662$as_echo "printf" >&6; } ;;
5663  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5664$as_echo "print -r" >&6; } ;;
5665  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5666$as_echo "cat" >&6; } ;;
5667esac
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5683$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5684if test "${ac_cv_path_SED+set}" = set; then :
5685  $as_echo_n "(cached) " >&6
5686else
5687            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5688     for ac_i in 1 2 3 4 5 6 7; do
5689       ac_script="$ac_script$as_nl$ac_script"
5690     done
5691     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5692     { ac_script=; unset ac_script;}
5693     if test -z "$SED"; then
5694  ac_path_SED_found=false
5695  # Loop through the user's path and test for each of PROGNAME-LIST
5696  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697for as_dir in $PATH
5698do
5699  IFS=$as_save_IFS
5700  test -z "$as_dir" && as_dir=.
5701    for ac_prog in sed gsed; do
5702    for ac_exec_ext in '' $ac_executable_extensions; do
5703      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5704      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5705# Check for GNU ac_path_SED and select it if it is found.
5706  # Check for GNU $ac_path_SED
5707case `"$ac_path_SED" --version 2>&1` in
5708*GNU*)
5709  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5710*)
5711  ac_count=0
5712  $as_echo_n 0123456789 >"conftest.in"
5713  while :
5714  do
5715    cat "conftest.in" "conftest.in" >"conftest.tmp"
5716    mv "conftest.tmp" "conftest.in"
5717    cp "conftest.in" "conftest.nl"
5718    $as_echo '' >> "conftest.nl"
5719    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5720    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5721    as_fn_arith $ac_count + 1 && ac_count=$as_val
5722    if test $ac_count -gt ${ac_path_SED_max-0}; then
5723      # Best one so far, save it but keep looking for a better one
5724      ac_cv_path_SED="$ac_path_SED"
5725      ac_path_SED_max=$ac_count
5726    fi
5727    # 10*(2^10) chars as input seems more than enough
5728    test $ac_count -gt 10 && break
5729  done
5730  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5731esac
5732
5733      $ac_path_SED_found && break 3
5734    done
5735  done
5736  done
5737IFS=$as_save_IFS
5738  if test -z "$ac_cv_path_SED"; then
5739    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5740  fi
5741else
5742  ac_cv_path_SED=$SED
5743fi
5744
5745fi
5746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5747$as_echo "$ac_cv_path_SED" >&6; }
5748 SED="$ac_cv_path_SED"
5749  rm -f conftest.sed
5750
5751test -z "$SED" && SED=sed
5752Xsed="$SED -e 1s/^X//"
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5765$as_echo_n "checking for fgrep... " >&6; }
5766if test "${ac_cv_path_FGREP+set}" = set; then :
5767  $as_echo_n "(cached) " >&6
5768else
5769  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5770   then ac_cv_path_FGREP="$GREP -F"
5771   else
5772     if test -z "$FGREP"; then
5773  ac_path_FGREP_found=false
5774  # Loop through the user's path and test for each of PROGNAME-LIST
5775  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5776for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5777do
5778  IFS=$as_save_IFS
5779  test -z "$as_dir" && as_dir=.
5780    for ac_prog in fgrep; do
5781    for ac_exec_ext in '' $ac_executable_extensions; do
5782      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5783      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5784# Check for GNU ac_path_FGREP and select it if it is found.
5785  # Check for GNU $ac_path_FGREP
5786case `"$ac_path_FGREP" --version 2>&1` in
5787*GNU*)
5788  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5789*)
5790  ac_count=0
5791  $as_echo_n 0123456789 >"conftest.in"
5792  while :
5793  do
5794    cat "conftest.in" "conftest.in" >"conftest.tmp"
5795    mv "conftest.tmp" "conftest.in"
5796    cp "conftest.in" "conftest.nl"
5797    $as_echo 'FGREP' >> "conftest.nl"
5798    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5799    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5800    as_fn_arith $ac_count + 1 && ac_count=$as_val
5801    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5802      # Best one so far, save it but keep looking for a better one
5803      ac_cv_path_FGREP="$ac_path_FGREP"
5804      ac_path_FGREP_max=$ac_count
5805    fi
5806    # 10*(2^10) chars as input seems more than enough
5807    test $ac_count -gt 10 && break
5808  done
5809  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5810esac
5811
5812      $ac_path_FGREP_found && break 3
5813    done
5814  done
5815  done
5816IFS=$as_save_IFS
5817  if test -z "$ac_cv_path_FGREP"; then
5818    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5819  fi
5820else
5821  ac_cv_path_FGREP=$FGREP
5822fi
5823
5824   fi
5825fi
5826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5827$as_echo "$ac_cv_path_FGREP" >&6; }
5828 FGREP="$ac_cv_path_FGREP"
5829
5830
5831test -z "$GREP" && GREP=grep
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851# Check whether --with-gnu-ld was given.
5852if test "${with_gnu_ld+set}" = set; then :
5853  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5854else
5855  with_gnu_ld=no
5856fi
5857
5858ac_prog=ld
5859if test "$GCC" = yes; then
5860  # Check if gcc -print-prog-name=ld gives a path.
5861  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5862$as_echo_n "checking for ld used by $CC... " >&6; }
5863  case $host in
5864  *-*-mingw*)
5865    # gcc leaves a trailing carriage return which upsets mingw
5866    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5867  *)
5868    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5869  esac
5870  case $ac_prog in
5871    # Accept absolute paths.
5872    [\\/]* | ?:[\\/]*)
5873      re_direlt='/[^/][^/]*/\.\./'
5874      # Canonicalize the pathname of ld
5875      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5876      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5877	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5878      done
5879      test -z "$LD" && LD="$ac_prog"
5880      ;;
5881  "")
5882    # If it fails, then pretend we aren't using GCC.
5883    ac_prog=ld
5884    ;;
5885  *)
5886    # If it is relative, then search for the first ld in PATH.
5887    with_gnu_ld=unknown
5888    ;;
5889  esac
5890elif test "$with_gnu_ld" = yes; then
5891  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5892$as_echo_n "checking for GNU ld... " >&6; }
5893else
5894  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5895$as_echo_n "checking for non-GNU ld... " >&6; }
5896fi
5897if test "${lt_cv_path_LD+set}" = set; then :
5898  $as_echo_n "(cached) " >&6
5899else
5900  if test -z "$LD"; then
5901  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5902  for ac_dir in $PATH; do
5903    IFS="$lt_save_ifs"
5904    test -z "$ac_dir" && ac_dir=.
5905    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5906      lt_cv_path_LD="$ac_dir/$ac_prog"
5907      # Check to see if the program is GNU ld.  I'd rather use --version,
5908      # but apparently some variants of GNU ld only accept -v.
5909      # Break only if it was the GNU/non-GNU ld that we prefer.
5910      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5911      *GNU* | *'with BFD'*)
5912	test "$with_gnu_ld" != no && break
5913	;;
5914      *)
5915	test "$with_gnu_ld" != yes && break
5916	;;
5917      esac
5918    fi
5919  done
5920  IFS="$lt_save_ifs"
5921else
5922  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5923fi
5924fi
5925
5926LD="$lt_cv_path_LD"
5927if test -n "$LD"; then
5928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5929$as_echo "$LD" >&6; }
5930else
5931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5932$as_echo "no" >&6; }
5933fi
5934test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5936$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5937if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5938  $as_echo_n "(cached) " >&6
5939else
5940  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5941case `$LD -v 2>&1 </dev/null` in
5942*GNU* | *'with BFD'*)
5943  lt_cv_prog_gnu_ld=yes
5944  ;;
5945*)
5946  lt_cv_prog_gnu_ld=no
5947  ;;
5948esac
5949fi
5950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5951$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5952with_gnu_ld=$lt_cv_prog_gnu_ld
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5963$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5964if test "${lt_cv_path_NM+set}" = set; then :
5965  $as_echo_n "(cached) " >&6
5966else
5967  if test -n "$NM"; then
5968  # Let the user override the test.
5969  lt_cv_path_NM="$NM"
5970else
5971  lt_nm_to_check="${ac_tool_prefix}nm"
5972  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5973    lt_nm_to_check="$lt_nm_to_check nm"
5974  fi
5975  for lt_tmp_nm in $lt_nm_to_check; do
5976    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5977    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5978      IFS="$lt_save_ifs"
5979      test -z "$ac_dir" && ac_dir=.
5980      tmp_nm="$ac_dir/$lt_tmp_nm"
5981      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5982	# Check to see if the nm accepts a BSD-compat flag.
5983	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5984	#   nm: unknown option "B" ignored
5985	# Tru64's nm complains that /dev/null is an invalid object file
5986	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5987	*/dev/null* | *'Invalid file or object type'*)
5988	  lt_cv_path_NM="$tmp_nm -B"
5989	  break
5990	  ;;
5991	*)
5992	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5993	  */dev/null*)
5994	    lt_cv_path_NM="$tmp_nm -p"
5995	    break
5996	    ;;
5997	  *)
5998	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5999	    continue # so that we can try to find one that supports BSD flags
6000	    ;;
6001	  esac
6002	  ;;
6003	esac
6004      fi
6005    done
6006    IFS="$lt_save_ifs"
6007  done
6008  : ${lt_cv_path_NM=no}
6009fi
6010fi
6011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6012$as_echo "$lt_cv_path_NM" >&6; }
6013if test "$lt_cv_path_NM" != "no"; then
6014  NM="$lt_cv_path_NM"
6015else
6016  # Didn't find any BSD compatible name lister, look for dumpbin.
6017  if test -n "$DUMPBIN"; then :
6018    # Let the user override the test.
6019  else
6020    if test -n "$ac_tool_prefix"; then
6021  for ac_prog in dumpbin "link -dump"
6022  do
6023    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6024set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6026$as_echo_n "checking for $ac_word... " >&6; }
6027if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6028  $as_echo_n "(cached) " >&6
6029else
6030  if test -n "$DUMPBIN"; then
6031  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6032else
6033as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6034for as_dir in $PATH
6035do
6036  IFS=$as_save_IFS
6037  test -z "$as_dir" && as_dir=.
6038    for ac_exec_ext in '' $ac_executable_extensions; do
6039  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6040    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6041    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6042    break 2
6043  fi
6044done
6045  done
6046IFS=$as_save_IFS
6047
6048fi
6049fi
6050DUMPBIN=$ac_cv_prog_DUMPBIN
6051if test -n "$DUMPBIN"; then
6052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6053$as_echo "$DUMPBIN" >&6; }
6054else
6055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056$as_echo "no" >&6; }
6057fi
6058
6059
6060    test -n "$DUMPBIN" && break
6061  done
6062fi
6063if test -z "$DUMPBIN"; then
6064  ac_ct_DUMPBIN=$DUMPBIN
6065  for ac_prog in dumpbin "link -dump"
6066do
6067  # Extract the first word of "$ac_prog", so it can be a program name with args.
6068set dummy $ac_prog; ac_word=$2
6069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6070$as_echo_n "checking for $ac_word... " >&6; }
6071if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6072  $as_echo_n "(cached) " >&6
6073else
6074  if test -n "$ac_ct_DUMPBIN"; then
6075  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6076else
6077as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078for as_dir in $PATH
6079do
6080  IFS=$as_save_IFS
6081  test -z "$as_dir" && as_dir=.
6082    for ac_exec_ext in '' $ac_executable_extensions; do
6083  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6084    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6085    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6086    break 2
6087  fi
6088done
6089  done
6090IFS=$as_save_IFS
6091
6092fi
6093fi
6094ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6095if test -n "$ac_ct_DUMPBIN"; then
6096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6097$as_echo "$ac_ct_DUMPBIN" >&6; }
6098else
6099  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6100$as_echo "no" >&6; }
6101fi
6102
6103
6104  test -n "$ac_ct_DUMPBIN" && break
6105done
6106
6107  if test "x$ac_ct_DUMPBIN" = x; then
6108    DUMPBIN=":"
6109  else
6110    case $cross_compiling:$ac_tool_warned in
6111yes:)
6112{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6113$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6114ac_tool_warned=yes ;;
6115esac
6116    DUMPBIN=$ac_ct_DUMPBIN
6117  fi
6118fi
6119
6120    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6121    *COFF*)
6122      DUMPBIN="$DUMPBIN -symbols"
6123      ;;
6124    *)
6125      DUMPBIN=:
6126      ;;
6127    esac
6128  fi
6129
6130  if test "$DUMPBIN" != ":"; then
6131    NM="$DUMPBIN"
6132  fi
6133fi
6134test -z "$NM" && NM=nm
6135
6136
6137
6138
6139
6140
6141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6142$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6143if test "${lt_cv_nm_interface+set}" = set; then :
6144  $as_echo_n "(cached) " >&6
6145else
6146  lt_cv_nm_interface="BSD nm"
6147  echo "int some_variable = 0;" > conftest.$ac_ext
6148  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6149  (eval "$ac_compile" 2>conftest.err)
6150  cat conftest.err >&5
6151  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6152  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6153  cat conftest.err >&5
6154  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6155  cat conftest.out >&5
6156  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6157    lt_cv_nm_interface="MS dumpbin"
6158  fi
6159  rm -f conftest*
6160fi
6161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6162$as_echo "$lt_cv_nm_interface" >&6; }
6163
6164# find the maximum length of command line arguments
6165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6166$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6167if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6168  $as_echo_n "(cached) " >&6
6169else
6170    i=0
6171  teststring="ABCD"
6172
6173  case $build_os in
6174  msdosdjgpp*)
6175    # On DJGPP, this test can blow up pretty badly due to problems in libc
6176    # (any single argument exceeding 2000 bytes causes a buffer overrun
6177    # during glob expansion).  Even if it were fixed, the result of this
6178    # check would be larger than it should be.
6179    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6180    ;;
6181
6182  gnu*)
6183    # Under GNU Hurd, this test is not required because there is
6184    # no limit to the length of command line arguments.
6185    # Libtool will interpret -1 as no limit whatsoever
6186    lt_cv_sys_max_cmd_len=-1;
6187    ;;
6188
6189  cygwin* | mingw* | cegcc*)
6190    # On Win9x/ME, this test blows up -- it succeeds, but takes
6191    # about 5 minutes as the teststring grows exponentially.
6192    # Worse, since 9x/ME are not pre-emptively multitasking,
6193    # you end up with a "frozen" computer, even though with patience
6194    # the test eventually succeeds (with a max line length of 256k).
6195    # Instead, let's just punt: use the minimum linelength reported by
6196    # all of the supported platforms: 8192 (on NT/2K/XP).
6197    lt_cv_sys_max_cmd_len=8192;
6198    ;;
6199
6200  mint*)
6201    # On MiNT this can take a long time and run out of memory.
6202    lt_cv_sys_max_cmd_len=8192;
6203    ;;
6204
6205  amigaos*)
6206    # On AmigaOS with pdksh, this test takes hours, literally.
6207    # So we just punt and use a minimum line length of 8192.
6208    lt_cv_sys_max_cmd_len=8192;
6209    ;;
6210
6211  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6212    # This has been around since 386BSD, at least.  Likely further.
6213    if test -x /sbin/sysctl; then
6214      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6215    elif test -x /usr/sbin/sysctl; then
6216      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6217    else
6218      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6219    fi
6220    # And add a safety zone
6221    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6222    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6223    ;;
6224
6225  interix*)
6226    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6227    lt_cv_sys_max_cmd_len=196608
6228    ;;
6229
6230  osf*)
6231    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6232    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6233    # nice to cause kernel panics so lets avoid the loop below.
6234    # First set a reasonable default.
6235    lt_cv_sys_max_cmd_len=16384
6236    #
6237    if test -x /sbin/sysconfig; then
6238      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6239        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6240      esac
6241    fi
6242    ;;
6243  sco3.2v5*)
6244    lt_cv_sys_max_cmd_len=102400
6245    ;;
6246  sysv5* | sco5v6* | sysv4.2uw2*)
6247    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6248    if test -n "$kargmax"; then
6249      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6250    else
6251      lt_cv_sys_max_cmd_len=32768
6252    fi
6253    ;;
6254  *)
6255    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6256    if test -n "$lt_cv_sys_max_cmd_len"; then
6257      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6258      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6259    else
6260      # Make teststring a little bigger before we do anything with it.
6261      # a 1K string should be a reasonable start.
6262      for i in 1 2 3 4 5 6 7 8 ; do
6263        teststring=$teststring$teststring
6264      done
6265      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6266      # If test is not a shell built-in, we'll probably end up computing a
6267      # maximum length that is only half of the actual maximum length, but
6268      # we can't tell.
6269      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6270	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6271	      test $i != 17 # 1/2 MB should be enough
6272      do
6273        i=`expr $i + 1`
6274        teststring=$teststring$teststring
6275      done
6276      # Only check the string length outside the loop.
6277      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6278      teststring=
6279      # Add a significant safety factor because C++ compilers can tack on
6280      # massive amounts of additional arguments before passing them to the
6281      # linker.  It appears as though 1/2 is a usable value.
6282      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6283    fi
6284    ;;
6285  esac
6286
6287fi
6288
6289if test -n $lt_cv_sys_max_cmd_len ; then
6290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6291$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6292else
6293  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6294$as_echo "none" >&6; }
6295fi
6296max_cmd_len=$lt_cv_sys_max_cmd_len
6297
6298
6299
6300
6301
6302
6303: ${CP="cp -f"}
6304: ${MV="mv -f"}
6305: ${RM="rm -f"}
6306
6307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6308$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6309# Try some XSI features
6310xsi_shell=no
6311( _lt_dummy="a/b/c"
6312  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6313      = c,a/b,, \
6314    && eval 'test $(( 1 + 1 )) -eq 2 \
6315    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6316  && xsi_shell=yes
6317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6318$as_echo "$xsi_shell" >&6; }
6319
6320
6321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6322$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6323lt_shell_append=no
6324( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6325    >/dev/null 2>&1 \
6326  && lt_shell_append=yes
6327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6328$as_echo "$lt_shell_append" >&6; }
6329
6330
6331if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6332  lt_unset=unset
6333else
6334  lt_unset=false
6335fi
6336
6337
6338
6339
6340
6341# test EBCDIC or ASCII
6342case `echo X|tr X '\101'` in
6343 A) # ASCII based system
6344    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6345  lt_SP2NL='tr \040 \012'
6346  lt_NL2SP='tr \015\012 \040\040'
6347  ;;
6348 *) # EBCDIC based system
6349  lt_SP2NL='tr \100 \n'
6350  lt_NL2SP='tr \r\n \100\100'
6351  ;;
6352esac
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6363$as_echo_n "checking for $LD option to reload object files... " >&6; }
6364if test "${lt_cv_ld_reload_flag+set}" = set; then :
6365  $as_echo_n "(cached) " >&6
6366else
6367  lt_cv_ld_reload_flag='-r'
6368fi
6369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6370$as_echo "$lt_cv_ld_reload_flag" >&6; }
6371reload_flag=$lt_cv_ld_reload_flag
6372case $reload_flag in
6373"" | " "*) ;;
6374*) reload_flag=" $reload_flag" ;;
6375esac
6376reload_cmds='$LD$reload_flag -o $output$reload_objs'
6377case $host_os in
6378  darwin*)
6379    if test "$GCC" = yes; then
6380      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6381    else
6382      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6383    fi
6384    ;;
6385esac
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395if test -n "$ac_tool_prefix"; then
6396  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6397set dummy ${ac_tool_prefix}objdump; ac_word=$2
6398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6399$as_echo_n "checking for $ac_word... " >&6; }
6400if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6401  $as_echo_n "(cached) " >&6
6402else
6403  if test -n "$OBJDUMP"; then
6404  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6405else
6406as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6407for as_dir in $PATH
6408do
6409  IFS=$as_save_IFS
6410  test -z "$as_dir" && as_dir=.
6411    for ac_exec_ext in '' $ac_executable_extensions; do
6412  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6413    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6414    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6415    break 2
6416  fi
6417done
6418  done
6419IFS=$as_save_IFS
6420
6421fi
6422fi
6423OBJDUMP=$ac_cv_prog_OBJDUMP
6424if test -n "$OBJDUMP"; then
6425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6426$as_echo "$OBJDUMP" >&6; }
6427else
6428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6429$as_echo "no" >&6; }
6430fi
6431
6432
6433fi
6434if test -z "$ac_cv_prog_OBJDUMP"; then
6435  ac_ct_OBJDUMP=$OBJDUMP
6436  # Extract the first word of "objdump", so it can be a program name with args.
6437set dummy objdump; ac_word=$2
6438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6439$as_echo_n "checking for $ac_word... " >&6; }
6440if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6441  $as_echo_n "(cached) " >&6
6442else
6443  if test -n "$ac_ct_OBJDUMP"; then
6444  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6445else
6446as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6447for as_dir in $PATH
6448do
6449  IFS=$as_save_IFS
6450  test -z "$as_dir" && as_dir=.
6451    for ac_exec_ext in '' $ac_executable_extensions; do
6452  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6453    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6454    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6455    break 2
6456  fi
6457done
6458  done
6459IFS=$as_save_IFS
6460
6461fi
6462fi
6463ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6464if test -n "$ac_ct_OBJDUMP"; then
6465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6466$as_echo "$ac_ct_OBJDUMP" >&6; }
6467else
6468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6469$as_echo "no" >&6; }
6470fi
6471
6472  if test "x$ac_ct_OBJDUMP" = x; then
6473    OBJDUMP="false"
6474  else
6475    case $cross_compiling:$ac_tool_warned in
6476yes:)
6477{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6478$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6479ac_tool_warned=yes ;;
6480esac
6481    OBJDUMP=$ac_ct_OBJDUMP
6482  fi
6483else
6484  OBJDUMP="$ac_cv_prog_OBJDUMP"
6485fi
6486
6487test -z "$OBJDUMP" && OBJDUMP=objdump
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6498$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6499if test "${lt_cv_deplibs_check_method+set}" = set; then :
6500  $as_echo_n "(cached) " >&6
6501else
6502  lt_cv_file_magic_cmd='$MAGIC_CMD'
6503lt_cv_file_magic_test_file=
6504lt_cv_deplibs_check_method='unknown'
6505# Need to set the preceding variable on all platforms that support
6506# interlibrary dependencies.
6507# 'none' -- dependencies not supported.
6508# `unknown' -- same as none, but documents that we really don't know.
6509# 'pass_all' -- all dependencies passed with no checks.
6510# 'test_compile' -- check by making test program.
6511# 'file_magic [[regex]]' -- check by looking for files in library path
6512# which responds to the $file_magic_cmd with a given extended regex.
6513# If you have `file' or equivalent on your system and you're not sure
6514# whether `pass_all' will *always* work, you probably want this one.
6515
6516case $host_os in
6517aix[4-9]*)
6518  lt_cv_deplibs_check_method=pass_all
6519  ;;
6520
6521beos*)
6522  lt_cv_deplibs_check_method=pass_all
6523  ;;
6524
6525bsdi[45]*)
6526  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6527  lt_cv_file_magic_cmd='/usr/bin/file -L'
6528  lt_cv_file_magic_test_file=/shlib/libc.so
6529  ;;
6530
6531cygwin*)
6532  # func_win32_libid is a shell function defined in ltmain.sh
6533  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6534  lt_cv_file_magic_cmd='func_win32_libid'
6535  ;;
6536
6537mingw* | pw32*)
6538  # Base MSYS/MinGW do not provide the 'file' command needed by
6539  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6540  # unless we find 'file', for example because we are cross-compiling.
6541  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6542  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6543    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6544    lt_cv_file_magic_cmd='func_win32_libid'
6545  else
6546    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6547    lt_cv_file_magic_cmd='$OBJDUMP -f'
6548  fi
6549  ;;
6550
6551cegcc*)
6552  # use the weaker test based on 'objdump'. See mingw*.
6553  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6554  lt_cv_file_magic_cmd='$OBJDUMP -f'
6555  ;;
6556
6557darwin* | rhapsody*)
6558  lt_cv_deplibs_check_method=pass_all
6559  ;;
6560
6561freebsd* | dragonfly*)
6562  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6563    case $host_cpu in
6564    i*86 )
6565      # Not sure whether the presence of OpenBSD here was a mistake.
6566      # Let's accept both of them until this is cleared up.
6567      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6568      lt_cv_file_magic_cmd=/usr/bin/file
6569      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6570      ;;
6571    esac
6572  else
6573    lt_cv_deplibs_check_method=pass_all
6574  fi
6575  ;;
6576
6577gnu*)
6578  lt_cv_deplibs_check_method=pass_all
6579  ;;
6580
6581haiku*)
6582  lt_cv_deplibs_check_method=pass_all
6583  ;;
6584
6585hpux10.20* | hpux11*)
6586  lt_cv_file_magic_cmd=/usr/bin/file
6587  case $host_cpu in
6588  ia64*)
6589    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6590    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6591    ;;
6592  hppa*64*)
6593    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]'
6594    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6595    ;;
6596  *)
6597    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6598    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6599    ;;
6600  esac
6601  ;;
6602
6603interix[3-9]*)
6604  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6605  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6606  ;;
6607
6608irix5* | irix6* | nonstopux*)
6609  case $LD in
6610  *-32|*"-32 ") libmagic=32-bit;;
6611  *-n32|*"-n32 ") libmagic=N32;;
6612  *-64|*"-64 ") libmagic=64-bit;;
6613  *) libmagic=never-match;;
6614  esac
6615  lt_cv_deplibs_check_method=pass_all
6616  ;;
6617
6618# This must be Linux ELF.
6619linux* | k*bsd*-gnu | kopensolaris*-gnu)
6620  lt_cv_deplibs_check_method=pass_all
6621  ;;
6622
6623netbsd*)
6624  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6625    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6626  else
6627    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6628  fi
6629  ;;
6630
6631newos6*)
6632  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6633  lt_cv_file_magic_cmd=/usr/bin/file
6634  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6635  ;;
6636
6637*nto* | *qnx*)
6638  lt_cv_deplibs_check_method=pass_all
6639  ;;
6640
6641openbsd*)
6642  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6643    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6644  else
6645    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6646  fi
6647  ;;
6648
6649osf3* | osf4* | osf5*)
6650  lt_cv_deplibs_check_method=pass_all
6651  ;;
6652
6653rdos*)
6654  lt_cv_deplibs_check_method=pass_all
6655  ;;
6656
6657solaris*)
6658  lt_cv_deplibs_check_method=pass_all
6659  ;;
6660
6661sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6662  lt_cv_deplibs_check_method=pass_all
6663  ;;
6664
6665sysv4 | sysv4.3*)
6666  case $host_vendor in
6667  motorola)
6668    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]'
6669    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6670    ;;
6671  ncr)
6672    lt_cv_deplibs_check_method=pass_all
6673    ;;
6674  sequent)
6675    lt_cv_file_magic_cmd='/bin/file'
6676    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6677    ;;
6678  sni)
6679    lt_cv_file_magic_cmd='/bin/file'
6680    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6681    lt_cv_file_magic_test_file=/lib/libc.so
6682    ;;
6683  siemens)
6684    lt_cv_deplibs_check_method=pass_all
6685    ;;
6686  pc)
6687    lt_cv_deplibs_check_method=pass_all
6688    ;;
6689  esac
6690  ;;
6691
6692tpf*)
6693  lt_cv_deplibs_check_method=pass_all
6694  ;;
6695esac
6696
6697fi
6698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6699$as_echo "$lt_cv_deplibs_check_method" >&6; }
6700file_magic_cmd=$lt_cv_file_magic_cmd
6701deplibs_check_method=$lt_cv_deplibs_check_method
6702test -z "$deplibs_check_method" && deplibs_check_method=unknown
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715if test -n "$ac_tool_prefix"; then
6716  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6717set dummy ${ac_tool_prefix}ar; ac_word=$2
6718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6719$as_echo_n "checking for $ac_word... " >&6; }
6720if test "${ac_cv_prog_AR+set}" = set; then :
6721  $as_echo_n "(cached) " >&6
6722else
6723  if test -n "$AR"; then
6724  ac_cv_prog_AR="$AR" # Let the user override the test.
6725else
6726as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6727for as_dir in $PATH
6728do
6729  IFS=$as_save_IFS
6730  test -z "$as_dir" && as_dir=.
6731    for ac_exec_ext in '' $ac_executable_extensions; do
6732  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6733    ac_cv_prog_AR="${ac_tool_prefix}ar"
6734    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6735    break 2
6736  fi
6737done
6738  done
6739IFS=$as_save_IFS
6740
6741fi
6742fi
6743AR=$ac_cv_prog_AR
6744if test -n "$AR"; then
6745  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6746$as_echo "$AR" >&6; }
6747else
6748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6749$as_echo "no" >&6; }
6750fi
6751
6752
6753fi
6754if test -z "$ac_cv_prog_AR"; then
6755  ac_ct_AR=$AR
6756  # Extract the first word of "ar", so it can be a program name with args.
6757set dummy ar; ac_word=$2
6758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6759$as_echo_n "checking for $ac_word... " >&6; }
6760if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6761  $as_echo_n "(cached) " >&6
6762else
6763  if test -n "$ac_ct_AR"; then
6764  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6765else
6766as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6767for as_dir in $PATH
6768do
6769  IFS=$as_save_IFS
6770  test -z "$as_dir" && as_dir=.
6771    for ac_exec_ext in '' $ac_executable_extensions; do
6772  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6773    ac_cv_prog_ac_ct_AR="ar"
6774    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6775    break 2
6776  fi
6777done
6778  done
6779IFS=$as_save_IFS
6780
6781fi
6782fi
6783ac_ct_AR=$ac_cv_prog_ac_ct_AR
6784if test -n "$ac_ct_AR"; then
6785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6786$as_echo "$ac_ct_AR" >&6; }
6787else
6788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6789$as_echo "no" >&6; }
6790fi
6791
6792  if test "x$ac_ct_AR" = x; then
6793    AR="false"
6794  else
6795    case $cross_compiling:$ac_tool_warned in
6796yes:)
6797{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6798$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6799ac_tool_warned=yes ;;
6800esac
6801    AR=$ac_ct_AR
6802  fi
6803else
6804  AR="$ac_cv_prog_AR"
6805fi
6806
6807test -z "$AR" && AR=ar
6808test -z "$AR_FLAGS" && AR_FLAGS=cru
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820if test -n "$ac_tool_prefix"; then
6821  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6822set dummy ${ac_tool_prefix}strip; ac_word=$2
6823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6824$as_echo_n "checking for $ac_word... " >&6; }
6825if test "${ac_cv_prog_STRIP+set}" = set; then :
6826  $as_echo_n "(cached) " >&6
6827else
6828  if test -n "$STRIP"; then
6829  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6830else
6831as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6832for as_dir in $PATH
6833do
6834  IFS=$as_save_IFS
6835  test -z "$as_dir" && as_dir=.
6836    for ac_exec_ext in '' $ac_executable_extensions; do
6837  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6838    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6839    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6840    break 2
6841  fi
6842done
6843  done
6844IFS=$as_save_IFS
6845
6846fi
6847fi
6848STRIP=$ac_cv_prog_STRIP
6849if test -n "$STRIP"; then
6850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6851$as_echo "$STRIP" >&6; }
6852else
6853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6854$as_echo "no" >&6; }
6855fi
6856
6857
6858fi
6859if test -z "$ac_cv_prog_STRIP"; then
6860  ac_ct_STRIP=$STRIP
6861  # Extract the first word of "strip", so it can be a program name with args.
6862set dummy strip; ac_word=$2
6863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6864$as_echo_n "checking for $ac_word... " >&6; }
6865if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6866  $as_echo_n "(cached) " >&6
6867else
6868  if test -n "$ac_ct_STRIP"; then
6869  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6870else
6871as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6872for as_dir in $PATH
6873do
6874  IFS=$as_save_IFS
6875  test -z "$as_dir" && as_dir=.
6876    for ac_exec_ext in '' $ac_executable_extensions; do
6877  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6878    ac_cv_prog_ac_ct_STRIP="strip"
6879    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6880    break 2
6881  fi
6882done
6883  done
6884IFS=$as_save_IFS
6885
6886fi
6887fi
6888ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6889if test -n "$ac_ct_STRIP"; then
6890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6891$as_echo "$ac_ct_STRIP" >&6; }
6892else
6893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6894$as_echo "no" >&6; }
6895fi
6896
6897  if test "x$ac_ct_STRIP" = x; then
6898    STRIP=":"
6899  else
6900    case $cross_compiling:$ac_tool_warned in
6901yes:)
6902{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6903$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6904ac_tool_warned=yes ;;
6905esac
6906    STRIP=$ac_ct_STRIP
6907  fi
6908else
6909  STRIP="$ac_cv_prog_STRIP"
6910fi
6911
6912test -z "$STRIP" && STRIP=:
6913
6914
6915
6916
6917
6918
6919if test -n "$ac_tool_prefix"; then
6920  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6921set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6923$as_echo_n "checking for $ac_word... " >&6; }
6924if test "${ac_cv_prog_RANLIB+set}" = set; then :
6925  $as_echo_n "(cached) " >&6
6926else
6927  if test -n "$RANLIB"; then
6928  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6929else
6930as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6931for as_dir in $PATH
6932do
6933  IFS=$as_save_IFS
6934  test -z "$as_dir" && as_dir=.
6935    for ac_exec_ext in '' $ac_executable_extensions; do
6936  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6937    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6938    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6939    break 2
6940  fi
6941done
6942  done
6943IFS=$as_save_IFS
6944
6945fi
6946fi
6947RANLIB=$ac_cv_prog_RANLIB
6948if test -n "$RANLIB"; then
6949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6950$as_echo "$RANLIB" >&6; }
6951else
6952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6953$as_echo "no" >&6; }
6954fi
6955
6956
6957fi
6958if test -z "$ac_cv_prog_RANLIB"; then
6959  ac_ct_RANLIB=$RANLIB
6960  # Extract the first word of "ranlib", so it can be a program name with args.
6961set dummy ranlib; ac_word=$2
6962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6963$as_echo_n "checking for $ac_word... " >&6; }
6964if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6965  $as_echo_n "(cached) " >&6
6966else
6967  if test -n "$ac_ct_RANLIB"; then
6968  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6969else
6970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6971for as_dir in $PATH
6972do
6973  IFS=$as_save_IFS
6974  test -z "$as_dir" && as_dir=.
6975    for ac_exec_ext in '' $ac_executable_extensions; do
6976  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6977    ac_cv_prog_ac_ct_RANLIB="ranlib"
6978    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6979    break 2
6980  fi
6981done
6982  done
6983IFS=$as_save_IFS
6984
6985fi
6986fi
6987ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6988if test -n "$ac_ct_RANLIB"; then
6989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6990$as_echo "$ac_ct_RANLIB" >&6; }
6991else
6992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6993$as_echo "no" >&6; }
6994fi
6995
6996  if test "x$ac_ct_RANLIB" = x; then
6997    RANLIB=":"
6998  else
6999    case $cross_compiling:$ac_tool_warned in
7000yes:)
7001{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7002$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7003ac_tool_warned=yes ;;
7004esac
7005    RANLIB=$ac_ct_RANLIB
7006  fi
7007else
7008  RANLIB="$ac_cv_prog_RANLIB"
7009fi
7010
7011test -z "$RANLIB" && RANLIB=:
7012
7013
7014
7015
7016
7017
7018# Determine commands to create old-style static archives.
7019old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7020old_postinstall_cmds='chmod 644 $oldlib'
7021old_postuninstall_cmds=
7022
7023if test -n "$RANLIB"; then
7024  case $host_os in
7025  openbsd*)
7026    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7027    ;;
7028  *)
7029    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7030    ;;
7031  esac
7032  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7033fi
7034
7035case $host_os in
7036  darwin*)
7037    lock_old_archive_extraction=yes ;;
7038  *)
7039    lock_old_archive_extraction=no ;;
7040esac
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080# If no C compiler was specified, use CC.
7081LTCC=${LTCC-"$CC"}
7082
7083# If no C compiler flags were specified, use CFLAGS.
7084LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7085
7086# Allow CC to be a program name with arguments.
7087compiler=$CC
7088
7089
7090# Check for command to grab the raw symbol name followed by C symbol from nm.
7091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7092$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7093if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7094  $as_echo_n "(cached) " >&6
7095else
7096
7097# These are sane defaults that work on at least a few old systems.
7098# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7099
7100# Character class describing NM global symbol codes.
7101symcode='[BCDEGRST]'
7102
7103# Regexp to match symbols that can be accessed directly from C.
7104sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7105
7106# Define system-specific variables.
7107case $host_os in
7108aix*)
7109  symcode='[BCDT]'
7110  ;;
7111cygwin* | mingw* | pw32* | cegcc*)
7112  symcode='[ABCDGISTW]'
7113  ;;
7114hpux*)
7115  if test "$host_cpu" = ia64; then
7116    symcode='[ABCDEGRST]'
7117  fi
7118  ;;
7119irix* | nonstopux*)
7120  symcode='[BCDEGRST]'
7121  ;;
7122osf*)
7123  symcode='[BCDEGQRST]'
7124  ;;
7125solaris*)
7126  symcode='[BDRT]'
7127  ;;
7128sco3.2v5*)
7129  symcode='[DT]'
7130  ;;
7131sysv4.2uw2*)
7132  symcode='[DT]'
7133  ;;
7134sysv5* | sco5v6* | unixware* | OpenUNIX*)
7135  symcode='[ABDT]'
7136  ;;
7137sysv4)
7138  symcode='[DFNSTU]'
7139  ;;
7140esac
7141
7142# If we're using GNU nm, then use its standard symbol codes.
7143case `$NM -V 2>&1` in
7144*GNU* | *'with BFD'*)
7145  symcode='[ABCDGIRSTW]' ;;
7146esac
7147
7148# Transform an extracted symbol line into a proper C declaration.
7149# Some systems (esp. on ia64) link data and code symbols differently,
7150# so use this general approach.
7151lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7152
7153# Transform an extracted symbol line into symbol name and symbol address
7154lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7155lt_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'"
7156
7157# Handle CRLF in mingw tool chain
7158opt_cr=
7159case $build_os in
7160mingw*)
7161  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7162  ;;
7163esac
7164
7165# Try without a prefix underscore, then with it.
7166for ac_symprfx in "" "_"; do
7167
7168  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7169  symxfrm="\\1 $ac_symprfx\\2 \\2"
7170
7171  # Write the raw and C identifiers.
7172  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7173    # Fake it for dumpbin and say T for any non-static function
7174    # and D for any global variable.
7175    # Also find C++ and __fastcall symbols from MSVC++,
7176    # which start with @ or ?.
7177    lt_cv_sys_global_symbol_pipe="$AWK '"\
7178"     {last_section=section; section=\$ 3};"\
7179"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7180"     \$ 0!~/External *\|/{next};"\
7181"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7182"     {if(hide[section]) next};"\
7183"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7184"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7185"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7186"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7187"     ' prfx=^$ac_symprfx"
7188  else
7189    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7190  fi
7191
7192  # Check to see that the pipe works correctly.
7193  pipe_works=no
7194
7195  rm -f conftest*
7196  cat > conftest.$ac_ext <<_LT_EOF
7197#ifdef __cplusplus
7198extern "C" {
7199#endif
7200char nm_test_var;
7201void nm_test_func(void);
7202void nm_test_func(void){}
7203#ifdef __cplusplus
7204}
7205#endif
7206int main(){nm_test_var='a';nm_test_func();return(0);}
7207_LT_EOF
7208
7209  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7210  (eval $ac_compile) 2>&5
7211  ac_status=$?
7212  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7213  test $ac_status = 0; }; then
7214    # Now try to grab the symbols.
7215    nlist=conftest.nm
7216    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7217  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7218  ac_status=$?
7219  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7220  test $ac_status = 0; } && test -s "$nlist"; then
7221      # Try sorting and uniquifying the output.
7222      if sort "$nlist" | uniq > "$nlist"T; then
7223	mv -f "$nlist"T "$nlist"
7224      else
7225	rm -f "$nlist"T
7226      fi
7227
7228      # Make sure that we snagged all the symbols we need.
7229      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7230	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7231	  cat <<_LT_EOF > conftest.$ac_ext
7232#ifdef __cplusplus
7233extern "C" {
7234#endif
7235
7236_LT_EOF
7237	  # Now generate the symbol file.
7238	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7239
7240	  cat <<_LT_EOF >> conftest.$ac_ext
7241
7242/* The mapping between symbol names and symbols.  */
7243const struct {
7244  const char *name;
7245  void       *address;
7246}
7247lt__PROGRAM__LTX_preloaded_symbols[] =
7248{
7249  { "@PROGRAM@", (void *) 0 },
7250_LT_EOF
7251	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7252	  cat <<\_LT_EOF >> conftest.$ac_ext
7253  {0, (void *) 0}
7254};
7255
7256/* This works around a problem in FreeBSD linker */
7257#ifdef FREEBSD_WORKAROUND
7258static const void *lt_preloaded_setup() {
7259  return lt__PROGRAM__LTX_preloaded_symbols;
7260}
7261#endif
7262
7263#ifdef __cplusplus
7264}
7265#endif
7266_LT_EOF
7267	  # Now try linking the two files.
7268	  mv conftest.$ac_objext conftstm.$ac_objext
7269	  lt_save_LIBS="$LIBS"
7270	  lt_save_CFLAGS="$CFLAGS"
7271	  LIBS="conftstm.$ac_objext"
7272	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7273	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7274  (eval $ac_link) 2>&5
7275  ac_status=$?
7276  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7277  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7278	    pipe_works=yes
7279	  fi
7280	  LIBS="$lt_save_LIBS"
7281	  CFLAGS="$lt_save_CFLAGS"
7282	else
7283	  echo "cannot find nm_test_func in $nlist" >&5
7284	fi
7285      else
7286	echo "cannot find nm_test_var in $nlist" >&5
7287      fi
7288    else
7289      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7290    fi
7291  else
7292    echo "$progname: failed program was:" >&5
7293    cat conftest.$ac_ext >&5
7294  fi
7295  rm -rf conftest* conftst*
7296
7297  # Do not use the global_symbol_pipe unless it works.
7298  if test "$pipe_works" = yes; then
7299    break
7300  else
7301    lt_cv_sys_global_symbol_pipe=
7302  fi
7303done
7304
7305fi
7306
7307if test -z "$lt_cv_sys_global_symbol_pipe"; then
7308  lt_cv_sys_global_symbol_to_cdecl=
7309fi
7310if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7312$as_echo "failed" >&6; }
7313else
7314  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7315$as_echo "ok" >&6; }
7316fi
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339# Check whether --enable-libtool-lock was given.
7340if test "${enable_libtool_lock+set}" = set; then :
7341  enableval=$enable_libtool_lock;
7342fi
7343
7344test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7345
7346# Some flags need to be propagated to the compiler or linker for good
7347# libtool support.
7348case $host in
7349ia64-*-hpux*)
7350  # Find out which ABI we are using.
7351  echo 'int i;' > conftest.$ac_ext
7352  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7353  (eval $ac_compile) 2>&5
7354  ac_status=$?
7355  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7356  test $ac_status = 0; }; then
7357    case `/usr/bin/file conftest.$ac_objext` in
7358      *ELF-32*)
7359	HPUX_IA64_MODE="32"
7360	;;
7361      *ELF-64*)
7362	HPUX_IA64_MODE="64"
7363	;;
7364    esac
7365  fi
7366  rm -rf conftest*
7367  ;;
7368*-*-irix6*)
7369  # Find out which ABI we are using.
7370  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7371  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7372  (eval $ac_compile) 2>&5
7373  ac_status=$?
7374  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7375  test $ac_status = 0; }; then
7376    if test "$lt_cv_prog_gnu_ld" = yes; then
7377      case `/usr/bin/file conftest.$ac_objext` in
7378	*32-bit*)
7379	  LD="${LD-ld} -melf32bsmip"
7380	  ;;
7381	*N32*)
7382	  LD="${LD-ld} -melf32bmipn32"
7383	  ;;
7384	*64-bit*)
7385	  LD="${LD-ld} -melf64bmip"
7386	;;
7387      esac
7388    else
7389      case `/usr/bin/file conftest.$ac_objext` in
7390	*32-bit*)
7391	  LD="${LD-ld} -32"
7392	  ;;
7393	*N32*)
7394	  LD="${LD-ld} -n32"
7395	  ;;
7396	*64-bit*)
7397	  LD="${LD-ld} -64"
7398	  ;;
7399      esac
7400    fi
7401  fi
7402  rm -rf conftest*
7403  ;;
7404
7405x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7406s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7407  # Find out which ABI we are using.
7408  echo 'int i;' > conftest.$ac_ext
7409  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7410  (eval $ac_compile) 2>&5
7411  ac_status=$?
7412  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7413  test $ac_status = 0; }; then
7414    case `/usr/bin/file conftest.o` in
7415      *32-bit*)
7416	case $host in
7417	  x86_64-*kfreebsd*-gnu)
7418	    LD="${LD-ld} -m elf_i386_fbsd"
7419	    ;;
7420	  x86_64-*linux*)
7421	    case `/usr/bin/file conftest.o` in
7422	      *x86-64*)
7423		LD="${LD-ld} -m elf32_x86_64"
7424		;;
7425	      *)
7426		LD="${LD-ld} -m elf_i386"
7427		;;
7428	    esac
7429	    ;;
7430	  powerpc64le-*linux*)
7431	    LD="${LD-ld} -m elf32lppclinux"
7432	    ;;
7433	  powerpc64-*linux*)
7434	    LD="${LD-ld} -m elf32ppclinux"
7435	    ;;
7436	  s390x-*linux*)
7437	    LD="${LD-ld} -m elf_s390"
7438	    ;;
7439	  sparc64-*linux*)
7440	    LD="${LD-ld} -m elf32_sparc"
7441	    ;;
7442	esac
7443	;;
7444      *64-bit*)
7445	case $host in
7446	  x86_64-*kfreebsd*-gnu)
7447	    LD="${LD-ld} -m elf_x86_64_fbsd"
7448	    ;;
7449	  x86_64-*linux*)
7450	    LD="${LD-ld} -m elf_x86_64"
7451	    ;;
7452	  powerpcle-*linux*)
7453	    LD="${LD-ld} -m elf64lppc"
7454	    ;;
7455	  powerpc-*linux*)
7456	    LD="${LD-ld} -m elf64ppc"
7457	    ;;
7458	  s390*-*linux*|s390*-*tpf*)
7459	    LD="${LD-ld} -m elf64_s390"
7460	    ;;
7461	  sparc*-*linux*)
7462	    LD="${LD-ld} -m elf64_sparc"
7463	    ;;
7464	esac
7465	;;
7466    esac
7467  fi
7468  rm -rf conftest*
7469  ;;
7470
7471*-*-sco3.2v5*)
7472  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7473  SAVE_CFLAGS="$CFLAGS"
7474  CFLAGS="$CFLAGS -belf"
7475  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7476$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7477if test "${lt_cv_cc_needs_belf+set}" = set; then :
7478  $as_echo_n "(cached) " >&6
7479else
7480  ac_ext=c
7481ac_cpp='$CPP $CPPFLAGS'
7482ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7483ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7484ac_compiler_gnu=$ac_cv_c_compiler_gnu
7485
7486     if test x$gcc_no_link = xyes; then
7487  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7488fi
7489cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7490/* end confdefs.h.  */
7491
7492int
7493main ()
7494{
7495
7496  ;
7497  return 0;
7498}
7499_ACEOF
7500if ac_fn_c_try_link "$LINENO"; then :
7501  lt_cv_cc_needs_belf=yes
7502else
7503  lt_cv_cc_needs_belf=no
7504fi
7505rm -f core conftest.err conftest.$ac_objext \
7506    conftest$ac_exeext conftest.$ac_ext
7507     ac_ext=c
7508ac_cpp='$CPP $CPPFLAGS'
7509ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7510ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7511ac_compiler_gnu=$ac_cv_c_compiler_gnu
7512
7513fi
7514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7515$as_echo "$lt_cv_cc_needs_belf" >&6; }
7516  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7517    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7518    CFLAGS="$SAVE_CFLAGS"
7519  fi
7520  ;;
7521sparc*-*solaris*)
7522  # Find out which ABI we are using.
7523  echo 'int i;' > conftest.$ac_ext
7524  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7525  (eval $ac_compile) 2>&5
7526  ac_status=$?
7527  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7528  test $ac_status = 0; }; then
7529    case `/usr/bin/file conftest.o` in
7530    *64-bit*)
7531      case $lt_cv_prog_gnu_ld in
7532      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7533      *)
7534	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7535	  LD="${LD-ld} -64"
7536	fi
7537	;;
7538      esac
7539      ;;
7540    esac
7541  fi
7542  rm -rf conftest*
7543  ;;
7544esac
7545
7546need_locks="$enable_libtool_lock"
7547
7548
7549  case $host_os in
7550    rhapsody* | darwin*)
7551    if test -n "$ac_tool_prefix"; then
7552  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7553set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7555$as_echo_n "checking for $ac_word... " >&6; }
7556if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7557  $as_echo_n "(cached) " >&6
7558else
7559  if test -n "$DSYMUTIL"; then
7560  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7561else
7562as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7563for as_dir in $PATH
7564do
7565  IFS=$as_save_IFS
7566  test -z "$as_dir" && as_dir=.
7567    for ac_exec_ext in '' $ac_executable_extensions; do
7568  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7569    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7570    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7571    break 2
7572  fi
7573done
7574  done
7575IFS=$as_save_IFS
7576
7577fi
7578fi
7579DSYMUTIL=$ac_cv_prog_DSYMUTIL
7580if test -n "$DSYMUTIL"; then
7581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7582$as_echo "$DSYMUTIL" >&6; }
7583else
7584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7585$as_echo "no" >&6; }
7586fi
7587
7588
7589fi
7590if test -z "$ac_cv_prog_DSYMUTIL"; then
7591  ac_ct_DSYMUTIL=$DSYMUTIL
7592  # Extract the first word of "dsymutil", so it can be a program name with args.
7593set dummy dsymutil; ac_word=$2
7594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7595$as_echo_n "checking for $ac_word... " >&6; }
7596if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7597  $as_echo_n "(cached) " >&6
7598else
7599  if test -n "$ac_ct_DSYMUTIL"; then
7600  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7601else
7602as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7603for as_dir in $PATH
7604do
7605  IFS=$as_save_IFS
7606  test -z "$as_dir" && as_dir=.
7607    for ac_exec_ext in '' $ac_executable_extensions; do
7608  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7609    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7610    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7611    break 2
7612  fi
7613done
7614  done
7615IFS=$as_save_IFS
7616
7617fi
7618fi
7619ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7620if test -n "$ac_ct_DSYMUTIL"; then
7621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7622$as_echo "$ac_ct_DSYMUTIL" >&6; }
7623else
7624  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7625$as_echo "no" >&6; }
7626fi
7627
7628  if test "x$ac_ct_DSYMUTIL" = x; then
7629    DSYMUTIL=":"
7630  else
7631    case $cross_compiling:$ac_tool_warned in
7632yes:)
7633{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7634$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7635ac_tool_warned=yes ;;
7636esac
7637    DSYMUTIL=$ac_ct_DSYMUTIL
7638  fi
7639else
7640  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7641fi
7642
7643    if test -n "$ac_tool_prefix"; then
7644  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7645set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7647$as_echo_n "checking for $ac_word... " >&6; }
7648if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7649  $as_echo_n "(cached) " >&6
7650else
7651  if test -n "$NMEDIT"; then
7652  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7653else
7654as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7655for as_dir in $PATH
7656do
7657  IFS=$as_save_IFS
7658  test -z "$as_dir" && as_dir=.
7659    for ac_exec_ext in '' $ac_executable_extensions; do
7660  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7661    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7662    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7663    break 2
7664  fi
7665done
7666  done
7667IFS=$as_save_IFS
7668
7669fi
7670fi
7671NMEDIT=$ac_cv_prog_NMEDIT
7672if test -n "$NMEDIT"; then
7673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7674$as_echo "$NMEDIT" >&6; }
7675else
7676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7677$as_echo "no" >&6; }
7678fi
7679
7680
7681fi
7682if test -z "$ac_cv_prog_NMEDIT"; then
7683  ac_ct_NMEDIT=$NMEDIT
7684  # Extract the first word of "nmedit", so it can be a program name with args.
7685set dummy nmedit; ac_word=$2
7686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7687$as_echo_n "checking for $ac_word... " >&6; }
7688if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7689  $as_echo_n "(cached) " >&6
7690else
7691  if test -n "$ac_ct_NMEDIT"; then
7692  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7693else
7694as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7695for as_dir in $PATH
7696do
7697  IFS=$as_save_IFS
7698  test -z "$as_dir" && as_dir=.
7699    for ac_exec_ext in '' $ac_executable_extensions; do
7700  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7701    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7702    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7703    break 2
7704  fi
7705done
7706  done
7707IFS=$as_save_IFS
7708
7709fi
7710fi
7711ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7712if test -n "$ac_ct_NMEDIT"; then
7713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7714$as_echo "$ac_ct_NMEDIT" >&6; }
7715else
7716  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7717$as_echo "no" >&6; }
7718fi
7719
7720  if test "x$ac_ct_NMEDIT" = x; then
7721    NMEDIT=":"
7722  else
7723    case $cross_compiling:$ac_tool_warned in
7724yes:)
7725{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7726$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7727ac_tool_warned=yes ;;
7728esac
7729    NMEDIT=$ac_ct_NMEDIT
7730  fi
7731else
7732  NMEDIT="$ac_cv_prog_NMEDIT"
7733fi
7734
7735    if test -n "$ac_tool_prefix"; then
7736  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7737set dummy ${ac_tool_prefix}lipo; ac_word=$2
7738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7739$as_echo_n "checking for $ac_word... " >&6; }
7740if test "${ac_cv_prog_LIPO+set}" = set; then :
7741  $as_echo_n "(cached) " >&6
7742else
7743  if test -n "$LIPO"; then
7744  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7745else
7746as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7747for as_dir in $PATH
7748do
7749  IFS=$as_save_IFS
7750  test -z "$as_dir" && as_dir=.
7751    for ac_exec_ext in '' $ac_executable_extensions; do
7752  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7753    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7754    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7755    break 2
7756  fi
7757done
7758  done
7759IFS=$as_save_IFS
7760
7761fi
7762fi
7763LIPO=$ac_cv_prog_LIPO
7764if test -n "$LIPO"; then
7765  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7766$as_echo "$LIPO" >&6; }
7767else
7768  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7769$as_echo "no" >&6; }
7770fi
7771
7772
7773fi
7774if test -z "$ac_cv_prog_LIPO"; then
7775  ac_ct_LIPO=$LIPO
7776  # Extract the first word of "lipo", so it can be a program name with args.
7777set dummy lipo; ac_word=$2
7778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7779$as_echo_n "checking for $ac_word... " >&6; }
7780if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7781  $as_echo_n "(cached) " >&6
7782else
7783  if test -n "$ac_ct_LIPO"; then
7784  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7785else
7786as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7787for as_dir in $PATH
7788do
7789  IFS=$as_save_IFS
7790  test -z "$as_dir" && as_dir=.
7791    for ac_exec_ext in '' $ac_executable_extensions; do
7792  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7793    ac_cv_prog_ac_ct_LIPO="lipo"
7794    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7795    break 2
7796  fi
7797done
7798  done
7799IFS=$as_save_IFS
7800
7801fi
7802fi
7803ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7804if test -n "$ac_ct_LIPO"; then
7805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7806$as_echo "$ac_ct_LIPO" >&6; }
7807else
7808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7809$as_echo "no" >&6; }
7810fi
7811
7812  if test "x$ac_ct_LIPO" = x; then
7813    LIPO=":"
7814  else
7815    case $cross_compiling:$ac_tool_warned in
7816yes:)
7817{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7818$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7819ac_tool_warned=yes ;;
7820esac
7821    LIPO=$ac_ct_LIPO
7822  fi
7823else
7824  LIPO="$ac_cv_prog_LIPO"
7825fi
7826
7827    if test -n "$ac_tool_prefix"; then
7828  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7829set dummy ${ac_tool_prefix}otool; ac_word=$2
7830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7831$as_echo_n "checking for $ac_word... " >&6; }
7832if test "${ac_cv_prog_OTOOL+set}" = set; then :
7833  $as_echo_n "(cached) " >&6
7834else
7835  if test -n "$OTOOL"; then
7836  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7837else
7838as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7839for as_dir in $PATH
7840do
7841  IFS=$as_save_IFS
7842  test -z "$as_dir" && as_dir=.
7843    for ac_exec_ext in '' $ac_executable_extensions; do
7844  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7845    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7846    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7847    break 2
7848  fi
7849done
7850  done
7851IFS=$as_save_IFS
7852
7853fi
7854fi
7855OTOOL=$ac_cv_prog_OTOOL
7856if test -n "$OTOOL"; then
7857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7858$as_echo "$OTOOL" >&6; }
7859else
7860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7861$as_echo "no" >&6; }
7862fi
7863
7864
7865fi
7866if test -z "$ac_cv_prog_OTOOL"; then
7867  ac_ct_OTOOL=$OTOOL
7868  # Extract the first word of "otool", so it can be a program name with args.
7869set dummy otool; ac_word=$2
7870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7871$as_echo_n "checking for $ac_word... " >&6; }
7872if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7873  $as_echo_n "(cached) " >&6
7874else
7875  if test -n "$ac_ct_OTOOL"; then
7876  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7877else
7878as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7879for as_dir in $PATH
7880do
7881  IFS=$as_save_IFS
7882  test -z "$as_dir" && as_dir=.
7883    for ac_exec_ext in '' $ac_executable_extensions; do
7884  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7885    ac_cv_prog_ac_ct_OTOOL="otool"
7886    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7887    break 2
7888  fi
7889done
7890  done
7891IFS=$as_save_IFS
7892
7893fi
7894fi
7895ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7896if test -n "$ac_ct_OTOOL"; then
7897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7898$as_echo "$ac_ct_OTOOL" >&6; }
7899else
7900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7901$as_echo "no" >&6; }
7902fi
7903
7904  if test "x$ac_ct_OTOOL" = x; then
7905    OTOOL=":"
7906  else
7907    case $cross_compiling:$ac_tool_warned in
7908yes:)
7909{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7910$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7911ac_tool_warned=yes ;;
7912esac
7913    OTOOL=$ac_ct_OTOOL
7914  fi
7915else
7916  OTOOL="$ac_cv_prog_OTOOL"
7917fi
7918
7919    if test -n "$ac_tool_prefix"; then
7920  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7921set dummy ${ac_tool_prefix}otool64; ac_word=$2
7922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7923$as_echo_n "checking for $ac_word... " >&6; }
7924if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7925  $as_echo_n "(cached) " >&6
7926else
7927  if test -n "$OTOOL64"; then
7928  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7929else
7930as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7931for as_dir in $PATH
7932do
7933  IFS=$as_save_IFS
7934  test -z "$as_dir" && as_dir=.
7935    for ac_exec_ext in '' $ac_executable_extensions; do
7936  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7937    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7938    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7939    break 2
7940  fi
7941done
7942  done
7943IFS=$as_save_IFS
7944
7945fi
7946fi
7947OTOOL64=$ac_cv_prog_OTOOL64
7948if test -n "$OTOOL64"; then
7949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7950$as_echo "$OTOOL64" >&6; }
7951else
7952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7953$as_echo "no" >&6; }
7954fi
7955
7956
7957fi
7958if test -z "$ac_cv_prog_OTOOL64"; then
7959  ac_ct_OTOOL64=$OTOOL64
7960  # Extract the first word of "otool64", so it can be a program name with args.
7961set dummy otool64; ac_word=$2
7962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7963$as_echo_n "checking for $ac_word... " >&6; }
7964if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7965  $as_echo_n "(cached) " >&6
7966else
7967  if test -n "$ac_ct_OTOOL64"; then
7968  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7969else
7970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7971for as_dir in $PATH
7972do
7973  IFS=$as_save_IFS
7974  test -z "$as_dir" && as_dir=.
7975    for ac_exec_ext in '' $ac_executable_extensions; do
7976  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7977    ac_cv_prog_ac_ct_OTOOL64="otool64"
7978    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7979    break 2
7980  fi
7981done
7982  done
7983IFS=$as_save_IFS
7984
7985fi
7986fi
7987ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7988if test -n "$ac_ct_OTOOL64"; then
7989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7990$as_echo "$ac_ct_OTOOL64" >&6; }
7991else
7992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7993$as_echo "no" >&6; }
7994fi
7995
7996  if test "x$ac_ct_OTOOL64" = x; then
7997    OTOOL64=":"
7998  else
7999    case $cross_compiling:$ac_tool_warned in
8000yes:)
8001{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8002$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8003ac_tool_warned=yes ;;
8004esac
8005    OTOOL64=$ac_ct_OTOOL64
8006  fi
8007else
8008  OTOOL64="$ac_cv_prog_OTOOL64"
8009fi
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8038$as_echo_n "checking for -single_module linker flag... " >&6; }
8039if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8040  $as_echo_n "(cached) " >&6
8041else
8042  lt_cv_apple_cc_single_mod=no
8043      if test -z "${LT_MULTI_MODULE}"; then
8044	# By default we will add the -single_module flag. You can override
8045	# by either setting the environment variable LT_MULTI_MODULE
8046	# non-empty at configure time, or by adding -multi_module to the
8047	# link flags.
8048	rm -rf libconftest.dylib*
8049	echo "int foo(void){return 1;}" > conftest.c
8050	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8051-dynamiclib -Wl,-single_module conftest.c" >&5
8052	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8053	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8054        _lt_result=$?
8055	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8056	  lt_cv_apple_cc_single_mod=yes
8057	else
8058	  cat conftest.err >&5
8059	fi
8060	rm -rf libconftest.dylib*
8061	rm -f conftest.*
8062      fi
8063fi
8064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8065$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8066    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8067$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8068if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8069  $as_echo_n "(cached) " >&6
8070else
8071  lt_cv_ld_exported_symbols_list=no
8072      save_LDFLAGS=$LDFLAGS
8073      echo "_main" > conftest.sym
8074      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8075      if test x$gcc_no_link = xyes; then
8076  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8077fi
8078cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8079/* end confdefs.h.  */
8080
8081int
8082main ()
8083{
8084
8085  ;
8086  return 0;
8087}
8088_ACEOF
8089if ac_fn_c_try_link "$LINENO"; then :
8090  lt_cv_ld_exported_symbols_list=yes
8091else
8092  lt_cv_ld_exported_symbols_list=no
8093fi
8094rm -f core conftest.err conftest.$ac_objext \
8095    conftest$ac_exeext conftest.$ac_ext
8096	LDFLAGS="$save_LDFLAGS"
8097
8098fi
8099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8100$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8101    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8102$as_echo_n "checking for -force_load linker flag... " >&6; }
8103if test "${lt_cv_ld_force_load+set}" = set; then :
8104  $as_echo_n "(cached) " >&6
8105else
8106  lt_cv_ld_force_load=no
8107      cat > conftest.c << _LT_EOF
8108int forced_loaded() { return 2;}
8109_LT_EOF
8110      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8111      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8112      echo "$AR cru libconftest.a conftest.o" >&5
8113      $AR cru libconftest.a conftest.o 2>&5
8114      cat > conftest.c << _LT_EOF
8115int main() { return 0;}
8116_LT_EOF
8117      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8118      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8119      _lt_result=$?
8120      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8121	lt_cv_ld_force_load=yes
8122      else
8123	cat conftest.err >&5
8124      fi
8125        rm -f conftest.err libconftest.a conftest conftest.c
8126        rm -rf conftest.dSYM
8127
8128fi
8129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8130$as_echo "$lt_cv_ld_force_load" >&6; }
8131    case $host_os in
8132    rhapsody* | darwin1.[012])
8133      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8134    darwin1.*)
8135      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8136    darwin*) # darwin 5.x on
8137      # if running on 10.5 or later, the deployment target defaults
8138      # to the OS version, if on x86, and 10.4, the deployment
8139      # target defaults to 10.4. Don't you love it?
8140      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8141	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8142	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8143	10.[012][,.]*)
8144	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8145	10.*)
8146	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8147      esac
8148    ;;
8149  esac
8150    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8151      _lt_dar_single_mod='$single_module'
8152    fi
8153    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8154      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8155    else
8156      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8157    fi
8158    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8159      _lt_dsymutil='~$DSYMUTIL $lib || :'
8160    else
8161      _lt_dsymutil=
8162    fi
8163    ;;
8164  esac
8165
8166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8167$as_echo_n "checking for ANSI C header files... " >&6; }
8168if test "${ac_cv_header_stdc+set}" = set; then :
8169  $as_echo_n "(cached) " >&6
8170else
8171  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8172/* end confdefs.h.  */
8173#include <stdlib.h>
8174#include <stdarg.h>
8175#include <string.h>
8176#include <float.h>
8177
8178int
8179main ()
8180{
8181
8182  ;
8183  return 0;
8184}
8185_ACEOF
8186if ac_fn_c_try_compile "$LINENO"; then :
8187  ac_cv_header_stdc=yes
8188else
8189  ac_cv_header_stdc=no
8190fi
8191rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8192
8193if test $ac_cv_header_stdc = yes; then
8194  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8195  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8196/* end confdefs.h.  */
8197#include <string.h>
8198
8199_ACEOF
8200if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8201  $EGREP "memchr" >/dev/null 2>&1; then :
8202
8203else
8204  ac_cv_header_stdc=no
8205fi
8206rm -f conftest*
8207
8208fi
8209
8210if test $ac_cv_header_stdc = yes; then
8211  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8212  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8213/* end confdefs.h.  */
8214#include <stdlib.h>
8215
8216_ACEOF
8217if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8218  $EGREP "free" >/dev/null 2>&1; then :
8219
8220else
8221  ac_cv_header_stdc=no
8222fi
8223rm -f conftest*
8224
8225fi
8226
8227if test $ac_cv_header_stdc = yes; then
8228  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8229  if test "$cross_compiling" = yes; then :
8230  :
8231else
8232  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8233/* end confdefs.h.  */
8234#include <ctype.h>
8235#include <stdlib.h>
8236#if ((' ' & 0x0FF) == 0x020)
8237# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8238# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8239#else
8240# define ISLOWER(c) \
8241		   (('a' <= (c) && (c) <= 'i') \
8242		     || ('j' <= (c) && (c) <= 'r') \
8243		     || ('s' <= (c) && (c) <= 'z'))
8244# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8245#endif
8246
8247#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8248int
8249main ()
8250{
8251  int i;
8252  for (i = 0; i < 256; i++)
8253    if (XOR (islower (i), ISLOWER (i))
8254	|| toupper (i) != TOUPPER (i))
8255      return 2;
8256  return 0;
8257}
8258_ACEOF
8259if ac_fn_c_try_run "$LINENO"; then :
8260
8261else
8262  ac_cv_header_stdc=no
8263fi
8264rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8265  conftest.$ac_objext conftest.beam conftest.$ac_ext
8266fi
8267
8268fi
8269fi
8270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8271$as_echo "$ac_cv_header_stdc" >&6; }
8272if test $ac_cv_header_stdc = yes; then
8273
8274$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8275
8276fi
8277
8278# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8279for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8280		  inttypes.h stdint.h unistd.h
8281do :
8282  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8283ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8284"
8285eval as_val=\$$as_ac_Header
8286   if test "x$as_val" = x""yes; then :
8287  cat >>confdefs.h <<_ACEOF
8288#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8289_ACEOF
8290
8291fi
8292
8293done
8294
8295
8296for ac_header in dlfcn.h
8297do :
8298  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8299"
8300if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8301  cat >>confdefs.h <<_ACEOF
8302#define HAVE_DLFCN_H 1
8303_ACEOF
8304
8305fi
8306
8307done
8308
8309
8310
8311
8312
8313
8314# Set options
8315
8316
8317
8318
8319  enable_win32_dll=no
8320
8321
8322            # Check whether --enable-shared was given.
8323if test "${enable_shared+set}" = set; then :
8324  enableval=$enable_shared; p=${PACKAGE-default}
8325    case $enableval in
8326    yes) enable_shared=yes ;;
8327    no) enable_shared=no ;;
8328    *)
8329      enable_shared=no
8330      # Look at the argument we got.  We use all the common list separators.
8331      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8332      for pkg in $enableval; do
8333	IFS="$lt_save_ifs"
8334	if test "X$pkg" = "X$p"; then
8335	  enable_shared=yes
8336	fi
8337      done
8338      IFS="$lt_save_ifs"
8339      ;;
8340    esac
8341else
8342  enable_shared=yes
8343fi
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353  # Check whether --enable-static was given.
8354if test "${enable_static+set}" = set; then :
8355  enableval=$enable_static; p=${PACKAGE-default}
8356    case $enableval in
8357    yes) enable_static=yes ;;
8358    no) enable_static=no ;;
8359    *)
8360     enable_static=no
8361      # Look at the argument we got.  We use all the common list separators.
8362      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8363      for pkg in $enableval; do
8364	IFS="$lt_save_ifs"
8365	if test "X$pkg" = "X$p"; then
8366	  enable_static=yes
8367	fi
8368      done
8369      IFS="$lt_save_ifs"
8370      ;;
8371    esac
8372else
8373  enable_static=yes
8374fi
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385# Check whether --with-pic was given.
8386if test "${with_pic+set}" = set; then :
8387  withval=$with_pic; pic_mode="$withval"
8388else
8389  pic_mode=default
8390fi
8391
8392
8393test -z "$pic_mode" && pic_mode=default
8394
8395
8396
8397
8398
8399
8400
8401  # Check whether --enable-fast-install was given.
8402if test "${enable_fast_install+set}" = set; then :
8403  enableval=$enable_fast_install; p=${PACKAGE-default}
8404    case $enableval in
8405    yes) enable_fast_install=yes ;;
8406    no) enable_fast_install=no ;;
8407    *)
8408      enable_fast_install=no
8409      # Look at the argument we got.  We use all the common list separators.
8410      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8411      for pkg in $enableval; do
8412	IFS="$lt_save_ifs"
8413	if test "X$pkg" = "X$p"; then
8414	  enable_fast_install=yes
8415	fi
8416      done
8417      IFS="$lt_save_ifs"
8418      ;;
8419    esac
8420else
8421  enable_fast_install=yes
8422fi
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434# This can be used to rebuild libtool when needed
8435LIBTOOL_DEPS="$ltmain"
8436
8437# Always use our own libtool.
8438LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465test -z "$LN_S" && LN_S="ln -s"
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480if test -n "${ZSH_VERSION+set}" ; then
8481   setopt NO_GLOB_SUBST
8482fi
8483
8484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8485$as_echo_n "checking for objdir... " >&6; }
8486if test "${lt_cv_objdir+set}" = set; then :
8487  $as_echo_n "(cached) " >&6
8488else
8489  rm -f .libs 2>/dev/null
8490mkdir .libs 2>/dev/null
8491if test -d .libs; then
8492  lt_cv_objdir=.libs
8493else
8494  # MS-DOS does not allow filenames that begin with a dot.
8495  lt_cv_objdir=_libs
8496fi
8497rmdir .libs 2>/dev/null
8498fi
8499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8500$as_echo "$lt_cv_objdir" >&6; }
8501objdir=$lt_cv_objdir
8502
8503
8504
8505
8506
8507cat >>confdefs.h <<_ACEOF
8508#define LT_OBJDIR "$lt_cv_objdir/"
8509_ACEOF
8510
8511
8512
8513
8514case $host_os in
8515aix3*)
8516  # AIX sometimes has problems with the GCC collect2 program.  For some
8517  # reason, if we set the COLLECT_NAMES environment variable, the problems
8518  # vanish in a puff of smoke.
8519  if test "X${COLLECT_NAMES+set}" != Xset; then
8520    COLLECT_NAMES=
8521    export COLLECT_NAMES
8522  fi
8523  ;;
8524esac
8525
8526# Global variables:
8527ofile=libtool
8528can_build_shared=yes
8529
8530# All known linkers require a `.a' archive for static linking (except MSVC,
8531# which needs '.lib').
8532libext=a
8533
8534with_gnu_ld="$lt_cv_prog_gnu_ld"
8535
8536old_CC="$CC"
8537old_CFLAGS="$CFLAGS"
8538
8539# Set sane defaults for various variables
8540test -z "$CC" && CC=cc
8541test -z "$LTCC" && LTCC=$CC
8542test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8543test -z "$LD" && LD=ld
8544test -z "$ac_objext" && ac_objext=o
8545
8546for cc_temp in $compiler""; do
8547  case $cc_temp in
8548    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8549    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8550    \-*) ;;
8551    *) break;;
8552  esac
8553done
8554cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8555
8556
8557# Only perform the check for file, if the check method requires it
8558test -z "$MAGIC_CMD" && MAGIC_CMD=file
8559case $deplibs_check_method in
8560file_magic*)
8561  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8562    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8563$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8564if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8565  $as_echo_n "(cached) " >&6
8566else
8567  case $MAGIC_CMD in
8568[\\/*] |  ?:[\\/]*)
8569  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8570  ;;
8571*)
8572  lt_save_MAGIC_CMD="$MAGIC_CMD"
8573  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8574  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8575  for ac_dir in $ac_dummy; do
8576    IFS="$lt_save_ifs"
8577    test -z "$ac_dir" && ac_dir=.
8578    if test -f $ac_dir/${ac_tool_prefix}file; then
8579      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8580      if test -n "$file_magic_test_file"; then
8581	case $deplibs_check_method in
8582	"file_magic "*)
8583	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8584	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8585	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8586	    $EGREP "$file_magic_regex" > /dev/null; then
8587	    :
8588	  else
8589	    cat <<_LT_EOF 1>&2
8590
8591*** Warning: the command libtool uses to detect shared libraries,
8592*** $file_magic_cmd, produces output that libtool cannot recognize.
8593*** The result is that libtool may fail to recognize shared libraries
8594*** as such.  This will affect the creation of libtool libraries that
8595*** depend on shared libraries, but programs linked with such libtool
8596*** libraries will work regardless of this problem.  Nevertheless, you
8597*** may want to report the problem to your system manager and/or to
8598*** bug-libtool@gnu.org
8599
8600_LT_EOF
8601	  fi ;;
8602	esac
8603      fi
8604      break
8605    fi
8606  done
8607  IFS="$lt_save_ifs"
8608  MAGIC_CMD="$lt_save_MAGIC_CMD"
8609  ;;
8610esac
8611fi
8612
8613MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8614if test -n "$MAGIC_CMD"; then
8615  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8616$as_echo "$MAGIC_CMD" >&6; }
8617else
8618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8619$as_echo "no" >&6; }
8620fi
8621
8622
8623
8624
8625
8626if test -z "$lt_cv_path_MAGIC_CMD"; then
8627  if test -n "$ac_tool_prefix"; then
8628    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8629$as_echo_n "checking for file... " >&6; }
8630if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8631  $as_echo_n "(cached) " >&6
8632else
8633  case $MAGIC_CMD in
8634[\\/*] |  ?:[\\/]*)
8635  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8636  ;;
8637*)
8638  lt_save_MAGIC_CMD="$MAGIC_CMD"
8639  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8640  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8641  for ac_dir in $ac_dummy; do
8642    IFS="$lt_save_ifs"
8643    test -z "$ac_dir" && ac_dir=.
8644    if test -f $ac_dir/file; then
8645      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8646      if test -n "$file_magic_test_file"; then
8647	case $deplibs_check_method in
8648	"file_magic "*)
8649	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8650	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8651	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8652	    $EGREP "$file_magic_regex" > /dev/null; then
8653	    :
8654	  else
8655	    cat <<_LT_EOF 1>&2
8656
8657*** Warning: the command libtool uses to detect shared libraries,
8658*** $file_magic_cmd, produces output that libtool cannot recognize.
8659*** The result is that libtool may fail to recognize shared libraries
8660*** as such.  This will affect the creation of libtool libraries that
8661*** depend on shared libraries, but programs linked with such libtool
8662*** libraries will work regardless of this problem.  Nevertheless, you
8663*** may want to report the problem to your system manager and/or to
8664*** bug-libtool@gnu.org
8665
8666_LT_EOF
8667	  fi ;;
8668	esac
8669      fi
8670      break
8671    fi
8672  done
8673  IFS="$lt_save_ifs"
8674  MAGIC_CMD="$lt_save_MAGIC_CMD"
8675  ;;
8676esac
8677fi
8678
8679MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8680if test -n "$MAGIC_CMD"; then
8681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8682$as_echo "$MAGIC_CMD" >&6; }
8683else
8684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8685$as_echo "no" >&6; }
8686fi
8687
8688
8689  else
8690    MAGIC_CMD=:
8691  fi
8692fi
8693
8694  fi
8695  ;;
8696esac
8697
8698# Use C for the default configuration in the libtool script
8699
8700lt_save_CC="$CC"
8701ac_ext=c
8702ac_cpp='$CPP $CPPFLAGS'
8703ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8704ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8705ac_compiler_gnu=$ac_cv_c_compiler_gnu
8706
8707
8708# Source file extension for C test sources.
8709ac_ext=c
8710
8711# Object file extension for compiled C test sources.
8712objext=o
8713objext=$objext
8714
8715# Code to be used in simple compile tests
8716lt_simple_compile_test_code="int some_variable = 0;"
8717
8718# Code to be used in simple link tests
8719lt_simple_link_test_code='int main(){return(0);}'
8720
8721
8722
8723
8724
8725
8726
8727# If no C compiler was specified, use CC.
8728LTCC=${LTCC-"$CC"}
8729
8730# If no C compiler flags were specified, use CFLAGS.
8731LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8732
8733# Allow CC to be a program name with arguments.
8734compiler=$CC
8735
8736# Save the default compiler, since it gets overwritten when the other
8737# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8738compiler_DEFAULT=$CC
8739
8740# save warnings/boilerplate of simple test code
8741ac_outfile=conftest.$ac_objext
8742echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8743eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8744_lt_compiler_boilerplate=`cat conftest.err`
8745$RM conftest*
8746
8747ac_outfile=conftest.$ac_objext
8748echo "$lt_simple_link_test_code" >conftest.$ac_ext
8749eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8750_lt_linker_boilerplate=`cat conftest.err`
8751$RM -r conftest*
8752
8753
8754## CAVEAT EMPTOR:
8755## There is no encapsulation within the following macros, do not change
8756## the running order or otherwise move them around unless you know exactly
8757## what you are doing...
8758if test -n "$compiler"; then
8759
8760lt_prog_compiler_no_builtin_flag=
8761
8762if test "$GCC" = yes; then
8763  case $cc_basename in
8764  nvcc*)
8765    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8766  *)
8767    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8768  esac
8769
8770  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8771$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8772if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8773  $as_echo_n "(cached) " >&6
8774else
8775  lt_cv_prog_compiler_rtti_exceptions=no
8776   ac_outfile=conftest.$ac_objext
8777   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8778   lt_compiler_flag="-fno-rtti -fno-exceptions"
8779   # Insert the option either (1) after the last *FLAGS variable, or
8780   # (2) before a word containing "conftest.", or (3) at the end.
8781   # Note that $ac_compile itself does not contain backslashes and begins
8782   # with a dollar sign (not a hyphen), so the echo should work correctly.
8783   # The option is referenced via a variable to avoid confusing sed.
8784   lt_compile=`echo "$ac_compile" | $SED \
8785   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8786   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8787   -e 's:$: $lt_compiler_flag:'`
8788   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8789   (eval "$lt_compile" 2>conftest.err)
8790   ac_status=$?
8791   cat conftest.err >&5
8792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793   if (exit $ac_status) && test -s "$ac_outfile"; then
8794     # The compiler can only warn and ignore the option if not recognized
8795     # So say no if there are warnings other than the usual output.
8796     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8797     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8798     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8799       lt_cv_prog_compiler_rtti_exceptions=yes
8800     fi
8801   fi
8802   $RM conftest*
8803
8804fi
8805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8806$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8807
8808if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8809    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8810else
8811    :
8812fi
8813
8814fi
8815
8816
8817
8818
8819
8820
8821  lt_prog_compiler_wl=
8822lt_prog_compiler_pic=
8823lt_prog_compiler_static=
8824
8825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8826$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8827
8828  if test "$GCC" = yes; then
8829    lt_prog_compiler_wl='-Wl,'
8830    lt_prog_compiler_static='-static'
8831
8832    case $host_os in
8833      aix*)
8834      # All AIX code is PIC.
8835      if test "$host_cpu" = ia64; then
8836	# AIX 5 now supports IA64 processor
8837	lt_prog_compiler_static='-Bstatic'
8838      fi
8839      lt_prog_compiler_pic='-fPIC'
8840      ;;
8841
8842    amigaos*)
8843      case $host_cpu in
8844      powerpc)
8845            # see comment about AmigaOS4 .so support
8846            lt_prog_compiler_pic='-fPIC'
8847        ;;
8848      m68k)
8849            # FIXME: we need at least 68020 code to build shared libraries, but
8850            # adding the `-m68020' flag to GCC prevents building anything better,
8851            # like `-m68040'.
8852            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8853        ;;
8854      esac
8855      ;;
8856
8857    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8858      # PIC is the default for these OSes.
8859      ;;
8860
8861    mingw* | cygwin* | pw32* | os2* | cegcc*)
8862      # This hack is so that the source file can tell whether it is being
8863      # built for inclusion in a dll (and should export symbols for example).
8864      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8865      # (--disable-auto-import) libraries
8866      lt_prog_compiler_pic='-DDLL_EXPORT'
8867      ;;
8868
8869    darwin* | rhapsody*)
8870      # PIC is the default on this platform
8871      # Common symbols not allowed in MH_DYLIB files
8872      lt_prog_compiler_pic='-fno-common'
8873      ;;
8874
8875    haiku*)
8876      # PIC is the default for Haiku.
8877      # The "-static" flag exists, but is broken.
8878      lt_prog_compiler_static=
8879      ;;
8880
8881    hpux*)
8882      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8883      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8884      # sets the default TLS model and affects inlining.
8885      case $host_cpu in
8886      hppa*64*)
8887	# +Z the default
8888	;;
8889      *)
8890	lt_prog_compiler_pic='-fPIC'
8891	;;
8892      esac
8893      ;;
8894
8895    interix[3-9]*)
8896      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8897      # Instead, we relocate shared libraries at runtime.
8898      ;;
8899
8900    msdosdjgpp*)
8901      # Just because we use GCC doesn't mean we suddenly get shared libraries
8902      # on systems that don't support them.
8903      lt_prog_compiler_can_build_shared=no
8904      enable_shared=no
8905      ;;
8906
8907    *nto* | *qnx*)
8908      # QNX uses GNU C++, but need to define -shared option too, otherwise
8909      # it will coredump.
8910      lt_prog_compiler_pic='-fPIC -shared'
8911      ;;
8912
8913    sysv4*MP*)
8914      if test -d /usr/nec; then
8915	lt_prog_compiler_pic=-Kconform_pic
8916      fi
8917      ;;
8918
8919    *)
8920      lt_prog_compiler_pic='-fPIC'
8921      ;;
8922    esac
8923
8924    case $cc_basename in
8925    nvcc*) # Cuda Compiler Driver 2.2
8926      lt_prog_compiler_wl='-Xlinker '
8927      lt_prog_compiler_pic='-Xcompiler -fPIC'
8928      ;;
8929    esac
8930  else
8931    # PORTME Check for flag to pass linker flags through the system compiler.
8932    case $host_os in
8933    aix*)
8934      lt_prog_compiler_wl='-Wl,'
8935      if test "$host_cpu" = ia64; then
8936	# AIX 5 now supports IA64 processor
8937	lt_prog_compiler_static='-Bstatic'
8938      else
8939	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8940      fi
8941      ;;
8942
8943    mingw* | cygwin* | pw32* | os2* | cegcc*)
8944      # This hack is so that the source file can tell whether it is being
8945      # built for inclusion in a dll (and should export symbols for example).
8946      lt_prog_compiler_pic='-DDLL_EXPORT'
8947      ;;
8948
8949    hpux9* | hpux10* | hpux11*)
8950      lt_prog_compiler_wl='-Wl,'
8951      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8952      # not for PA HP-UX.
8953      case $host_cpu in
8954      hppa*64*|ia64*)
8955	# +Z the default
8956	;;
8957      *)
8958	lt_prog_compiler_pic='+Z'
8959	;;
8960      esac
8961      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8962      lt_prog_compiler_static='${wl}-a ${wl}archive'
8963      ;;
8964
8965    irix5* | irix6* | nonstopux*)
8966      lt_prog_compiler_wl='-Wl,'
8967      # PIC (with -KPIC) is the default.
8968      lt_prog_compiler_static='-non_shared'
8969      ;;
8970
8971    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8972      case $cc_basename in
8973      # old Intel for x86_64 which still supported -KPIC.
8974      ecc*)
8975	lt_prog_compiler_wl='-Wl,'
8976	lt_prog_compiler_pic='-KPIC'
8977	lt_prog_compiler_static='-static'
8978        ;;
8979      # icc used to be incompatible with GCC.
8980      # ICC 10 doesn't accept -KPIC any more.
8981      icc* | ifort*)
8982	lt_prog_compiler_wl='-Wl,'
8983	lt_prog_compiler_pic='-fPIC'
8984	lt_prog_compiler_static='-static'
8985        ;;
8986      # Lahey Fortran 8.1.
8987      lf95*)
8988	lt_prog_compiler_wl='-Wl,'
8989	lt_prog_compiler_pic='--shared'
8990	lt_prog_compiler_static='--static'
8991	;;
8992      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8993        # Portland Group compilers (*not* the Pentium gcc compiler,
8994	# which looks to be a dead project)
8995	lt_prog_compiler_wl='-Wl,'
8996	lt_prog_compiler_pic='-fpic'
8997	lt_prog_compiler_static='-Bstatic'
8998        ;;
8999      ccc*)
9000        lt_prog_compiler_wl='-Wl,'
9001        # All Alpha code is PIC.
9002        lt_prog_compiler_static='-non_shared'
9003        ;;
9004      xl* | bgxl* | bgf* | mpixl*)
9005	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9006	lt_prog_compiler_wl='-Wl,'
9007	lt_prog_compiler_pic='-qpic'
9008	lt_prog_compiler_static='-qstaticlink'
9009	;;
9010      *)
9011	case `$CC -V 2>&1 | sed 5q` in
9012	*Sun\ F* | *Sun*Fortran*)
9013	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9014	  lt_prog_compiler_pic='-KPIC'
9015	  lt_prog_compiler_static='-Bstatic'
9016	  lt_prog_compiler_wl=''
9017	  ;;
9018	*Sun\ C*)
9019	  # Sun C 5.9
9020	  lt_prog_compiler_pic='-KPIC'
9021	  lt_prog_compiler_static='-Bstatic'
9022	  lt_prog_compiler_wl='-Wl,'
9023	  ;;
9024	esac
9025	;;
9026      esac
9027      ;;
9028
9029    newsos6)
9030      lt_prog_compiler_pic='-KPIC'
9031      lt_prog_compiler_static='-Bstatic'
9032      ;;
9033
9034    *nto* | *qnx*)
9035      # QNX uses GNU C++, but need to define -shared option too, otherwise
9036      # it will coredump.
9037      lt_prog_compiler_pic='-fPIC -shared'
9038      ;;
9039
9040    osf3* | osf4* | osf5*)
9041      lt_prog_compiler_wl='-Wl,'
9042      # All OSF/1 code is PIC.
9043      lt_prog_compiler_static='-non_shared'
9044      ;;
9045
9046    rdos*)
9047      lt_prog_compiler_static='-non_shared'
9048      ;;
9049
9050    solaris*)
9051      lt_prog_compiler_pic='-KPIC'
9052      lt_prog_compiler_static='-Bstatic'
9053      case $cc_basename in
9054      f77* | f90* | f95*)
9055	lt_prog_compiler_wl='-Qoption ld ';;
9056      *)
9057	lt_prog_compiler_wl='-Wl,';;
9058      esac
9059      ;;
9060
9061    sunos4*)
9062      lt_prog_compiler_wl='-Qoption ld '
9063      lt_prog_compiler_pic='-PIC'
9064      lt_prog_compiler_static='-Bstatic'
9065      ;;
9066
9067    sysv4 | sysv4.2uw2* | sysv4.3*)
9068      lt_prog_compiler_wl='-Wl,'
9069      lt_prog_compiler_pic='-KPIC'
9070      lt_prog_compiler_static='-Bstatic'
9071      ;;
9072
9073    sysv4*MP*)
9074      if test -d /usr/nec ;then
9075	lt_prog_compiler_pic='-Kconform_pic'
9076	lt_prog_compiler_static='-Bstatic'
9077      fi
9078      ;;
9079
9080    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9081      lt_prog_compiler_wl='-Wl,'
9082      lt_prog_compiler_pic='-KPIC'
9083      lt_prog_compiler_static='-Bstatic'
9084      ;;
9085
9086    unicos*)
9087      lt_prog_compiler_wl='-Wl,'
9088      lt_prog_compiler_can_build_shared=no
9089      ;;
9090
9091    uts4*)
9092      lt_prog_compiler_pic='-pic'
9093      lt_prog_compiler_static='-Bstatic'
9094      ;;
9095
9096    *)
9097      lt_prog_compiler_can_build_shared=no
9098      ;;
9099    esac
9100  fi
9101
9102case $host_os in
9103  # For platforms which do not support PIC, -DPIC is meaningless:
9104  *djgpp*)
9105    lt_prog_compiler_pic=
9106    ;;
9107  *)
9108    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9109    ;;
9110esac
9111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9112$as_echo "$lt_prog_compiler_pic" >&6; }
9113
9114
9115
9116
9117
9118
9119#
9120# Check to make sure the PIC flag actually works.
9121#
9122if test -n "$lt_prog_compiler_pic"; then
9123  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9124$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9125if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9126  $as_echo_n "(cached) " >&6
9127else
9128  lt_cv_prog_compiler_pic_works=no
9129   ac_outfile=conftest.$ac_objext
9130   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9131   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9132   # Insert the option either (1) after the last *FLAGS variable, or
9133   # (2) before a word containing "conftest.", or (3) at the end.
9134   # Note that $ac_compile itself does not contain backslashes and begins
9135   # with a dollar sign (not a hyphen), so the echo should work correctly.
9136   # The option is referenced via a variable to avoid confusing sed.
9137   lt_compile=`echo "$ac_compile" | $SED \
9138   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9139   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9140   -e 's:$: $lt_compiler_flag:'`
9141   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9142   (eval "$lt_compile" 2>conftest.err)
9143   ac_status=$?
9144   cat conftest.err >&5
9145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146   if (exit $ac_status) && test -s "$ac_outfile"; then
9147     # The compiler can only warn and ignore the option if not recognized
9148     # So say no if there are warnings other than the usual output.
9149     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9150     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9151     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9152       lt_cv_prog_compiler_pic_works=yes
9153     fi
9154   fi
9155   $RM conftest*
9156
9157fi
9158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9159$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9160
9161if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9162    case $lt_prog_compiler_pic in
9163     "" | " "*) ;;
9164     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9165     esac
9166else
9167    lt_prog_compiler_pic=
9168     lt_prog_compiler_can_build_shared=no
9169fi
9170
9171fi
9172
9173
9174
9175
9176
9177
9178#
9179# Check to make sure the static flag actually works.
9180#
9181wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9183$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9184if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9185  $as_echo_n "(cached) " >&6
9186else
9187  lt_cv_prog_compiler_static_works=no
9188   save_LDFLAGS="$LDFLAGS"
9189   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9190   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9191   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9192     # The linker can only warn and ignore the option if not recognized
9193     # So say no if there are warnings
9194     if test -s conftest.err; then
9195       # Append any errors to the config.log.
9196       cat conftest.err 1>&5
9197       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9198       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9199       if diff conftest.exp conftest.er2 >/dev/null; then
9200         lt_cv_prog_compiler_static_works=yes
9201       fi
9202     else
9203       lt_cv_prog_compiler_static_works=yes
9204     fi
9205   fi
9206   $RM -r conftest*
9207   LDFLAGS="$save_LDFLAGS"
9208
9209fi
9210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9211$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9212
9213if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9214    :
9215else
9216    lt_prog_compiler_static=
9217fi
9218
9219
9220
9221
9222
9223
9224
9225  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9226$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9227if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9228  $as_echo_n "(cached) " >&6
9229else
9230  lt_cv_prog_compiler_c_o=no
9231   $RM -r conftest 2>/dev/null
9232   mkdir conftest
9233   cd conftest
9234   mkdir out
9235   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9236
9237   lt_compiler_flag="-o out/conftest2.$ac_objext"
9238   # Insert the option either (1) after the last *FLAGS variable, or
9239   # (2) before a word containing "conftest.", or (3) at the end.
9240   # Note that $ac_compile itself does not contain backslashes and begins
9241   # with a dollar sign (not a hyphen), so the echo should work correctly.
9242   lt_compile=`echo "$ac_compile" | $SED \
9243   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9244   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9245   -e 's:$: $lt_compiler_flag:'`
9246   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9247   (eval "$lt_compile" 2>out/conftest.err)
9248   ac_status=$?
9249   cat out/conftest.err >&5
9250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9252   then
9253     # The compiler can only warn and ignore the option if not recognized
9254     # So say no if there are warnings
9255     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9256     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9257     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9258       lt_cv_prog_compiler_c_o=yes
9259     fi
9260   fi
9261   chmod u+w . 2>&5
9262   $RM conftest*
9263   # SGI C++ compiler will create directory out/ii_files/ for
9264   # template instantiation
9265   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9266   $RM out/* && rmdir out
9267   cd ..
9268   $RM -r conftest
9269   $RM conftest*
9270
9271fi
9272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9273$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9274
9275
9276
9277
9278
9279
9280  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9281$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9282if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9283  $as_echo_n "(cached) " >&6
9284else
9285  lt_cv_prog_compiler_c_o=no
9286   $RM -r conftest 2>/dev/null
9287   mkdir conftest
9288   cd conftest
9289   mkdir out
9290   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9291
9292   lt_compiler_flag="-o out/conftest2.$ac_objext"
9293   # Insert the option either (1) after the last *FLAGS variable, or
9294   # (2) before a word containing "conftest.", or (3) at the end.
9295   # Note that $ac_compile itself does not contain backslashes and begins
9296   # with a dollar sign (not a hyphen), so the echo should work correctly.
9297   lt_compile=`echo "$ac_compile" | $SED \
9298   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9299   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9300   -e 's:$: $lt_compiler_flag:'`
9301   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9302   (eval "$lt_compile" 2>out/conftest.err)
9303   ac_status=$?
9304   cat out/conftest.err >&5
9305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9307   then
9308     # The compiler can only warn and ignore the option if not recognized
9309     # So say no if there are warnings
9310     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9311     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9312     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9313       lt_cv_prog_compiler_c_o=yes
9314     fi
9315   fi
9316   chmod u+w . 2>&5
9317   $RM conftest*
9318   # SGI C++ compiler will create directory out/ii_files/ for
9319   # template instantiation
9320   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9321   $RM out/* && rmdir out
9322   cd ..
9323   $RM -r conftest
9324   $RM conftest*
9325
9326fi
9327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9328$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9329
9330
9331
9332
9333hard_links="nottested"
9334if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9335  # do not overwrite the value of need_locks provided by the user
9336  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9337$as_echo_n "checking if we can lock with hard links... " >&6; }
9338  hard_links=yes
9339  $RM conftest*
9340  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9341  touch conftest.a
9342  ln conftest.a conftest.b 2>&5 || hard_links=no
9343  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9345$as_echo "$hard_links" >&6; }
9346  if test "$hard_links" = no; then
9347    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9348$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9349    need_locks=warn
9350  fi
9351else
9352  need_locks=no
9353fi
9354
9355
9356
9357
9358
9359
9360  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9361$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9362
9363  runpath_var=
9364  allow_undefined_flag=
9365  always_export_symbols=no
9366  archive_cmds=
9367  archive_expsym_cmds=
9368  compiler_needs_object=no
9369  enable_shared_with_static_runtimes=no
9370  export_dynamic_flag_spec=
9371  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9372  hardcode_automatic=no
9373  hardcode_direct=no
9374  hardcode_direct_absolute=no
9375  hardcode_libdir_flag_spec=
9376  hardcode_libdir_flag_spec_ld=
9377  hardcode_libdir_separator=
9378  hardcode_minus_L=no
9379  hardcode_shlibpath_var=unsupported
9380  inherit_rpath=no
9381  link_all_deplibs=unknown
9382  module_cmds=
9383  module_expsym_cmds=
9384  old_archive_from_new_cmds=
9385  old_archive_from_expsyms_cmds=
9386  thread_safe_flag_spec=
9387  whole_archive_flag_spec=
9388  # include_expsyms should be a list of space-separated symbols to be *always*
9389  # included in the symbol list
9390  include_expsyms=
9391  # exclude_expsyms can be an extended regexp of symbols to exclude
9392  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9393  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9394  # as well as any symbol that contains `d'.
9395  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9396  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9397  # platforms (ab)use it in PIC code, but their linkers get confused if
9398  # the symbol is explicitly referenced.  Since portable code cannot
9399  # rely on this symbol name, it's probably fine to never include it in
9400  # preloaded symbol tables.
9401  # Exclude shared library initialization/finalization symbols.
9402  extract_expsyms_cmds=
9403
9404  case $host_os in
9405  cygwin* | mingw* | pw32* | cegcc*)
9406    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9407    # When not using gcc, we currently assume that we are using
9408    # Microsoft Visual C++.
9409    if test "$GCC" != yes; then
9410      with_gnu_ld=no
9411    fi
9412    ;;
9413  interix*)
9414    # we just hope/assume this is gcc and not c89 (= MSVC++)
9415    with_gnu_ld=yes
9416    ;;
9417  openbsd*)
9418    with_gnu_ld=no
9419    ;;
9420  esac
9421
9422  ld_shlibs=yes
9423
9424  # On some targets, GNU ld is compatible enough with the native linker
9425  # that we're better off using the native interface for both.
9426  lt_use_gnu_ld_interface=no
9427  if test "$with_gnu_ld" = yes; then
9428    case $host_os in
9429      aix*)
9430	# The AIX port of GNU ld has always aspired to compatibility
9431	# with the native linker.  However, as the warning in the GNU ld
9432	# block says, versions before 2.19.5* couldn't really create working
9433	# shared libraries, regardless of the interface used.
9434	case `$LD -v 2>&1` in
9435	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9436	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9437	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9438	  *)
9439	    lt_use_gnu_ld_interface=yes
9440	    ;;
9441	esac
9442	;;
9443      *)
9444	lt_use_gnu_ld_interface=yes
9445	;;
9446    esac
9447  fi
9448
9449  if test "$lt_use_gnu_ld_interface" = yes; then
9450    # If archive_cmds runs LD, not CC, wlarc should be empty
9451    wlarc='${wl}'
9452
9453    # Set some defaults for GNU ld with shared library support. These
9454    # are reset later if shared libraries are not supported. Putting them
9455    # here allows them to be overridden if necessary.
9456    runpath_var=LD_RUN_PATH
9457    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9458    export_dynamic_flag_spec='${wl}--export-dynamic'
9459    # ancient GNU ld didn't support --whole-archive et. al.
9460    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9461      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9462    else
9463      whole_archive_flag_spec=
9464    fi
9465    supports_anon_versioning=no
9466    case `$LD -v 2>&1` in
9467      *GNU\ gold*) supports_anon_versioning=yes ;;
9468      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9469      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9470      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9471      *\ 2.11.*) ;; # other 2.11 versions
9472      *) supports_anon_versioning=yes ;;
9473    esac
9474
9475    # See if GNU ld supports shared libraries.
9476    case $host_os in
9477    aix[3-9]*)
9478      # On AIX/PPC, the GNU linker is very broken
9479      if test "$host_cpu" != ia64; then
9480	ld_shlibs=no
9481	cat <<_LT_EOF 1>&2
9482
9483*** Warning: the GNU linker, at least up to release 2.19, is reported
9484*** to be unable to reliably create shared libraries on AIX.
9485*** Therefore, libtool is disabling shared libraries support.  If you
9486*** really care for shared libraries, you may want to install binutils
9487*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9488*** You will then need to restart the configuration process.
9489
9490_LT_EOF
9491      fi
9492      ;;
9493
9494    amigaos*)
9495      case $host_cpu in
9496      powerpc)
9497            # see comment about AmigaOS4 .so support
9498            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9499            archive_expsym_cmds=''
9500        ;;
9501      m68k)
9502            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)'
9503            hardcode_libdir_flag_spec='-L$libdir'
9504            hardcode_minus_L=yes
9505        ;;
9506      esac
9507      ;;
9508
9509    beos*)
9510      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9511	allow_undefined_flag=unsupported
9512	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9513	# support --undefined.  This deserves some investigation.  FIXME
9514	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9515      else
9516	ld_shlibs=no
9517      fi
9518      ;;
9519
9520    cygwin* | mingw* | pw32* | cegcc*)
9521      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9522      # as there is no search path for DLLs.
9523      hardcode_libdir_flag_spec='-L$libdir'
9524      export_dynamic_flag_spec='${wl}--export-all-symbols'
9525      allow_undefined_flag=unsupported
9526      always_export_symbols=no
9527      enable_shared_with_static_runtimes=yes
9528      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9529
9530      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9531        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9532	# If the export-symbols file already is a .def file (1st line
9533	# is EXPORTS), use it as is; otherwise, prepend...
9534	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9535	  cp $export_symbols $output_objdir/$soname.def;
9536	else
9537	  echo EXPORTS > $output_objdir/$soname.def;
9538	  cat $export_symbols >> $output_objdir/$soname.def;
9539	fi~
9540	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9541      else
9542	ld_shlibs=no
9543      fi
9544      ;;
9545
9546    haiku*)
9547      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9548      link_all_deplibs=yes
9549      ;;
9550
9551    interix[3-9]*)
9552      hardcode_direct=no
9553      hardcode_shlibpath_var=no
9554      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9555      export_dynamic_flag_spec='${wl}-E'
9556      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9557      # Instead, shared libraries are loaded at an image base (0x10000000 by
9558      # default) and relocated if they conflict, which is a slow very memory
9559      # consuming and fragmenting process.  To avoid this, we pick a random,
9560      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9561      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9562      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9563      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'
9564      ;;
9565
9566    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9567      tmp_diet=no
9568      if test "$host_os" = linux-dietlibc; then
9569	case $cc_basename in
9570	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9571	esac
9572      fi
9573      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9574	 && test "$tmp_diet" = no
9575      then
9576	tmp_addflag=' $pic_flag'
9577	tmp_sharedflag='-shared'
9578	case $cc_basename,$host_cpu in
9579        pgcc*)				# Portland Group C compiler
9580	  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'
9581	  tmp_addflag=' $pic_flag'
9582	  ;;
9583	pgf77* | pgf90* | pgf95* | pgfortran*)
9584					# Portland Group f77 and f90 compilers
9585	  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'
9586	  tmp_addflag=' $pic_flag -Mnomain' ;;
9587	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9588	  tmp_addflag=' -i_dynamic' ;;
9589	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9590	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9591	ifc* | ifort*)			# Intel Fortran compiler
9592	  tmp_addflag=' -nofor_main' ;;
9593	lf95*)				# Lahey Fortran 8.1
9594	  whole_archive_flag_spec=
9595	  tmp_sharedflag='--shared' ;;
9596	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9597	  tmp_sharedflag='-qmkshrobj'
9598	  tmp_addflag= ;;
9599	nvcc*)	# Cuda Compiler Driver 2.2
9600	  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'
9601	  compiler_needs_object=yes
9602	  ;;
9603	esac
9604	case `$CC -V 2>&1 | sed 5q` in
9605	*Sun\ C*)			# Sun C 5.9
9606	  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'
9607	  compiler_needs_object=yes
9608	  tmp_sharedflag='-G' ;;
9609	*Sun\ F*)			# Sun Fortran 8.3
9610	  tmp_sharedflag='-G' ;;
9611	esac
9612	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9613
9614        if test "x$supports_anon_versioning" = xyes; then
9615          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9616	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9617	    echo "local: *; };" >> $output_objdir/$libname.ver~
9618	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9619        fi
9620
9621	case $cc_basename in
9622	xlf* | bgf* | bgxlf* | mpixlf*)
9623	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9624	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9625	  hardcode_libdir_flag_spec=
9626	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
9627	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9628	  if test "x$supports_anon_versioning" = xyes; then
9629	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9630	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9631	      echo "local: *; };" >> $output_objdir/$libname.ver~
9632	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9633	  fi
9634	  ;;
9635	esac
9636      else
9637        ld_shlibs=no
9638      fi
9639      ;;
9640
9641    netbsd*)
9642      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9643	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9644	wlarc=
9645      else
9646	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9647	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9648      fi
9649      ;;
9650
9651    solaris*)
9652      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9653	ld_shlibs=no
9654	cat <<_LT_EOF 1>&2
9655
9656*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9657*** create shared libraries on Solaris systems.  Therefore, libtool
9658*** is disabling shared libraries support.  We urge you to upgrade GNU
9659*** binutils to release 2.9.1 or newer.  Another option is to modify
9660*** your PATH or compiler configuration so that the native linker is
9661*** used, and then restart.
9662
9663_LT_EOF
9664      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9665	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9666	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9667      else
9668	ld_shlibs=no
9669      fi
9670      ;;
9671
9672    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9673      case `$LD -v 2>&1` in
9674        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9675	ld_shlibs=no
9676	cat <<_LT_EOF 1>&2
9677
9678*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9679*** reliably create shared libraries on SCO systems.  Therefore, libtool
9680*** is disabling shared libraries support.  We urge you to upgrade GNU
9681*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9682*** your PATH or compiler configuration so that the native linker is
9683*** used, and then restart.
9684
9685_LT_EOF
9686	;;
9687	*)
9688	  # For security reasons, it is highly recommended that you always
9689	  # use absolute paths for naming shared libraries, and exclude the
9690	  # DT_RUNPATH tag from executables and libraries.  But doing so
9691	  # requires that you compile everything twice, which is a pain.
9692	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9693	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9694	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9695	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9696	  else
9697	    ld_shlibs=no
9698	  fi
9699	;;
9700      esac
9701      ;;
9702
9703    sunos4*)
9704      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9705      wlarc=
9706      hardcode_direct=yes
9707      hardcode_shlibpath_var=no
9708      ;;
9709
9710    *)
9711      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9712	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9713	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9714      else
9715	ld_shlibs=no
9716      fi
9717      ;;
9718    esac
9719
9720    if test "$ld_shlibs" = no; then
9721      runpath_var=
9722      hardcode_libdir_flag_spec=
9723      export_dynamic_flag_spec=
9724      whole_archive_flag_spec=
9725    fi
9726  else
9727    # PORTME fill in a description of your system's linker (not GNU ld)
9728    case $host_os in
9729    aix3*)
9730      allow_undefined_flag=unsupported
9731      always_export_symbols=yes
9732      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'
9733      # Note: this linker hardcodes the directories in LIBPATH if there
9734      # are no directories specified by -L.
9735      hardcode_minus_L=yes
9736      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9737	# Neither direct hardcoding nor static linking is supported with a
9738	# broken collect2.
9739	hardcode_direct=unsupported
9740      fi
9741      ;;
9742
9743    aix[4-9]*)
9744      if test "$host_cpu" = ia64; then
9745	# On IA64, the linker does run time linking by default, so we don't
9746	# have to do anything special.
9747	aix_use_runtimelinking=no
9748	exp_sym_flag='-Bexport'
9749	no_entry_flag=""
9750      else
9751	# If we're using GNU nm, then we don't want the "-C" option.
9752	# -C means demangle to AIX nm, but means don't demangle with GNU nm
9753	# Also, AIX nm treats weak defined symbols like other global
9754	# defined symbols, whereas GNU nm marks them as "W".
9755	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9756	  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'
9757	else
9758	  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'
9759	fi
9760	aix_use_runtimelinking=no
9761
9762	# Test if we are trying to use run time linking or normal
9763	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9764	# need to do runtime linking.
9765	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9766	  for ld_flag in $LDFLAGS; do
9767	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9768	    aix_use_runtimelinking=yes
9769	    break
9770	  fi
9771	  done
9772	  ;;
9773	esac
9774
9775	exp_sym_flag='-bexport'
9776	no_entry_flag='-bnoentry'
9777      fi
9778
9779      # When large executables or shared objects are built, AIX ld can
9780      # have problems creating the table of contents.  If linking a library
9781      # or program results in "error TOC overflow" add -mminimal-toc to
9782      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9783      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9784
9785      archive_cmds=''
9786      hardcode_direct=yes
9787      hardcode_direct_absolute=yes
9788      hardcode_libdir_separator=':'
9789      link_all_deplibs=yes
9790      file_list_spec='${wl}-f,'
9791
9792      if test "$GCC" = yes; then
9793	case $host_os in aix4.[012]|aix4.[012].*)
9794	# We only want to do this on AIX 4.2 and lower, the check
9795	# below for broken collect2 doesn't work under 4.3+
9796	  collect2name=`${CC} -print-prog-name=collect2`
9797	  if test -f "$collect2name" &&
9798	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9799	  then
9800	  # We have reworked collect2
9801	  :
9802	  else
9803	  # We have old collect2
9804	  hardcode_direct=unsupported
9805	  # It fails to find uninstalled libraries when the uninstalled
9806	  # path is not listed in the libpath.  Setting hardcode_minus_L
9807	  # to unsupported forces relinking
9808	  hardcode_minus_L=yes
9809	  hardcode_libdir_flag_spec='-L$libdir'
9810	  hardcode_libdir_separator=
9811	  fi
9812	  ;;
9813	esac
9814	shared_flag='-shared'
9815	if test "$aix_use_runtimelinking" = yes; then
9816	  shared_flag="$shared_flag "'${wl}-G'
9817	fi
9818      else
9819	# not using gcc
9820	if test "$host_cpu" = ia64; then
9821	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9822	# chokes on -Wl,-G. The following line is correct:
9823	  shared_flag='-G'
9824	else
9825	  if test "$aix_use_runtimelinking" = yes; then
9826	    shared_flag='${wl}-G'
9827	  else
9828	    shared_flag='${wl}-bM:SRE'
9829	  fi
9830	fi
9831      fi
9832
9833      export_dynamic_flag_spec='${wl}-bexpall'
9834      # It seems that -bexpall does not export symbols beginning with
9835      # underscore (_), so it is better to generate a list of symbols to export.
9836      always_export_symbols=yes
9837      if test "$aix_use_runtimelinking" = yes; then
9838	# Warning - without using the other runtime loading flags (-brtl),
9839	# -berok will link without error, but may produce a broken library.
9840	allow_undefined_flag='-berok'
9841        # Determine the default libpath from the value encoded in an
9842        # empty executable.
9843        if test x$gcc_no_link = xyes; then
9844  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9845fi
9846cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847/* end confdefs.h.  */
9848
9849int
9850main ()
9851{
9852
9853  ;
9854  return 0;
9855}
9856_ACEOF
9857if ac_fn_c_try_link "$LINENO"; then :
9858
9859lt_aix_libpath_sed='
9860    /Import File Strings/,/^$/ {
9861	/^0/ {
9862	    s/^0  *\(.*\)$/\1/
9863	    p
9864	}
9865    }'
9866aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9867# Check for a 64-bit object if we didn't find anything.
9868if test -z "$aix_libpath"; then
9869  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9870fi
9871fi
9872rm -f core conftest.err conftest.$ac_objext \
9873    conftest$ac_exeext conftest.$ac_ext
9874if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9875
9876        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9877        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"
9878      else
9879	if test "$host_cpu" = ia64; then
9880	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9881	  allow_undefined_flag="-z nodefs"
9882	  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"
9883	else
9884	 # Determine the default libpath from the value encoded in an
9885	 # empty executable.
9886	 if test x$gcc_no_link = xyes; then
9887  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9888fi
9889cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9890/* end confdefs.h.  */
9891
9892int
9893main ()
9894{
9895
9896  ;
9897  return 0;
9898}
9899_ACEOF
9900if ac_fn_c_try_link "$LINENO"; then :
9901
9902lt_aix_libpath_sed='
9903    /Import File Strings/,/^$/ {
9904	/^0/ {
9905	    s/^0  *\(.*\)$/\1/
9906	    p
9907	}
9908    }'
9909aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9910# Check for a 64-bit object if we didn't find anything.
9911if test -z "$aix_libpath"; then
9912  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9913fi
9914fi
9915rm -f core conftest.err conftest.$ac_objext \
9916    conftest$ac_exeext conftest.$ac_ext
9917if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9918
9919	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9920	  # Warning - without using the other run time loading flags,
9921	  # -berok will link without error, but may produce a broken library.
9922	  no_undefined_flag=' ${wl}-bernotok'
9923	  allow_undefined_flag=' ${wl}-berok'
9924	  if test "$with_gnu_ld" = yes; then
9925	    # We only use this code for GNU lds that support --whole-archive.
9926	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9927	  else
9928	    # Exported symbols can be pulled into shared objects from archives
9929	    whole_archive_flag_spec='$convenience'
9930	  fi
9931	  archive_cmds_need_lc=yes
9932	  # This is similar to how AIX traditionally builds its shared libraries.
9933	  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'
9934	fi
9935      fi
9936      ;;
9937
9938    amigaos*)
9939      case $host_cpu in
9940      powerpc)
9941            # see comment about AmigaOS4 .so support
9942            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9943            archive_expsym_cmds=''
9944        ;;
9945      m68k)
9946            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)'
9947            hardcode_libdir_flag_spec='-L$libdir'
9948            hardcode_minus_L=yes
9949        ;;
9950      esac
9951      ;;
9952
9953    bsdi[45]*)
9954      export_dynamic_flag_spec=-rdynamic
9955      ;;
9956
9957    cygwin* | mingw* | pw32* | cegcc*)
9958      # When not using gcc, we currently assume that we are using
9959      # Microsoft Visual C++.
9960      # hardcode_libdir_flag_spec is actually meaningless, as there is
9961      # no search path for DLLs.
9962      hardcode_libdir_flag_spec=' '
9963      allow_undefined_flag=unsupported
9964      # Tell ltmain to make .lib files, not .a files.
9965      libext=lib
9966      # Tell ltmain to make .dll files, not .so files.
9967      shrext_cmds=".dll"
9968      # FIXME: Setting linknames here is a bad hack.
9969      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9970      # The linker will automatically build a .lib file if we build a DLL.
9971      old_archive_from_new_cmds='true'
9972      # FIXME: Should let the user specify the lib program.
9973      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9974      fix_srcfile_path='`cygpath -w "$srcfile"`'
9975      enable_shared_with_static_runtimes=yes
9976      ;;
9977
9978    darwin* | rhapsody*)
9979
9980
9981  archive_cmds_need_lc=no
9982  hardcode_direct=no
9983  hardcode_automatic=yes
9984  hardcode_shlibpath_var=unsupported
9985  if test "$lt_cv_ld_force_load" = "yes"; then
9986    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\"`'
9987  else
9988    whole_archive_flag_spec=''
9989  fi
9990  link_all_deplibs=yes
9991  allow_undefined_flag="$_lt_dar_allow_undefined"
9992  case $cc_basename in
9993     ifort*) _lt_dar_can_shared=yes ;;
9994     *) _lt_dar_can_shared=$GCC ;;
9995  esac
9996  if test "$_lt_dar_can_shared" = "yes"; then
9997    output_verbose_link_cmd=func_echo_all
9998    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9999    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10000    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}"
10001    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}"
10002
10003  else
10004  ld_shlibs=no
10005  fi
10006
10007      ;;
10008
10009    dgux*)
10010      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10011      hardcode_libdir_flag_spec='-L$libdir'
10012      hardcode_shlibpath_var=no
10013      ;;
10014
10015    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10016    # support.  Future versions do this automatically, but an explicit c++rt0.o
10017    # does not break anything, and helps significantly (at the cost of a little
10018    # extra space).
10019    freebsd2.2*)
10020      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10021      hardcode_libdir_flag_spec='-R$libdir'
10022      hardcode_direct=yes
10023      hardcode_shlibpath_var=no
10024      ;;
10025
10026    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10027    freebsd2.*)
10028      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10029      hardcode_direct=yes
10030      hardcode_minus_L=yes
10031      hardcode_shlibpath_var=no
10032      ;;
10033
10034    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10035    freebsd* | dragonfly*)
10036      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10037      hardcode_libdir_flag_spec='-R$libdir'
10038      hardcode_direct=yes
10039      hardcode_shlibpath_var=no
10040      ;;
10041
10042    hpux9*)
10043      if test "$GCC" = yes; then
10044	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'
10045      else
10046	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'
10047      fi
10048      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10049      hardcode_libdir_separator=:
10050      hardcode_direct=yes
10051
10052      # hardcode_minus_L: Not really in the search PATH,
10053      # but as the default location of the library.
10054      hardcode_minus_L=yes
10055      export_dynamic_flag_spec='${wl}-E'
10056      ;;
10057
10058    hpux10*)
10059      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10060	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10061      else
10062	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10063      fi
10064      if test "$with_gnu_ld" = no; then
10065	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10066	hardcode_libdir_flag_spec_ld='+b $libdir'
10067	hardcode_libdir_separator=:
10068	hardcode_direct=yes
10069	hardcode_direct_absolute=yes
10070	export_dynamic_flag_spec='${wl}-E'
10071	# hardcode_minus_L: Not really in the search PATH,
10072	# but as the default location of the library.
10073	hardcode_minus_L=yes
10074      fi
10075      ;;
10076
10077    hpux11*)
10078      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10079	case $host_cpu in
10080	hppa*64*)
10081	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10082	  ;;
10083	ia64*)
10084	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10085	  ;;
10086	*)
10087	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10088	  ;;
10089	esac
10090      else
10091	case $host_cpu in
10092	hppa*64*)
10093	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10094	  ;;
10095	ia64*)
10096	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10097	  ;;
10098	*)
10099
10100	  # Older versions of the 11.00 compiler do not understand -b yet
10101	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10102	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10103$as_echo_n "checking if $CC understands -b... " >&6; }
10104if test "${lt_cv_prog_compiler__b+set}" = set; then :
10105  $as_echo_n "(cached) " >&6
10106else
10107  lt_cv_prog_compiler__b=no
10108   save_LDFLAGS="$LDFLAGS"
10109   LDFLAGS="$LDFLAGS -b"
10110   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10111   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10112     # The linker can only warn and ignore the option if not recognized
10113     # So say no if there are warnings
10114     if test -s conftest.err; then
10115       # Append any errors to the config.log.
10116       cat conftest.err 1>&5
10117       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10118       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10119       if diff conftest.exp conftest.er2 >/dev/null; then
10120         lt_cv_prog_compiler__b=yes
10121       fi
10122     else
10123       lt_cv_prog_compiler__b=yes
10124     fi
10125   fi
10126   $RM -r conftest*
10127   LDFLAGS="$save_LDFLAGS"
10128
10129fi
10130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10131$as_echo "$lt_cv_prog_compiler__b" >&6; }
10132
10133if test x"$lt_cv_prog_compiler__b" = xyes; then
10134    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10135else
10136    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10137fi
10138
10139	  ;;
10140	esac
10141      fi
10142      if test "$with_gnu_ld" = no; then
10143	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10144	hardcode_libdir_separator=:
10145
10146	case $host_cpu in
10147	hppa*64*|ia64*)
10148	  hardcode_direct=no
10149	  hardcode_shlibpath_var=no
10150	  ;;
10151	*)
10152	  hardcode_direct=yes
10153	  hardcode_direct_absolute=yes
10154	  export_dynamic_flag_spec='${wl}-E'
10155
10156	  # hardcode_minus_L: Not really in the search PATH,
10157	  # but as the default location of the library.
10158	  hardcode_minus_L=yes
10159	  ;;
10160	esac
10161      fi
10162      ;;
10163
10164    irix5* | irix6* | nonstopux*)
10165      if test "$GCC" = yes; then
10166	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'
10167	# Try to use the -exported_symbol ld option, if it does not
10168	# work, assume that -exports_file does not work either and
10169	# implicitly export all symbols.
10170        save_LDFLAGS="$LDFLAGS"
10171        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10172        if test x$gcc_no_link = xyes; then
10173  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10174fi
10175cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10176/* end confdefs.h.  */
10177int foo(void) {}
10178_ACEOF
10179if ac_fn_c_try_link "$LINENO"; then :
10180  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'
10181
10182fi
10183rm -f core conftest.err conftest.$ac_objext \
10184    conftest$ac_exeext conftest.$ac_ext
10185        LDFLAGS="$save_LDFLAGS"
10186      else
10187	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'
10188	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'
10189      fi
10190      archive_cmds_need_lc='no'
10191      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10192      hardcode_libdir_separator=:
10193      inherit_rpath=yes
10194      link_all_deplibs=yes
10195      ;;
10196
10197    netbsd*)
10198      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10199	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10200      else
10201	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10202      fi
10203      hardcode_libdir_flag_spec='-R$libdir'
10204      hardcode_direct=yes
10205      hardcode_shlibpath_var=no
10206      ;;
10207
10208    newsos6)
10209      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10210      hardcode_direct=yes
10211      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10212      hardcode_libdir_separator=:
10213      hardcode_shlibpath_var=no
10214      ;;
10215
10216    *nto* | *qnx*)
10217      ;;
10218
10219    openbsd*)
10220      if test -f /usr/libexec/ld.so; then
10221	hardcode_direct=yes
10222	hardcode_shlibpath_var=no
10223	hardcode_direct_absolute=yes
10224	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10225	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10226	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10227	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10228	  export_dynamic_flag_spec='${wl}-E'
10229	else
10230	  case $host_os in
10231	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10232	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10233	     hardcode_libdir_flag_spec='-R$libdir'
10234	     ;;
10235	   *)
10236	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10237	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10238	     ;;
10239	  esac
10240	fi
10241      else
10242	ld_shlibs=no
10243      fi
10244      ;;
10245
10246    os2*)
10247      hardcode_libdir_flag_spec='-L$libdir'
10248      hardcode_minus_L=yes
10249      allow_undefined_flag=unsupported
10250      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'
10251      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10252      ;;
10253
10254    osf3*)
10255      if test "$GCC" = yes; then
10256	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10257	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'
10258      else
10259	allow_undefined_flag=' -expect_unresolved \*'
10260	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'
10261      fi
10262      archive_cmds_need_lc='no'
10263      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10264      hardcode_libdir_separator=:
10265      ;;
10266
10267    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10268      if test "$GCC" = yes; then
10269	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10270	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'
10271	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10272      else
10273	allow_undefined_flag=' -expect_unresolved \*'
10274	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'
10275	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~
10276	$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'
10277
10278	# Both c and cxx compiler support -rpath directly
10279	hardcode_libdir_flag_spec='-rpath $libdir'
10280      fi
10281      archive_cmds_need_lc='no'
10282      hardcode_libdir_separator=:
10283      ;;
10284
10285    solaris*)
10286      no_undefined_flag=' -z defs'
10287      if test "$GCC" = yes; then
10288	wlarc='${wl}'
10289	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10290	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10291	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10292      else
10293	case `$CC -V 2>&1` in
10294	*"Compilers 5.0"*)
10295	  wlarc=''
10296	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10297	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10298	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10299	  ;;
10300	*)
10301	  wlarc='${wl}'
10302	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10303	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10304	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10305	  ;;
10306	esac
10307      fi
10308      hardcode_libdir_flag_spec='-R$libdir'
10309      hardcode_shlibpath_var=no
10310      case $host_os in
10311      solaris2.[0-5] | solaris2.[0-5].*) ;;
10312      *)
10313	# The compiler driver will combine and reorder linker options,
10314	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10315	# but is careful enough not to reorder.
10316	# Supported since Solaris 2.6 (maybe 2.5.1?)
10317	if test "$GCC" = yes; then
10318	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10319	else
10320	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10321	fi
10322	;;
10323      esac
10324      link_all_deplibs=yes
10325      ;;
10326
10327    sunos4*)
10328      if test "x$host_vendor" = xsequent; then
10329	# Use $CC to link under sequent, because it throws in some extra .o
10330	# files that make .init and .fini sections work.
10331	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10332      else
10333	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10334      fi
10335      hardcode_libdir_flag_spec='-L$libdir'
10336      hardcode_direct=yes
10337      hardcode_minus_L=yes
10338      hardcode_shlibpath_var=no
10339      ;;
10340
10341    sysv4)
10342      case $host_vendor in
10343	sni)
10344	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10345	  hardcode_direct=yes # is this really true???
10346	;;
10347	siemens)
10348	  ## LD is ld it makes a PLAMLIB
10349	  ## CC just makes a GrossModule.
10350	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10351	  reload_cmds='$CC -r -o $output$reload_objs'
10352	  hardcode_direct=no
10353        ;;
10354	motorola)
10355	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10356	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10357	;;
10358      esac
10359      runpath_var='LD_RUN_PATH'
10360      hardcode_shlibpath_var=no
10361      ;;
10362
10363    sysv4.3*)
10364      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10365      hardcode_shlibpath_var=no
10366      export_dynamic_flag_spec='-Bexport'
10367      ;;
10368
10369    sysv4*MP*)
10370      if test -d /usr/nec; then
10371	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10372	hardcode_shlibpath_var=no
10373	runpath_var=LD_RUN_PATH
10374	hardcode_runpath_var=yes
10375	ld_shlibs=yes
10376      fi
10377      ;;
10378
10379    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10380      no_undefined_flag='${wl}-z,text'
10381      archive_cmds_need_lc=no
10382      hardcode_shlibpath_var=no
10383      runpath_var='LD_RUN_PATH'
10384
10385      if test "$GCC" = yes; then
10386	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10387	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10388      else
10389	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10390	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10391      fi
10392      ;;
10393
10394    sysv5* | sco3.2v5* | sco5v6*)
10395      # Note: We can NOT use -z defs as we might desire, because we do not
10396      # link with -lc, and that would cause any symbols used from libc to
10397      # always be unresolved, which means just about no library would
10398      # ever link correctly.  If we're not using GNU ld we use -z text
10399      # though, which does catch some bad symbols but isn't as heavy-handed
10400      # as -z defs.
10401      no_undefined_flag='${wl}-z,text'
10402      allow_undefined_flag='${wl}-z,nodefs'
10403      archive_cmds_need_lc=no
10404      hardcode_shlibpath_var=no
10405      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10406      hardcode_libdir_separator=':'
10407      link_all_deplibs=yes
10408      export_dynamic_flag_spec='${wl}-Bexport'
10409      runpath_var='LD_RUN_PATH'
10410
10411      if test "$GCC" = yes; then
10412	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10413	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10414      else
10415	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10416	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10417      fi
10418      ;;
10419
10420    uts4*)
10421      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10422      hardcode_libdir_flag_spec='-L$libdir'
10423      hardcode_shlibpath_var=no
10424      ;;
10425
10426    *)
10427      ld_shlibs=no
10428      ;;
10429    esac
10430
10431    if test x$host_vendor = xsni; then
10432      case $host in
10433      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10434	export_dynamic_flag_spec='${wl}-Blargedynsym'
10435	;;
10436      esac
10437    fi
10438  fi
10439
10440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10441$as_echo "$ld_shlibs" >&6; }
10442test "$ld_shlibs" = no && can_build_shared=no
10443
10444with_gnu_ld=$with_gnu_ld
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460#
10461# Do we need to explicitly link libc?
10462#
10463case "x$archive_cmds_need_lc" in
10464x|xyes)
10465  # Assume -lc should be added
10466  archive_cmds_need_lc=yes
10467
10468  if test "$enable_shared" = yes && test "$GCC" = yes; then
10469    case $archive_cmds in
10470    *'~'*)
10471      # FIXME: we may have to deal with multi-command sequences.
10472      ;;
10473    '$CC '*)
10474      # Test whether the compiler implicitly links with -lc since on some
10475      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10476      # to ld, don't add -lc before -lgcc.
10477      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10478$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10479if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10480  $as_echo_n "(cached) " >&6
10481else
10482  $RM conftest*
10483	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10484
10485	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10486  (eval $ac_compile) 2>&5
10487  ac_status=$?
10488  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10489  test $ac_status = 0; } 2>conftest.err; then
10490	  soname=conftest
10491	  lib=conftest
10492	  libobjs=conftest.$ac_objext
10493	  deplibs=
10494	  wl=$lt_prog_compiler_wl
10495	  pic_flag=$lt_prog_compiler_pic
10496	  compiler_flags=-v
10497	  linker_flags=-v
10498	  verstring=
10499	  output_objdir=.
10500	  libname=conftest
10501	  lt_save_allow_undefined_flag=$allow_undefined_flag
10502	  allow_undefined_flag=
10503	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10504  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10505  ac_status=$?
10506  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10507  test $ac_status = 0; }
10508	  then
10509	    lt_cv_archive_cmds_need_lc=no
10510	  else
10511	    lt_cv_archive_cmds_need_lc=yes
10512	  fi
10513	  allow_undefined_flag=$lt_save_allow_undefined_flag
10514	else
10515	  cat conftest.err 1>&5
10516	fi
10517	$RM conftest*
10518
10519fi
10520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10521$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10522      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10523      ;;
10524    esac
10525  fi
10526  ;;
10527esac
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10686$as_echo_n "checking dynamic linker characteristics... " >&6; }
10687
10688if test "$GCC" = yes; then
10689  case $host_os in
10690    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10691    *) lt_awk_arg="/^libraries:/" ;;
10692  esac
10693  case $host_os in
10694    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10695    *) lt_sed_strip_eq="s,=/,/,g" ;;
10696  esac
10697  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10698  case $lt_search_path_spec in
10699  *\;*)
10700    # if the path contains ";" then we assume it to be the separator
10701    # otherwise default to the standard path separator (i.e. ":") - it is
10702    # assumed that no part of a normal pathname contains ";" but that should
10703    # okay in the real world where ";" in dirpaths is itself problematic.
10704    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10705    ;;
10706  *)
10707    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10708    ;;
10709  esac
10710  # Ok, now we have the path, separated by spaces, we can step through it
10711  # and add multilib dir if necessary.
10712  lt_tmp_lt_search_path_spec=
10713  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10714  for lt_sys_path in $lt_search_path_spec; do
10715    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10716      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10717    else
10718      test -d "$lt_sys_path" && \
10719	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10720    fi
10721  done
10722  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10723BEGIN {RS=" "; FS="/|\n";} {
10724  lt_foo="";
10725  lt_count=0;
10726  for (lt_i = NF; lt_i > 0; lt_i--) {
10727    if ($lt_i != "" && $lt_i != ".") {
10728      if ($lt_i == "..") {
10729        lt_count++;
10730      } else {
10731        if (lt_count == 0) {
10732          lt_foo="/" $lt_i lt_foo;
10733        } else {
10734          lt_count--;
10735        }
10736      }
10737    }
10738  }
10739  if (lt_foo != "") { lt_freq[lt_foo]++; }
10740  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10741}'`
10742  # AWK program above erroneously prepends '/' to C:/dos/paths
10743  # for these hosts.
10744  case $host_os in
10745    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10746      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10747  esac
10748  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10749else
10750  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10751fi
10752library_names_spec=
10753libname_spec='lib$name'
10754soname_spec=
10755shrext_cmds=".so"
10756postinstall_cmds=
10757postuninstall_cmds=
10758finish_cmds=
10759finish_eval=
10760shlibpath_var=
10761shlibpath_overrides_runpath=unknown
10762version_type=none
10763dynamic_linker="$host_os ld.so"
10764sys_lib_dlsearch_path_spec="/lib /usr/lib"
10765need_lib_prefix=unknown
10766hardcode_into_libs=no
10767
10768# when you set need_version to no, make sure it does not cause -set_version
10769# flags to be left without arguments
10770need_version=unknown
10771
10772case $host_os in
10773aix3*)
10774  version_type=linux
10775  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10776  shlibpath_var=LIBPATH
10777
10778  # AIX 3 has no versioning support, so we append a major version to the name.
10779  soname_spec='${libname}${release}${shared_ext}$major'
10780  ;;
10781
10782aix[4-9]*)
10783  version_type=linux
10784  need_lib_prefix=no
10785  need_version=no
10786  hardcode_into_libs=yes
10787  if test "$host_cpu" = ia64; then
10788    # AIX 5 supports IA64
10789    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10790    shlibpath_var=LD_LIBRARY_PATH
10791  else
10792    # With GCC up to 2.95.x, collect2 would create an import file
10793    # for dependence libraries.  The import file would start with
10794    # the line `#! .'.  This would cause the generated library to
10795    # depend on `.', always an invalid library.  This was fixed in
10796    # development snapshots of GCC prior to 3.0.
10797    case $host_os in
10798      aix4 | aix4.[01] | aix4.[01].*)
10799      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10800	   echo ' yes '
10801	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10802	:
10803      else
10804	can_build_shared=no
10805      fi
10806      ;;
10807    esac
10808    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10809    # soname into executable. Probably we can add versioning support to
10810    # collect2, so additional links can be useful in future.
10811    if test "$aix_use_runtimelinking" = yes; then
10812      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10813      # instead of lib<name>.a to let people know that these are not
10814      # typical AIX shared libraries.
10815      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10816    else
10817      # We preserve .a as extension for shared libraries through AIX4.2
10818      # and later when we are not doing run time linking.
10819      library_names_spec='${libname}${release}.a $libname.a'
10820      soname_spec='${libname}${release}${shared_ext}$major'
10821    fi
10822    shlibpath_var=LIBPATH
10823  fi
10824  ;;
10825
10826amigaos*)
10827  case $host_cpu in
10828  powerpc)
10829    # Since July 2007 AmigaOS4 officially supports .so libraries.
10830    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10831    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10832    ;;
10833  m68k)
10834    library_names_spec='$libname.ixlibrary $libname.a'
10835    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10836    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'
10837    ;;
10838  esac
10839  ;;
10840
10841beos*)
10842  library_names_spec='${libname}${shared_ext}'
10843  dynamic_linker="$host_os ld.so"
10844  shlibpath_var=LIBRARY_PATH
10845  ;;
10846
10847bsdi[45]*)
10848  version_type=linux
10849  need_version=no
10850  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851  soname_spec='${libname}${release}${shared_ext}$major'
10852  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10853  shlibpath_var=LD_LIBRARY_PATH
10854  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10855  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10856  # the default ld.so.conf also contains /usr/contrib/lib and
10857  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10858  # libtool to hard-code these into programs
10859  ;;
10860
10861cygwin* | mingw* | pw32* | cegcc*)
10862  version_type=windows
10863  shrext_cmds=".dll"
10864  need_version=no
10865  need_lib_prefix=no
10866
10867  case $GCC,$host_os in
10868  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10869    library_names_spec='$libname.dll.a'
10870    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10871    postinstall_cmds='base_file=`basename \${file}`~
10872      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10873      dldir=$destdir/`dirname \$dlpath`~
10874      test -d \$dldir || mkdir -p \$dldir~
10875      $install_prog $dir/$dlname \$dldir/$dlname~
10876      chmod a+x \$dldir/$dlname~
10877      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10878        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10879      fi'
10880    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10881      dlpath=$dir/\$dldll~
10882       $RM \$dlpath'
10883    shlibpath_overrides_runpath=yes
10884
10885    case $host_os in
10886    cygwin*)
10887      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10888      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10889
10890      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10891      ;;
10892    mingw* | cegcc*)
10893      # MinGW DLLs use traditional 'lib' prefix
10894      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10895      ;;
10896    pw32*)
10897      # pw32 DLLs use 'pw' prefix rather than 'lib'
10898      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10899      ;;
10900    esac
10901    ;;
10902
10903  *)
10904    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10905    ;;
10906  esac
10907  dynamic_linker='Win32 ld.exe'
10908  # FIXME: first we should search . and the directory the executable is in
10909  shlibpath_var=PATH
10910  ;;
10911
10912darwin* | rhapsody*)
10913  dynamic_linker="$host_os dyld"
10914  version_type=darwin
10915  need_lib_prefix=no
10916  need_version=no
10917  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10918  soname_spec='${libname}${release}${major}$shared_ext'
10919  shlibpath_overrides_runpath=yes
10920  shlibpath_var=DYLD_LIBRARY_PATH
10921  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10922
10923  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10924  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10925  ;;
10926
10927dgux*)
10928  version_type=linux
10929  need_lib_prefix=no
10930  need_version=no
10931  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10932  soname_spec='${libname}${release}${shared_ext}$major'
10933  shlibpath_var=LD_LIBRARY_PATH
10934  ;;
10935
10936freebsd* | dragonfly*)
10937  # DragonFly does not have aout.  When/if they implement a new
10938  # versioning mechanism, adjust this.
10939  if test -x /usr/bin/objformat; then
10940    objformat=`/usr/bin/objformat`
10941  else
10942    case $host_os in
10943    freebsd[23].*) objformat=aout ;;
10944    *) objformat=elf ;;
10945    esac
10946  fi
10947  version_type=freebsd-$objformat
10948  case $version_type in
10949    freebsd-elf*)
10950      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10951      need_version=no
10952      need_lib_prefix=no
10953      ;;
10954    freebsd-*)
10955      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10956      need_version=yes
10957      ;;
10958  esac
10959  shlibpath_var=LD_LIBRARY_PATH
10960  case $host_os in
10961  freebsd2.*)
10962    shlibpath_overrides_runpath=yes
10963    ;;
10964  freebsd3.[01]* | freebsdelf3.[01]*)
10965    shlibpath_overrides_runpath=yes
10966    hardcode_into_libs=yes
10967    ;;
10968  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10969  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10970    shlibpath_overrides_runpath=no
10971    hardcode_into_libs=yes
10972    ;;
10973  *) # from 4.6 on, and DragonFly
10974    shlibpath_overrides_runpath=yes
10975    hardcode_into_libs=yes
10976    ;;
10977  esac
10978  ;;
10979
10980gnu*)
10981  version_type=linux
10982  need_lib_prefix=no
10983  need_version=no
10984  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10985  soname_spec='${libname}${release}${shared_ext}$major'
10986  shlibpath_var=LD_LIBRARY_PATH
10987  hardcode_into_libs=yes
10988  ;;
10989
10990haiku*)
10991  version_type=linux
10992  need_lib_prefix=no
10993  need_version=no
10994  dynamic_linker="$host_os runtime_loader"
10995  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10996  soname_spec='${libname}${release}${shared_ext}$major'
10997  shlibpath_var=LIBRARY_PATH
10998  shlibpath_overrides_runpath=yes
10999  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11000  hardcode_into_libs=yes
11001  ;;
11002
11003hpux9* | hpux10* | hpux11*)
11004  # Give a soname corresponding to the major version so that dld.sl refuses to
11005  # link against other versions.
11006  version_type=sunos
11007  need_lib_prefix=no
11008  need_version=no
11009  case $host_cpu in
11010  ia64*)
11011    shrext_cmds='.so'
11012    hardcode_into_libs=yes
11013    dynamic_linker="$host_os dld.so"
11014    shlibpath_var=LD_LIBRARY_PATH
11015    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11016    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11017    soname_spec='${libname}${release}${shared_ext}$major'
11018    if test "X$HPUX_IA64_MODE" = X32; then
11019      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11020    else
11021      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11022    fi
11023    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11024    ;;
11025  hppa*64*)
11026    shrext_cmds='.sl'
11027    hardcode_into_libs=yes
11028    dynamic_linker="$host_os dld.sl"
11029    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11030    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11031    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11032    soname_spec='${libname}${release}${shared_ext}$major'
11033    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11034    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11035    ;;
11036  *)
11037    shrext_cmds='.sl'
11038    dynamic_linker="$host_os dld.sl"
11039    shlibpath_var=SHLIB_PATH
11040    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11041    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11042    soname_spec='${libname}${release}${shared_ext}$major'
11043    ;;
11044  esac
11045  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11046  postinstall_cmds='chmod 555 $lib'
11047  # or fails outright, so override atomically:
11048  install_override_mode=555
11049  ;;
11050
11051interix[3-9]*)
11052  version_type=linux
11053  need_lib_prefix=no
11054  need_version=no
11055  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11056  soname_spec='${libname}${release}${shared_ext}$major'
11057  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11058  shlibpath_var=LD_LIBRARY_PATH
11059  shlibpath_overrides_runpath=no
11060  hardcode_into_libs=yes
11061  ;;
11062
11063irix5* | irix6* | nonstopux*)
11064  case $host_os in
11065    nonstopux*) version_type=nonstopux ;;
11066    *)
11067	if test "$lt_cv_prog_gnu_ld" = yes; then
11068		version_type=linux
11069	else
11070		version_type=irix
11071	fi ;;
11072  esac
11073  need_lib_prefix=no
11074  need_version=no
11075  soname_spec='${libname}${release}${shared_ext}$major'
11076  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11077  case $host_os in
11078  irix5* | nonstopux*)
11079    libsuff= shlibsuff=
11080    ;;
11081  *)
11082    case $LD in # libtool.m4 will add one of these switches to LD
11083    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11084      libsuff= shlibsuff= libmagic=32-bit;;
11085    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11086      libsuff=32 shlibsuff=N32 libmagic=N32;;
11087    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11088      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11089    *) libsuff= shlibsuff= libmagic=never-match;;
11090    esac
11091    ;;
11092  esac
11093  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11094  shlibpath_overrides_runpath=no
11095  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11096  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11097  hardcode_into_libs=yes
11098  ;;
11099
11100# No shared lib support for Linux oldld, aout, or coff.
11101linux*oldld* | linux*aout* | linux*coff*)
11102  dynamic_linker=no
11103  ;;
11104
11105# This must be Linux ELF.
11106linux* | k*bsd*-gnu | kopensolaris*-gnu)
11107  version_type=linux
11108  need_lib_prefix=no
11109  need_version=no
11110  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11111  soname_spec='${libname}${release}${shared_ext}$major'
11112  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11113  shlibpath_var=LD_LIBRARY_PATH
11114  shlibpath_overrides_runpath=no
11115
11116  # Some binutils ld are patched to set DT_RUNPATH
11117  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11118  $as_echo_n "(cached) " >&6
11119else
11120  lt_cv_shlibpath_overrides_runpath=no
11121    save_LDFLAGS=$LDFLAGS
11122    save_libdir=$libdir
11123    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11124	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11125    if test x$gcc_no_link = xyes; then
11126  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11127fi
11128cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11129/* end confdefs.h.  */
11130
11131int
11132main ()
11133{
11134
11135  ;
11136  return 0;
11137}
11138_ACEOF
11139if ac_fn_c_try_link "$LINENO"; then :
11140  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11141  lt_cv_shlibpath_overrides_runpath=yes
11142fi
11143fi
11144rm -f core conftest.err conftest.$ac_objext \
11145    conftest$ac_exeext conftest.$ac_ext
11146    LDFLAGS=$save_LDFLAGS
11147    libdir=$save_libdir
11148
11149fi
11150
11151  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11152
11153  # This implies no fast_install, which is unacceptable.
11154  # Some rework will be needed to allow for fast_install
11155  # before this can be enabled.
11156  hardcode_into_libs=yes
11157
11158  # Append ld.so.conf contents to the search path
11159  if test -f /etc/ld.so.conf; then
11160    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' ' '`
11161    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11162  fi
11163
11164  # We used to test for /lib/ld.so.1 and disable shared libraries on
11165  # powerpc, because MkLinux only supported shared libraries with the
11166  # GNU dynamic linker.  Since this was broken with cross compilers,
11167  # most powerpc-linux boxes support dynamic linking these days and
11168  # people can always --disable-shared, the test was removed, and we
11169  # assume the GNU/Linux dynamic linker is in use.
11170  dynamic_linker='GNU/Linux ld.so'
11171  ;;
11172
11173netbsd*)
11174  version_type=sunos
11175  need_lib_prefix=no
11176  need_version=no
11177  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11178    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11179    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11180    dynamic_linker='NetBSD (a.out) ld.so'
11181  else
11182    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11183    soname_spec='${libname}${release}${shared_ext}$major'
11184    dynamic_linker='NetBSD ld.elf_so'
11185  fi
11186  shlibpath_var=LD_LIBRARY_PATH
11187  shlibpath_overrides_runpath=yes
11188  hardcode_into_libs=yes
11189  ;;
11190
11191newsos6)
11192  version_type=linux
11193  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11194  shlibpath_var=LD_LIBRARY_PATH
11195  shlibpath_overrides_runpath=yes
11196  ;;
11197
11198*nto* | *qnx*)
11199  version_type=qnx
11200  need_lib_prefix=no
11201  need_version=no
11202  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11203  soname_spec='${libname}${release}${shared_ext}$major'
11204  shlibpath_var=LD_LIBRARY_PATH
11205  shlibpath_overrides_runpath=no
11206  hardcode_into_libs=yes
11207  dynamic_linker='ldqnx.so'
11208  ;;
11209
11210openbsd*)
11211  version_type=sunos
11212  sys_lib_dlsearch_path_spec="/usr/lib"
11213  need_lib_prefix=no
11214  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11215  case $host_os in
11216    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11217    *)				need_version=no  ;;
11218  esac
11219  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11220  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11221  shlibpath_var=LD_LIBRARY_PATH
11222  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11223    case $host_os in
11224      openbsd2.[89] | openbsd2.[89].*)
11225	shlibpath_overrides_runpath=no
11226	;;
11227      *)
11228	shlibpath_overrides_runpath=yes
11229	;;
11230      esac
11231  else
11232    shlibpath_overrides_runpath=yes
11233  fi
11234  ;;
11235
11236os2*)
11237  libname_spec='$name'
11238  shrext_cmds=".dll"
11239  need_lib_prefix=no
11240  library_names_spec='$libname${shared_ext} $libname.a'
11241  dynamic_linker='OS/2 ld.exe'
11242  shlibpath_var=LIBPATH
11243  ;;
11244
11245osf3* | osf4* | osf5*)
11246  version_type=osf
11247  need_lib_prefix=no
11248  need_version=no
11249  soname_spec='${libname}${release}${shared_ext}$major'
11250  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11251  shlibpath_var=LD_LIBRARY_PATH
11252  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11253  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11254  ;;
11255
11256rdos*)
11257  dynamic_linker=no
11258  ;;
11259
11260solaris*)
11261  version_type=linux
11262  need_lib_prefix=no
11263  need_version=no
11264  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11265  soname_spec='${libname}${release}${shared_ext}$major'
11266  shlibpath_var=LD_LIBRARY_PATH
11267  shlibpath_overrides_runpath=yes
11268  hardcode_into_libs=yes
11269  # ldd complains unless libraries are executable
11270  postinstall_cmds='chmod +x $lib'
11271  ;;
11272
11273sunos4*)
11274  version_type=sunos
11275  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11276  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11277  shlibpath_var=LD_LIBRARY_PATH
11278  shlibpath_overrides_runpath=yes
11279  if test "$with_gnu_ld" = yes; then
11280    need_lib_prefix=no
11281  fi
11282  need_version=yes
11283  ;;
11284
11285sysv4 | sysv4.3*)
11286  version_type=linux
11287  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11288  soname_spec='${libname}${release}${shared_ext}$major'
11289  shlibpath_var=LD_LIBRARY_PATH
11290  case $host_vendor in
11291    sni)
11292      shlibpath_overrides_runpath=no
11293      need_lib_prefix=no
11294      runpath_var=LD_RUN_PATH
11295      ;;
11296    siemens)
11297      need_lib_prefix=no
11298      ;;
11299    motorola)
11300      need_lib_prefix=no
11301      need_version=no
11302      shlibpath_overrides_runpath=no
11303      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11304      ;;
11305  esac
11306  ;;
11307
11308sysv4*MP*)
11309  if test -d /usr/nec ;then
11310    version_type=linux
11311    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11312    soname_spec='$libname${shared_ext}.$major'
11313    shlibpath_var=LD_LIBRARY_PATH
11314  fi
11315  ;;
11316
11317sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11318  version_type=freebsd-elf
11319  need_lib_prefix=no
11320  need_version=no
11321  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11322  soname_spec='${libname}${release}${shared_ext}$major'
11323  shlibpath_var=LD_LIBRARY_PATH
11324  shlibpath_overrides_runpath=yes
11325  hardcode_into_libs=yes
11326  if test "$with_gnu_ld" = yes; then
11327    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11328  else
11329    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11330    case $host_os in
11331      sco3.2v5*)
11332        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11333	;;
11334    esac
11335  fi
11336  sys_lib_dlsearch_path_spec='/usr/lib'
11337  ;;
11338
11339tpf*)
11340  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11341  version_type=linux
11342  need_lib_prefix=no
11343  need_version=no
11344  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11345  shlibpath_var=LD_LIBRARY_PATH
11346  shlibpath_overrides_runpath=no
11347  hardcode_into_libs=yes
11348  ;;
11349
11350uts4*)
11351  version_type=linux
11352  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11353  soname_spec='${libname}${release}${shared_ext}$major'
11354  shlibpath_var=LD_LIBRARY_PATH
11355  ;;
11356
11357*)
11358  dynamic_linker=no
11359  ;;
11360esac
11361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11362$as_echo "$dynamic_linker" >&6; }
11363test "$dynamic_linker" = no && can_build_shared=no
11364
11365variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11366if test "$GCC" = yes; then
11367  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11368fi
11369
11370if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11371  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11372fi
11373if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11374  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11375fi
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11469$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11470hardcode_action=
11471if test -n "$hardcode_libdir_flag_spec" ||
11472   test -n "$runpath_var" ||
11473   test "X$hardcode_automatic" = "Xyes" ; then
11474
11475  # We can hardcode non-existent directories.
11476  if test "$hardcode_direct" != no &&
11477     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11478     # have to relink, otherwise we might link with an installed library
11479     # when we should be linking with a yet-to-be-installed one
11480     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11481     test "$hardcode_minus_L" != no; then
11482    # Linking always hardcodes the temporary library directory.
11483    hardcode_action=relink
11484  else
11485    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11486    hardcode_action=immediate
11487  fi
11488else
11489  # We cannot hardcode anything, or else we can only hardcode existing
11490  # directories.
11491  hardcode_action=unsupported
11492fi
11493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11494$as_echo "$hardcode_action" >&6; }
11495
11496if test "$hardcode_action" = relink ||
11497   test "$inherit_rpath" = yes; then
11498  # Fast installation is not supported
11499  enable_fast_install=no
11500elif test "$shlibpath_overrides_runpath" = yes ||
11501     test "$enable_shared" = no; then
11502  # Fast installation is not necessary
11503  enable_fast_install=needless
11504fi
11505
11506
11507
11508
11509
11510
11511  if test "x$enable_dlopen" != xyes; then
11512  enable_dlopen=unknown
11513  enable_dlopen_self=unknown
11514  enable_dlopen_self_static=unknown
11515else
11516  lt_cv_dlopen=no
11517  lt_cv_dlopen_libs=
11518
11519  case $host_os in
11520  beos*)
11521    lt_cv_dlopen="load_add_on"
11522    lt_cv_dlopen_libs=
11523    lt_cv_dlopen_self=yes
11524    ;;
11525
11526  mingw* | pw32* | cegcc*)
11527    lt_cv_dlopen="LoadLibrary"
11528    lt_cv_dlopen_libs=
11529    ;;
11530
11531  cygwin*)
11532    lt_cv_dlopen="dlopen"
11533    lt_cv_dlopen_libs=
11534    ;;
11535
11536  darwin*)
11537  # if libdl is installed we need to link against it
11538    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11539$as_echo_n "checking for dlopen in -ldl... " >&6; }
11540if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11541  $as_echo_n "(cached) " >&6
11542else
11543  ac_check_lib_save_LIBS=$LIBS
11544LIBS="-ldl  $LIBS"
11545if test x$gcc_no_link = xyes; then
11546  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11547fi
11548cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11549/* end confdefs.h.  */
11550
11551/* Override any GCC internal prototype to avoid an error.
11552   Use char because int might match the return type of a GCC
11553   builtin and then its argument prototype would still apply.  */
11554#ifdef __cplusplus
11555extern "C"
11556#endif
11557char dlopen ();
11558int
11559main ()
11560{
11561return dlopen ();
11562  ;
11563  return 0;
11564}
11565_ACEOF
11566if ac_fn_c_try_link "$LINENO"; then :
11567  ac_cv_lib_dl_dlopen=yes
11568else
11569  ac_cv_lib_dl_dlopen=no
11570fi
11571rm -f core conftest.err conftest.$ac_objext \
11572    conftest$ac_exeext conftest.$ac_ext
11573LIBS=$ac_check_lib_save_LIBS
11574fi
11575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11576$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11577if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11578  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11579else
11580
11581    lt_cv_dlopen="dyld"
11582    lt_cv_dlopen_libs=
11583    lt_cv_dlopen_self=yes
11584
11585fi
11586
11587    ;;
11588
11589  *)
11590    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11591if test "x$ac_cv_func_shl_load" = x""yes; then :
11592  lt_cv_dlopen="shl_load"
11593else
11594  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11595$as_echo_n "checking for shl_load in -ldld... " >&6; }
11596if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11597  $as_echo_n "(cached) " >&6
11598else
11599  ac_check_lib_save_LIBS=$LIBS
11600LIBS="-ldld  $LIBS"
11601if test x$gcc_no_link = xyes; then
11602  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11603fi
11604cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11605/* end confdefs.h.  */
11606
11607/* Override any GCC internal prototype to avoid an error.
11608   Use char because int might match the return type of a GCC
11609   builtin and then its argument prototype would still apply.  */
11610#ifdef __cplusplus
11611extern "C"
11612#endif
11613char shl_load ();
11614int
11615main ()
11616{
11617return shl_load ();
11618  ;
11619  return 0;
11620}
11621_ACEOF
11622if ac_fn_c_try_link "$LINENO"; then :
11623  ac_cv_lib_dld_shl_load=yes
11624else
11625  ac_cv_lib_dld_shl_load=no
11626fi
11627rm -f core conftest.err conftest.$ac_objext \
11628    conftest$ac_exeext conftest.$ac_ext
11629LIBS=$ac_check_lib_save_LIBS
11630fi
11631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11632$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11633if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11634  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11635else
11636  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11637if test "x$ac_cv_func_dlopen" = x""yes; then :
11638  lt_cv_dlopen="dlopen"
11639else
11640  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11641$as_echo_n "checking for dlopen in -ldl... " >&6; }
11642if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11643  $as_echo_n "(cached) " >&6
11644else
11645  ac_check_lib_save_LIBS=$LIBS
11646LIBS="-ldl  $LIBS"
11647if test x$gcc_no_link = xyes; then
11648  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11649fi
11650cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11651/* end confdefs.h.  */
11652
11653/* Override any GCC internal prototype to avoid an error.
11654   Use char because int might match the return type of a GCC
11655   builtin and then its argument prototype would still apply.  */
11656#ifdef __cplusplus
11657extern "C"
11658#endif
11659char dlopen ();
11660int
11661main ()
11662{
11663return dlopen ();
11664  ;
11665  return 0;
11666}
11667_ACEOF
11668if ac_fn_c_try_link "$LINENO"; then :
11669  ac_cv_lib_dl_dlopen=yes
11670else
11671  ac_cv_lib_dl_dlopen=no
11672fi
11673rm -f core conftest.err conftest.$ac_objext \
11674    conftest$ac_exeext conftest.$ac_ext
11675LIBS=$ac_check_lib_save_LIBS
11676fi
11677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11678$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11679if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11680  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11681else
11682  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11683$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11684if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11685  $as_echo_n "(cached) " >&6
11686else
11687  ac_check_lib_save_LIBS=$LIBS
11688LIBS="-lsvld  $LIBS"
11689if test x$gcc_no_link = xyes; then
11690  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11691fi
11692cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11693/* end confdefs.h.  */
11694
11695/* Override any GCC internal prototype to avoid an error.
11696   Use char because int might match the return type of a GCC
11697   builtin and then its argument prototype would still apply.  */
11698#ifdef __cplusplus
11699extern "C"
11700#endif
11701char dlopen ();
11702int
11703main ()
11704{
11705return dlopen ();
11706  ;
11707  return 0;
11708}
11709_ACEOF
11710if ac_fn_c_try_link "$LINENO"; then :
11711  ac_cv_lib_svld_dlopen=yes
11712else
11713  ac_cv_lib_svld_dlopen=no
11714fi
11715rm -f core conftest.err conftest.$ac_objext \
11716    conftest$ac_exeext conftest.$ac_ext
11717LIBS=$ac_check_lib_save_LIBS
11718fi
11719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11720$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11721if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11722  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11723else
11724  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11725$as_echo_n "checking for dld_link in -ldld... " >&6; }
11726if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11727  $as_echo_n "(cached) " >&6
11728else
11729  ac_check_lib_save_LIBS=$LIBS
11730LIBS="-ldld  $LIBS"
11731if test x$gcc_no_link = xyes; then
11732  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11733fi
11734cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11735/* end confdefs.h.  */
11736
11737/* Override any GCC internal prototype to avoid an error.
11738   Use char because int might match the return type of a GCC
11739   builtin and then its argument prototype would still apply.  */
11740#ifdef __cplusplus
11741extern "C"
11742#endif
11743char dld_link ();
11744int
11745main ()
11746{
11747return dld_link ();
11748  ;
11749  return 0;
11750}
11751_ACEOF
11752if ac_fn_c_try_link "$LINENO"; then :
11753  ac_cv_lib_dld_dld_link=yes
11754else
11755  ac_cv_lib_dld_dld_link=no
11756fi
11757rm -f core conftest.err conftest.$ac_objext \
11758    conftest$ac_exeext conftest.$ac_ext
11759LIBS=$ac_check_lib_save_LIBS
11760fi
11761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11762$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11763if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11764  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11765fi
11766
11767
11768fi
11769
11770
11771fi
11772
11773
11774fi
11775
11776
11777fi
11778
11779
11780fi
11781
11782    ;;
11783  esac
11784
11785  if test "x$lt_cv_dlopen" != xno; then
11786    enable_dlopen=yes
11787  else
11788    enable_dlopen=no
11789  fi
11790
11791  case $lt_cv_dlopen in
11792  dlopen)
11793    save_CPPFLAGS="$CPPFLAGS"
11794    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11795
11796    save_LDFLAGS="$LDFLAGS"
11797    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11798
11799    save_LIBS="$LIBS"
11800    LIBS="$lt_cv_dlopen_libs $LIBS"
11801
11802    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11803$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11804if test "${lt_cv_dlopen_self+set}" = set; then :
11805  $as_echo_n "(cached) " >&6
11806else
11807  	  if test "$cross_compiling" = yes; then :
11808  lt_cv_dlopen_self=cross
11809else
11810  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11811  lt_status=$lt_dlunknown
11812  cat > conftest.$ac_ext <<_LT_EOF
11813#line 11813 "configure"
11814#include "confdefs.h"
11815
11816#if HAVE_DLFCN_H
11817#include <dlfcn.h>
11818#endif
11819
11820#include <stdio.h>
11821
11822#ifdef RTLD_GLOBAL
11823#  define LT_DLGLOBAL		RTLD_GLOBAL
11824#else
11825#  ifdef DL_GLOBAL
11826#    define LT_DLGLOBAL		DL_GLOBAL
11827#  else
11828#    define LT_DLGLOBAL		0
11829#  endif
11830#endif
11831
11832/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11833   find out it does not work in some platform. */
11834#ifndef LT_DLLAZY_OR_NOW
11835#  ifdef RTLD_LAZY
11836#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11837#  else
11838#    ifdef DL_LAZY
11839#      define LT_DLLAZY_OR_NOW		DL_LAZY
11840#    else
11841#      ifdef RTLD_NOW
11842#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11843#      else
11844#        ifdef DL_NOW
11845#          define LT_DLLAZY_OR_NOW	DL_NOW
11846#        else
11847#          define LT_DLLAZY_OR_NOW	0
11848#        endif
11849#      endif
11850#    endif
11851#  endif
11852#endif
11853
11854/* When -fvisbility=hidden is used, assume the code has been annotated
11855   correspondingly for the symbols needed.  */
11856#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11857void fnord () __attribute__((visibility("default")));
11858#endif
11859
11860void fnord () { int i=42; }
11861int main ()
11862{
11863  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11864  int status = $lt_dlunknown;
11865
11866  if (self)
11867    {
11868      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11869      else
11870        {
11871	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11872          else puts (dlerror ());
11873	}
11874      /* dlclose (self); */
11875    }
11876  else
11877    puts (dlerror ());
11878
11879  return status;
11880}
11881_LT_EOF
11882  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11883  (eval $ac_link) 2>&5
11884  ac_status=$?
11885  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11886  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11887    (./conftest; exit; ) >&5 2>/dev/null
11888    lt_status=$?
11889    case x$lt_status in
11890      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11891      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11892      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11893    esac
11894  else :
11895    # compilation failed
11896    lt_cv_dlopen_self=no
11897  fi
11898fi
11899rm -fr conftest*
11900
11901
11902fi
11903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11904$as_echo "$lt_cv_dlopen_self" >&6; }
11905
11906    if test "x$lt_cv_dlopen_self" = xyes; then
11907      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11908      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11909$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11910if test "${lt_cv_dlopen_self_static+set}" = set; then :
11911  $as_echo_n "(cached) " >&6
11912else
11913  	  if test "$cross_compiling" = yes; then :
11914  lt_cv_dlopen_self_static=cross
11915else
11916  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11917  lt_status=$lt_dlunknown
11918  cat > conftest.$ac_ext <<_LT_EOF
11919#line 11919 "configure"
11920#include "confdefs.h"
11921
11922#if HAVE_DLFCN_H
11923#include <dlfcn.h>
11924#endif
11925
11926#include <stdio.h>
11927
11928#ifdef RTLD_GLOBAL
11929#  define LT_DLGLOBAL		RTLD_GLOBAL
11930#else
11931#  ifdef DL_GLOBAL
11932#    define LT_DLGLOBAL		DL_GLOBAL
11933#  else
11934#    define LT_DLGLOBAL		0
11935#  endif
11936#endif
11937
11938/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11939   find out it does not work in some platform. */
11940#ifndef LT_DLLAZY_OR_NOW
11941#  ifdef RTLD_LAZY
11942#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11943#  else
11944#    ifdef DL_LAZY
11945#      define LT_DLLAZY_OR_NOW		DL_LAZY
11946#    else
11947#      ifdef RTLD_NOW
11948#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11949#      else
11950#        ifdef DL_NOW
11951#          define LT_DLLAZY_OR_NOW	DL_NOW
11952#        else
11953#          define LT_DLLAZY_OR_NOW	0
11954#        endif
11955#      endif
11956#    endif
11957#  endif
11958#endif
11959
11960/* When -fvisbility=hidden is used, assume the code has been annotated
11961   correspondingly for the symbols needed.  */
11962#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11963void fnord () __attribute__((visibility("default")));
11964#endif
11965
11966void fnord () { int i=42; }
11967int main ()
11968{
11969  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11970  int status = $lt_dlunknown;
11971
11972  if (self)
11973    {
11974      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11975      else
11976        {
11977	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11978          else puts (dlerror ());
11979	}
11980      /* dlclose (self); */
11981    }
11982  else
11983    puts (dlerror ());
11984
11985  return status;
11986}
11987_LT_EOF
11988  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11989  (eval $ac_link) 2>&5
11990  ac_status=$?
11991  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11992  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11993    (./conftest; exit; ) >&5 2>/dev/null
11994    lt_status=$?
11995    case x$lt_status in
11996      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11997      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11998      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11999    esac
12000  else :
12001    # compilation failed
12002    lt_cv_dlopen_self_static=no
12003  fi
12004fi
12005rm -fr conftest*
12006
12007
12008fi
12009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12010$as_echo "$lt_cv_dlopen_self_static" >&6; }
12011    fi
12012
12013    CPPFLAGS="$save_CPPFLAGS"
12014    LDFLAGS="$save_LDFLAGS"
12015    LIBS="$save_LIBS"
12016    ;;
12017  esac
12018
12019  case $lt_cv_dlopen_self in
12020  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12021  *) enable_dlopen_self=unknown ;;
12022  esac
12023
12024  case $lt_cv_dlopen_self_static in
12025  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12026  *) enable_dlopen_self_static=unknown ;;
12027  esac
12028fi
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046striplib=
12047old_striplib=
12048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12049$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12050if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12051  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12052  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12054$as_echo "yes" >&6; }
12055else
12056# FIXME - insert some real tests, host_os isn't really good enough
12057  case $host_os in
12058  darwin*)
12059    if test -n "$STRIP" ; then
12060      striplib="$STRIP -x"
12061      old_striplib="$STRIP -S"
12062      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12063$as_echo "yes" >&6; }
12064    else
12065      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12066$as_echo "no" >&6; }
12067    fi
12068    ;;
12069  *)
12070    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12071$as_echo "no" >&6; }
12072    ;;
12073  esac
12074fi
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087  # Report which library types will actually be built
12088  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12089$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12090  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12091$as_echo "$can_build_shared" >&6; }
12092
12093  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12094$as_echo_n "checking whether to build shared libraries... " >&6; }
12095  test "$can_build_shared" = "no" && enable_shared=no
12096
12097  # On AIX, shared libraries and static libraries use the same namespace, and
12098  # are all built from PIC.
12099  case $host_os in
12100  aix3*)
12101    test "$enable_shared" = yes && enable_static=no
12102    if test -n "$RANLIB"; then
12103      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12104      postinstall_cmds='$RANLIB $lib'
12105    fi
12106    ;;
12107
12108  aix[4-9]*)
12109    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12110      test "$enable_shared" = yes && enable_static=no
12111    fi
12112    ;;
12113  esac
12114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12115$as_echo "$enable_shared" >&6; }
12116
12117  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12118$as_echo_n "checking whether to build static libraries... " >&6; }
12119  # Make sure either enable_shared or enable_static is yes.
12120  test "$enable_shared" = yes || enable_static=yes
12121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12122$as_echo "$enable_static" >&6; }
12123
12124
12125
12126
12127fi
12128ac_ext=c
12129ac_cpp='$CPP $CPPFLAGS'
12130ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12131ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12132ac_compiler_gnu=$ac_cv_c_compiler_gnu
12133
12134CC="$lt_save_CC"
12135
12136      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12137    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12138    (test "X$CXX" != "Xg++"))) ; then
12139  ac_ext=cpp
12140ac_cpp='$CXXCPP $CPPFLAGS'
12141ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12142ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12143ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12145$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12146if test -z "$CXXCPP"; then
12147  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12148  $as_echo_n "(cached) " >&6
12149else
12150      # Double quotes because CXXCPP needs to be expanded
12151    for CXXCPP in "$CXX -E" "/lib/cpp"
12152    do
12153      ac_preproc_ok=false
12154for ac_cxx_preproc_warn_flag in '' yes
12155do
12156  # Use a header file that comes with gcc, so configuring glibc
12157  # with a fresh cross-compiler works.
12158  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12159  # <limits.h> exists even on freestanding compilers.
12160  # On the NeXT, cc -E runs the code through the compiler's parser,
12161  # not just through cpp. "Syntax error" is here to catch this case.
12162  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12163/* end confdefs.h.  */
12164#ifdef __STDC__
12165# include <limits.h>
12166#else
12167# include <assert.h>
12168#endif
12169		     Syntax error
12170_ACEOF
12171if ac_fn_cxx_try_cpp "$LINENO"; then :
12172
12173else
12174  # Broken: fails on valid input.
12175continue
12176fi
12177rm -f conftest.err conftest.$ac_ext
12178
12179  # OK, works on sane cases.  Now check whether nonexistent headers
12180  # can be detected and how.
12181  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12182/* end confdefs.h.  */
12183#include <ac_nonexistent.h>
12184_ACEOF
12185if ac_fn_cxx_try_cpp "$LINENO"; then :
12186  # Broken: success on invalid input.
12187continue
12188else
12189  # Passes both tests.
12190ac_preproc_ok=:
12191break
12192fi
12193rm -f conftest.err conftest.$ac_ext
12194
12195done
12196# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12197rm -f conftest.err conftest.$ac_ext
12198if $ac_preproc_ok; then :
12199  break
12200fi
12201
12202    done
12203    ac_cv_prog_CXXCPP=$CXXCPP
12204
12205fi
12206  CXXCPP=$ac_cv_prog_CXXCPP
12207else
12208  ac_cv_prog_CXXCPP=$CXXCPP
12209fi
12210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12211$as_echo "$CXXCPP" >&6; }
12212ac_preproc_ok=false
12213for ac_cxx_preproc_warn_flag in '' yes
12214do
12215  # Use a header file that comes with gcc, so configuring glibc
12216  # with a fresh cross-compiler works.
12217  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12218  # <limits.h> exists even on freestanding compilers.
12219  # On the NeXT, cc -E runs the code through the compiler's parser,
12220  # not just through cpp. "Syntax error" is here to catch this case.
12221  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12222/* end confdefs.h.  */
12223#ifdef __STDC__
12224# include <limits.h>
12225#else
12226# include <assert.h>
12227#endif
12228		     Syntax error
12229_ACEOF
12230if ac_fn_cxx_try_cpp "$LINENO"; then :
12231
12232else
12233  # Broken: fails on valid input.
12234continue
12235fi
12236rm -f conftest.err conftest.$ac_ext
12237
12238  # OK, works on sane cases.  Now check whether nonexistent headers
12239  # can be detected and how.
12240  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12241/* end confdefs.h.  */
12242#include <ac_nonexistent.h>
12243_ACEOF
12244if ac_fn_cxx_try_cpp "$LINENO"; then :
12245  # Broken: success on invalid input.
12246continue
12247else
12248  # Passes both tests.
12249ac_preproc_ok=:
12250break
12251fi
12252rm -f conftest.err conftest.$ac_ext
12253
12254done
12255# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12256rm -f conftest.err conftest.$ac_ext
12257if $ac_preproc_ok; then :
12258
12259else
12260  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12261$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12262as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12263See \`config.log' for more details." "$LINENO" 5; }
12264fi
12265
12266ac_ext=c
12267ac_cpp='$CPP $CPPFLAGS'
12268ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12269ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12270ac_compiler_gnu=$ac_cv_c_compiler_gnu
12271
12272else
12273  _lt_caught_CXX_error=yes
12274fi
12275
12276ac_ext=cpp
12277ac_cpp='$CXXCPP $CPPFLAGS'
12278ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12279ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12280ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12281
12282archive_cmds_need_lc_CXX=no
12283allow_undefined_flag_CXX=
12284always_export_symbols_CXX=no
12285archive_expsym_cmds_CXX=
12286compiler_needs_object_CXX=no
12287export_dynamic_flag_spec_CXX=
12288hardcode_direct_CXX=no
12289hardcode_direct_absolute_CXX=no
12290hardcode_libdir_flag_spec_CXX=
12291hardcode_libdir_flag_spec_ld_CXX=
12292hardcode_libdir_separator_CXX=
12293hardcode_minus_L_CXX=no
12294hardcode_shlibpath_var_CXX=unsupported
12295hardcode_automatic_CXX=no
12296inherit_rpath_CXX=no
12297module_cmds_CXX=
12298module_expsym_cmds_CXX=
12299link_all_deplibs_CXX=unknown
12300old_archive_cmds_CXX=$old_archive_cmds
12301reload_flag_CXX=$reload_flag
12302reload_cmds_CXX=$reload_cmds
12303no_undefined_flag_CXX=
12304whole_archive_flag_spec_CXX=
12305enable_shared_with_static_runtimes_CXX=no
12306
12307# Source file extension for C++ test sources.
12308ac_ext=cpp
12309
12310# Object file extension for compiled C++ test sources.
12311objext=o
12312objext_CXX=$objext
12313
12314# No sense in running all these tests if we already determined that
12315# the CXX compiler isn't working.  Some variables (like enable_shared)
12316# are currently assumed to apply to all compilers on this platform,
12317# and will be corrupted by setting them based on a non-working compiler.
12318if test "$_lt_caught_CXX_error" != yes; then
12319  # Code to be used in simple compile tests
12320  lt_simple_compile_test_code="int some_variable = 0;"
12321
12322  # Code to be used in simple link tests
12323  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12324
12325  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12326
12327
12328
12329
12330
12331
12332# If no C compiler was specified, use CC.
12333LTCC=${LTCC-"$CC"}
12334
12335# If no C compiler flags were specified, use CFLAGS.
12336LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12337
12338# Allow CC to be a program name with arguments.
12339compiler=$CC
12340
12341
12342  # save warnings/boilerplate of simple test code
12343  ac_outfile=conftest.$ac_objext
12344echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12345eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12346_lt_compiler_boilerplate=`cat conftest.err`
12347$RM conftest*
12348
12349  ac_outfile=conftest.$ac_objext
12350echo "$lt_simple_link_test_code" >conftest.$ac_ext
12351eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12352_lt_linker_boilerplate=`cat conftest.err`
12353$RM -r conftest*
12354
12355
12356  # Allow CC to be a program name with arguments.
12357  lt_save_CC=$CC
12358  lt_save_LD=$LD
12359  lt_save_GCC=$GCC
12360  GCC=$GXX
12361  lt_save_with_gnu_ld=$with_gnu_ld
12362  lt_save_path_LD=$lt_cv_path_LD
12363  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12364    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12365  else
12366    $as_unset lt_cv_prog_gnu_ld
12367  fi
12368  if test -n "${lt_cv_path_LDCXX+set}"; then
12369    lt_cv_path_LD=$lt_cv_path_LDCXX
12370  else
12371    $as_unset lt_cv_path_LD
12372  fi
12373  test -z "${LDCXX+set}" || LD=$LDCXX
12374  CC=${CXX-"c++"}
12375  compiler=$CC
12376  compiler_CXX=$CC
12377  for cc_temp in $compiler""; do
12378  case $cc_temp in
12379    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12380    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12381    \-*) ;;
12382    *) break;;
12383  esac
12384done
12385cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12386
12387
12388  if test -n "$compiler"; then
12389    # We don't want -fno-exception when compiling C++ code, so set the
12390    # no_builtin_flag separately
12391    if test "$GXX" = yes; then
12392      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12393    else
12394      lt_prog_compiler_no_builtin_flag_CXX=
12395    fi
12396
12397    if test "$GXX" = yes; then
12398      # Set up default GNU C++ configuration
12399
12400
12401
12402# Check whether --with-gnu-ld was given.
12403if test "${with_gnu_ld+set}" = set; then :
12404  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12405else
12406  with_gnu_ld=no
12407fi
12408
12409ac_prog=ld
12410if test "$GCC" = yes; then
12411  # Check if gcc -print-prog-name=ld gives a path.
12412  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12413$as_echo_n "checking for ld used by $CC... " >&6; }
12414  case $host in
12415  *-*-mingw*)
12416    # gcc leaves a trailing carriage return which upsets mingw
12417    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12418  *)
12419    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12420  esac
12421  case $ac_prog in
12422    # Accept absolute paths.
12423    [\\/]* | ?:[\\/]*)
12424      re_direlt='/[^/][^/]*/\.\./'
12425      # Canonicalize the pathname of ld
12426      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12427      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12428	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12429      done
12430      test -z "$LD" && LD="$ac_prog"
12431      ;;
12432  "")
12433    # If it fails, then pretend we aren't using GCC.
12434    ac_prog=ld
12435    ;;
12436  *)
12437    # If it is relative, then search for the first ld in PATH.
12438    with_gnu_ld=unknown
12439    ;;
12440  esac
12441elif test "$with_gnu_ld" = yes; then
12442  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12443$as_echo_n "checking for GNU ld... " >&6; }
12444else
12445  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12446$as_echo_n "checking for non-GNU ld... " >&6; }
12447fi
12448if test "${lt_cv_path_LD+set}" = set; then :
12449  $as_echo_n "(cached) " >&6
12450else
12451  if test -z "$LD"; then
12452  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12453  for ac_dir in $PATH; do
12454    IFS="$lt_save_ifs"
12455    test -z "$ac_dir" && ac_dir=.
12456    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12457      lt_cv_path_LD="$ac_dir/$ac_prog"
12458      # Check to see if the program is GNU ld.  I'd rather use --version,
12459      # but apparently some variants of GNU ld only accept -v.
12460      # Break only if it was the GNU/non-GNU ld that we prefer.
12461      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12462      *GNU* | *'with BFD'*)
12463	test "$with_gnu_ld" != no && break
12464	;;
12465      *)
12466	test "$with_gnu_ld" != yes && break
12467	;;
12468      esac
12469    fi
12470  done
12471  IFS="$lt_save_ifs"
12472else
12473  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12474fi
12475fi
12476
12477LD="$lt_cv_path_LD"
12478if test -n "$LD"; then
12479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12480$as_echo "$LD" >&6; }
12481else
12482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12483$as_echo "no" >&6; }
12484fi
12485test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12487$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12488if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12489  $as_echo_n "(cached) " >&6
12490else
12491  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12492case `$LD -v 2>&1 </dev/null` in
12493*GNU* | *'with BFD'*)
12494  lt_cv_prog_gnu_ld=yes
12495  ;;
12496*)
12497  lt_cv_prog_gnu_ld=no
12498  ;;
12499esac
12500fi
12501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12502$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12503with_gnu_ld=$lt_cv_prog_gnu_ld
12504
12505
12506
12507
12508
12509
12510
12511      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12512      # archiving commands below assume that GNU ld is being used.
12513      if test "$with_gnu_ld" = yes; then
12514        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12515        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'
12516
12517        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12518        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12519
12520        # If archive_cmds runs LD, not CC, wlarc should be empty
12521        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12522        #     investigate it a little bit more. (MM)
12523        wlarc='${wl}'
12524
12525        # ancient GNU ld didn't support --whole-archive et. al.
12526        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12527	  $GREP 'no-whole-archive' > /dev/null; then
12528          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12529        else
12530          whole_archive_flag_spec_CXX=
12531        fi
12532      else
12533        with_gnu_ld=no
12534        wlarc=
12535
12536        # A generic and very simple default shared library creation
12537        # command for GNU C++ for the case where it uses the native
12538        # linker, instead of GNU ld.  If possible, this setting should
12539        # overridden to take advantage of the native linker features on
12540        # the platform it is being used on.
12541        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12542      fi
12543
12544      # Commands to make compiler produce verbose output that lists
12545      # what "hidden" libraries, object files and flags are used when
12546      # linking a shared library.
12547      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12548
12549    else
12550      GXX=no
12551      with_gnu_ld=no
12552      wlarc=
12553    fi
12554
12555    # PORTME: fill in a description of your system's C++ link characteristics
12556    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12557$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12558    ld_shlibs_CXX=yes
12559    case $host_os in
12560      aix3*)
12561        # FIXME: insert proper C++ library support
12562        ld_shlibs_CXX=no
12563        ;;
12564      aix[4-9]*)
12565        if test "$host_cpu" = ia64; then
12566          # On IA64, the linker does run time linking by default, so we don't
12567          # have to do anything special.
12568          aix_use_runtimelinking=no
12569          exp_sym_flag='-Bexport'
12570          no_entry_flag=""
12571        else
12572          aix_use_runtimelinking=no
12573
12574          # Test if we are trying to use run time linking or normal
12575          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12576          # need to do runtime linking.
12577          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12578	    for ld_flag in $LDFLAGS; do
12579	      case $ld_flag in
12580	      *-brtl*)
12581	        aix_use_runtimelinking=yes
12582	        break
12583	        ;;
12584	      esac
12585	    done
12586	    ;;
12587          esac
12588
12589          exp_sym_flag='-bexport'
12590          no_entry_flag='-bnoentry'
12591        fi
12592
12593        # When large executables or shared objects are built, AIX ld can
12594        # have problems creating the table of contents.  If linking a library
12595        # or program results in "error TOC overflow" add -mminimal-toc to
12596        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12597        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12598
12599        archive_cmds_CXX=''
12600        hardcode_direct_CXX=yes
12601        hardcode_direct_absolute_CXX=yes
12602        hardcode_libdir_separator_CXX=':'
12603        link_all_deplibs_CXX=yes
12604        file_list_spec_CXX='${wl}-f,'
12605
12606        if test "$GXX" = yes; then
12607          case $host_os in aix4.[012]|aix4.[012].*)
12608          # We only want to do this on AIX 4.2 and lower, the check
12609          # below for broken collect2 doesn't work under 4.3+
12610	  collect2name=`${CC} -print-prog-name=collect2`
12611	  if test -f "$collect2name" &&
12612	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12613	  then
12614	    # We have reworked collect2
12615	    :
12616	  else
12617	    # We have old collect2
12618	    hardcode_direct_CXX=unsupported
12619	    # It fails to find uninstalled libraries when the uninstalled
12620	    # path is not listed in the libpath.  Setting hardcode_minus_L
12621	    # to unsupported forces relinking
12622	    hardcode_minus_L_CXX=yes
12623	    hardcode_libdir_flag_spec_CXX='-L$libdir'
12624	    hardcode_libdir_separator_CXX=
12625	  fi
12626          esac
12627          shared_flag='-shared'
12628	  if test "$aix_use_runtimelinking" = yes; then
12629	    shared_flag="$shared_flag "'${wl}-G'
12630	  fi
12631        else
12632          # not using gcc
12633          if test "$host_cpu" = ia64; then
12634	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12635	  # chokes on -Wl,-G. The following line is correct:
12636	  shared_flag='-G'
12637          else
12638	    if test "$aix_use_runtimelinking" = yes; then
12639	      shared_flag='${wl}-G'
12640	    else
12641	      shared_flag='${wl}-bM:SRE'
12642	    fi
12643          fi
12644        fi
12645
12646        export_dynamic_flag_spec_CXX='${wl}-bexpall'
12647        # It seems that -bexpall does not export symbols beginning with
12648        # underscore (_), so it is better to generate a list of symbols to
12649	# export.
12650        always_export_symbols_CXX=yes
12651        if test "$aix_use_runtimelinking" = yes; then
12652          # Warning - without using the other runtime loading flags (-brtl),
12653          # -berok will link without error, but may produce a broken library.
12654          allow_undefined_flag_CXX='-berok'
12655          # Determine the default libpath from the value encoded in an empty
12656          # executable.
12657          if test x$gcc_no_link = xyes; then
12658  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12659fi
12660cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12661/* end confdefs.h.  */
12662
12663int
12664main ()
12665{
12666
12667  ;
12668  return 0;
12669}
12670_ACEOF
12671if ac_fn_cxx_try_link "$LINENO"; then :
12672
12673lt_aix_libpath_sed='
12674    /Import File Strings/,/^$/ {
12675	/^0/ {
12676	    s/^0  *\(.*\)$/\1/
12677	    p
12678	}
12679    }'
12680aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12681# Check for a 64-bit object if we didn't find anything.
12682if test -z "$aix_libpath"; then
12683  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12684fi
12685fi
12686rm -f core conftest.err conftest.$ac_objext \
12687    conftest$ac_exeext conftest.$ac_ext
12688if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12689
12690          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12691
12692          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"
12693        else
12694          if test "$host_cpu" = ia64; then
12695	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12696	    allow_undefined_flag_CXX="-z nodefs"
12697	    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"
12698          else
12699	    # Determine the default libpath from the value encoded in an
12700	    # empty executable.
12701	    if test x$gcc_no_link = xyes; then
12702  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12703fi
12704cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12705/* end confdefs.h.  */
12706
12707int
12708main ()
12709{
12710
12711  ;
12712  return 0;
12713}
12714_ACEOF
12715if ac_fn_cxx_try_link "$LINENO"; then :
12716
12717lt_aix_libpath_sed='
12718    /Import File Strings/,/^$/ {
12719	/^0/ {
12720	    s/^0  *\(.*\)$/\1/
12721	    p
12722	}
12723    }'
12724aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12725# Check for a 64-bit object if we didn't find anything.
12726if test -z "$aix_libpath"; then
12727  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12728fi
12729fi
12730rm -f core conftest.err conftest.$ac_objext \
12731    conftest$ac_exeext conftest.$ac_ext
12732if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12733
12734	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12735	    # Warning - without using the other run time loading flags,
12736	    # -berok will link without error, but may produce a broken library.
12737	    no_undefined_flag_CXX=' ${wl}-bernotok'
12738	    allow_undefined_flag_CXX=' ${wl}-berok'
12739	    if test "$with_gnu_ld" = yes; then
12740	      # We only use this code for GNU lds that support --whole-archive.
12741	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12742	    else
12743	      # Exported symbols can be pulled into shared objects from archives
12744	      whole_archive_flag_spec_CXX='$convenience'
12745	    fi
12746	    archive_cmds_need_lc_CXX=yes
12747	    # This is similar to how AIX traditionally builds its shared
12748	    # libraries.
12749	    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'
12750          fi
12751        fi
12752        ;;
12753
12754      beos*)
12755	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12756	  allow_undefined_flag_CXX=unsupported
12757	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12758	  # support --undefined.  This deserves some investigation.  FIXME
12759	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12760	else
12761	  ld_shlibs_CXX=no
12762	fi
12763	;;
12764
12765      chorus*)
12766        case $cc_basename in
12767          *)
12768	  # FIXME: insert proper C++ library support
12769	  ld_shlibs_CXX=no
12770	  ;;
12771        esac
12772        ;;
12773
12774      cygwin* | mingw* | pw32* | cegcc*)
12775        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12776        # as there is no search path for DLLs.
12777        hardcode_libdir_flag_spec_CXX='-L$libdir'
12778        export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12779        allow_undefined_flag_CXX=unsupported
12780        always_export_symbols_CXX=no
12781        enable_shared_with_static_runtimes_CXX=yes
12782
12783        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12784          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'
12785          # If the export-symbols file already is a .def file (1st line
12786          # is EXPORTS), use it as is; otherwise, prepend...
12787          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12788	    cp $export_symbols $output_objdir/$soname.def;
12789          else
12790	    echo EXPORTS > $output_objdir/$soname.def;
12791	    cat $export_symbols >> $output_objdir/$soname.def;
12792          fi~
12793          $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'
12794        else
12795          ld_shlibs_CXX=no
12796        fi
12797        ;;
12798      darwin* | rhapsody*)
12799
12800
12801  archive_cmds_need_lc_CXX=no
12802  hardcode_direct_CXX=no
12803  hardcode_automatic_CXX=yes
12804  hardcode_shlibpath_var_CXX=unsupported
12805  if test "$lt_cv_ld_force_load" = "yes"; then
12806    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\"`'
12807  else
12808    whole_archive_flag_spec_CXX=''
12809  fi
12810  link_all_deplibs_CXX=yes
12811  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12812  case $cc_basename in
12813     ifort*) _lt_dar_can_shared=yes ;;
12814     *) _lt_dar_can_shared=$GCC ;;
12815  esac
12816  if test "$_lt_dar_can_shared" = "yes"; then
12817    output_verbose_link_cmd=func_echo_all
12818    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}"
12819    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12820    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}"
12821    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}"
12822       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12823      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}"
12824      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}"
12825    fi
12826
12827  else
12828  ld_shlibs_CXX=no
12829  fi
12830
12831	;;
12832
12833      dgux*)
12834        case $cc_basename in
12835          ec++*)
12836	    # FIXME: insert proper C++ library support
12837	    ld_shlibs_CXX=no
12838	    ;;
12839          ghcx*)
12840	    # Green Hills C++ Compiler
12841	    # FIXME: insert proper C++ library support
12842	    ld_shlibs_CXX=no
12843	    ;;
12844          *)
12845	    # FIXME: insert proper C++ library support
12846	    ld_shlibs_CXX=no
12847	    ;;
12848        esac
12849        ;;
12850
12851      freebsd2.*)
12852        # C++ shared libraries reported to be fairly broken before
12853	# switch to ELF
12854        ld_shlibs_CXX=no
12855        ;;
12856
12857      freebsd-elf*)
12858        archive_cmds_need_lc_CXX=no
12859        ;;
12860
12861      freebsd* | dragonfly*)
12862        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12863        # conventions
12864        ld_shlibs_CXX=yes
12865        ;;
12866
12867      gnu*)
12868        ;;
12869
12870      haiku*)
12871        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12872        link_all_deplibs_CXX=yes
12873        ;;
12874
12875      hpux9*)
12876        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12877        hardcode_libdir_separator_CXX=:
12878        export_dynamic_flag_spec_CXX='${wl}-E'
12879        hardcode_direct_CXX=yes
12880        hardcode_minus_L_CXX=yes # Not in the search PATH,
12881				             # but as the default
12882				             # location of the library.
12883
12884        case $cc_basename in
12885          CC*)
12886            # FIXME: insert proper C++ library support
12887            ld_shlibs_CXX=no
12888            ;;
12889          aCC*)
12890            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'
12891            # Commands to make compiler produce verbose output that lists
12892            # what "hidden" libraries, object files and flags are used when
12893            # linking a shared library.
12894            #
12895            # There doesn't appear to be a way to prevent this compiler from
12896            # explicitly linking system object files so we need to strip them
12897            # from the output so that they don't get included in the library
12898            # dependencies.
12899            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"'
12900            ;;
12901          *)
12902            if test "$GXX" = yes; then
12903              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'
12904            else
12905              # FIXME: insert proper C++ library support
12906              ld_shlibs_CXX=no
12907            fi
12908            ;;
12909        esac
12910        ;;
12911
12912      hpux10*|hpux11*)
12913        if test $with_gnu_ld = no; then
12914	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12915	  hardcode_libdir_separator_CXX=:
12916
12917          case $host_cpu in
12918            hppa*64*|ia64*)
12919              ;;
12920            *)
12921	      export_dynamic_flag_spec_CXX='${wl}-E'
12922              ;;
12923          esac
12924        fi
12925        case $host_cpu in
12926          hppa*64*|ia64*)
12927            hardcode_direct_CXX=no
12928            hardcode_shlibpath_var_CXX=no
12929            ;;
12930          *)
12931            hardcode_direct_CXX=yes
12932            hardcode_direct_absolute_CXX=yes
12933            hardcode_minus_L_CXX=yes # Not in the search PATH,
12934					         # but as the default
12935					         # location of the library.
12936            ;;
12937        esac
12938
12939        case $cc_basename in
12940          CC*)
12941	    # FIXME: insert proper C++ library support
12942	    ld_shlibs_CXX=no
12943	    ;;
12944          aCC*)
12945	    case $host_cpu in
12946	      hppa*64*)
12947	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12948	        ;;
12949	      ia64*)
12950	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12951	        ;;
12952	      *)
12953	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12954	        ;;
12955	    esac
12956	    # Commands to make compiler produce verbose output that lists
12957	    # what "hidden" libraries, object files and flags are used when
12958	    # linking a shared library.
12959	    #
12960	    # There doesn't appear to be a way to prevent this compiler from
12961	    # explicitly linking system object files so we need to strip them
12962	    # from the output so that they don't get included in the library
12963	    # dependencies.
12964	    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"'
12965	    ;;
12966          *)
12967	    if test "$GXX" = yes; then
12968	      if test $with_gnu_ld = no; then
12969	        case $host_cpu in
12970	          hppa*64*)
12971	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12972	            ;;
12973	          ia64*)
12974	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12975	            ;;
12976	          *)
12977	            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'
12978	            ;;
12979	        esac
12980	      fi
12981	    else
12982	      # FIXME: insert proper C++ library support
12983	      ld_shlibs_CXX=no
12984	    fi
12985	    ;;
12986        esac
12987        ;;
12988
12989      interix[3-9]*)
12990	hardcode_direct_CXX=no
12991	hardcode_shlibpath_var_CXX=no
12992	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12993	export_dynamic_flag_spec_CXX='${wl}-E'
12994	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12995	# Instead, shared libraries are loaded at an image base (0x10000000 by
12996	# default) and relocated if they conflict, which is a slow very memory
12997	# consuming and fragmenting process.  To avoid this, we pick a random,
12998	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12999	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13000	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'
13001	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'
13002	;;
13003      irix5* | irix6*)
13004        case $cc_basename in
13005          CC*)
13006	    # SGI C++
13007	    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'
13008
13009	    # Archives containing C++ object files must be created using
13010	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13011	    # necessary to make sure instantiated templates are included
13012	    # in the archive.
13013	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13014	    ;;
13015          *)
13016	    if test "$GXX" = yes; then
13017	      if test "$with_gnu_ld" = no; then
13018	        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'
13019	      else
13020	        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'
13021	      fi
13022	    fi
13023	    link_all_deplibs_CXX=yes
13024	    ;;
13025        esac
13026        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13027        hardcode_libdir_separator_CXX=:
13028        inherit_rpath_CXX=yes
13029        ;;
13030
13031      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13032        case $cc_basename in
13033          KCC*)
13034	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13035
13036	    # KCC will only create a shared library if the output file
13037	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13038	    # to its proper name (with version) after linking.
13039	    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'
13040	    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'
13041	    # Commands to make compiler produce verbose output that lists
13042	    # what "hidden" libraries, object files and flags are used when
13043	    # linking a shared library.
13044	    #
13045	    # There doesn't appear to be a way to prevent this compiler from
13046	    # explicitly linking system object files so we need to strip them
13047	    # from the output so that they don't get included in the library
13048	    # dependencies.
13049	    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"'
13050
13051	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13052	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13053
13054	    # Archives containing C++ object files must be created using
13055	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13056	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13057	    ;;
13058	  icpc* | ecpc* )
13059	    # Intel C++
13060	    with_gnu_ld=yes
13061	    # version 8.0 and above of icpc choke on multiply defined symbols
13062	    # if we add $predep_objects and $postdep_objects, however 7.1 and
13063	    # earlier do not add the objects themselves.
13064	    case `$CC -V 2>&1` in
13065	      *"Version 7."*)
13066	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13067		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'
13068		;;
13069	      *)  # Version 8.0 or newer
13070	        tmp_idyn=
13071	        case $host_cpu in
13072		  ia64*) tmp_idyn=' -i_dynamic';;
13073		esac
13074	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13075		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'
13076		;;
13077	    esac
13078	    archive_cmds_need_lc_CXX=no
13079	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13080	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13081	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13082	    ;;
13083          pgCC* | pgcpp*)
13084            # Portland Group C++ compiler
13085	    case `$CC -V` in
13086	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13087	      prelink_cmds_CXX='tpldir=Template.dir~
13088		rm -rf $tpldir~
13089		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13090		compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13091	      old_archive_cmds_CXX='tpldir=Template.dir~
13092		rm -rf $tpldir~
13093		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13094		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13095		$RANLIB $oldlib'
13096	      archive_cmds_CXX='tpldir=Template.dir~
13097		rm -rf $tpldir~
13098		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13099		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13100	      archive_expsym_cmds_CXX='tpldir=Template.dir~
13101		rm -rf $tpldir~
13102		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13103		$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'
13104	      ;;
13105	    *) # Version 6 and above use weak symbols
13106	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13107	      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'
13108	      ;;
13109	    esac
13110
13111	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13112	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13113	    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'
13114            ;;
13115	  cxx*)
13116	    # Compaq C++
13117	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13118	    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'
13119
13120	    runpath_var=LD_RUN_PATH
13121	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13122	    hardcode_libdir_separator_CXX=:
13123
13124	    # Commands to make compiler produce verbose output that lists
13125	    # what "hidden" libraries, object files and flags are used when
13126	    # linking a shared library.
13127	    #
13128	    # There doesn't appear to be a way to prevent this compiler from
13129	    # explicitly linking system object files so we need to strip them
13130	    # from the output so that they don't get included in the library
13131	    # dependencies.
13132	    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'
13133	    ;;
13134	  xl* | mpixl* | bgxl*)
13135	    # IBM XL 8.0 on PPC, with GNU ld
13136	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13137	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13138	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13139	    if test "x$supports_anon_versioning" = xyes; then
13140	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13141		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13142		echo "local: *; };" >> $output_objdir/$libname.ver~
13143		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13144	    fi
13145	    ;;
13146	  *)
13147	    case `$CC -V 2>&1 | sed 5q` in
13148	    *Sun\ C*)
13149	      # Sun C++ 5.9
13150	      no_undefined_flag_CXX=' -zdefs'
13151	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13152	      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'
13153	      hardcode_libdir_flag_spec_CXX='-R$libdir'
13154	      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'
13155	      compiler_needs_object_CXX=yes
13156
13157	      # Not sure whether something based on
13158	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13159	      # would be better.
13160	      output_verbose_link_cmd='func_echo_all'
13161
13162	      # Archives containing C++ object files must be created using
13163	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13164	      # necessary to make sure instantiated templates are included
13165	      # in the archive.
13166	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13167	      ;;
13168	    esac
13169	    ;;
13170	esac
13171	;;
13172
13173      lynxos*)
13174        # FIXME: insert proper C++ library support
13175	ld_shlibs_CXX=no
13176	;;
13177
13178      m88k*)
13179        # FIXME: insert proper C++ library support
13180        ld_shlibs_CXX=no
13181	;;
13182
13183      mvs*)
13184        case $cc_basename in
13185          cxx*)
13186	    # FIXME: insert proper C++ library support
13187	    ld_shlibs_CXX=no
13188	    ;;
13189	  *)
13190	    # FIXME: insert proper C++ library support
13191	    ld_shlibs_CXX=no
13192	    ;;
13193	esac
13194	;;
13195
13196      netbsd*)
13197        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13198	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13199	  wlarc=
13200	  hardcode_libdir_flag_spec_CXX='-R$libdir'
13201	  hardcode_direct_CXX=yes
13202	  hardcode_shlibpath_var_CXX=no
13203	fi
13204	# Workaround some broken pre-1.5 toolchains
13205	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13206	;;
13207
13208      *nto* | *qnx*)
13209        ld_shlibs_CXX=yes
13210	;;
13211
13212      openbsd2*)
13213        # C++ shared libraries are fairly broken
13214	ld_shlibs_CXX=no
13215	;;
13216
13217      openbsd*)
13218	if test -f /usr/libexec/ld.so; then
13219	  hardcode_direct_CXX=yes
13220	  hardcode_shlibpath_var_CXX=no
13221	  hardcode_direct_absolute_CXX=yes
13222	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13223	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13224	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13225	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13226	    export_dynamic_flag_spec_CXX='${wl}-E'
13227	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13228	  fi
13229	  output_verbose_link_cmd=func_echo_all
13230	else
13231	  ld_shlibs_CXX=no
13232	fi
13233	;;
13234
13235      osf3* | osf4* | osf5*)
13236        case $cc_basename in
13237          KCC*)
13238	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13239
13240	    # KCC will only create a shared library if the output file
13241	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13242	    # to its proper name (with version) after linking.
13243	    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'
13244
13245	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13246	    hardcode_libdir_separator_CXX=:
13247
13248	    # Archives containing C++ object files must be created using
13249	    # the KAI C++ compiler.
13250	    case $host in
13251	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13252	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13253	    esac
13254	    ;;
13255          RCC*)
13256	    # Rational C++ 2.4.1
13257	    # FIXME: insert proper C++ library support
13258	    ld_shlibs_CXX=no
13259	    ;;
13260          cxx*)
13261	    case $host in
13262	      osf3*)
13263	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13264	        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'
13265	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13266		;;
13267	      *)
13268	        allow_undefined_flag_CXX=' -expect_unresolved \*'
13269	        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'
13270	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13271	          echo "-hidden">> $lib.exp~
13272	          $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~
13273	          $RM $lib.exp'
13274	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13275		;;
13276	    esac
13277
13278	    hardcode_libdir_separator_CXX=:
13279
13280	    # Commands to make compiler produce verbose output that lists
13281	    # what "hidden" libraries, object files and flags are used when
13282	    # linking a shared library.
13283	    #
13284	    # There doesn't appear to be a way to prevent this compiler from
13285	    # explicitly linking system object files so we need to strip them
13286	    # from the output so that they don't get included in the library
13287	    # dependencies.
13288	    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"'
13289	    ;;
13290	  *)
13291	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13292	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13293	      case $host in
13294	        osf3*)
13295	          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'
13296		  ;;
13297	        *)
13298	          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'
13299		  ;;
13300	      esac
13301
13302	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13303	      hardcode_libdir_separator_CXX=:
13304
13305	      # Commands to make compiler produce verbose output that lists
13306	      # what "hidden" libraries, object files and flags are used when
13307	      # linking a shared library.
13308	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13309
13310	    else
13311	      # FIXME: insert proper C++ library support
13312	      ld_shlibs_CXX=no
13313	    fi
13314	    ;;
13315        esac
13316        ;;
13317
13318      psos*)
13319        # FIXME: insert proper C++ library support
13320        ld_shlibs_CXX=no
13321        ;;
13322
13323      sunos4*)
13324        case $cc_basename in
13325          CC*)
13326	    # Sun C++ 4.x
13327	    # FIXME: insert proper C++ library support
13328	    ld_shlibs_CXX=no
13329	    ;;
13330          lcc*)
13331	    # Lucid
13332	    # FIXME: insert proper C++ library support
13333	    ld_shlibs_CXX=no
13334	    ;;
13335          *)
13336	    # FIXME: insert proper C++ library support
13337	    ld_shlibs_CXX=no
13338	    ;;
13339        esac
13340        ;;
13341
13342      solaris*)
13343        case $cc_basename in
13344          CC*)
13345	    # Sun C++ 4.2, 5.x and Centerline C++
13346            archive_cmds_need_lc_CXX=yes
13347	    no_undefined_flag_CXX=' -zdefs'
13348	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13349	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13350	      $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'
13351
13352	    hardcode_libdir_flag_spec_CXX='-R$libdir'
13353	    hardcode_shlibpath_var_CXX=no
13354	    case $host_os in
13355	      solaris2.[0-5] | solaris2.[0-5].*) ;;
13356	      *)
13357		# The compiler driver will combine and reorder linker options,
13358		# but understands `-z linker_flag'.
13359	        # Supported since Solaris 2.6 (maybe 2.5.1?)
13360		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13361	        ;;
13362	    esac
13363	    link_all_deplibs_CXX=yes
13364
13365	    output_verbose_link_cmd='func_echo_all'
13366
13367	    # Archives containing C++ object files must be created using
13368	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13369	    # necessary to make sure instantiated templates are included
13370	    # in the archive.
13371	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13372	    ;;
13373          gcx*)
13374	    # Green Hills C++ Compiler
13375	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13376
13377	    # The C++ compiler must be used to create the archive.
13378	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13379	    ;;
13380          *)
13381	    # GNU C++ compiler with Solaris linker
13382	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13383	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13384	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13385	        archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13386	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13387		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13388
13389	        # Commands to make compiler produce verbose output that lists
13390	        # what "hidden" libraries, object files and flags are used when
13391	        # linking a shared library.
13392	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13393	      else
13394	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
13395	        # platform.
13396	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13397	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13398		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13399
13400	        # Commands to make compiler produce verbose output that lists
13401	        # what "hidden" libraries, object files and flags are used when
13402	        # linking a shared library.
13403	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13404	      fi
13405
13406	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13407	      case $host_os in
13408		solaris2.[0-5] | solaris2.[0-5].*) ;;
13409		*)
13410		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13411		  ;;
13412	      esac
13413	    fi
13414	    ;;
13415        esac
13416        ;;
13417
13418    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13419      no_undefined_flag_CXX='${wl}-z,text'
13420      archive_cmds_need_lc_CXX=no
13421      hardcode_shlibpath_var_CXX=no
13422      runpath_var='LD_RUN_PATH'
13423
13424      case $cc_basename in
13425        CC*)
13426	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13427	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13428	  ;;
13429	*)
13430	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13431	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13432	  ;;
13433      esac
13434      ;;
13435
13436      sysv5* | sco3.2v5* | sco5v6*)
13437	# Note: We can NOT use -z defs as we might desire, because we do not
13438	# link with -lc, and that would cause any symbols used from libc to
13439	# always be unresolved, which means just about no library would
13440	# ever link correctly.  If we're not using GNU ld we use -z text
13441	# though, which does catch some bad symbols but isn't as heavy-handed
13442	# as -z defs.
13443	no_undefined_flag_CXX='${wl}-z,text'
13444	allow_undefined_flag_CXX='${wl}-z,nodefs'
13445	archive_cmds_need_lc_CXX=no
13446	hardcode_shlibpath_var_CXX=no
13447	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13448	hardcode_libdir_separator_CXX=':'
13449	link_all_deplibs_CXX=yes
13450	export_dynamic_flag_spec_CXX='${wl}-Bexport'
13451	runpath_var='LD_RUN_PATH'
13452
13453	case $cc_basename in
13454          CC*)
13455	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13456	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13457	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13458	      '"$old_archive_cmds_CXX"
13459	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13460	      '"$reload_cmds_CXX"
13461	    ;;
13462	  *)
13463	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13464	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13465	    ;;
13466	esac
13467      ;;
13468
13469      tandem*)
13470        case $cc_basename in
13471          NCC*)
13472	    # NonStop-UX NCC 3.20
13473	    # FIXME: insert proper C++ library support
13474	    ld_shlibs_CXX=no
13475	    ;;
13476          *)
13477	    # FIXME: insert proper C++ library support
13478	    ld_shlibs_CXX=no
13479	    ;;
13480        esac
13481        ;;
13482
13483      vxworks*)
13484        # FIXME: insert proper C++ library support
13485        ld_shlibs_CXX=no
13486        ;;
13487
13488      *)
13489        # FIXME: insert proper C++ library support
13490        ld_shlibs_CXX=no
13491        ;;
13492    esac
13493
13494    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13495$as_echo "$ld_shlibs_CXX" >&6; }
13496    test "$ld_shlibs_CXX" = no && can_build_shared=no
13497
13498    GCC_CXX="$GXX"
13499    LD_CXX="$LD"
13500
13501    ## CAVEAT EMPTOR:
13502    ## There is no encapsulation within the following macros, do not change
13503    ## the running order or otherwise move them around unless you know exactly
13504    ## what you are doing...
13505    # Dependencies to place before and after the object being linked:
13506predep_objects_CXX=
13507postdep_objects_CXX=
13508predeps_CXX=
13509postdeps_CXX=
13510compiler_lib_search_path_CXX=
13511
13512cat > conftest.$ac_ext <<_LT_EOF
13513class Foo
13514{
13515public:
13516  Foo (void) { a = 0; }
13517private:
13518  int a;
13519};
13520_LT_EOF
13521
13522if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13523  (eval $ac_compile) 2>&5
13524  ac_status=$?
13525  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13526  test $ac_status = 0; }; then
13527  # Parse the compiler output and extract the necessary
13528  # objects, libraries and library flags.
13529
13530  # Sentinel used to keep track of whether or not we are before
13531  # the conftest object file.
13532  pre_test_object_deps_done=no
13533
13534  for p in `eval "$output_verbose_link_cmd"`; do
13535    case $p in
13536
13537    -L* | -R* | -l*)
13538       # Some compilers place space between "-{L,R}" and the path.
13539       # Remove the space.
13540       if test $p = "-L" ||
13541          test $p = "-R"; then
13542	 prev=$p
13543	 continue
13544       else
13545	 prev=
13546       fi
13547
13548       if test "$pre_test_object_deps_done" = no; then
13549	 case $p in
13550	 -L* | -R*)
13551	   # Internal compiler library paths should come after those
13552	   # provided the user.  The postdeps already come after the
13553	   # user supplied libs so there is no need to process them.
13554	   if test -z "$compiler_lib_search_path_CXX"; then
13555	     compiler_lib_search_path_CXX="${prev}${p}"
13556	   else
13557	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13558	   fi
13559	   ;;
13560	 # The "-l" case would never come before the object being
13561	 # linked, so don't bother handling this case.
13562	 esac
13563       else
13564	 if test -z "$postdeps_CXX"; then
13565	   postdeps_CXX="${prev}${p}"
13566	 else
13567	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13568	 fi
13569       fi
13570       ;;
13571
13572    *.$objext)
13573       # This assumes that the test object file only shows up
13574       # once in the compiler output.
13575       if test "$p" = "conftest.$objext"; then
13576	 pre_test_object_deps_done=yes
13577	 continue
13578       fi
13579
13580       if test "$pre_test_object_deps_done" = no; then
13581	 if test -z "$predep_objects_CXX"; then
13582	   predep_objects_CXX="$p"
13583	 else
13584	   predep_objects_CXX="$predep_objects_CXX $p"
13585	 fi
13586       else
13587	 if test -z "$postdep_objects_CXX"; then
13588	   postdep_objects_CXX="$p"
13589	 else
13590	   postdep_objects_CXX="$postdep_objects_CXX $p"
13591	 fi
13592       fi
13593       ;;
13594
13595    *) ;; # Ignore the rest.
13596
13597    esac
13598  done
13599
13600  # Clean up.
13601  rm -f a.out a.exe
13602else
13603  echo "libtool.m4: error: problem compiling CXX test program"
13604fi
13605
13606$RM -f confest.$objext
13607
13608# PORTME: override above test on systems where it is broken
13609case $host_os in
13610interix[3-9]*)
13611  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13612  # hack all around it, let's just trust "g++" to DTRT.
13613  predep_objects_CXX=
13614  postdep_objects_CXX=
13615  postdeps_CXX=
13616  ;;
13617
13618linux*)
13619  case `$CC -V 2>&1 | sed 5q` in
13620  *Sun\ C*)
13621    # Sun C++ 5.9
13622
13623    # The more standards-conforming stlport4 library is
13624    # incompatible with the Cstd library. Avoid specifying
13625    # it if it's in CXXFLAGS. Ignore libCrun as
13626    # -library=stlport4 depends on it.
13627    case " $CXX $CXXFLAGS " in
13628    *" -library=stlport4 "*)
13629      solaris_use_stlport4=yes
13630      ;;
13631    esac
13632
13633    if test "$solaris_use_stlport4" != yes; then
13634      postdeps_CXX='-library=Cstd -library=Crun'
13635    fi
13636    ;;
13637  esac
13638  ;;
13639
13640solaris*)
13641  case $cc_basename in
13642  CC*)
13643    # The more standards-conforming stlport4 library is
13644    # incompatible with the Cstd library. Avoid specifying
13645    # it if it's in CXXFLAGS. Ignore libCrun as
13646    # -library=stlport4 depends on it.
13647    case " $CXX $CXXFLAGS " in
13648    *" -library=stlport4 "*)
13649      solaris_use_stlport4=yes
13650      ;;
13651    esac
13652
13653    # Adding this requires a known-good setup of shared libraries for
13654    # Sun compiler versions before 5.6, else PIC objects from an old
13655    # archive will be linked into the output, leading to subtle bugs.
13656    if test "$solaris_use_stlport4" != yes; then
13657      postdeps_CXX='-library=Cstd -library=Crun'
13658    fi
13659    ;;
13660  esac
13661  ;;
13662esac
13663
13664
13665case " $postdeps_CXX " in
13666*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13667esac
13668 compiler_lib_search_dirs_CXX=
13669if test -n "${compiler_lib_search_path_CXX}"; then
13670 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13671fi
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703    lt_prog_compiler_wl_CXX=
13704lt_prog_compiler_pic_CXX=
13705lt_prog_compiler_static_CXX=
13706
13707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13708$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13709
13710  # C++ specific cases for pic, static, wl, etc.
13711  if test "$GXX" = yes; then
13712    lt_prog_compiler_wl_CXX='-Wl,'
13713    lt_prog_compiler_static_CXX='-static'
13714
13715    case $host_os in
13716    aix*)
13717      # All AIX code is PIC.
13718      if test "$host_cpu" = ia64; then
13719	# AIX 5 now supports IA64 processor
13720	lt_prog_compiler_static_CXX='-Bstatic'
13721      fi
13722      lt_prog_compiler_pic_CXX='-fPIC'
13723      ;;
13724
13725    amigaos*)
13726      case $host_cpu in
13727      powerpc)
13728            # see comment about AmigaOS4 .so support
13729            lt_prog_compiler_pic_CXX='-fPIC'
13730        ;;
13731      m68k)
13732            # FIXME: we need at least 68020 code to build shared libraries, but
13733            # adding the `-m68020' flag to GCC prevents building anything better,
13734            # like `-m68040'.
13735            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13736        ;;
13737      esac
13738      ;;
13739
13740    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13741      # PIC is the default for these OSes.
13742      ;;
13743    mingw* | cygwin* | os2* | pw32* | cegcc*)
13744      # This hack is so that the source file can tell whether it is being
13745      # built for inclusion in a dll (and should export symbols for example).
13746      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13747      # (--disable-auto-import) libraries
13748      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13749      ;;
13750    darwin* | rhapsody*)
13751      # PIC is the default on this platform
13752      # Common symbols not allowed in MH_DYLIB files
13753      lt_prog_compiler_pic_CXX='-fno-common'
13754      ;;
13755    *djgpp*)
13756      # DJGPP does not support shared libraries at all
13757      lt_prog_compiler_pic_CXX=
13758      ;;
13759    haiku*)
13760      # PIC is the default for Haiku.
13761      # The "-static" flag exists, but is broken.
13762      lt_prog_compiler_static_CXX=
13763      ;;
13764    interix[3-9]*)
13765      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13766      # Instead, we relocate shared libraries at runtime.
13767      ;;
13768    sysv4*MP*)
13769      if test -d /usr/nec; then
13770	lt_prog_compiler_pic_CXX=-Kconform_pic
13771      fi
13772      ;;
13773    hpux*)
13774      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13775      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13776      # sets the default TLS model and affects inlining.
13777      case $host_cpu in
13778      hppa*64*)
13779	;;
13780      *)
13781	lt_prog_compiler_pic_CXX='-fPIC'
13782	;;
13783      esac
13784      ;;
13785    *qnx* | *nto*)
13786      # QNX uses GNU C++, but need to define -shared option too, otherwise
13787      # it will coredump.
13788      lt_prog_compiler_pic_CXX='-fPIC -shared'
13789      ;;
13790    *)
13791      lt_prog_compiler_pic_CXX='-fPIC'
13792      ;;
13793    esac
13794  else
13795    case $host_os in
13796      aix[4-9]*)
13797	# All AIX code is PIC.
13798	if test "$host_cpu" = ia64; then
13799	  # AIX 5 now supports IA64 processor
13800	  lt_prog_compiler_static_CXX='-Bstatic'
13801	else
13802	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13803	fi
13804	;;
13805      chorus*)
13806	case $cc_basename in
13807	cxch68*)
13808	  # Green Hills C++ Compiler
13809	  # _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"
13810	  ;;
13811	esac
13812	;;
13813      dgux*)
13814	case $cc_basename in
13815	  ec++*)
13816	    lt_prog_compiler_pic_CXX='-KPIC'
13817	    ;;
13818	  ghcx*)
13819	    # Green Hills C++ Compiler
13820	    lt_prog_compiler_pic_CXX='-pic'
13821	    ;;
13822	  *)
13823	    ;;
13824	esac
13825	;;
13826      freebsd* | dragonfly*)
13827	# FreeBSD uses GNU C++
13828	;;
13829      hpux9* | hpux10* | hpux11*)
13830	case $cc_basename in
13831	  CC*)
13832	    lt_prog_compiler_wl_CXX='-Wl,'
13833	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13834	    if test "$host_cpu" != ia64; then
13835	      lt_prog_compiler_pic_CXX='+Z'
13836	    fi
13837	    ;;
13838	  aCC*)
13839	    lt_prog_compiler_wl_CXX='-Wl,'
13840	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13841	    case $host_cpu in
13842	    hppa*64*|ia64*)
13843	      # +Z the default
13844	      ;;
13845	    *)
13846	      lt_prog_compiler_pic_CXX='+Z'
13847	      ;;
13848	    esac
13849	    ;;
13850	  *)
13851	    ;;
13852	esac
13853	;;
13854      interix*)
13855	# This is c89, which is MS Visual C++ (no shared libs)
13856	# Anyone wants to do a port?
13857	;;
13858      irix5* | irix6* | nonstopux*)
13859	case $cc_basename in
13860	  CC*)
13861	    lt_prog_compiler_wl_CXX='-Wl,'
13862	    lt_prog_compiler_static_CXX='-non_shared'
13863	    # CC pic flag -KPIC is the default.
13864	    ;;
13865	  *)
13866	    ;;
13867	esac
13868	;;
13869      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13870	case $cc_basename in
13871	  KCC*)
13872	    # KAI C++ Compiler
13873	    lt_prog_compiler_wl_CXX='--backend -Wl,'
13874	    lt_prog_compiler_pic_CXX='-fPIC'
13875	    ;;
13876	  ecpc* )
13877	    # old Intel C++ for x86_64 which still supported -KPIC.
13878	    lt_prog_compiler_wl_CXX='-Wl,'
13879	    lt_prog_compiler_pic_CXX='-KPIC'
13880	    lt_prog_compiler_static_CXX='-static'
13881	    ;;
13882	  icpc* )
13883	    # Intel C++, used to be incompatible with GCC.
13884	    # ICC 10 doesn't accept -KPIC any more.
13885	    lt_prog_compiler_wl_CXX='-Wl,'
13886	    lt_prog_compiler_pic_CXX='-fPIC'
13887	    lt_prog_compiler_static_CXX='-static'
13888	    ;;
13889	  pgCC* | pgcpp*)
13890	    # Portland Group C++ compiler
13891	    lt_prog_compiler_wl_CXX='-Wl,'
13892	    lt_prog_compiler_pic_CXX='-fpic'
13893	    lt_prog_compiler_static_CXX='-Bstatic'
13894	    ;;
13895	  cxx*)
13896	    # Compaq C++
13897	    # Make sure the PIC flag is empty.  It appears that all Alpha
13898	    # Linux and Compaq Tru64 Unix objects are PIC.
13899	    lt_prog_compiler_pic_CXX=
13900	    lt_prog_compiler_static_CXX='-non_shared'
13901	    ;;
13902	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13903	    # IBM XL 8.0, 9.0 on PPC and BlueGene
13904	    lt_prog_compiler_wl_CXX='-Wl,'
13905	    lt_prog_compiler_pic_CXX='-qpic'
13906	    lt_prog_compiler_static_CXX='-qstaticlink'
13907	    ;;
13908	  *)
13909	    case `$CC -V 2>&1 | sed 5q` in
13910	    *Sun\ C*)
13911	      # Sun C++ 5.9
13912	      lt_prog_compiler_pic_CXX='-KPIC'
13913	      lt_prog_compiler_static_CXX='-Bstatic'
13914	      lt_prog_compiler_wl_CXX='-Qoption ld '
13915	      ;;
13916	    esac
13917	    ;;
13918	esac
13919	;;
13920      lynxos*)
13921	;;
13922      m88k*)
13923	;;
13924      mvs*)
13925	case $cc_basename in
13926	  cxx*)
13927	    lt_prog_compiler_pic_CXX='-W c,exportall'
13928	    ;;
13929	  *)
13930	    ;;
13931	esac
13932	;;
13933      netbsd*)
13934	;;
13935      *qnx* | *nto*)
13936        # QNX uses GNU C++, but need to define -shared option too, otherwise
13937        # it will coredump.
13938        lt_prog_compiler_pic_CXX='-fPIC -shared'
13939        ;;
13940      osf3* | osf4* | osf5*)
13941	case $cc_basename in
13942	  KCC*)
13943	    lt_prog_compiler_wl_CXX='--backend -Wl,'
13944	    ;;
13945	  RCC*)
13946	    # Rational C++ 2.4.1
13947	    lt_prog_compiler_pic_CXX='-pic'
13948	    ;;
13949	  cxx*)
13950	    # Digital/Compaq C++
13951	    lt_prog_compiler_wl_CXX='-Wl,'
13952	    # Make sure the PIC flag is empty.  It appears that all Alpha
13953	    # Linux and Compaq Tru64 Unix objects are PIC.
13954	    lt_prog_compiler_pic_CXX=
13955	    lt_prog_compiler_static_CXX='-non_shared'
13956	    ;;
13957	  *)
13958	    ;;
13959	esac
13960	;;
13961      psos*)
13962	;;
13963      solaris*)
13964	case $cc_basename in
13965	  CC*)
13966	    # Sun C++ 4.2, 5.x and Centerline C++
13967	    lt_prog_compiler_pic_CXX='-KPIC'
13968	    lt_prog_compiler_static_CXX='-Bstatic'
13969	    lt_prog_compiler_wl_CXX='-Qoption ld '
13970	    ;;
13971	  gcx*)
13972	    # Green Hills C++ Compiler
13973	    lt_prog_compiler_pic_CXX='-PIC'
13974	    ;;
13975	  *)
13976	    ;;
13977	esac
13978	;;
13979      sunos4*)
13980	case $cc_basename in
13981	  CC*)
13982	    # Sun C++ 4.x
13983	    lt_prog_compiler_pic_CXX='-pic'
13984	    lt_prog_compiler_static_CXX='-Bstatic'
13985	    ;;
13986	  lcc*)
13987	    # Lucid
13988	    lt_prog_compiler_pic_CXX='-pic'
13989	    ;;
13990	  *)
13991	    ;;
13992	esac
13993	;;
13994      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13995	case $cc_basename in
13996	  CC*)
13997	    lt_prog_compiler_wl_CXX='-Wl,'
13998	    lt_prog_compiler_pic_CXX='-KPIC'
13999	    lt_prog_compiler_static_CXX='-Bstatic'
14000	    ;;
14001	esac
14002	;;
14003      tandem*)
14004	case $cc_basename in
14005	  NCC*)
14006	    # NonStop-UX NCC 3.20
14007	    lt_prog_compiler_pic_CXX='-KPIC'
14008	    ;;
14009	  *)
14010	    ;;
14011	esac
14012	;;
14013      vxworks*)
14014	;;
14015      *)
14016	lt_prog_compiler_can_build_shared_CXX=no
14017	;;
14018    esac
14019  fi
14020
14021case $host_os in
14022  # For platforms which do not support PIC, -DPIC is meaningless:
14023  *djgpp*)
14024    lt_prog_compiler_pic_CXX=
14025    ;;
14026  *)
14027    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14028    ;;
14029esac
14030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14031$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14032
14033
14034
14035#
14036# Check to make sure the PIC flag actually works.
14037#
14038if test -n "$lt_prog_compiler_pic_CXX"; then
14039  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14040$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14041if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14042  $as_echo_n "(cached) " >&6
14043else
14044  lt_cv_prog_compiler_pic_works_CXX=no
14045   ac_outfile=conftest.$ac_objext
14046   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14047   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14048   # Insert the option either (1) after the last *FLAGS variable, or
14049   # (2) before a word containing "conftest.", or (3) at the end.
14050   # Note that $ac_compile itself does not contain backslashes and begins
14051   # with a dollar sign (not a hyphen), so the echo should work correctly.
14052   # The option is referenced via a variable to avoid confusing sed.
14053   lt_compile=`echo "$ac_compile" | $SED \
14054   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14055   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14056   -e 's:$: $lt_compiler_flag:'`
14057   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14058   (eval "$lt_compile" 2>conftest.err)
14059   ac_status=$?
14060   cat conftest.err >&5
14061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062   if (exit $ac_status) && test -s "$ac_outfile"; then
14063     # The compiler can only warn and ignore the option if not recognized
14064     # So say no if there are warnings other than the usual output.
14065     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14066     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14067     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14068       lt_cv_prog_compiler_pic_works_CXX=yes
14069     fi
14070   fi
14071   $RM conftest*
14072
14073fi
14074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14075$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14076
14077if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14078    case $lt_prog_compiler_pic_CXX in
14079     "" | " "*) ;;
14080     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14081     esac
14082else
14083    lt_prog_compiler_pic_CXX=
14084     lt_prog_compiler_can_build_shared_CXX=no
14085fi
14086
14087fi
14088
14089
14090
14091#
14092# Check to make sure the static flag actually works.
14093#
14094wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14096$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14097if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14098  $as_echo_n "(cached) " >&6
14099else
14100  lt_cv_prog_compiler_static_works_CXX=no
14101   save_LDFLAGS="$LDFLAGS"
14102   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14103   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14104   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14105     # The linker can only warn and ignore the option if not recognized
14106     # So say no if there are warnings
14107     if test -s conftest.err; then
14108       # Append any errors to the config.log.
14109       cat conftest.err 1>&5
14110       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14111       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14112       if diff conftest.exp conftest.er2 >/dev/null; then
14113         lt_cv_prog_compiler_static_works_CXX=yes
14114       fi
14115     else
14116       lt_cv_prog_compiler_static_works_CXX=yes
14117     fi
14118   fi
14119   $RM -r conftest*
14120   LDFLAGS="$save_LDFLAGS"
14121
14122fi
14123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14124$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14125
14126if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14127    :
14128else
14129    lt_prog_compiler_static_CXX=
14130fi
14131
14132
14133
14134
14135    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14136$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14137if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14138  $as_echo_n "(cached) " >&6
14139else
14140  lt_cv_prog_compiler_c_o_CXX=no
14141   $RM -r conftest 2>/dev/null
14142   mkdir conftest
14143   cd conftest
14144   mkdir out
14145   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14146
14147   lt_compiler_flag="-o out/conftest2.$ac_objext"
14148   # Insert the option either (1) after the last *FLAGS variable, or
14149   # (2) before a word containing "conftest.", or (3) at the end.
14150   # Note that $ac_compile itself does not contain backslashes and begins
14151   # with a dollar sign (not a hyphen), so the echo should work correctly.
14152   lt_compile=`echo "$ac_compile" | $SED \
14153   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14154   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14155   -e 's:$: $lt_compiler_flag:'`
14156   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14157   (eval "$lt_compile" 2>out/conftest.err)
14158   ac_status=$?
14159   cat out/conftest.err >&5
14160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14162   then
14163     # The compiler can only warn and ignore the option if not recognized
14164     # So say no if there are warnings
14165     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14166     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14167     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14168       lt_cv_prog_compiler_c_o_CXX=yes
14169     fi
14170   fi
14171   chmod u+w . 2>&5
14172   $RM conftest*
14173   # SGI C++ compiler will create directory out/ii_files/ for
14174   # template instantiation
14175   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14176   $RM out/* && rmdir out
14177   cd ..
14178   $RM -r conftest
14179   $RM conftest*
14180
14181fi
14182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14183$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14184
14185
14186
14187    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14188$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14189if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14190  $as_echo_n "(cached) " >&6
14191else
14192  lt_cv_prog_compiler_c_o_CXX=no
14193   $RM -r conftest 2>/dev/null
14194   mkdir conftest
14195   cd conftest
14196   mkdir out
14197   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14198
14199   lt_compiler_flag="-o out/conftest2.$ac_objext"
14200   # Insert the option either (1) after the last *FLAGS variable, or
14201   # (2) before a word containing "conftest.", or (3) at the end.
14202   # Note that $ac_compile itself does not contain backslashes and begins
14203   # with a dollar sign (not a hyphen), so the echo should work correctly.
14204   lt_compile=`echo "$ac_compile" | $SED \
14205   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14206   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14207   -e 's:$: $lt_compiler_flag:'`
14208   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14209   (eval "$lt_compile" 2>out/conftest.err)
14210   ac_status=$?
14211   cat out/conftest.err >&5
14212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14213   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14214   then
14215     # The compiler can only warn and ignore the option if not recognized
14216     # So say no if there are warnings
14217     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14218     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14219     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14220       lt_cv_prog_compiler_c_o_CXX=yes
14221     fi
14222   fi
14223   chmod u+w . 2>&5
14224   $RM conftest*
14225   # SGI C++ compiler will create directory out/ii_files/ for
14226   # template instantiation
14227   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14228   $RM out/* && rmdir out
14229   cd ..
14230   $RM -r conftest
14231   $RM conftest*
14232
14233fi
14234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14235$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14236
14237
14238
14239
14240hard_links="nottested"
14241if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14242  # do not overwrite the value of need_locks provided by the user
14243  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14244$as_echo_n "checking if we can lock with hard links... " >&6; }
14245  hard_links=yes
14246  $RM conftest*
14247  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14248  touch conftest.a
14249  ln conftest.a conftest.b 2>&5 || hard_links=no
14250  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14251  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14252$as_echo "$hard_links" >&6; }
14253  if test "$hard_links" = no; then
14254    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14255$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14256    need_locks=warn
14257  fi
14258else
14259  need_locks=no
14260fi
14261
14262
14263
14264    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14265$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14266
14267  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14268  case $host_os in
14269  aix[4-9]*)
14270    # If we're using GNU nm, then we don't want the "-C" option.
14271    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14272    # Also, AIX nm treats weak defined symbols like other global defined
14273    # symbols, whereas GNU nm marks them as "W".
14274    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14275      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'
14276    else
14277      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'
14278    fi
14279    ;;
14280  pw32*)
14281    export_symbols_cmds_CXX="$ltdll_cmds"
14282  ;;
14283  cygwin* | mingw* | cegcc*)
14284    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'
14285  ;;
14286  *)
14287    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14288  ;;
14289  esac
14290  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14291
14292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14293$as_echo "$ld_shlibs_CXX" >&6; }
14294test "$ld_shlibs_CXX" = no && can_build_shared=no
14295
14296with_gnu_ld_CXX=$with_gnu_ld
14297
14298
14299
14300
14301
14302
14303#
14304# Do we need to explicitly link libc?
14305#
14306case "x$archive_cmds_need_lc_CXX" in
14307x|xyes)
14308  # Assume -lc should be added
14309  archive_cmds_need_lc_CXX=yes
14310
14311  if test "$enable_shared" = yes && test "$GCC" = yes; then
14312    case $archive_cmds_CXX in
14313    *'~'*)
14314      # FIXME: we may have to deal with multi-command sequences.
14315      ;;
14316    '$CC '*)
14317      # Test whether the compiler implicitly links with -lc since on some
14318      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14319      # to ld, don't add -lc before -lgcc.
14320      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14321$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14322if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14323  $as_echo_n "(cached) " >&6
14324else
14325  $RM conftest*
14326	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14327
14328	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14329  (eval $ac_compile) 2>&5
14330  ac_status=$?
14331  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14332  test $ac_status = 0; } 2>conftest.err; then
14333	  soname=conftest
14334	  lib=conftest
14335	  libobjs=conftest.$ac_objext
14336	  deplibs=
14337	  wl=$lt_prog_compiler_wl_CXX
14338	  pic_flag=$lt_prog_compiler_pic_CXX
14339	  compiler_flags=-v
14340	  linker_flags=-v
14341	  verstring=
14342	  output_objdir=.
14343	  libname=conftest
14344	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14345	  allow_undefined_flag_CXX=
14346	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14347  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14348  ac_status=$?
14349  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14350  test $ac_status = 0; }
14351	  then
14352	    lt_cv_archive_cmds_need_lc_CXX=no
14353	  else
14354	    lt_cv_archive_cmds_need_lc_CXX=yes
14355	  fi
14356	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14357	else
14358	  cat conftest.err 1>&5
14359	fi
14360	$RM conftest*
14361
14362fi
14363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14364$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14365      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14366      ;;
14367    esac
14368  fi
14369  ;;
14370esac
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14436$as_echo_n "checking dynamic linker characteristics... " >&6; }
14437
14438library_names_spec=
14439libname_spec='lib$name'
14440soname_spec=
14441shrext_cmds=".so"
14442postinstall_cmds=
14443postuninstall_cmds=
14444finish_cmds=
14445finish_eval=
14446shlibpath_var=
14447shlibpath_overrides_runpath=unknown
14448version_type=none
14449dynamic_linker="$host_os ld.so"
14450sys_lib_dlsearch_path_spec="/lib /usr/lib"
14451need_lib_prefix=unknown
14452hardcode_into_libs=no
14453
14454# when you set need_version to no, make sure it does not cause -set_version
14455# flags to be left without arguments
14456need_version=unknown
14457
14458case $host_os in
14459aix3*)
14460  version_type=linux
14461  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14462  shlibpath_var=LIBPATH
14463
14464  # AIX 3 has no versioning support, so we append a major version to the name.
14465  soname_spec='${libname}${release}${shared_ext}$major'
14466  ;;
14467
14468aix[4-9]*)
14469  version_type=linux
14470  need_lib_prefix=no
14471  need_version=no
14472  hardcode_into_libs=yes
14473  if test "$host_cpu" = ia64; then
14474    # AIX 5 supports IA64
14475    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14476    shlibpath_var=LD_LIBRARY_PATH
14477  else
14478    # With GCC up to 2.95.x, collect2 would create an import file
14479    # for dependence libraries.  The import file would start with
14480    # the line `#! .'.  This would cause the generated library to
14481    # depend on `.', always an invalid library.  This was fixed in
14482    # development snapshots of GCC prior to 3.0.
14483    case $host_os in
14484      aix4 | aix4.[01] | aix4.[01].*)
14485      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14486	   echo ' yes '
14487	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14488	:
14489      else
14490	can_build_shared=no
14491      fi
14492      ;;
14493    esac
14494    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14495    # soname into executable. Probably we can add versioning support to
14496    # collect2, so additional links can be useful in future.
14497    if test "$aix_use_runtimelinking" = yes; then
14498      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14499      # instead of lib<name>.a to let people know that these are not
14500      # typical AIX shared libraries.
14501      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14502    else
14503      # We preserve .a as extension for shared libraries through AIX4.2
14504      # and later when we are not doing run time linking.
14505      library_names_spec='${libname}${release}.a $libname.a'
14506      soname_spec='${libname}${release}${shared_ext}$major'
14507    fi
14508    shlibpath_var=LIBPATH
14509  fi
14510  ;;
14511
14512amigaos*)
14513  case $host_cpu in
14514  powerpc)
14515    # Since July 2007 AmigaOS4 officially supports .so libraries.
14516    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14517    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14518    ;;
14519  m68k)
14520    library_names_spec='$libname.ixlibrary $libname.a'
14521    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14522    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'
14523    ;;
14524  esac
14525  ;;
14526
14527beos*)
14528  library_names_spec='${libname}${shared_ext}'
14529  dynamic_linker="$host_os ld.so"
14530  shlibpath_var=LIBRARY_PATH
14531  ;;
14532
14533bsdi[45]*)
14534  version_type=linux
14535  need_version=no
14536  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14537  soname_spec='${libname}${release}${shared_ext}$major'
14538  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14539  shlibpath_var=LD_LIBRARY_PATH
14540  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14541  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14542  # the default ld.so.conf also contains /usr/contrib/lib and
14543  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14544  # libtool to hard-code these into programs
14545  ;;
14546
14547cygwin* | mingw* | pw32* | cegcc*)
14548  version_type=windows
14549  shrext_cmds=".dll"
14550  need_version=no
14551  need_lib_prefix=no
14552
14553  case $GCC,$host_os in
14554  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14555    library_names_spec='$libname.dll.a'
14556    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14557    postinstall_cmds='base_file=`basename \${file}`~
14558      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14559      dldir=$destdir/`dirname \$dlpath`~
14560      test -d \$dldir || mkdir -p \$dldir~
14561      $install_prog $dir/$dlname \$dldir/$dlname~
14562      chmod a+x \$dldir/$dlname~
14563      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14564        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14565      fi'
14566    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14567      dlpath=$dir/\$dldll~
14568       $RM \$dlpath'
14569    shlibpath_overrides_runpath=yes
14570
14571    case $host_os in
14572    cygwin*)
14573      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14574      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14575
14576      ;;
14577    mingw* | cegcc*)
14578      # MinGW DLLs use traditional 'lib' prefix
14579      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14580      ;;
14581    pw32*)
14582      # pw32 DLLs use 'pw' prefix rather than 'lib'
14583      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14584      ;;
14585    esac
14586    ;;
14587
14588  *)
14589    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14590    ;;
14591  esac
14592  dynamic_linker='Win32 ld.exe'
14593  # FIXME: first we should search . and the directory the executable is in
14594  shlibpath_var=PATH
14595  ;;
14596
14597darwin* | rhapsody*)
14598  dynamic_linker="$host_os dyld"
14599  version_type=darwin
14600  need_lib_prefix=no
14601  need_version=no
14602  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14603  soname_spec='${libname}${release}${major}$shared_ext'
14604  shlibpath_overrides_runpath=yes
14605  shlibpath_var=DYLD_LIBRARY_PATH
14606  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14607
14608  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14609  ;;
14610
14611dgux*)
14612  version_type=linux
14613  need_lib_prefix=no
14614  need_version=no
14615  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14616  soname_spec='${libname}${release}${shared_ext}$major'
14617  shlibpath_var=LD_LIBRARY_PATH
14618  ;;
14619
14620freebsd* | dragonfly*)
14621  # DragonFly does not have aout.  When/if they implement a new
14622  # versioning mechanism, adjust this.
14623  if test -x /usr/bin/objformat; then
14624    objformat=`/usr/bin/objformat`
14625  else
14626    case $host_os in
14627    freebsd[23].*) objformat=aout ;;
14628    *) objformat=elf ;;
14629    esac
14630  fi
14631  version_type=freebsd-$objformat
14632  case $version_type in
14633    freebsd-elf*)
14634      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14635      need_version=no
14636      need_lib_prefix=no
14637      ;;
14638    freebsd-*)
14639      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14640      need_version=yes
14641      ;;
14642  esac
14643  shlibpath_var=LD_LIBRARY_PATH
14644  case $host_os in
14645  freebsd2.*)
14646    shlibpath_overrides_runpath=yes
14647    ;;
14648  freebsd3.[01]* | freebsdelf3.[01]*)
14649    shlibpath_overrides_runpath=yes
14650    hardcode_into_libs=yes
14651    ;;
14652  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14653  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14654    shlibpath_overrides_runpath=no
14655    hardcode_into_libs=yes
14656    ;;
14657  *) # from 4.6 on, and DragonFly
14658    shlibpath_overrides_runpath=yes
14659    hardcode_into_libs=yes
14660    ;;
14661  esac
14662  ;;
14663
14664gnu*)
14665  version_type=linux
14666  need_lib_prefix=no
14667  need_version=no
14668  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14669  soname_spec='${libname}${release}${shared_ext}$major'
14670  shlibpath_var=LD_LIBRARY_PATH
14671  hardcode_into_libs=yes
14672  ;;
14673
14674haiku*)
14675  version_type=linux
14676  need_lib_prefix=no
14677  need_version=no
14678  dynamic_linker="$host_os runtime_loader"
14679  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14680  soname_spec='${libname}${release}${shared_ext}$major'
14681  shlibpath_var=LIBRARY_PATH
14682  shlibpath_overrides_runpath=yes
14683  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14684  hardcode_into_libs=yes
14685  ;;
14686
14687hpux9* | hpux10* | hpux11*)
14688  # Give a soname corresponding to the major version so that dld.sl refuses to
14689  # link against other versions.
14690  version_type=sunos
14691  need_lib_prefix=no
14692  need_version=no
14693  case $host_cpu in
14694  ia64*)
14695    shrext_cmds='.so'
14696    hardcode_into_libs=yes
14697    dynamic_linker="$host_os dld.so"
14698    shlibpath_var=LD_LIBRARY_PATH
14699    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14700    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14701    soname_spec='${libname}${release}${shared_ext}$major'
14702    if test "X$HPUX_IA64_MODE" = X32; then
14703      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14704    else
14705      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14706    fi
14707    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14708    ;;
14709  hppa*64*)
14710    shrext_cmds='.sl'
14711    hardcode_into_libs=yes
14712    dynamic_linker="$host_os dld.sl"
14713    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14714    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14715    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14716    soname_spec='${libname}${release}${shared_ext}$major'
14717    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14718    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14719    ;;
14720  *)
14721    shrext_cmds='.sl'
14722    dynamic_linker="$host_os dld.sl"
14723    shlibpath_var=SHLIB_PATH
14724    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14725    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14726    soname_spec='${libname}${release}${shared_ext}$major'
14727    ;;
14728  esac
14729  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14730  postinstall_cmds='chmod 555 $lib'
14731  # or fails outright, so override atomically:
14732  install_override_mode=555
14733  ;;
14734
14735interix[3-9]*)
14736  version_type=linux
14737  need_lib_prefix=no
14738  need_version=no
14739  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14740  soname_spec='${libname}${release}${shared_ext}$major'
14741  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14742  shlibpath_var=LD_LIBRARY_PATH
14743  shlibpath_overrides_runpath=no
14744  hardcode_into_libs=yes
14745  ;;
14746
14747irix5* | irix6* | nonstopux*)
14748  case $host_os in
14749    nonstopux*) version_type=nonstopux ;;
14750    *)
14751	if test "$lt_cv_prog_gnu_ld" = yes; then
14752		version_type=linux
14753	else
14754		version_type=irix
14755	fi ;;
14756  esac
14757  need_lib_prefix=no
14758  need_version=no
14759  soname_spec='${libname}${release}${shared_ext}$major'
14760  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14761  case $host_os in
14762  irix5* | nonstopux*)
14763    libsuff= shlibsuff=
14764    ;;
14765  *)
14766    case $LD in # libtool.m4 will add one of these switches to LD
14767    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14768      libsuff= shlibsuff= libmagic=32-bit;;
14769    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14770      libsuff=32 shlibsuff=N32 libmagic=N32;;
14771    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14772      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14773    *) libsuff= shlibsuff= libmagic=never-match;;
14774    esac
14775    ;;
14776  esac
14777  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14778  shlibpath_overrides_runpath=no
14779  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14780  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14781  hardcode_into_libs=yes
14782  ;;
14783
14784# No shared lib support for Linux oldld, aout, or coff.
14785linux*oldld* | linux*aout* | linux*coff*)
14786  dynamic_linker=no
14787  ;;
14788
14789# This must be Linux ELF.
14790linux* | k*bsd*-gnu | kopensolaris*-gnu)
14791  version_type=linux
14792  need_lib_prefix=no
14793  need_version=no
14794  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14795  soname_spec='${libname}${release}${shared_ext}$major'
14796  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14797  shlibpath_var=LD_LIBRARY_PATH
14798  shlibpath_overrides_runpath=no
14799
14800  # Some binutils ld are patched to set DT_RUNPATH
14801  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14802  $as_echo_n "(cached) " >&6
14803else
14804  lt_cv_shlibpath_overrides_runpath=no
14805    save_LDFLAGS=$LDFLAGS
14806    save_libdir=$libdir
14807    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14808	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14809    if test x$gcc_no_link = xyes; then
14810  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14811fi
14812cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14813/* end confdefs.h.  */
14814
14815int
14816main ()
14817{
14818
14819  ;
14820  return 0;
14821}
14822_ACEOF
14823if ac_fn_cxx_try_link "$LINENO"; then :
14824  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14825  lt_cv_shlibpath_overrides_runpath=yes
14826fi
14827fi
14828rm -f core conftest.err conftest.$ac_objext \
14829    conftest$ac_exeext conftest.$ac_ext
14830    LDFLAGS=$save_LDFLAGS
14831    libdir=$save_libdir
14832
14833fi
14834
14835  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14836
14837  # This implies no fast_install, which is unacceptable.
14838  # Some rework will be needed to allow for fast_install
14839  # before this can be enabled.
14840  hardcode_into_libs=yes
14841
14842  # Append ld.so.conf contents to the search path
14843  if test -f /etc/ld.so.conf; then
14844    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' ' '`
14845    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14846  fi
14847
14848  # We used to test for /lib/ld.so.1 and disable shared libraries on
14849  # powerpc, because MkLinux only supported shared libraries with the
14850  # GNU dynamic linker.  Since this was broken with cross compilers,
14851  # most powerpc-linux boxes support dynamic linking these days and
14852  # people can always --disable-shared, the test was removed, and we
14853  # assume the GNU/Linux dynamic linker is in use.
14854  dynamic_linker='GNU/Linux ld.so'
14855  ;;
14856
14857netbsd*)
14858  version_type=sunos
14859  need_lib_prefix=no
14860  need_version=no
14861  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14862    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14863    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14864    dynamic_linker='NetBSD (a.out) ld.so'
14865  else
14866    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14867    soname_spec='${libname}${release}${shared_ext}$major'
14868    dynamic_linker='NetBSD ld.elf_so'
14869  fi
14870  shlibpath_var=LD_LIBRARY_PATH
14871  shlibpath_overrides_runpath=yes
14872  hardcode_into_libs=yes
14873  ;;
14874
14875newsos6)
14876  version_type=linux
14877  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14878  shlibpath_var=LD_LIBRARY_PATH
14879  shlibpath_overrides_runpath=yes
14880  ;;
14881
14882*nto* | *qnx*)
14883  version_type=qnx
14884  need_lib_prefix=no
14885  need_version=no
14886  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14887  soname_spec='${libname}${release}${shared_ext}$major'
14888  shlibpath_var=LD_LIBRARY_PATH
14889  shlibpath_overrides_runpath=no
14890  hardcode_into_libs=yes
14891  dynamic_linker='ldqnx.so'
14892  ;;
14893
14894openbsd*)
14895  version_type=sunos
14896  sys_lib_dlsearch_path_spec="/usr/lib"
14897  need_lib_prefix=no
14898  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14899  case $host_os in
14900    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
14901    *)				need_version=no  ;;
14902  esac
14903  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14904  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14905  shlibpath_var=LD_LIBRARY_PATH
14906  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14907    case $host_os in
14908      openbsd2.[89] | openbsd2.[89].*)
14909	shlibpath_overrides_runpath=no
14910	;;
14911      *)
14912	shlibpath_overrides_runpath=yes
14913	;;
14914      esac
14915  else
14916    shlibpath_overrides_runpath=yes
14917  fi
14918  ;;
14919
14920os2*)
14921  libname_spec='$name'
14922  shrext_cmds=".dll"
14923  need_lib_prefix=no
14924  library_names_spec='$libname${shared_ext} $libname.a'
14925  dynamic_linker='OS/2 ld.exe'
14926  shlibpath_var=LIBPATH
14927  ;;
14928
14929osf3* | osf4* | osf5*)
14930  version_type=osf
14931  need_lib_prefix=no
14932  need_version=no
14933  soname_spec='${libname}${release}${shared_ext}$major'
14934  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14935  shlibpath_var=LD_LIBRARY_PATH
14936  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14937  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14938  ;;
14939
14940rdos*)
14941  dynamic_linker=no
14942  ;;
14943
14944solaris*)
14945  version_type=linux
14946  need_lib_prefix=no
14947  need_version=no
14948  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14949  soname_spec='${libname}${release}${shared_ext}$major'
14950  shlibpath_var=LD_LIBRARY_PATH
14951  shlibpath_overrides_runpath=yes
14952  hardcode_into_libs=yes
14953  # ldd complains unless libraries are executable
14954  postinstall_cmds='chmod +x $lib'
14955  ;;
14956
14957sunos4*)
14958  version_type=sunos
14959  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14960  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14961  shlibpath_var=LD_LIBRARY_PATH
14962  shlibpath_overrides_runpath=yes
14963  if test "$with_gnu_ld" = yes; then
14964    need_lib_prefix=no
14965  fi
14966  need_version=yes
14967  ;;
14968
14969sysv4 | sysv4.3*)
14970  version_type=linux
14971  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14972  soname_spec='${libname}${release}${shared_ext}$major'
14973  shlibpath_var=LD_LIBRARY_PATH
14974  case $host_vendor in
14975    sni)
14976      shlibpath_overrides_runpath=no
14977      need_lib_prefix=no
14978      runpath_var=LD_RUN_PATH
14979      ;;
14980    siemens)
14981      need_lib_prefix=no
14982      ;;
14983    motorola)
14984      need_lib_prefix=no
14985      need_version=no
14986      shlibpath_overrides_runpath=no
14987      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14988      ;;
14989  esac
14990  ;;
14991
14992sysv4*MP*)
14993  if test -d /usr/nec ;then
14994    version_type=linux
14995    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14996    soname_spec='$libname${shared_ext}.$major'
14997    shlibpath_var=LD_LIBRARY_PATH
14998  fi
14999  ;;
15000
15001sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15002  version_type=freebsd-elf
15003  need_lib_prefix=no
15004  need_version=no
15005  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15006  soname_spec='${libname}${release}${shared_ext}$major'
15007  shlibpath_var=LD_LIBRARY_PATH
15008  shlibpath_overrides_runpath=yes
15009  hardcode_into_libs=yes
15010  if test "$with_gnu_ld" = yes; then
15011    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15012  else
15013    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15014    case $host_os in
15015      sco3.2v5*)
15016        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15017	;;
15018    esac
15019  fi
15020  sys_lib_dlsearch_path_spec='/usr/lib'
15021  ;;
15022
15023tpf*)
15024  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15025  version_type=linux
15026  need_lib_prefix=no
15027  need_version=no
15028  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15029  shlibpath_var=LD_LIBRARY_PATH
15030  shlibpath_overrides_runpath=no
15031  hardcode_into_libs=yes
15032  ;;
15033
15034uts4*)
15035  version_type=linux
15036  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15037  soname_spec='${libname}${release}${shared_ext}$major'
15038  shlibpath_var=LD_LIBRARY_PATH
15039  ;;
15040
15041*)
15042  dynamic_linker=no
15043  ;;
15044esac
15045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15046$as_echo "$dynamic_linker" >&6; }
15047test "$dynamic_linker" = no && can_build_shared=no
15048
15049variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15050if test "$GCC" = yes; then
15051  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15052fi
15053
15054if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15055  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15056fi
15057if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15058  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15059fi
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15099$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15100hardcode_action_CXX=
15101if test -n "$hardcode_libdir_flag_spec_CXX" ||
15102   test -n "$runpath_var_CXX" ||
15103   test "X$hardcode_automatic_CXX" = "Xyes" ; then
15104
15105  # We can hardcode non-existent directories.
15106  if test "$hardcode_direct_CXX" != no &&
15107     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15108     # have to relink, otherwise we might link with an installed library
15109     # when we should be linking with a yet-to-be-installed one
15110     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15111     test "$hardcode_minus_L_CXX" != no; then
15112    # Linking always hardcodes the temporary library directory.
15113    hardcode_action_CXX=relink
15114  else
15115    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15116    hardcode_action_CXX=immediate
15117  fi
15118else
15119  # We cannot hardcode anything, or else we can only hardcode existing
15120  # directories.
15121  hardcode_action_CXX=unsupported
15122fi
15123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15124$as_echo "$hardcode_action_CXX" >&6; }
15125
15126if test "$hardcode_action_CXX" = relink ||
15127   test "$inherit_rpath_CXX" = yes; then
15128  # Fast installation is not supported
15129  enable_fast_install=no
15130elif test "$shlibpath_overrides_runpath" = yes ||
15131     test "$enable_shared" = no; then
15132  # Fast installation is not necessary
15133  enable_fast_install=needless
15134fi
15135
15136
15137
15138
15139
15140
15141
15142  fi # test -n "$compiler"
15143
15144  CC=$lt_save_CC
15145  LDCXX=$LD
15146  LD=$lt_save_LD
15147  GCC=$lt_save_GCC
15148  with_gnu_ld=$lt_save_with_gnu_ld
15149  lt_cv_path_LDCXX=$lt_cv_path_LD
15150  lt_cv_path_LD=$lt_save_path_LD
15151  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15152  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15153fi # test "$_lt_caught_CXX_error" != yes
15154
15155ac_ext=c
15156ac_cpp='$CPP $CPPFLAGS'
15157ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15158ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15159ac_compiler_gnu=$ac_cv_c_compiler_gnu
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173        ac_config_commands="$ac_config_commands libtool"
15174
15175
15176
15177
15178# Only expand once:
15179
15180
15181
15182
15183
15184case $host in
15185  *-cygwin* | *-mingw*)
15186    # 'host' will be top-level target in the case of a target lib,
15187    # we must compare to with_cross_host to decide if this is a native
15188    # or cross-compiler and select where to install dlls appropriately.
15189    if test -n "$with_cross_host" &&
15190	test x"$with_cross_host" != x"no"; then
15191      lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15192    else
15193      lt_host_flags='-no-undefined -bindir "$(bindir)"';
15194    fi
15195    ;;
15196  *)
15197    lt_host_flags=
15198    ;;
15199esac
15200
15201
15202
15203
15204
15205
15206if test "$enable_vtable_verify" = yes; then
15207  predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15208  postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15209fi
15210
15211
15212# libtool variables for C++ shared and position-independent compiles.
15213#
15214# Use glibcxx_lt_pic_flag to designate the automake variable
15215# used to encapsulate the default libtool approach to creating objects
15216# with position-independent code. Default: -prefer-pic.
15217#
15218# Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15219# creating shared objects. Default: -D_GLIBCXX_SHARED.
15220#
15221# Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15222# creating position-independent objects. This varies with the target
15223# hardware and operating system, but is often: -DPIC -fPIC.
15224if test "$enable_shared" = yes; then
15225  glibcxx_lt_pic_flag="-prefer-pic"
15226  glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15227  glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15228
15229else
15230  glibcxx_lt_pic_flag=
15231  glibcxx_compiler_pic_flag=
15232  glibcxx_compiler_shared_flag=
15233fi
15234
15235
15236
15237
15238# Override the libtool's pic_flag and pic_mode.
15239# Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15240# NB: this impacts --with-pic and --without-pic.
15241lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15242pic_mode='default'
15243
15244# Eliminate -lstdc++ addition to postdeps for cross compiles.
15245postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15246
15247# Possibly disable most of the library.
15248## TODO: Consider skipping unncessary tests altogether in this case, rather
15249## than just ignoring the results.  Faster /and/ more correct, win win.
15250
15251  # Check whether --enable-hosted-libstdcxx was given.
15252if test "${enable_hosted_libstdcxx+set}" = set; then :
15253  enableval=$enable_hosted_libstdcxx;
15254else
15255  case "$host" in
15256	arm*-*-symbianelf*)
15257	    enable_hosted_libstdcxx=no
15258	    ;;
15259	*)
15260	    enable_hosted_libstdcxx=yes
15261	    ;;
15262     esac
15263fi
15264
15265  if test "$enable_hosted_libstdcxx" = no; then
15266    { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15267$as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15268    is_hosted=no
15269    hosted_define=0
15270    enable_abi_check=no
15271    enable_libstdcxx_pch=no
15272  else
15273    is_hosted=yes
15274    hosted_define=1
15275  fi
15276
15277
15278cat >>confdefs.h <<_ACEOF
15279#define _GLIBCXX_HOSTED $hosted_define
15280_ACEOF
15281
15282
15283
15284# Enable descriptive messages to standard output on termination.
15285
15286  # Check whether --enable-libstdcxx-verbose was given.
15287if test "${enable_libstdcxx_verbose+set}" = set; then :
15288  enableval=$enable_libstdcxx_verbose;
15289else
15290  enable_libstdcxx_verbose=yes
15291fi
15292
15293  if test x"$enable_libstdcxx_verbose" = xyes; then
15294    verbose_define=1
15295  else
15296    { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15297$as_echo "$as_me: verbose termination messages are disabled" >&6;}
15298    verbose_define=0
15299  fi
15300
15301cat >>confdefs.h <<_ACEOF
15302#define _GLIBCXX_VERBOSE $verbose_define
15303_ACEOF
15304
15305
15306
15307# Enable compiler support that doesn't require linking.
15308
15309   # Check whether --enable-libstdcxx-pch was given.
15310if test "${enable_libstdcxx_pch+set}" = set; then :
15311  enableval=$enable_libstdcxx_pch;
15312      case "$enableval" in
15313       yes|no) ;;
15314       *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15315      esac
15316
15317else
15318  enable_libstdcxx_pch=$is_hosted
15319fi
15320
15321
15322  if test $enable_libstdcxx_pch = yes; then
15323    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15324$as_echo_n "checking for compiler with PCH support... " >&6; }
15325if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15326  $as_echo_n "(cached) " >&6
15327else
15328  ac_save_CXXFLAGS="$CXXFLAGS"
15329       CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15330
15331       ac_ext=cpp
15332ac_cpp='$CXXCPP $CPPFLAGS'
15333ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15334ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15335ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15336
15337       echo '#include <math.h>' > conftest.h
15338       if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15339			  -o conftest.h.gch 1>&5 2>&1 &&
15340		echo '#error "pch failed"' > conftest.h &&
15341	  echo '#include "conftest.h"' > conftest.cc &&
15342	       $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15343       then
15344	 glibcxx_cv_prog_CXX_pch=yes
15345       else
15346	 glibcxx_cv_prog_CXX_pch=no
15347       fi
15348       rm -f conftest*
15349       CXXFLAGS=$ac_save_CXXFLAGS
15350       ac_ext=c
15351ac_cpp='$CPP $CPPFLAGS'
15352ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15353ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15354ac_compiler_gnu=$ac_cv_c_compiler_gnu
15355
15356
15357fi
15358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15359$as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15360    enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15361  fi
15362
15363  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15364$as_echo_n "checking for enabled PCH... " >&6; }
15365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15366$as_echo "$enable_libstdcxx_pch" >&6; }
15367
15368
15369  if test $enable_libstdcxx_pch = yes; then
15370    glibcxx_PCHFLAGS="-include bits/stdc++.h"
15371  else
15372    glibcxx_PCHFLAGS=""
15373  fi
15374
15375
15376
15377  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15378$as_echo_n "checking for thread model used by GCC... " >&6; }
15379  target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15381$as_echo "$target_thread_file" >&6; }
15382
15383case $target_thread_file in
15384    aix)	thread_header=config/rs6000/gthr-aix.h ;;
15385    dce)	thread_header=config/pa/gthr-dce.h ;;
15386    lynx)	thread_header=config/gthr-lynx.h ;;
15387    mipssde)	thread_header=config/mips/gthr-mipssde.h ;;
15388    posix)	thread_header=gthr-posix.h ;;
15389    rtems)	thread_header=config/gthr-rtems.h ;;
15390    single)	thread_header=gthr-single.h ;;
15391    tpf)	thread_header=config/s390/gthr-tpf.h ;;
15392    vxworks)	thread_header=config/gthr-vxworks.h ;;
15393    win32)	thread_header=config/i386/gthr-win32.h ;;
15394esac
15395
15396
15397
15398
15399
15400  ac_ext=cpp
15401ac_cpp='$CXXCPP $CPPFLAGS'
15402ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15403ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15404ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15405
15406  old_CXXFLAGS="$CXXFLAGS"
15407
15408  # Do link tests if possible, instead asm tests, limited to some platforms
15409  # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15410  # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15411  atomic_builtins_link_tests=no
15412  if test x$gcc_no_link != xyes; then
15413    # Can do link tests. Limit to some tested platforms
15414    case "$host" in
15415      *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15416	atomic_builtins_link_tests=yes
15417	;;
15418    esac
15419  fi
15420
15421  if test x$atomic_builtins_link_tests = xyes; then
15422
15423  # Do link tests.
15424
15425  CXXFLAGS="$CXXFLAGS -fno-exceptions"
15426
15427  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15428$as_echo_n "checking for atomic builtins for bool... " >&6; }
15429  if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15430  $as_echo_n "(cached) " >&6
15431else
15432
15433    if test x$gcc_no_link = xyes; then
15434  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15435fi
15436cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15437/* end confdefs.h.  */
15438
15439int
15440main ()
15441{
15442typedef bool atomic_type;
15443       atomic_type c1;
15444       atomic_type c2;
15445       atomic_type c3(0);
15446       // N.B. __atomic_fetch_add is not supported for bool.
15447       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15448				   __ATOMIC_RELAXED);
15449       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15450       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15451
15452  ;
15453  return 0;
15454}
15455_ACEOF
15456if ac_fn_cxx_try_link "$LINENO"; then :
15457  glibcxx_cv_atomic_bool=yes
15458else
15459  glibcxx_cv_atomic_bool=no
15460fi
15461rm -f core conftest.err conftest.$ac_objext \
15462    conftest$ac_exeext conftest.$ac_ext
15463
15464fi
15465
15466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15467$as_echo "$glibcxx_cv_atomic_bool" >&6; }
15468
15469  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15470$as_echo_n "checking for atomic builtins for short... " >&6; }
15471  if test "${glibcxx_cv_atomic_short+set}" = set; then :
15472  $as_echo_n "(cached) " >&6
15473else
15474
15475    if test x$gcc_no_link = xyes; then
15476  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15477fi
15478cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15479/* end confdefs.h.  */
15480
15481int
15482main ()
15483{
15484typedef short atomic_type;
15485       atomic_type c1;
15486       atomic_type c2;
15487       atomic_type c3(0);
15488       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15489       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15490				   __ATOMIC_RELAXED);
15491       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15492       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15493
15494  ;
15495  return 0;
15496}
15497_ACEOF
15498if ac_fn_cxx_try_link "$LINENO"; then :
15499  glibcxx_cv_atomic_short=yes
15500else
15501  glibcxx_cv_atomic_short=no
15502fi
15503rm -f core conftest.err conftest.$ac_objext \
15504    conftest$ac_exeext conftest.$ac_ext
15505
15506fi
15507
15508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15509$as_echo "$glibcxx_cv_atomic_short" >&6; }
15510
15511  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15512$as_echo_n "checking for atomic builtins for int... " >&6; }
15513  if test "${glibcxx_cv_atomic_int+set}" = set; then :
15514  $as_echo_n "(cached) " >&6
15515else
15516
15517    if test x$gcc_no_link = xyes; then
15518  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15519fi
15520cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15521/* end confdefs.h.  */
15522
15523int
15524main ()
15525{
15526typedef int atomic_type;
15527       atomic_type c1;
15528       atomic_type c2;
15529       atomic_type c3(0);
15530       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15531       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15532				   __ATOMIC_RELAXED);
15533       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15534       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15535
15536  ;
15537  return 0;
15538}
15539_ACEOF
15540if ac_fn_cxx_try_link "$LINENO"; then :
15541  glibcxx_cv_atomic_int=yes
15542else
15543  glibcxx_cv_atomic_int=no
15544fi
15545rm -f core conftest.err conftest.$ac_objext \
15546    conftest$ac_exeext conftest.$ac_ext
15547
15548fi
15549
15550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15551$as_echo "$glibcxx_cv_atomic_int" >&6; }
15552
15553  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15554$as_echo_n "checking for atomic builtins for long long... " >&6; }
15555  if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15556  $as_echo_n "(cached) " >&6
15557else
15558
15559    if test x$gcc_no_link = xyes; then
15560  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15561fi
15562cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15563/* end confdefs.h.  */
15564
15565int
15566main ()
15567{
15568typedef long long atomic_type;
15569       atomic_type c1;
15570       atomic_type c2;
15571       atomic_type c3(0);
15572       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15573       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15574				   __ATOMIC_RELAXED);
15575       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15576       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15577
15578  ;
15579  return 0;
15580}
15581_ACEOF
15582if ac_fn_cxx_try_link "$LINENO"; then :
15583  glibcxx_cv_atomic_long_long=yes
15584else
15585  glibcxx_cv_atomic_long_long=no
15586fi
15587rm -f core conftest.err conftest.$ac_objext \
15588    conftest$ac_exeext conftest.$ac_ext
15589
15590fi
15591
15592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15593$as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15594
15595  else
15596
15597  # Do asm tests.
15598
15599  # Compile unoptimized.
15600  CXXFLAGS='-O0 -S'
15601
15602  # Fake what AC_TRY_COMPILE does.
15603
15604    cat > conftest.$ac_ext << EOF
15605#line 15605 "configure"
15606int main()
15607{
15608  typedef bool atomic_type;
15609  atomic_type c1;
15610  atomic_type c2;
15611  atomic_type c3(0);
15612  // N.B. __atomic_fetch_add is not supported for bool.
15613  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15614			      __ATOMIC_RELAXED);
15615  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15616  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15617
15618  return 0;
15619}
15620EOF
15621
15622    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15623$as_echo_n "checking for atomic builtins for bool... " >&6; }
15624    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15625  (eval $ac_compile) 2>&5
15626  ac_status=$?
15627  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15628  test $ac_status = 0; }; then
15629      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15630	glibcxx_cv_atomic_bool=no
15631      else
15632	glibcxx_cv_atomic_bool=yes
15633      fi
15634    fi
15635    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15636$as_echo "$glibcxx_cv_atomic_bool" >&6; }
15637    rm -f conftest*
15638
15639    cat > conftest.$ac_ext << EOF
15640#line 15640 "configure"
15641int main()
15642{
15643  typedef short atomic_type;
15644  atomic_type c1;
15645  atomic_type c2;
15646  atomic_type c3(0);
15647  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15648  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15649			      __ATOMIC_RELAXED);
15650  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15651  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15652
15653  return 0;
15654}
15655EOF
15656
15657    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15658$as_echo_n "checking for atomic builtins for short... " >&6; }
15659    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15660  (eval $ac_compile) 2>&5
15661  ac_status=$?
15662  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15663  test $ac_status = 0; }; then
15664      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15665	glibcxx_cv_atomic_short=no
15666      else
15667	glibcxx_cv_atomic_short=yes
15668      fi
15669    fi
15670    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15671$as_echo "$glibcxx_cv_atomic_short" >&6; }
15672    rm -f conftest*
15673
15674    cat > conftest.$ac_ext << EOF
15675#line 15675 "configure"
15676int main()
15677{
15678  // NB: _Atomic_word not necessarily int.
15679  typedef int atomic_type;
15680  atomic_type c1;
15681  atomic_type c2;
15682  atomic_type c3(0);
15683  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15684  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15685			      __ATOMIC_RELAXED);
15686  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15687  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15688
15689  return 0;
15690}
15691EOF
15692
15693    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15694$as_echo_n "checking for atomic builtins for int... " >&6; }
15695    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15696  (eval $ac_compile) 2>&5
15697  ac_status=$?
15698  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15699  test $ac_status = 0; }; then
15700      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15701	glibcxx_cv_atomic_int=no
15702      else
15703	glibcxx_cv_atomic_int=yes
15704      fi
15705    fi
15706    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15707$as_echo "$glibcxx_cv_atomic_int" >&6; }
15708    rm -f conftest*
15709
15710    cat > conftest.$ac_ext << EOF
15711#line 15711 "configure"
15712int main()
15713{
15714  typedef long long atomic_type;
15715  atomic_type c1;
15716  atomic_type c2;
15717  atomic_type c3(0);
15718  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15719  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15720			      __ATOMIC_RELAXED);
15721  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15722  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15723
15724  return 0;
15725}
15726EOF
15727
15728    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15729$as_echo_n "checking for atomic builtins for long long... " >&6; }
15730    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15731  (eval $ac_compile) 2>&5
15732  ac_status=$?
15733  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15734  test $ac_status = 0; }; then
15735      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15736	glibcxx_cv_atomic_long_long=no
15737      else
15738	glibcxx_cv_atomic_long_long=yes
15739      fi
15740    fi
15741    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15742$as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15743    rm -f conftest*
15744
15745  fi
15746
15747  CXXFLAGS="$old_CXXFLAGS"
15748  ac_ext=c
15749ac_cpp='$CPP $CPPFLAGS'
15750ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15751ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15752ac_compiler_gnu=$ac_cv_c_compiler_gnu
15753
15754
15755  # Set atomicity_dir to builtins if all but the long long test above passes,
15756  # or if the builtins were already chosen (e.g. by configure.host).
15757  if { test "$glibcxx_cv_atomic_bool" = yes \
15758     && test "$glibcxx_cv_atomic_short" = yes \
15759     && test "$glibcxx_cv_atomic_int" = yes; } \
15760     || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15761
15762$as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15763
15764    atomicity_dir=cpu/generic/atomicity_builtins
15765  fi
15766
15767  # If still generic, set to mutex.
15768  if test $atomicity_dir = "cpu/generic" ; then
15769    atomicity_dir=cpu/generic/atomicity_mutex
15770    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15771$as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15772      if test "x$target_thread_file" = xsingle; then
15773	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15774$as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15775	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15776$as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15777      else
15778	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15779$as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15780	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15781$as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15782      fi
15783  fi
15784
15785
15786
15787
15788  # Fake what AC_TRY_COMPILE does, without linking as this is
15789  # unnecessary for this test.
15790
15791    cat > conftest.$ac_ext << EOF
15792#line 15792 "configure"
15793int main()
15794{
15795  _Decimal32 d1;
15796  _Decimal64 d2;
15797  _Decimal128 d3;
15798  return 0;
15799}
15800EOF
15801
15802    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15803$as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15804    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15805  (eval $ac_compile) 2>&5
15806  ac_status=$?
15807  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15808  test $ac_status = 0; }; then
15809
15810$as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15811
15812      enable_dfp=yes
15813    else
15814      enable_dfp=no
15815    fi
15816    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15817$as_echo "$enable_dfp" >&6; }
15818    rm -f conftest*
15819
15820
15821
15822
15823  ac_ext=cpp
15824ac_cpp='$CXXCPP $CPPFLAGS'
15825ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15826ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15827ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15828
15829
15830  # Fake what AC_TRY_COMPILE does, without linking as this is
15831  # unnecessary for this test.
15832
15833    cat > conftest.$ac_ext << EOF
15834#line 15834 "configure"
15835template<typename T1, typename T2>
15836  struct same
15837  { typedef T2 type; };
15838
15839template<typename T>
15840  struct same<T, T>;
15841
15842int main()
15843{
15844  typename same<long, __int128>::type                i1;
15845  typename same<long long, __int128>::type           i2;
15846}
15847EOF
15848
15849    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15850$as_echo_n "checking for __int128... " >&6; }
15851    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15852  (eval $ac_compile) 2>&5
15853  ac_status=$?
15854  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15855  test $ac_status = 0; }; then
15856
15857$as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15858
15859      enable_int128=yes
15860    else
15861      enable_int128=no
15862    fi
15863    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15864$as_echo "$enable_int128" >&6; }
15865    rm -f conftest*
15866
15867    cat > conftest.$ac_ext << EOF
15868#line 15868 "configure"
15869template<typename T1, typename T2>
15870  struct same
15871  { typedef T2 type; };
15872
15873template<typename T>
15874  struct same<T, T>;
15875
15876int main()
15877{
15878  typename same<double, __float128>::type      f1;
15879  typename same<long double, __float128>::type f2;
15880}
15881EOF
15882
15883    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15884$as_echo_n "checking for __float128... " >&6; }
15885    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15886  (eval $ac_compile) 2>&5
15887  ac_status=$?
15888  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15889  test $ac_status = 0; }; then
15890      enable_float128=yes
15891    else
15892      enable_float128=no
15893    fi
15894    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15895$as_echo "$enable_float128" >&6; }
15896
15897    rm -f conftest*
15898
15899  ac_ext=c
15900ac_cpp='$CPP $CPPFLAGS'
15901ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15902ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15903ac_compiler_gnu=$ac_cv_c_compiler_gnu
15904
15905
15906if test "$enable_float128" = yes; then
15907  port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15908fi
15909
15910# Checks for compiler support that doesn't require linking.
15911
15912  # All these tests are for C++; save the language and the compiler flags.
15913  # The CXXFLAGS thing is suspicious, but based on similar bits previously
15914  # found in GLIBCXX_CONFIGURE.
15915
15916  ac_ext=cpp
15917ac_cpp='$CXXCPP $CPPFLAGS'
15918ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15919ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15920ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15921
15922  ac_test_CXXFLAGS="${CXXFLAGS+set}"
15923  ac_save_CXXFLAGS="$CXXFLAGS"
15924
15925  # Check for maintainer-mode bits.
15926  if test x"$USE_MAINTAINER_MODE" = xno; then
15927    WERROR=''
15928  else
15929    WERROR='-Werror'
15930  fi
15931
15932  # Check for -ffunction-sections -fdata-sections
15933  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15934$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15935  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15936  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15937/* end confdefs.h.  */
15938int foo; void bar() { };
15939int
15940main ()
15941{
15942
15943  ;
15944  return 0;
15945}
15946_ACEOF
15947if ac_fn_cxx_try_compile "$LINENO"; then :
15948  ac_fdsections=yes
15949else
15950  ac_fdsections=no
15951fi
15952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15953  if test "$ac_test_CXXFLAGS" = set; then
15954    CXXFLAGS="$ac_save_CXXFLAGS"
15955  else
15956    # this is the suspicious part
15957    CXXFLAGS=''
15958  fi
15959  if test x"$ac_fdsections" = x"yes"; then
15960    SECTION_FLAGS='-ffunction-sections -fdata-sections'
15961  fi
15962  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15963$as_echo "$ac_fdsections" >&6; }
15964
15965  ac_ext=c
15966ac_cpp='$CPP $CPPFLAGS'
15967ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15968ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15969ac_compiler_gnu=$ac_cv_c_compiler_gnu
15970
15971
15972
15973
15974
15975# Enable all the variable C++ runtime options that don't require linking.
15976
15977  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15978$as_echo_n "checking for underlying I/O to use... " >&6; }
15979   # Check whether --enable-cstdio was given.
15980if test "${enable_cstdio+set}" = set; then :
15981  enableval=$enable_cstdio;
15982      case "$enableval" in
15983       stdio) ;;
15984       *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15985	  	        esac
15986
15987else
15988  enable_cstdio=stdio
15989fi
15990
15991
15992
15993  # Now that libio has been removed, you can have any color you want as long
15994  # as it's black.  This is one big no-op until other packages are added, but
15995  # showing the framework never hurts.
15996  case ${enable_cstdio} in
15997    stdio)
15998      CSTDIO_H=config/io/c_io_stdio.h
15999      BASIC_FILE_H=config/io/basic_file_stdio.h
16000      BASIC_FILE_CC=config/io/basic_file_stdio.cc
16001      { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16002$as_echo "stdio" >&6; }
16003      ;;
16004  esac
16005
16006
16007
16008
16009
16010
16011   # Check whether --enable-clocale was given.
16012if test "${enable_clocale+set}" = set; then :
16013  enableval=$enable_clocale;
16014      case "$enableval" in
16015       generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16016       *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16017	  	        esac
16018
16019else
16020  enable_clocale=auto
16021fi
16022
16023
16024
16025  # Deal with gettext issues.  Default to not using it (=no) until we detect
16026  # support for it later.  Let the user turn it off via --e/d, but let that
16027  # default to on for easier handling.
16028  USE_NLS=no
16029  # Check whether --enable-nls was given.
16030if test "${enable_nls+set}" = set; then :
16031  enableval=$enable_nls;
16032else
16033  enable_nls=yes
16034fi
16035
16036
16037  # Either a known package, or "auto"
16038  if test $enable_clocale = no || test $enable_clocale = yes; then
16039     enable_clocale=auto
16040  fi
16041  enable_clocale_flag=$enable_clocale
16042
16043  # Probe for locale model to use if none specified.
16044  # Default to "generic".
16045  if test $enable_clocale_flag = auto; then
16046    case ${target_os} in
16047      linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16048	enable_clocale_flag=gnu
16049	;;
16050      darwin*)
16051	enable_clocale_flag=darwin
16052	;;
16053      dragonfly* | freebsd*)
16054	enable_clocale_flag=dragonfly
16055	;;
16056      openbsd*)
16057	enable_clocale_flag=newlib
16058	;;
16059      *)
16060	if test x"$with_newlib" = x"yes"; then
16061	  enable_clocale_flag=newlib
16062	else
16063	  enable_clocale_flag=generic
16064	fi
16065	;;
16066    esac
16067  fi
16068
16069  # Sanity check model, and test for special functionality.
16070  if test $enable_clocale_flag = gnu; then
16071    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16072/* end confdefs.h.  */
16073
16074    #include <features.h>
16075    #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16076      _GLIBCXX_ok
16077    #endif
16078
16079_ACEOF
16080if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16081  $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16082  enable_clocale_flag=gnu
16083else
16084  enable_clocale_flag=generic
16085fi
16086rm -f conftest*
16087
16088
16089    # Set it to scream when it hurts.
16090    ac_save_CFLAGS="$CFLAGS"
16091    CFLAGS="-Wimplicit-function-declaration -Werror"
16092
16093    # Use strxfrm_l if available.
16094    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16095/* end confdefs.h.  */
16096#define _GNU_SOURCE 1
16097     		    #include <string.h>
16098		    #include <locale.h>
16099int
16100main ()
16101{
16102char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16103  ;
16104  return 0;
16105}
16106_ACEOF
16107if ac_fn_c_try_compile "$LINENO"; then :
16108
16109$as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16110
16111fi
16112rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16113
16114    # Use strerror_l if available.
16115    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16116/* end confdefs.h.  */
16117#define _GNU_SOURCE 1
16118		    #include <string.h>
16119		    #include <locale.h>
16120int
16121main ()
16122{
16123__locale_t loc; strerror_l(5, loc);
16124  ;
16125  return 0;
16126}
16127_ACEOF
16128if ac_fn_c_try_compile "$LINENO"; then :
16129
16130$as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16131
16132fi
16133rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16134
16135    CFLAGS="$ac_save_CFLAGS"
16136  fi
16137
16138  # Perhaps use strerror_r if available, and strerror_l isn't.
16139  ac_save_CFLAGS="$CFLAGS"
16140  CFLAGS="-Wimplicit-function-declaration -Werror"
16141  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16142/* end confdefs.h.  */
16143#define _GNU_SOURCE 1
16144	     	  #include <string.h>
16145		  #include <locale.h>
16146int
16147main ()
16148{
16149char s[128]; strerror_r(5, s, 128);
16150  ;
16151  return 0;
16152}
16153_ACEOF
16154if ac_fn_c_try_compile "$LINENO"; then :
16155
16156$as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16157
16158fi
16159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16160  CFLAGS="$ac_save_CFLAGS"
16161
16162  # Set configure bits for specified locale package
16163  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16164$as_echo_n "checking for C locale to use... " >&6; }
16165  case ${enable_clocale_flag} in
16166    generic)
16167      { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16168$as_echo "generic" >&6; }
16169
16170      CLOCALE_H=config/locale/generic/c_locale.h
16171      CLOCALE_CC=config/locale/generic/c_locale.cc
16172      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16173      CCOLLATE_CC=config/locale/generic/collate_members.cc
16174      CCTYPE_CC=config/locale/generic/ctype_members.cc
16175      CMESSAGES_H=config/locale/generic/messages_members.h
16176      CMESSAGES_CC=config/locale/generic/messages_members.cc
16177      CMONEY_CC=config/locale/generic/monetary_members.cc
16178      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16179      CTIME_H=config/locale/generic/time_members.h
16180      CTIME_CC=config/locale/generic/time_members.cc
16181      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16182      ;;
16183    darwin)
16184      { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16185$as_echo "darwin" >&6; }
16186
16187      CLOCALE_H=config/locale/generic/c_locale.h
16188      CLOCALE_CC=config/locale/generic/c_locale.cc
16189      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16190      CCOLLATE_CC=config/locale/generic/collate_members.cc
16191      CCTYPE_CC=config/locale/darwin/ctype_members.cc
16192      CMESSAGES_H=config/locale/generic/messages_members.h
16193      CMESSAGES_CC=config/locale/generic/messages_members.cc
16194      CMONEY_CC=config/locale/generic/monetary_members.cc
16195      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16196      CTIME_H=config/locale/generic/time_members.h
16197      CTIME_CC=config/locale/generic/time_members.cc
16198      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16199      ;;
16200
16201    dragonfly)
16202      { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16203$as_echo "dragonfly or freebsd" >&6; }
16204
16205      CLOCALE_H=config/locale/dragonfly/c_locale.h
16206      CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16207      CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16208      CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16209      CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16210      CMESSAGES_H=config/locale/generic/messages_members.h
16211      CMESSAGES_CC=config/locale/generic/messages_members.cc
16212      CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16213      CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16214      CTIME_H=config/locale/dragonfly/time_members.h
16215      CTIME_CC=config/locale/dragonfly/time_members.cc
16216      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16217      ;;
16218
16219    gnu)
16220      { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16221$as_echo "gnu" >&6; }
16222
16223      # Declare intention to use gettext, and add support for specific
16224      # languages.
16225      # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16226      ALL_LINGUAS="de fr"
16227
16228      # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16229      # Extract the first word of "msgfmt", so it can be a program name with args.
16230set dummy msgfmt; ac_word=$2
16231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16232$as_echo_n "checking for $ac_word... " >&6; }
16233if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16234  $as_echo_n "(cached) " >&6
16235else
16236  if test -n "$check_msgfmt"; then
16237  ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16238else
16239as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16240for as_dir in $PATH
16241do
16242  IFS=$as_save_IFS
16243  test -z "$as_dir" && as_dir=.
16244    for ac_exec_ext in '' $ac_executable_extensions; do
16245  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16246    ac_cv_prog_check_msgfmt="yes"
16247    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16248    break 2
16249  fi
16250done
16251  done
16252IFS=$as_save_IFS
16253
16254  test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16255fi
16256fi
16257check_msgfmt=$ac_cv_prog_check_msgfmt
16258if test -n "$check_msgfmt"; then
16259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16260$as_echo "$check_msgfmt" >&6; }
16261else
16262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16263$as_echo "no" >&6; }
16264fi
16265
16266
16267      if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16268	USE_NLS=yes
16269      fi
16270      # Export the build objects.
16271      for ling in $ALL_LINGUAS; do \
16272	glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16273	glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16274      done
16275
16276
16277
16278      CLOCALE_H=config/locale/gnu/c_locale.h
16279      CLOCALE_CC=config/locale/gnu/c_locale.cc
16280      CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16281      CCOLLATE_CC=config/locale/gnu/collate_members.cc
16282      CCTYPE_CC=config/locale/gnu/ctype_members.cc
16283      CMESSAGES_H=config/locale/gnu/messages_members.h
16284      CMESSAGES_CC=config/locale/gnu/messages_members.cc
16285      CMONEY_CC=config/locale/gnu/monetary_members.cc
16286      CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16287      CTIME_H=config/locale/gnu/time_members.h
16288      CTIME_CC=config/locale/gnu/time_members.cc
16289      CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16290      ;;
16291    ieee_1003.1-2001)
16292      { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16293$as_echo "IEEE 1003.1" >&6; }
16294
16295      CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16296      CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16297      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16298      CCOLLATE_CC=config/locale/generic/collate_members.cc
16299      CCTYPE_CC=config/locale/generic/ctype_members.cc
16300      CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16301      CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16302      CMONEY_CC=config/locale/generic/monetary_members.cc
16303      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16304      CTIME_H=config/locale/generic/time_members.h
16305      CTIME_CC=config/locale/generic/time_members.cc
16306      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16307      ;;
16308    newlib)
16309      { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16310$as_echo "newlib" >&6; }
16311
16312      CLOCALE_H=config/locale/generic/c_locale.h
16313      CLOCALE_CC=config/locale/generic/c_locale.cc
16314      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16315      CCOLLATE_CC=config/locale/generic/collate_members.cc
16316      CCTYPE_CC=config/locale/newlib/ctype_members.cc
16317      CMESSAGES_H=config/locale/generic/messages_members.h
16318      CMESSAGES_CC=config/locale/generic/messages_members.cc
16319      CMONEY_CC=config/locale/generic/monetary_members.cc
16320      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16321      CTIME_H=config/locale/generic/time_members.h
16322      CTIME_CC=config/locale/generic/time_members.cc
16323      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16324      ;;
16325  esac
16326
16327  # This is where the testsuite looks for locale catalogs, using the
16328  # -DLOCALEDIR define during testsuite compilation.
16329  glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16330
16331
16332  # A standalone libintl (e.g., GNU libintl) may be in use.
16333  if test $USE_NLS = yes; then
16334    for ac_header in libintl.h
16335do :
16336  ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16337if test "x$ac_cv_header_libintl_h" = x""yes; then :
16338  cat >>confdefs.h <<_ACEOF
16339#define HAVE_LIBINTL_H 1
16340_ACEOF
16341
16342else
16343  USE_NLS=no
16344fi
16345
16346done
16347
16348    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16349$as_echo_n "checking for library containing gettext... " >&6; }
16350if test "${ac_cv_search_gettext+set}" = set; then :
16351  $as_echo_n "(cached) " >&6
16352else
16353  ac_func_search_save_LIBS=$LIBS
16354cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16355/* end confdefs.h.  */
16356
16357/* Override any GCC internal prototype to avoid an error.
16358   Use char because int might match the return type of a GCC
16359   builtin and then its argument prototype would still apply.  */
16360#ifdef __cplusplus
16361extern "C"
16362#endif
16363char gettext ();
16364int
16365main ()
16366{
16367return gettext ();
16368  ;
16369  return 0;
16370}
16371_ACEOF
16372for ac_lib in '' intl; do
16373  if test -z "$ac_lib"; then
16374    ac_res="none required"
16375  else
16376    ac_res=-l$ac_lib
16377    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16378  fi
16379  if test x$gcc_no_link = xyes; then
16380  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16381fi
16382if ac_fn_c_try_link "$LINENO"; then :
16383  ac_cv_search_gettext=$ac_res
16384fi
16385rm -f core conftest.err conftest.$ac_objext \
16386    conftest$ac_exeext
16387  if test "${ac_cv_search_gettext+set}" = set; then :
16388  break
16389fi
16390done
16391if test "${ac_cv_search_gettext+set}" = set; then :
16392
16393else
16394  ac_cv_search_gettext=no
16395fi
16396rm conftest.$ac_ext
16397LIBS=$ac_func_search_save_LIBS
16398fi
16399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16400$as_echo "$ac_cv_search_gettext" >&6; }
16401ac_res=$ac_cv_search_gettext
16402if test "$ac_res" != no; then :
16403  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16404
16405else
16406  USE_NLS=no
16407fi
16408
16409  fi
16410  if test $USE_NLS = yes; then
16411
16412$as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16413
16414  fi
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16432$as_echo_n "checking for std::allocator base class... " >&6; }
16433   # Check whether --enable-libstdcxx-allocator was given.
16434if test "${enable_libstdcxx_allocator+set}" = set; then :
16435  enableval=$enable_libstdcxx_allocator;
16436      case "$enableval" in
16437       new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16438       *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16439	  	        esac
16440
16441else
16442  enable_libstdcxx_allocator=auto
16443fi
16444
16445
16446
16447  # If they didn't use this option switch, or if they specified --enable
16448  # with no specific model, we'll have to look for one.  If they
16449  # specified --disable (???), do likewise.
16450  if test $enable_libstdcxx_allocator = no ||
16451     test $enable_libstdcxx_allocator = yes;
16452  then
16453     enable_libstdcxx_allocator=auto
16454  fi
16455
16456  # Either a known package, or "auto". Auto implies the default choice
16457  # for a particular platform.
16458  enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16459
16460  # Probe for host-specific support if no specific model is specified.
16461  # Default to "new".
16462  if test $enable_libstdcxx_allocator_flag = auto; then
16463    case ${target_os} in
16464      linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16465	enable_libstdcxx_allocator_flag=new
16466	;;
16467      *)
16468	enable_libstdcxx_allocator_flag=new
16469	;;
16470    esac
16471  fi
16472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16473$as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16474
16475
16476  # Set configure bits for specified locale package
16477  case ${enable_libstdcxx_allocator_flag} in
16478    bitmap)
16479      ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16480      ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16481      ;;
16482    malloc)
16483      ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16484      ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16485      ;;
16486    mt)
16487      ALLOCATOR_H=config/allocator/mt_allocator_base.h
16488      ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16489      ;;
16490    new)
16491      ALLOCATOR_H=config/allocator/new_allocator_base.h
16492      ALLOCATOR_NAME=__gnu_cxx::new_allocator
16493      ;;
16494    pool)
16495      ALLOCATOR_H=config/allocator/pool_allocator_base.h
16496      ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16497      ;;
16498  esac
16499
16500
16501
16502
16503
16504
16505   # Check whether --enable-cheaders was given.
16506if test "${enable_cheaders+set}" = set; then :
16507  enableval=$enable_cheaders;
16508      case "$enableval" in
16509       c|c_std|c_global) ;;
16510       *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16511	  	        esac
16512
16513else
16514  enable_cheaders=$c_model
16515fi
16516
16517
16518  { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16519$as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16520
16521  C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16522
16523  # Allow overrides to configure.host here.
16524  if test $enable_cheaders = c_global; then
16525     c_compatibility=yes
16526  fi
16527
16528
16529
16530
16531
16532
16533
16534   # Check whether --enable-long-long was given.
16535if test "${enable_long_long+set}" = set; then :
16536  enableval=$enable_long_long;
16537      case "$enableval" in
16538       yes|no) ;;
16539       *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16540      esac
16541
16542else
16543  enable_long_long=yes
16544fi
16545
16546
16547  if test $enable_long_long = yes; then
16548
16549$as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16550
16551  fi
16552  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16553$as_echo_n "checking for enabled long long specializations... " >&6; }
16554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16555$as_echo "$enable_long_long" >&6; }
16556
16557
16558   # Check whether --enable-wchar_t was given.
16559if test "${enable_wchar_t+set}" = set; then :
16560  enableval=$enable_wchar_t;
16561      case "$enableval" in
16562       yes|no) ;;
16563       *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16564      esac
16565
16566else
16567  enable_wchar_t=yes
16568fi
16569
16570
16571
16572  # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16573  for ac_header in wchar.h
16574do :
16575  ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16576if test "x$ac_cv_header_wchar_h" = x""yes; then :
16577  cat >>confdefs.h <<_ACEOF
16578#define HAVE_WCHAR_H 1
16579_ACEOF
16580 ac_has_wchar_h=yes
16581else
16582  ac_has_wchar_h=no
16583fi
16584
16585done
16586
16587  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16588$as_echo_n "checking for mbstate_t... " >&6; }
16589  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16590/* end confdefs.h.  */
16591#include <wchar.h>
16592int
16593main ()
16594{
16595mbstate_t teststate;
16596  ;
16597  return 0;
16598}
16599_ACEOF
16600if ac_fn_c_try_compile "$LINENO"; then :
16601  have_mbstate_t=yes
16602else
16603  have_mbstate_t=no
16604fi
16605rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16607$as_echo "$have_mbstate_t" >&6; }
16608  if test x"$have_mbstate_t" = xyes; then
16609
16610$as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16611
16612  fi
16613
16614  # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16615  # ac_has_wchar_h.
16616  for ac_header in wctype.h
16617do :
16618  ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16619if test "x$ac_cv_header_wctype_h" = x""yes; then :
16620  cat >>confdefs.h <<_ACEOF
16621#define HAVE_WCTYPE_H 1
16622_ACEOF
16623 ac_has_wctype_h=yes
16624else
16625  ac_has_wctype_h=no
16626fi
16627
16628done
16629
16630
16631  if test x"$enable_wchar_t" = x"yes"; then
16632
16633
16634    ac_ext=cpp
16635ac_cpp='$CXXCPP $CPPFLAGS'
16636ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16637ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16638ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16639
16640
16641    if test x"$ac_has_wchar_h" = xyes &&
16642       test x"$ac_has_wctype_h" = xyes; then
16643      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16644/* end confdefs.h.  */
16645#include <wchar.h>
16646		      #include <stddef.h>
16647		      wint_t i;
16648		      long l = WEOF;
16649		      long j = WCHAR_MIN;
16650		      long k = WCHAR_MAX;
16651		      namespace test
16652		      {
16653			using ::btowc;
16654			using ::fgetwc;
16655			using ::fgetws;
16656			using ::fputwc;
16657			using ::fputws;
16658			using ::fwide;
16659			using ::fwprintf;
16660			using ::fwscanf;
16661			using ::getwc;
16662			using ::getwchar;
16663 			using ::mbrlen;
16664			using ::mbrtowc;
16665			using ::mbsinit;
16666			using ::mbsrtowcs;
16667			using ::putwc;
16668			using ::putwchar;
16669			using ::swprintf;
16670			using ::swscanf;
16671			using ::ungetwc;
16672			using ::vfwprintf;
16673			using ::vswprintf;
16674			using ::vwprintf;
16675			using ::wcrtomb;
16676			using ::wcscat;
16677			using ::wcschr;
16678			using ::wcscmp;
16679			using ::wcscoll;
16680			using ::wcscpy;
16681			using ::wcscspn;
16682			using ::wcsftime;
16683			using ::wcslen;
16684			using ::wcsncat;
16685			using ::wcsncmp;
16686			using ::wcsncpy;
16687			using ::wcspbrk;
16688			using ::wcsrchr;
16689			using ::wcsrtombs;
16690			using ::wcsspn;
16691			using ::wcsstr;
16692			using ::wcstod;
16693			using ::wcstok;
16694			using ::wcstol;
16695			using ::wcstoul;
16696			using ::wcsxfrm;
16697			using ::wctob;
16698			using ::wmemchr;
16699			using ::wmemcmp;
16700			using ::wmemcpy;
16701			using ::wmemmove;
16702			using ::wmemset;
16703			using ::wprintf;
16704			using ::wscanf;
16705		      }
16706
16707int
16708main ()
16709{
16710
16711  ;
16712  return 0;
16713}
16714_ACEOF
16715if ac_fn_cxx_try_compile "$LINENO"; then :
16716
16717else
16718  enable_wchar_t=no
16719fi
16720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16721    else
16722      enable_wchar_t=no
16723    fi
16724
16725    ac_ext=c
16726ac_cpp='$CPP $CPPFLAGS'
16727ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16728ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16729ac_compiler_gnu=$ac_cv_c_compiler_gnu
16730
16731  fi
16732
16733  if test x"$enable_wchar_t" = x"yes"; then
16734
16735$as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16736
16737  fi
16738
16739  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16740$as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16742$as_echo "$enable_wchar_t" >&6; }
16743
16744
16745
16746   # Check whether --enable-c99 was given.
16747if test "${enable_c99+set}" = set; then :
16748  enableval=$enable_c99;
16749      case "$enableval" in
16750       yes|no) ;;
16751       *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16752      esac
16753
16754else
16755  enable_c99=yes
16756fi
16757
16758
16759
16760  if test x"$enable_c99" = x"yes"; then
16761
16762    ac_ext=cpp
16763ac_cpp='$CXXCPP $CPPFLAGS'
16764ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16765ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16766ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16767
16768
16769    # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16770    # undefined may cause fake C99 facilities, like pre-standard snprintf,
16771    # to be spuriously enabled.
16772    ac_save_CXXFLAGS="$CXXFLAGS"
16773    CXXFLAGS="$CXXFLAGS -std=c++98"
16774    ac_save_LIBS="$LIBS"
16775    ac_save_gcc_no_link="$gcc_no_link"
16776
16777    if test x$gcc_no_link != xyes; then
16778      # Use -fno-exceptions to that the C driver can link these tests without
16779      # hitting undefined references to personality routines.
16780      CXXFLAGS="$CXXFLAGS -fno-exceptions"
16781      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16782$as_echo_n "checking for sin in -lm... " >&6; }
16783if test "${ac_cv_lib_m_sin+set}" = set; then :
16784  $as_echo_n "(cached) " >&6
16785else
16786  ac_check_lib_save_LIBS=$LIBS
16787LIBS="-lm  $LIBS"
16788if test x$gcc_no_link = xyes; then
16789  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16790fi
16791cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16792/* end confdefs.h.  */
16793
16794/* Override any GCC internal prototype to avoid an error.
16795   Use char because int might match the return type of a GCC
16796   builtin and then its argument prototype would still apply.  */
16797#ifdef __cplusplus
16798extern "C"
16799#endif
16800char sin ();
16801int
16802main ()
16803{
16804return sin ();
16805  ;
16806  return 0;
16807}
16808_ACEOF
16809if ac_fn_cxx_try_link "$LINENO"; then :
16810  ac_cv_lib_m_sin=yes
16811else
16812  ac_cv_lib_m_sin=no
16813fi
16814rm -f core conftest.err conftest.$ac_objext \
16815    conftest$ac_exeext conftest.$ac_ext
16816LIBS=$ac_check_lib_save_LIBS
16817fi
16818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16819$as_echo "$ac_cv_lib_m_sin" >&6; }
16820if test "x$ac_cv_lib_m_sin" = x""yes; then :
16821  LIBS="$LIBS -lm"
16822else
16823
16824        # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16825        gcc_no_link=yes
16826
16827fi
16828
16829    fi
16830
16831    # Check for the existence of <math.h> functions used if C99 is enabled.
16832    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16833$as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16834    if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16835  $as_echo_n "(cached) " >&6
16836else
16837
16838      if test x$gcc_no_link = xyes; then
16839  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16840/* end confdefs.h.  */
16841#include <math.h>
16842         volatile double d1, d2;
16843         volatile int i;
16844int
16845main ()
16846{
16847i = fpclassify(d1);
16848         i = isfinite(d1);
16849         i = isinf(d1);
16850         i = isnan(d1);
16851         i = isnormal(d1);
16852         i = signbit(d1);
16853         i = isgreater(d1, d2);
16854         i = isgreaterequal(d1, d2);
16855         i = isless(d1, d2);
16856         i = islessequal(d1, d2);
16857         i = islessgreater(d1, d2);
16858         i = islessgreater(d1, d2);
16859         i = isunordered(d1, d2);
16860
16861  ;
16862  return 0;
16863}
16864_ACEOF
16865if ac_fn_cxx_try_compile "$LINENO"; then :
16866  glibcxx_cv_c99_math_cxx98=yes
16867else
16868  glibcxx_cv_c99_math_cxx98=no
16869fi
16870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16871else
16872  if test x$gcc_no_link = xyes; then
16873  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16874fi
16875cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16876/* end confdefs.h.  */
16877#include <math.h>
16878         volatile double d1, d2;
16879         volatile int i;
16880int
16881main ()
16882{
16883i = fpclassify(d1);
16884         i = isfinite(d1);
16885         i = isinf(d1);
16886         i = isnan(d1);
16887         i = isnormal(d1);
16888         i = signbit(d1);
16889         i = isgreater(d1, d2);
16890         i = isgreaterequal(d1, d2);
16891         i = isless(d1, d2);
16892         i = islessequal(d1, d2);
16893         i = islessgreater(d1, d2);
16894         i = islessgreater(d1, d2);
16895         i = isunordered(d1, d2);
16896
16897  ;
16898  return 0;
16899}
16900_ACEOF
16901if ac_fn_cxx_try_link "$LINENO"; then :
16902  glibcxx_cv_c99_math_cxx98=yes
16903else
16904  glibcxx_cv_c99_math_cxx98=no
16905fi
16906rm -f core conftest.err conftest.$ac_objext \
16907    conftest$ac_exeext conftest.$ac_ext
16908fi
16909
16910fi
16911
16912    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16913$as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16914    if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16915
16916$as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16917
16918    fi
16919
16920    # Check for the existence of <complex.h> complex math functions.
16921    # This is necessary even though libstdc++ uses the builtin versions
16922    # of these functions, because if the builtin cannot be used, a reference
16923    # to the library function is emitted.
16924    for ac_header in tgmath.h
16925do :
16926  ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16927if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16928  cat >>confdefs.h <<_ACEOF
16929#define HAVE_TGMATH_H 1
16930_ACEOF
16931 ac_has_tgmath_h=yes
16932else
16933  ac_has_tgmath_h=no
16934fi
16935
16936done
16937
16938    for ac_header in complex.h
16939do :
16940  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16941if test "x$ac_cv_header_complex_h" = x""yes; then :
16942  cat >>confdefs.h <<_ACEOF
16943#define HAVE_COMPLEX_H 1
16944_ACEOF
16945 ac_has_complex_h=yes
16946else
16947  ac_has_complex_h=no
16948fi
16949
16950done
16951
16952    if test x"$ac_has_complex_h" = x"yes"; then
16953      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16954$as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16955      if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16956  $as_echo_n "(cached) " >&6
16957else
16958
16959        if test x$gcc_no_link = xyes; then
16960  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16961/* end confdefs.h.  */
16962#include <complex.h>
16963           typedef __complex__ float float_type;
16964           typedef __complex__ double double_type;
16965           typedef __complex__ long double ld_type;
16966           volatile float_type tmpf;
16967           volatile double_type tmpd;
16968           volatile ld_type tmpld;
16969           volatile float f;
16970           volatile double d;
16971           volatile long double ld;
16972int
16973main ()
16974{
16975f = cabsf(tmpf);
16976           f = cargf(tmpf);
16977           tmpf = ccosf(tmpf);
16978           tmpf = ccoshf(tmpf);
16979           tmpf = cexpf(tmpf);
16980           tmpf = clogf(tmpf);
16981           tmpf = csinf(tmpf);
16982           tmpf = csinhf(tmpf);
16983           tmpf = csqrtf(tmpf);
16984           tmpf = ctanf(tmpf);
16985           tmpf = ctanhf(tmpf);
16986           tmpf = cpowf(tmpf, tmpf);
16987           tmpf = cprojf(tmpf);
16988           d = cabs(tmpd);
16989           d = carg(tmpd);
16990           tmpd = ccos(tmpd);
16991           tmpd = ccosh(tmpd);
16992           tmpd = cexp(tmpd);
16993           tmpd = clog(tmpd);
16994           tmpd = csin(tmpd);
16995           tmpd = csinh(tmpd);
16996           tmpd = csqrt(tmpd);
16997           tmpd = ctan(tmpd);
16998           tmpd = ctanh(tmpd);
16999           tmpd = cpow(tmpd, tmpd);
17000           tmpd = cproj(tmpd);
17001           ld = cabsl(tmpld);
17002           ld = cargl(tmpld);
17003           tmpld = ccosl(tmpld);
17004           tmpld = ccoshl(tmpld);
17005           tmpld = cexpl(tmpld);
17006           tmpld = clogl(tmpld);
17007           tmpld = csinl(tmpld);
17008           tmpld = csinhl(tmpld);
17009           tmpld = csqrtl(tmpld);
17010           tmpld = ctanl(tmpld);
17011           tmpld = ctanhl(tmpld);
17012           tmpld = cpowl(tmpld, tmpld);
17013           tmpld = cprojl(tmpld);
17014
17015  ;
17016  return 0;
17017}
17018_ACEOF
17019if ac_fn_cxx_try_compile "$LINENO"; then :
17020  glibcxx_cv_c99_complex_cxx98=yes
17021else
17022  glibcxx_cv_c99_complex_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 <complex.h>
17032           typedef __complex__ float float_type;
17033           typedef __complex__ double double_type;
17034           typedef __complex__ long double ld_type;
17035           volatile float_type tmpf;
17036           volatile double_type tmpd;
17037           volatile ld_type tmpld;
17038           volatile float f;
17039           volatile double d;
17040           volatile long double ld;
17041int
17042main ()
17043{
17044f = cabsf(tmpf);
17045           f = cargf(tmpf);
17046           tmpf = ccosf(tmpf);
17047           tmpf = ccoshf(tmpf);
17048           tmpf = cexpf(tmpf);
17049           tmpf = clogf(tmpf);
17050           tmpf = csinf(tmpf);
17051           tmpf = csinhf(tmpf);
17052           tmpf = csqrtf(tmpf);
17053           tmpf = ctanf(tmpf);
17054           tmpf = ctanhf(tmpf);
17055           tmpf = cpowf(tmpf, tmpf);
17056           tmpf = cprojf(tmpf);
17057           d = cabs(tmpd);
17058           d = carg(tmpd);
17059           tmpd = ccos(tmpd);
17060           tmpd = ccosh(tmpd);
17061           tmpd = cexp(tmpd);
17062           tmpd = clog(tmpd);
17063           tmpd = csin(tmpd);
17064           tmpd = csinh(tmpd);
17065           tmpd = csqrt(tmpd);
17066           tmpd = ctan(tmpd);
17067           tmpd = ctanh(tmpd);
17068           tmpd = cpow(tmpd, tmpd);
17069           tmpd = cproj(tmpd);
17070           ld = cabsl(tmpld);
17071           ld = cargl(tmpld);
17072           tmpld = ccosl(tmpld);
17073           tmpld = ccoshl(tmpld);
17074           tmpld = cexpl(tmpld);
17075           tmpld = clogl(tmpld);
17076           tmpld = csinl(tmpld);
17077           tmpld = csinhl(tmpld);
17078           tmpld = csqrtl(tmpld);
17079           tmpld = ctanl(tmpld);
17080           tmpld = ctanhl(tmpld);
17081           tmpld = cpowl(tmpld, tmpld);
17082           tmpld = cprojl(tmpld);
17083
17084  ;
17085  return 0;
17086}
17087_ACEOF
17088if ac_fn_cxx_try_link "$LINENO"; then :
17089  glibcxx_cv_c99_complex_cxx98=yes
17090else
17091  glibcxx_cv_c99_complex_cxx98=no
17092fi
17093rm -f core conftest.err conftest.$ac_objext \
17094    conftest$ac_exeext conftest.$ac_ext
17095fi
17096
17097fi
17098
17099    fi
17100    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17101$as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17102    if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17103
17104$as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17105
17106    fi
17107
17108    # Check for the existence in <stdio.h> of vscanf, et. al.
17109    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17110$as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17111    if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
17112  $as_echo_n "(cached) " >&6
17113else
17114
17115      if test x$gcc_no_link = xyes; then
17116  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17117/* end confdefs.h.  */
17118#include <stdio.h>
17119         #include <stdarg.h>
17120         void foo(char* fmt, ...)
17121         {
17122           va_list args; va_start(args, fmt);
17123           vfscanf(stderr, "%i", args);
17124           vscanf("%i", args);
17125           vsnprintf(fmt, 0, "%i", args);
17126           vsscanf(fmt, "%i", args);
17127           snprintf(fmt, 0, "%i");
17128         }
17129int
17130main ()
17131{
17132
17133  ;
17134  return 0;
17135}
17136_ACEOF
17137if ac_fn_cxx_try_compile "$LINENO"; then :
17138  glibcxx_cv_c99_stdio_cxx98=yes
17139else
17140  glibcxx_cv_c99_stdio_cxx98=no
17141fi
17142rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17143else
17144  if test x$gcc_no_link = xyes; then
17145  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17146fi
17147cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17148/* end confdefs.h.  */
17149#include <stdio.h>
17150         #include <stdarg.h>
17151         void foo(char* fmt, ...)
17152         {
17153           va_list args; va_start(args, fmt);
17154           vfscanf(stderr, "%i", args);
17155           vscanf("%i", args);
17156           vsnprintf(fmt, 0, "%i", args);
17157           vsscanf(fmt, "%i", args);
17158           snprintf(fmt, 0, "%i");
17159         }
17160int
17161main ()
17162{
17163
17164  ;
17165  return 0;
17166}
17167_ACEOF
17168if ac_fn_cxx_try_link "$LINENO"; then :
17169  glibcxx_cv_c99_stdio_cxx98=yes
17170else
17171  glibcxx_cv_c99_stdio_cxx98=no
17172fi
17173rm -f core conftest.err conftest.$ac_objext \
17174    conftest$ac_exeext conftest.$ac_ext
17175fi
17176
17177fi
17178
17179    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17180$as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17181    if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17182
17183$as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17184
17185    fi
17186
17187    # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17188    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17189$as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17190    if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
17191  $as_echo_n "(cached) " >&6
17192else
17193
17194      if test x$gcc_no_link = xyes; then
17195  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17196/* end confdefs.h.  */
17197#include <stdlib.h>
17198         volatile float f;
17199         volatile long double ld;
17200         volatile unsigned long long ll;
17201         lldiv_t mydivt;
17202int
17203main ()
17204{
17205char* tmp;
17206         f = strtof("gnu", &tmp);
17207         ld = strtold("gnu", &tmp);
17208         ll = strtoll("gnu", &tmp, 10);
17209         ll = strtoull("gnu", &tmp, 10);
17210         ll = llabs(10);
17211         mydivt = lldiv(10,1);
17212         ll = mydivt.quot;
17213         ll = mydivt.rem;
17214         ll = atoll("10");
17215         _Exit(0);
17216
17217  ;
17218  return 0;
17219}
17220_ACEOF
17221if ac_fn_cxx_try_compile "$LINENO"; then :
17222  glibcxx_cv_c99_stdlib_cxx98=yes
17223else
17224  glibcxx_cv_c99_stdlib_cxx98=no
17225fi
17226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17227else
17228  if test x$gcc_no_link = xyes; then
17229  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17230fi
17231cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17232/* end confdefs.h.  */
17233#include <stdlib.h>
17234         volatile float f;
17235         volatile long double ld;
17236         volatile unsigned long long ll;
17237         lldiv_t mydivt;
17238int
17239main ()
17240{
17241char* tmp;
17242         f = strtof("gnu", &tmp);
17243         ld = strtold("gnu", &tmp);
17244         ll = strtoll("gnu", &tmp, 10);
17245         ll = strtoull("gnu", &tmp, 10);
17246         ll = llabs(10);
17247         mydivt = lldiv(10,1);
17248         ll = mydivt.quot;
17249         ll = mydivt.rem;
17250         ll = atoll("10");
17251         _Exit(0);
17252
17253  ;
17254  return 0;
17255}
17256_ACEOF
17257if ac_fn_cxx_try_link "$LINENO"; then :
17258  glibcxx_cv_c99_stdlib_cxx98=yes
17259else
17260  glibcxx_cv_c99_stdlib_cxx98=no
17261fi
17262rm -f core conftest.err conftest.$ac_objext \
17263    conftest$ac_exeext conftest.$ac_ext
17264fi
17265
17266fi
17267
17268    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17269$as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17270    if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17271
17272$as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17273
17274    fi
17275
17276    # Check for the existence in <wchar.h> of wcstold, etc.
17277    if test x"$ac_has_wchar_h" = xyes &&
17278       test x"$ac_has_wctype_h" = xyes; then
17279      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17280$as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17281      if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17282  $as_echo_n "(cached) " >&6
17283else
17284
17285        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17286/* end confdefs.h.  */
17287#include <wchar.h>
17288          namespace test
17289          {
17290            using ::wcstold;
17291            using ::wcstoll;
17292            using ::wcstoull;
17293          }
17294
17295int
17296main ()
17297{
17298
17299  ;
17300  return 0;
17301}
17302_ACEOF
17303if ac_fn_cxx_try_compile "$LINENO"; then :
17304  glibcxx_cv_c99_wchar_cxx98=yes
17305else
17306  glibcxx_cv_c99_wchar_cxx98=no
17307fi
17308rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17309
17310fi
17311
17312
17313      # Checks for wide character functions that may not be present.
17314      # Injection of these is wrapped with guard macros.
17315      # NB: only put functions here, instead of immediately above, if
17316      # absolutely necessary.
17317      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17318/* end confdefs.h.  */
17319#include <wchar.h>
17320        namespace test { using ::vfwscanf; }
17321int
17322main ()
17323{
17324
17325  ;
17326  return 0;
17327}
17328_ACEOF
17329if ac_fn_cxx_try_compile "$LINENO"; then :
17330
17331$as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17332
17333fi
17334rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17335
17336      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17337/* end confdefs.h.  */
17338#include <wchar.h>
17339        namespace test { using ::vswscanf; }
17340int
17341main ()
17342{
17343
17344  ;
17345  return 0;
17346}
17347_ACEOF
17348if ac_fn_cxx_try_compile "$LINENO"; then :
17349
17350$as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17351
17352fi
17353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17354
17355      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17356/* end confdefs.h.  */
17357#include <wchar.h>
17358        namespace test { using ::vwscanf; }
17359int
17360main ()
17361{
17362
17363  ;
17364  return 0;
17365}
17366_ACEOF
17367if ac_fn_cxx_try_compile "$LINENO"; then :
17368
17369$as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17370
17371fi
17372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17373
17374      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17375/* end confdefs.h.  */
17376#include <wchar.h>
17377        namespace test { using ::wcstof; }
17378int
17379main ()
17380{
17381
17382  ;
17383  return 0;
17384}
17385_ACEOF
17386if ac_fn_cxx_try_compile "$LINENO"; then :
17387
17388$as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17389
17390fi
17391rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17392
17393      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17394/* end confdefs.h.  */
17395#include <wctype.h>
17396int
17397main ()
17398{
17399wint_t t; int i = iswblank(t);
17400  ;
17401  return 0;
17402}
17403_ACEOF
17404if ac_fn_cxx_try_compile "$LINENO"; then :
17405
17406$as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17407
17408fi
17409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17410
17411      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17412$as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17413      if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17414
17415$as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17416
17417      fi
17418    fi
17419
17420    # Option parsed, now set things appropriately.
17421    if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17422       test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17423       test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17424       test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17425       test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17426      enable_c99=no;
17427    else
17428
17429$as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17430
17431    fi
17432
17433    gcc_no_link="$ac_save_gcc_no_link"
17434    LIBS="$ac_save_LIBS"
17435    CXXFLAGS="$ac_save_CXXFLAGS"
17436    ac_ext=c
17437ac_cpp='$CPP $CPPFLAGS'
17438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17440ac_compiler_gnu=$ac_cv_c_compiler_gnu
17441
17442
17443
17444    ac_ext=cpp
17445ac_cpp='$CXXCPP $CPPFLAGS'
17446ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17447ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17448ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17449
17450
17451    # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17452    # For the reasons given above we use -std=c++11 not -std=gnu++11.
17453    ac_save_CXXFLAGS="$CXXFLAGS"
17454    CXXFLAGS="$CXXFLAGS -std=c++11"
17455    ac_save_LIBS="$LIBS"
17456    ac_save_gcc_no_link="$gcc_no_link"
17457
17458    if test x$gcc_no_link != xyes; then
17459      # Use -fno-exceptions to that the C driver can link these tests without
17460      # hitting undefined references to personality routines.
17461      CXXFLAGS="$CXXFLAGS -fno-exceptions"
17462      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17463$as_echo_n "checking for sin in -lm... " >&6; }
17464if test "${ac_cv_lib_m_sin+set}" = set; then :
17465  $as_echo_n "(cached) " >&6
17466else
17467  ac_check_lib_save_LIBS=$LIBS
17468LIBS="-lm  $LIBS"
17469if test x$gcc_no_link = xyes; then
17470  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17471fi
17472cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17473/* end confdefs.h.  */
17474
17475/* Override any GCC internal prototype to avoid an error.
17476   Use char because int might match the return type of a GCC
17477   builtin and then its argument prototype would still apply.  */
17478#ifdef __cplusplus
17479extern "C"
17480#endif
17481char sin ();
17482int
17483main ()
17484{
17485return sin ();
17486  ;
17487  return 0;
17488}
17489_ACEOF
17490if ac_fn_cxx_try_link "$LINENO"; then :
17491  ac_cv_lib_m_sin=yes
17492else
17493  ac_cv_lib_m_sin=no
17494fi
17495rm -f core conftest.err conftest.$ac_objext \
17496    conftest$ac_exeext conftest.$ac_ext
17497LIBS=$ac_check_lib_save_LIBS
17498fi
17499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17500$as_echo "$ac_cv_lib_m_sin" >&6; }
17501if test "x$ac_cv_lib_m_sin" = x""yes; then :
17502  LIBS="$LIBS -lm"
17503else
17504
17505        # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17506        gcc_no_link=yes
17507
17508fi
17509
17510    fi
17511
17512    # Check for the existence of <math.h> functions used if C99 is enabled.
17513    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17514$as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17515    if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17516  $as_echo_n "(cached) " >&6
17517else
17518
17519      if test x$gcc_no_link = xyes; then
17520  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17521/* end confdefs.h.  */
17522#include <math.h>
17523         volatile double d1, d2;
17524         volatile int i;
17525int
17526main ()
17527{
17528i = fpclassify(d1);
17529         i = isfinite(d1);
17530         i = isinf(d1);
17531         i = isnan(d1);
17532         i = isnormal(d1);
17533         i = signbit(d1);
17534         i = isgreater(d1, d2);
17535         i = isgreaterequal(d1, d2);
17536         i = isless(d1, d2);
17537         i = islessequal(d1, d2);
17538         i = islessgreater(d1, d2);
17539         i = islessgreater(d1, d2);
17540         i = isunordered(d1, d2);
17541
17542  ;
17543  return 0;
17544}
17545_ACEOF
17546if ac_fn_cxx_try_compile "$LINENO"; then :
17547  glibcxx_cv_c99_math_cxx11=yes
17548else
17549  glibcxx_cv_c99_math_cxx11=no
17550fi
17551rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17552else
17553  if test x$gcc_no_link = xyes; then
17554  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17555fi
17556cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557/* end confdefs.h.  */
17558#include <math.h>
17559         volatile double d1, d2;
17560         volatile int i;
17561int
17562main ()
17563{
17564i = fpclassify(d1);
17565         i = isfinite(d1);
17566         i = isinf(d1);
17567         i = isnan(d1);
17568         i = isnormal(d1);
17569         i = signbit(d1);
17570         i = isgreater(d1, d2);
17571         i = isgreaterequal(d1, d2);
17572         i = isless(d1, d2);
17573         i = islessequal(d1, d2);
17574         i = islessgreater(d1, d2);
17575         i = islessgreater(d1, d2);
17576         i = isunordered(d1, d2);
17577
17578  ;
17579  return 0;
17580}
17581_ACEOF
17582if ac_fn_cxx_try_link "$LINENO"; then :
17583  glibcxx_cv_c99_math_cxx11=yes
17584else
17585  glibcxx_cv_c99_math_cxx11=no
17586fi
17587rm -f core conftest.err conftest.$ac_objext \
17588    conftest$ac_exeext conftest.$ac_ext
17589fi
17590
17591fi
17592
17593    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17594$as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17595    if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17596
17597$as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17598
17599    fi
17600
17601    # Check for the existence of <complex.h> complex math functions.
17602    # This is necessary even though libstdc++ uses the builtin versions
17603    # of these functions, because if the builtin cannot be used, a reference
17604    # to the library function is emitted.
17605    for ac_header in tgmath.h
17606do :
17607  ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17608if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17609  cat >>confdefs.h <<_ACEOF
17610#define HAVE_TGMATH_H 1
17611_ACEOF
17612 ac_has_tgmath_h=yes
17613else
17614  ac_has_tgmath_h=no
17615fi
17616
17617done
17618
17619    for ac_header in complex.h
17620do :
17621  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17622if test "x$ac_cv_header_complex_h" = x""yes; then :
17623  cat >>confdefs.h <<_ACEOF
17624#define HAVE_COMPLEX_H 1
17625_ACEOF
17626 ac_has_complex_h=yes
17627else
17628  ac_has_complex_h=no
17629fi
17630
17631done
17632
17633    if test x"$ac_has_complex_h" = x"yes"; then
17634      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17635$as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17636      if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17637  $as_echo_n "(cached) " >&6
17638else
17639
17640        if test x$gcc_no_link = xyes; then
17641  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17642/* end confdefs.h.  */
17643#include <complex.h>
17644           typedef __complex__ float float_type;
17645           typedef __complex__ double double_type;
17646           typedef __complex__ long double ld_type;
17647           volatile float_type tmpf;
17648           volatile double_type tmpd;
17649           volatile ld_type tmpld;
17650           volatile float f;
17651           volatile double d;
17652           volatile long double ld;
17653int
17654main ()
17655{
17656f = cabsf(tmpf);
17657           f = cargf(tmpf);
17658           tmpf = ccosf(tmpf);
17659           tmpf = ccoshf(tmpf);
17660           tmpf = cexpf(tmpf);
17661           tmpf = clogf(tmpf);
17662           tmpf = csinf(tmpf);
17663           tmpf = csinhf(tmpf);
17664           tmpf = csqrtf(tmpf);
17665           tmpf = ctanf(tmpf);
17666           tmpf = ctanhf(tmpf);
17667           tmpf = cpowf(tmpf, tmpf);
17668           tmpf = cprojf(tmpf);
17669           d = cabs(tmpd);
17670           d = carg(tmpd);
17671           tmpd = ccos(tmpd);
17672           tmpd = ccosh(tmpd);
17673           tmpd = cexp(tmpd);
17674           tmpd = clog(tmpd);
17675           tmpd = csin(tmpd);
17676           tmpd = csinh(tmpd);
17677           tmpd = csqrt(tmpd);
17678           tmpd = ctan(tmpd);
17679           tmpd = ctanh(tmpd);
17680           tmpd = cpow(tmpd, tmpd);
17681           tmpd = cproj(tmpd);
17682           ld = cabsl(tmpld);
17683           ld = cargl(tmpld);
17684           tmpld = ccosl(tmpld);
17685           tmpld = ccoshl(tmpld);
17686           tmpld = cexpl(tmpld);
17687           tmpld = clogl(tmpld);
17688           tmpld = csinl(tmpld);
17689           tmpld = csinhl(tmpld);
17690           tmpld = csqrtl(tmpld);
17691           tmpld = ctanl(tmpld);
17692           tmpld = ctanhl(tmpld);
17693           tmpld = cpowl(tmpld, tmpld);
17694           tmpld = cprojl(tmpld);
17695
17696  ;
17697  return 0;
17698}
17699_ACEOF
17700if ac_fn_cxx_try_compile "$LINENO"; then :
17701  glibcxx_cv_c99_complex_cxx11=yes
17702else
17703  glibcxx_cv_c99_complex_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 <complex.h>
17713           typedef __complex__ float float_type;
17714           typedef __complex__ double double_type;
17715           typedef __complex__ long double ld_type;
17716           volatile float_type tmpf;
17717           volatile double_type tmpd;
17718           volatile ld_type tmpld;
17719           volatile float f;
17720           volatile double d;
17721           volatile long double ld;
17722int
17723main ()
17724{
17725f = cabsf(tmpf);
17726           f = cargf(tmpf);
17727           tmpf = ccosf(tmpf);
17728           tmpf = ccoshf(tmpf);
17729           tmpf = cexpf(tmpf);
17730           tmpf = clogf(tmpf);
17731           tmpf = csinf(tmpf);
17732           tmpf = csinhf(tmpf);
17733           tmpf = csqrtf(tmpf);
17734           tmpf = ctanf(tmpf);
17735           tmpf = ctanhf(tmpf);
17736           tmpf = cpowf(tmpf, tmpf);
17737           tmpf = cprojf(tmpf);
17738           d = cabs(tmpd);
17739           d = carg(tmpd);
17740           tmpd = ccos(tmpd);
17741           tmpd = ccosh(tmpd);
17742           tmpd = cexp(tmpd);
17743           tmpd = clog(tmpd);
17744           tmpd = csin(tmpd);
17745           tmpd = csinh(tmpd);
17746           tmpd = csqrt(tmpd);
17747           tmpd = ctan(tmpd);
17748           tmpd = ctanh(tmpd);
17749           tmpd = cpow(tmpd, tmpd);
17750           tmpd = cproj(tmpd);
17751           ld = cabsl(tmpld);
17752           ld = cargl(tmpld);
17753           tmpld = ccosl(tmpld);
17754           tmpld = ccoshl(tmpld);
17755           tmpld = cexpl(tmpld);
17756           tmpld = clogl(tmpld);
17757           tmpld = csinl(tmpld);
17758           tmpld = csinhl(tmpld);
17759           tmpld = csqrtl(tmpld);
17760           tmpld = ctanl(tmpld);
17761           tmpld = ctanhl(tmpld);
17762           tmpld = cpowl(tmpld, tmpld);
17763           tmpld = cprojl(tmpld);
17764
17765  ;
17766  return 0;
17767}
17768_ACEOF
17769if ac_fn_cxx_try_link "$LINENO"; then :
17770  glibcxx_cv_c99_complex_cxx11=yes
17771else
17772  glibcxx_cv_c99_complex_cxx11=no
17773fi
17774rm -f core conftest.err conftest.$ac_objext \
17775    conftest$ac_exeext conftest.$ac_ext
17776fi
17777
17778fi
17779
17780    fi
17781    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17782$as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17783    if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17784
17785$as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17786
17787    fi
17788
17789    # Check for the existence in <stdio.h> of vscanf, et. al.
17790    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17791$as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17792    if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17793  $as_echo_n "(cached) " >&6
17794else
17795
17796      if test x$gcc_no_link = xyes; then
17797  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17798/* end confdefs.h.  */
17799#include <stdio.h>
17800         #include <stdarg.h>
17801         void foo(char* fmt, ...)
17802         {
17803           va_list args; va_start(args, fmt);
17804           vfscanf(stderr, "%i", args);
17805           vscanf("%i", args);
17806           vsnprintf(fmt, 0, "%i", args);
17807           vsscanf(fmt, "%i", args);
17808           snprintf(fmt, 0, "%i");
17809         }
17810int
17811main ()
17812{
17813
17814  ;
17815  return 0;
17816}
17817_ACEOF
17818if ac_fn_cxx_try_compile "$LINENO"; then :
17819  glibcxx_cv_c99_stdio_cxx11=yes
17820else
17821  glibcxx_cv_c99_stdio_cxx11=no
17822fi
17823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17824else
17825  if test x$gcc_no_link = xyes; then
17826  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17827fi
17828cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17829/* end confdefs.h.  */
17830#include <stdio.h>
17831         #include <stdarg.h>
17832         void foo(char* fmt, ...)
17833         {
17834           va_list args; va_start(args, fmt);
17835           vfscanf(stderr, "%i", args);
17836           vscanf("%i", args);
17837           vsnprintf(fmt, 0, "%i", args);
17838           vsscanf(fmt, "%i", args);
17839           snprintf(fmt, 0, "%i");
17840         }
17841int
17842main ()
17843{
17844
17845  ;
17846  return 0;
17847}
17848_ACEOF
17849if ac_fn_cxx_try_link "$LINENO"; then :
17850  glibcxx_cv_c99_stdio_cxx11=yes
17851else
17852  glibcxx_cv_c99_stdio_cxx11=no
17853fi
17854rm -f core conftest.err conftest.$ac_objext \
17855    conftest$ac_exeext conftest.$ac_ext
17856fi
17857
17858fi
17859
17860    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17861$as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17862    if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17863
17864$as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17865
17866    fi
17867
17868    # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17869    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17870$as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17871    if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17872  $as_echo_n "(cached) " >&6
17873else
17874
17875      if test x$gcc_no_link = xyes; then
17876  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17877/* end confdefs.h.  */
17878#include <stdlib.h>
17879         volatile float f;
17880         volatile long double ld;
17881         volatile unsigned long long ll;
17882         lldiv_t mydivt;
17883int
17884main ()
17885{
17886char* tmp;
17887         f = strtof("gnu", &tmp);
17888         ld = strtold("gnu", &tmp);
17889         ll = strtoll("gnu", &tmp, 10);
17890         ll = strtoull("gnu", &tmp, 10);
17891         ll = llabs(10);
17892         mydivt = lldiv(10,1);
17893         ll = mydivt.quot;
17894         ll = mydivt.rem;
17895         ll = atoll("10");
17896         _Exit(0);
17897
17898  ;
17899  return 0;
17900}
17901_ACEOF
17902if ac_fn_cxx_try_compile "$LINENO"; then :
17903  glibcxx_cv_c99_stdlib_cxx11=yes
17904else
17905  glibcxx_cv_c99_stdlib_cxx11=no
17906fi
17907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17908else
17909  if test x$gcc_no_link = xyes; then
17910  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17911fi
17912cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17913/* end confdefs.h.  */
17914#include <stdlib.h>
17915         volatile float f;
17916         volatile long double ld;
17917         volatile unsigned long long ll;
17918         lldiv_t mydivt;
17919int
17920main ()
17921{
17922char* tmp;
17923         f = strtof("gnu", &tmp);
17924         ld = strtold("gnu", &tmp);
17925         ll = strtoll("gnu", &tmp, 10);
17926         ll = strtoull("gnu", &tmp, 10);
17927         ll = llabs(10);
17928         mydivt = lldiv(10,1);
17929         ll = mydivt.quot;
17930         ll = mydivt.rem;
17931         ll = atoll("10");
17932         _Exit(0);
17933
17934  ;
17935  return 0;
17936}
17937_ACEOF
17938if ac_fn_cxx_try_link "$LINENO"; then :
17939  glibcxx_cv_c99_stdlib_cxx11=yes
17940else
17941  glibcxx_cv_c99_stdlib_cxx11=no
17942fi
17943rm -f core conftest.err conftest.$ac_objext \
17944    conftest$ac_exeext conftest.$ac_ext
17945fi
17946
17947fi
17948
17949    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17950$as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17951    if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17952
17953$as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17954
17955    fi
17956
17957    # Check for the existence in <wchar.h> of wcstold, etc.
17958    if test x"$ac_has_wchar_h" = xyes &&
17959       test x"$ac_has_wctype_h" = xyes; then
17960      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17961$as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17962      if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17963  $as_echo_n "(cached) " >&6
17964else
17965
17966        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17967/* end confdefs.h.  */
17968#include <wchar.h>
17969          namespace test
17970          {
17971            using ::wcstold;
17972            using ::wcstoll;
17973            using ::wcstoull;
17974          }
17975
17976int
17977main ()
17978{
17979
17980  ;
17981  return 0;
17982}
17983_ACEOF
17984if ac_fn_cxx_try_compile "$LINENO"; then :
17985  glibcxx_cv_c99_wchar_cxx11=yes
17986else
17987  glibcxx_cv_c99_wchar_cxx11=no
17988fi
17989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17990
17991fi
17992
17993
17994      # Checks for wide character functions that may not be present.
17995      # Injection of these is wrapped with guard macros.
17996      # NB: only put functions here, instead of immediately above, if
17997      # absolutely necessary.
17998      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17999/* end confdefs.h.  */
18000#include <wchar.h>
18001        namespace test { using ::vfwscanf; }
18002int
18003main ()
18004{
18005
18006  ;
18007  return 0;
18008}
18009_ACEOF
18010if ac_fn_cxx_try_compile "$LINENO"; then :
18011
18012$as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18013
18014fi
18015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18016
18017      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18018/* end confdefs.h.  */
18019#include <wchar.h>
18020        namespace test { using ::vswscanf; }
18021int
18022main ()
18023{
18024
18025  ;
18026  return 0;
18027}
18028_ACEOF
18029if ac_fn_cxx_try_compile "$LINENO"; then :
18030
18031$as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18032
18033fi
18034rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18035
18036      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18037/* end confdefs.h.  */
18038#include <wchar.h>
18039        namespace test { using ::vwscanf; }
18040int
18041main ()
18042{
18043
18044  ;
18045  return 0;
18046}
18047_ACEOF
18048if ac_fn_cxx_try_compile "$LINENO"; then :
18049
18050$as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18051
18052fi
18053rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18054
18055      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18056/* end confdefs.h.  */
18057#include <wchar.h>
18058        namespace test { using ::wcstof; }
18059int
18060main ()
18061{
18062
18063  ;
18064  return 0;
18065}
18066_ACEOF
18067if ac_fn_cxx_try_compile "$LINENO"; then :
18068
18069$as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18070
18071fi
18072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18073
18074      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18075/* end confdefs.h.  */
18076#include <wctype.h>
18077int
18078main ()
18079{
18080wint_t t; int i = iswblank(t);
18081  ;
18082  return 0;
18083}
18084_ACEOF
18085if ac_fn_cxx_try_compile "$LINENO"; then :
18086
18087$as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18088
18089fi
18090rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18091
18092      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18093$as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18094      if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18095
18096$as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18097
18098      fi
18099    fi
18100
18101    gcc_no_link="$ac_save_gcc_no_link"
18102    LIBS="$ac_save_LIBS"
18103    CXXFLAGS="$ac_save_CXXFLAGS"
18104    ac_ext=c
18105ac_cpp='$CPP $CPPFLAGS'
18106ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18107ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18108ac_compiler_gnu=$ac_cv_c_compiler_gnu
18109
18110  fi
18111
18112  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18113$as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18115$as_echo "$enable_c99" >&6; }
18116
18117
18118   # Check whether --enable-concept-checks was given.
18119if test "${enable_concept_checks+set}" = set; then :
18120  enableval=$enable_concept_checks;
18121      case "$enableval" in
18122       yes|no) ;;
18123       *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18124      esac
18125
18126else
18127  enable_concept_checks=no
18128fi
18129
18130
18131  if test $enable_concept_checks = yes; then
18132
18133$as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18134
18135  fi
18136
18137
18138   # Check whether --enable-libstdcxx-debug-flags was given.
18139if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18140  enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18141      xno | x)    enable_libstdcxx_debug_flags= ;;
18142      x-*)        ;;
18143      *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18144     esac
18145else
18146  enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
18147fi
18148
18149
18150
18151  # Option parsed, now set things appropriately
18152  DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18153
18154
18155  { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18156$as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18157
18158
18159  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18160$as_echo_n "checking for additional debug build... " >&6; }
18161   # Check whether --enable-libstdcxx-debug was given.
18162if test "${enable_libstdcxx_debug+set}" = set; then :
18163  enableval=$enable_libstdcxx_debug;
18164      case "$enableval" in
18165       yes|no) ;;
18166       *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18167      esac
18168
18169else
18170  enable_libstdcxx_debug=no
18171fi
18172
18173
18174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
18175$as_echo "$enable_libstdcxx_debug" >&6; }
18176
18177
18178
18179
18180  enable_parallel=no;
18181
18182  # See if configured libgomp/omp.h exists. (libgomp may be in
18183  # noconfigdirs but not explicitly disabled.)
18184  if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18185    enable_parallel=yes;
18186  else
18187    { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18188$as_echo "$as_me: target-libgomp not built" >&6;}
18189  fi
18190
18191  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18192$as_echo_n "checking for parallel mode support... " >&6; }
18193  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18194$as_echo "$enable_parallel" >&6; }
18195
18196  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18197$as_echo_n "checking for extra compiler flags for building... " >&6; }
18198   # Check whether --enable-cxx-flags was given.
18199if test "${enable_cxx_flags+set}" = set; then :
18200  enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18201      xno | x)   enable_cxx_flags= ;;
18202      x-*)       ;;
18203      *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18204     esac
18205else
18206  enable_cxx_flags=
18207fi
18208
18209
18210
18211  # Run through flags (either default or command-line) and set anything
18212  # extra (e.g., #defines) that must accompany particular g++ options.
18213  if test -n "$enable_cxx_flags"; then
18214    for f in $enable_cxx_flags; do
18215      case "$f" in
18216	-fhonor-std)  ;;
18217	-*)  ;;
18218	*)   # and we're trying to pass /what/ exactly?
18219	     as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18220      esac
18221    done
18222  fi
18223
18224  EXTRA_CXX_FLAGS="$enable_cxx_flags"
18225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18226$as_echo "$EXTRA_CXX_FLAGS" >&6; }
18227
18228
18229
18230   # Check whether --enable-fully-dynamic-string was given.
18231if test "${enable_fully_dynamic_string+set}" = set; then :
18232  enableval=$enable_fully_dynamic_string;
18233      case "$enableval" in
18234       yes|no) ;;
18235       *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18236      esac
18237
18238else
18239  enable_fully_dynamic_string=no
18240fi
18241
18242
18243  if test $enable_fully_dynamic_string = yes; then
18244    enable_fully_dynamic_string_def=1
18245  else
18246    enable_fully_dynamic_string_def=0
18247  fi
18248
18249cat >>confdefs.h <<_ACEOF
18250#define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18251_ACEOF
18252
18253
18254
18255
18256   # Check whether --enable-extern-template was given.
18257if test "${enable_extern_template+set}" = set; then :
18258  enableval=$enable_extern_template;
18259      case "$enableval" in
18260       yes|no) ;;
18261       *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18262      esac
18263
18264else
18265  enable_extern_template=yes
18266fi
18267
18268
18269
18270  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18271$as_echo_n "checking for extern template support... " >&6; }
18272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18273$as_echo "$enable_extern_template" >&6; }
18274
18275
18276
18277
18278
18279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18280$as_echo_n "checking for custom python install directory... " >&6; }
18281
18282# Check whether --with-python-dir was given.
18283if test "${with_python_dir+set}" = set; then :
18284  withval=$with_python_dir; with_python_dir=$withval
18285else
18286  with_python_dir="no"
18287fi
18288
18289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18290$as_echo "${with_python_dir}" >&6; }
18291
18292# Needed for installing Python modules during make install.
18293python_mod_dir="${with_python_dir}"
18294
18295
18296
18297
18298  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18299$as_echo_n "checking for -Werror... " >&6; }
18300   # Check whether --enable-werror was given.
18301if test "${enable_werror+set}" = set; then :
18302  enableval=$enable_werror;
18303      case "$enableval" in
18304       yes|no) ;;
18305       *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18306      esac
18307
18308else
18309  enable_werror=yes
18310fi
18311
18312
18313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18314$as_echo "$enable_werror" >&6; }
18315
18316
18317
18318
18319   # Check whether --enable-vtable-verify was given.
18320if test "${enable_vtable_verify+set}" = set; then :
18321  enableval=$enable_vtable_verify;
18322      case "$enableval" in
18323       yes|no) ;;
18324       *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18325      esac
18326
18327else
18328  enable_vtable_verify=no
18329fi
18330
18331
18332
18333  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18334$as_echo_n "checking for vtable verify support... " >&6; }
18335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18336$as_echo "$enable_vtable_verify" >&6; }
18337
18338  vtv_cygmin=no
18339  if test $enable_vtable_verify = yes; then
18340    case ${target_os} in
18341      cygwin*|mingw32*)
18342        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18343        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18344        vtv_cygmin=yes
18345        ;;
18346      darwin*)
18347        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18348        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18349        ;;
18350      solaris2*)
18351        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18352        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18353        ;;
18354      *)
18355        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18356        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18357        ;;
18358    esac
18359    VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18360  else
18361    VTV_CXXFLAGS=
18362    VTV_PCH_CXXFLAGS=
18363    VTV_CXXLINKFLAGS=
18364  fi
18365
18366
18367
18368
18369   if test x$vtv_cygmin = xyes; then
18370  VTV_CYGMIN_TRUE=
18371  VTV_CYGMIN_FALSE='#'
18372else
18373  VTV_CYGMIN_TRUE='#'
18374  VTV_CYGMIN_FALSE=
18375fi
18376
18377
18378
18379
18380# Checks for operating systems support that doesn't require linking.
18381
18382
18383
18384  ac_ext=cpp
18385ac_cpp='$CXXCPP $CPPFLAGS'
18386ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18387ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18388ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18389
18390  # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18391  # and we don't need a declaration for C++14 anyway.
18392  ac_save_CXXFLAGS="$CXXFLAGS"
18393  CXXFLAGS="$CXXFLAGS -std=gnu++11"
18394
18395  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18396$as_echo_n "checking for gets declaration... " >&6; }
18397  if test "${glibcxx_cv_gets+set}" = set; then :
18398  $as_echo_n "(cached) " >&6
18399else
18400
18401  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18402/* end confdefs.h.  */
18403#include <stdio.h>
18404	   namespace test
18405	   {
18406              using ::gets;
18407	   }
18408
18409_ACEOF
18410if ac_fn_cxx_try_compile "$LINENO"; then :
18411  glibcxx_cv_gets=yes
18412else
18413  glibcxx_cv_gets=no
18414
18415fi
18416rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18417fi
18418
18419
18420  if test $glibcxx_cv_gets = yes; then
18421
18422$as_echo "#define HAVE_GETS 1" >>confdefs.h
18423
18424  fi
18425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18426$as_echo "$glibcxx_cv_gets" >&6; }
18427
18428  CXXFLAGS="$ac_save_CXXFLAGS"
18429  ac_ext=c
18430ac_cpp='$CPP $CPPFLAGS'
18431ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18432ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18433ac_compiler_gnu=$ac_cv_c_compiler_gnu
18434
18435
18436
18437
18438
18439  ac_ext=cpp
18440ac_cpp='$CXXCPP $CPPFLAGS'
18441ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18442ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18443ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18444
18445  ac_save_CXXFLAGS="$CXXFLAGS"
18446  CXXFLAGS="$CXXFLAGS -std=c++11"
18447
18448  case "$host" in
18449    *-*-solaris2.*)
18450      # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18451      # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18452      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18453$as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18454      if test "${glibcxx_cv_math11_fp_overload+set}" = set; then :
18455  $as_echo_n "(cached) " >&6
18456else
18457
18458	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18459/* end confdefs.h.  */
18460#include <math.h>
18461	   #undef isfinite
18462	   namespace std {
18463	     inline bool isfinite(float __x)
18464	     { return __builtin_isfinite(__x); }
18465	   }
18466
18467_ACEOF
18468if ac_fn_cxx_try_compile "$LINENO"; then :
18469  glibcxx_cv_math11_fp_overload=no
18470else
18471  glibcxx_cv_math11_fp_overload=yes
18472
18473fi
18474rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18475fi
18476
18477
18478      # autoheader cannot handle indented templates.
18479
18480
18481      if test $glibcxx_cv_math11_fp_overload = yes; then
18482        $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18483
18484      fi
18485      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18486$as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18487
18488      # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18489      # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18490      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18491$as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18492      if test "${glibcxx_cv_math11_int_overload+set}" = set; then :
18493  $as_echo_n "(cached) " >&6
18494else
18495
18496	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18497/* end confdefs.h.  */
18498#include <math.h>
18499	   namespace std {
18500	     template<typename _Tp>
18501	       struct __is_integer;
18502	     template<>
18503	       struct __is_integer<int>
18504	       {
18505	         enum { __value = 1 };
18506	       };
18507	   }
18508	   namespace __gnu_cxx {
18509	     template<bool, typename>
18510	       struct __enable_if;
18511	     template<typename _Tp>
18512	       struct __enable_if<true, _Tp>
18513	       { typedef _Tp __type; };
18514	   }
18515	   namespace std {
18516	     template<typename _Tp>
18517	       constexpr typename __gnu_cxx::__enable_if
18518	       		 <__is_integer<_Tp>::__value, double>::__type
18519	       log2(_Tp __x)
18520	       { return __builtin_log2(__x); }
18521	   }
18522	   int
18523	   main (void)
18524	   {
18525	     int i = 1000;
18526	     return std::log2(i);
18527	   }
18528
18529_ACEOF
18530if ac_fn_cxx_try_compile "$LINENO"; then :
18531  glibcxx_cv_math11_int_overload=no
18532else
18533  glibcxx_cv_math11_int_overload=yes
18534
18535fi
18536rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18537fi
18538
18539
18540      # autoheader cannot handle indented templates.
18541
18542
18543      if test $glibcxx_cv_math11_int_overload = yes; then
18544        $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18545
18546      fi
18547      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18548$as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18549      ;;
18550    *)
18551      # If <math.h> defines the obsolete isinf(double) and isnan(double)
18552      # functions (instead of or as well as the C99 generic macros) then we
18553      # can't define std::isinf(double) and std::isnan(double) in <cmath>
18554      # and must use the ones from <math.h> instead.
18555      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18556$as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18557        if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18558  $as_echo_n "(cached) " >&6
18559else
18560
18561          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562/* end confdefs.h.  */
18563#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18564             #include <math.h>
18565             #undef isinf
18566             namespace std {
18567               using ::isinf;
18568               bool isinf(float);
18569               bool isinf(long double);
18570             }
18571             using std::isinf;
18572             bool b = isinf(0.0);
18573
18574_ACEOF
18575if ac_fn_cxx_try_compile "$LINENO"; then :
18576  glibcxx_cv_obsolete_isinf=yes
18577else
18578  glibcxx_cv_obsolete_isinf=no
18579
18580fi
18581rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18582fi
18583
18584      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18585$as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18586      if test $glibcxx_cv_obsolete_isinf = yes; then
18587
18588$as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18589
18590      fi
18591
18592      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18593$as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18594        if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18595  $as_echo_n "(cached) " >&6
18596else
18597
18598          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18599/* end confdefs.h.  */
18600#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18601             #include <math.h>
18602             #undef isnan
18603             namespace std {
18604               using ::isnan;
18605               bool isnan(float);
18606               bool isnan(long double);
18607             }
18608             using std::isnan;
18609             bool b = isnan(0.0);
18610
18611_ACEOF
18612if ac_fn_cxx_try_compile "$LINENO"; then :
18613  glibcxx_cv_obsolete_isnan=yes
18614else
18615  glibcxx_cv_obsolete_isnan=no
18616
18617fi
18618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18619fi
18620
18621      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18622$as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18623      if test $glibcxx_cv_obsolete_isnan = yes; then
18624
18625$as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18626
18627      fi
18628      ;;
18629  esac
18630
18631  CXXFLAGS="$ac_save_CXXFLAGS"
18632  ac_ext=c
18633ac_cpp='$CPP $CPPFLAGS'
18634ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18635ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18636ac_compiler_gnu=$ac_cv_c_compiler_gnu
18637
18638
18639
18640
18641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18642$as_echo_n "checking for EOWNERDEAD... " >&6; }
18643if test "${glibcxx_cv_system_error1+set}" = set; then :
18644  $as_echo_n "(cached) " >&6
18645else
18646
18647cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18648/* end confdefs.h.  */
18649#include <errno.h>
18650int
18651main ()
18652{
18653int i = EOWNERDEAD;
18654  ;
18655  return 0;
18656}
18657_ACEOF
18658if ac_fn_c_try_compile "$LINENO"; then :
18659  glibcxx_cv_system_error1=yes
18660else
18661  glibcxx_cv_system_error1=no
18662fi
18663rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18664
18665fi
18666
18667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18668$as_echo "$glibcxx_cv_system_error1" >&6; }
18669if test x"$glibcxx_cv_system_error1" = x"yes"; then
18670
18671$as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18672
18673fi
18674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18675$as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18676if test "${glibcxx_cv_system_error2+set}" = set; then :
18677  $as_echo_n "(cached) " >&6
18678else
18679
18680cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18681/* end confdefs.h.  */
18682#include <errno.h>
18683int
18684main ()
18685{
18686int i = ENOTRECOVERABLE;
18687  ;
18688  return 0;
18689}
18690_ACEOF
18691if ac_fn_c_try_compile "$LINENO"; then :
18692  glibcxx_cv_system_error2=yes
18693else
18694  glibcxx_cv_system_error2=no
18695fi
18696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697
18698fi
18699
18700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18701$as_echo "$glibcxx_cv_system_error2" >&6; }
18702if test x"$glibcxx_cv_system_error2" = x"yes"; then
18703
18704$as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18705
18706fi
18707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18708$as_echo_n "checking for ENOLINK... " >&6; }
18709if test "${glibcxx_cv_system_error3+set}" = set; then :
18710  $as_echo_n "(cached) " >&6
18711else
18712
18713cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714/* end confdefs.h.  */
18715#include <errno.h>
18716int
18717main ()
18718{
18719int i = ENOLINK;
18720  ;
18721  return 0;
18722}
18723_ACEOF
18724if ac_fn_c_try_compile "$LINENO"; then :
18725  glibcxx_cv_system_error3=yes
18726else
18727  glibcxx_cv_system_error3=no
18728fi
18729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18730
18731fi
18732
18733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18734$as_echo "$glibcxx_cv_system_error3" >&6; }
18735if test x"$glibcxx_cv_system_error3" = x"yes"; then
18736
18737$as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18738
18739fi
18740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18741$as_echo_n "checking for EPROTO... " >&6; }
18742if test "${glibcxx_cv_system_error4+set}" = set; then :
18743  $as_echo_n "(cached) " >&6
18744else
18745
18746cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18747/* end confdefs.h.  */
18748#include <errno.h>
18749int
18750main ()
18751{
18752int i = EPROTO;
18753  ;
18754  return 0;
18755}
18756_ACEOF
18757if ac_fn_c_try_compile "$LINENO"; then :
18758  glibcxx_cv_system_error4=yes
18759else
18760  glibcxx_cv_system_error4=no
18761fi
18762rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18763
18764fi
18765
18766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18767$as_echo "$glibcxx_cv_system_error4" >&6; }
18768if test x"$glibcxx_cv_system_error4" = x"yes"; then
18769
18770$as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18771
18772fi
18773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18774$as_echo_n "checking for ENODATA... " >&6; }
18775if test "${glibcxx_cv_system_error5+set}" = set; then :
18776  $as_echo_n "(cached) " >&6
18777else
18778
18779cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18780/* end confdefs.h.  */
18781#include <errno.h>
18782int
18783main ()
18784{
18785int i = ENODATA;
18786  ;
18787  return 0;
18788}
18789_ACEOF
18790if ac_fn_c_try_compile "$LINENO"; then :
18791  glibcxx_cv_system_error5=yes
18792else
18793  glibcxx_cv_system_error5=no
18794fi
18795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18796
18797fi
18798
18799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18800$as_echo "$glibcxx_cv_system_error5" >&6; }
18801if test x"$glibcxx_cv_system_error5" = x"yes"; then
18802
18803$as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18804
18805fi
18806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18807$as_echo_n "checking for ENOSR... " >&6; }
18808if test "${glibcxx_cv_system_error6+set}" = set; then :
18809  $as_echo_n "(cached) " >&6
18810else
18811
18812cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18813/* end confdefs.h.  */
18814#include <errno.h>
18815int
18816main ()
18817{
18818int i = ENOSR;
18819  ;
18820  return 0;
18821}
18822_ACEOF
18823if ac_fn_c_try_compile "$LINENO"; then :
18824  glibcxx_cv_system_error6=yes
18825else
18826  glibcxx_cv_system_error6=no
18827fi
18828rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18829
18830fi
18831
18832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18833$as_echo "$glibcxx_cv_system_error6" >&6; }
18834if test x"$glibcxx_cv_system_error6" = x"yes"; then
18835
18836$as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18837
18838fi
18839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18840$as_echo_n "checking for ENOSTR... " >&6; }
18841if test "${glibcxx_cv_system_error7+set}" = set; then :
18842  $as_echo_n "(cached) " >&6
18843else
18844
18845cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18846/* end confdefs.h.  */
18847#include <errno.h>
18848int
18849main ()
18850{
18851int i = ENOSTR;
18852  ;
18853  return 0;
18854}
18855_ACEOF
18856if ac_fn_c_try_compile "$LINENO"; then :
18857  glibcxx_cv_system_error7=yes
18858else
18859  glibcxx_cv_system_error7=no
18860fi
18861rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18862
18863fi
18864
18865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18866$as_echo "$glibcxx_cv_system_error7" >&6; }
18867if test x"$glibcxx_cv_system_error7" = x"yes"; then
18868
18869$as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18870
18871fi
18872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18873$as_echo_n "checking for ETIME... " >&6; }
18874if test "${glibcxx_cv_system_error8+set}" = set; then :
18875  $as_echo_n "(cached) " >&6
18876else
18877
18878cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18879/* end confdefs.h.  */
18880#include <errno.h>
18881int
18882main ()
18883{
18884int i = ETIME;
18885  ;
18886  return 0;
18887}
18888_ACEOF
18889if ac_fn_c_try_compile "$LINENO"; then :
18890  glibcxx_cv_system_error8=yes
18891else
18892  glibcxx_cv_system_error8=no
18893fi
18894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18895
18896fi
18897
18898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18899$as_echo "$glibcxx_cv_system_error8" >&6; }
18900if test x"$glibcxx_cv_system_error8" = x"yes"; then
18901
18902$as_echo "#define HAVE_ETIME 1" >>confdefs.h
18903
18904fi
18905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18906$as_echo_n "checking for EBADMSG... " >&6; }
18907if test "${glibcxx_cv_system_error9+set}" = set; then :
18908  $as_echo_n "(cached) " >&6
18909else
18910
18911cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18912/* end confdefs.h.  */
18913#include <errno.h>
18914int
18915main ()
18916{
18917int i = EBADMSG;
18918  ;
18919  return 0;
18920}
18921_ACEOF
18922if ac_fn_c_try_compile "$LINENO"; then :
18923  glibcxx_cv_system_error9=yes
18924else
18925  glibcxx_cv_system_error9=no
18926fi
18927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18928
18929fi
18930
18931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18932$as_echo "$glibcxx_cv_system_error9" >&6; }
18933if test x"$glibcxx_cv_system_error9" = x"yes"; then
18934
18935$as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18936
18937fi
18938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18939$as_echo_n "checking for ECANCELED... " >&6; }
18940if test "${glibcxx_cv_system_error10+set}" = set; then :
18941  $as_echo_n "(cached) " >&6
18942else
18943
18944cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18945/* end confdefs.h.  */
18946#include <errno.h>
18947int
18948main ()
18949{
18950int i = ECANCELED;
18951  ;
18952  return 0;
18953}
18954_ACEOF
18955if ac_fn_c_try_compile "$LINENO"; then :
18956  glibcxx_cv_system_error10=yes
18957else
18958  glibcxx_cv_system_error10=no
18959fi
18960rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18961
18962fi
18963
18964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18965$as_echo "$glibcxx_cv_system_error10" >&6; }
18966if test x"$glibcxx_cv_system_error10" = x"yes"; then
18967
18968$as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18969
18970fi
18971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18972$as_echo_n "checking for EOVERFLOW... " >&6; }
18973if test "${glibcxx_cv_system_error11+set}" = set; then :
18974  $as_echo_n "(cached) " >&6
18975else
18976
18977cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18978/* end confdefs.h.  */
18979#include <errno.h>
18980int
18981main ()
18982{
18983int i = EOVERFLOW;
18984  ;
18985  return 0;
18986}
18987_ACEOF
18988if ac_fn_c_try_compile "$LINENO"; then :
18989  glibcxx_cv_system_error11=yes
18990else
18991  glibcxx_cv_system_error11=no
18992fi
18993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18994
18995fi
18996
18997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18998$as_echo "$glibcxx_cv_system_error11" >&6; }
18999if test x"$glibcxx_cv_system_error11" = x"yes"; then
19000
19001$as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
19002
19003fi
19004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
19005$as_echo_n "checking for ENOTSUP... " >&6; }
19006if test "${glibcxx_cv_system_error12+set}" = set; then :
19007  $as_echo_n "(cached) " >&6
19008else
19009
19010cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19011/* end confdefs.h.  */
19012#include <errno.h>
19013int
19014main ()
19015{
19016int i = ENOTSUP;
19017  ;
19018  return 0;
19019}
19020_ACEOF
19021if ac_fn_c_try_compile "$LINENO"; then :
19022  glibcxx_cv_system_error12=yes
19023else
19024  glibcxx_cv_system_error12=no
19025fi
19026rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19027
19028fi
19029
19030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
19031$as_echo "$glibcxx_cv_system_error12" >&6; }
19032if test x"$glibcxx_cv_system_error12" = x"yes"; then
19033
19034$as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
19035
19036fi
19037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
19038$as_echo_n "checking for EIDRM... " >&6; }
19039if test "${glibcxx_cv_system_error13+set}" = set; then :
19040  $as_echo_n "(cached) " >&6
19041else
19042
19043cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19044/* end confdefs.h.  */
19045#include <errno.h>
19046int
19047main ()
19048{
19049int i = EIDRM;
19050  ;
19051  return 0;
19052}
19053_ACEOF
19054if ac_fn_c_try_compile "$LINENO"; then :
19055  glibcxx_cv_system_error13=yes
19056else
19057  glibcxx_cv_system_error13=no
19058fi
19059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19060
19061fi
19062
19063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
19064$as_echo "$glibcxx_cv_system_error13" >&6; }
19065if test x"$glibcxx_cv_system_error13" = x"yes"; then
19066
19067$as_echo "#define HAVE_EIDRM 1" >>confdefs.h
19068
19069fi
19070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
19071$as_echo_n "checking for ETXTBSY... " >&6; }
19072if test "${glibcxx_cv_system_error14+set}" = set; then :
19073  $as_echo_n "(cached) " >&6
19074else
19075
19076cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19077/* end confdefs.h.  */
19078#include <errno.h>
19079int
19080main ()
19081{
19082int i = ETXTBSY;
19083  ;
19084  return 0;
19085}
19086_ACEOF
19087if ac_fn_c_try_compile "$LINENO"; then :
19088  glibcxx_cv_system_error14=yes
19089else
19090  glibcxx_cv_system_error14=no
19091fi
19092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19093
19094fi
19095
19096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
19097$as_echo "$glibcxx_cv_system_error14" >&6; }
19098if test x"$glibcxx_cv_system_error14" = x"yes"; then
19099
19100$as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
19101
19102fi
19103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
19104$as_echo_n "checking for ECHILD... " >&6; }
19105if test "${glibcxx_cv_system_error15+set}" = set; then :
19106  $as_echo_n "(cached) " >&6
19107else
19108
19109cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19110/* end confdefs.h.  */
19111#include <errno.h>
19112int
19113main ()
19114{
19115int i = ECHILD;
19116  ;
19117  return 0;
19118}
19119_ACEOF
19120if ac_fn_c_try_compile "$LINENO"; then :
19121  glibcxx_cv_system_error15=yes
19122else
19123  glibcxx_cv_system_error15=no
19124fi
19125rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19126
19127fi
19128
19129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
19130$as_echo "$glibcxx_cv_system_error15" >&6; }
19131if test x"$glibcxx_cv_system_error15" = x"yes"; then
19132
19133$as_echo "#define HAVE_ECHILD 1" >>confdefs.h
19134
19135fi
19136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
19137$as_echo_n "checking for ENOSPC... " >&6; }
19138if test "${glibcxx_cv_system_error16+set}" = set; then :
19139  $as_echo_n "(cached) " >&6
19140else
19141
19142cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19143/* end confdefs.h.  */
19144#include <errno.h>
19145int
19146main ()
19147{
19148int i = ENOSPC;
19149  ;
19150  return 0;
19151}
19152_ACEOF
19153if ac_fn_c_try_compile "$LINENO"; then :
19154  glibcxx_cv_system_error16=yes
19155else
19156  glibcxx_cv_system_error16=no
19157fi
19158rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19159
19160fi
19161
19162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
19163$as_echo "$glibcxx_cv_system_error16" >&6; }
19164if test x"$glibcxx_cv_system_error16" = x"yes"; then
19165
19166$as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
19167
19168fi
19169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
19170$as_echo_n "checking for EPERM... " >&6; }
19171if test "${glibcxx_cv_system_error17+set}" = set; then :
19172  $as_echo_n "(cached) " >&6
19173else
19174
19175cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19176/* end confdefs.h.  */
19177#include <errno.h>
19178int
19179main ()
19180{
19181int i = EPERM;
19182  ;
19183  return 0;
19184}
19185_ACEOF
19186if ac_fn_c_try_compile "$LINENO"; then :
19187  glibcxx_cv_system_error17=yes
19188else
19189  glibcxx_cv_system_error17=no
19190fi
19191rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19192
19193fi
19194
19195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
19196$as_echo "$glibcxx_cv_system_error17" >&6; }
19197if test x"$glibcxx_cv_system_error17" = x"yes"; then
19198
19199$as_echo "#define HAVE_EPERM 1" >>confdefs.h
19200
19201fi
19202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19203$as_echo_n "checking for ETIMEDOUT... " >&6; }
19204if test "${glibcxx_cv_system_error18+set}" = set; then :
19205  $as_echo_n "(cached) " >&6
19206else
19207
19208cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19209/* end confdefs.h.  */
19210#include <errno.h>
19211int
19212main ()
19213{
19214int i = ETIMEDOUT;
19215  ;
19216  return 0;
19217}
19218_ACEOF
19219if ac_fn_c_try_compile "$LINENO"; then :
19220  glibcxx_cv_system_error18=yes
19221else
19222  glibcxx_cv_system_error18=no
19223fi
19224rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19225
19226fi
19227
19228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19229$as_echo "$glibcxx_cv_system_error18" >&6; }
19230if test x"$glibcxx_cv_system_error18" = x"yes"; then
19231
19232$as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19233
19234fi
19235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19236$as_echo_n "checking for EWOULDBLOCK... " >&6; }
19237if test "${glibcxx_cv_system_error19+set}" = set; then :
19238  $as_echo_n "(cached) " >&6
19239else
19240
19241cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19242/* end confdefs.h.  */
19243#include <errno.h>
19244int
19245main ()
19246{
19247int i = EWOULDBLOCK;
19248  ;
19249  return 0;
19250}
19251_ACEOF
19252if ac_fn_c_try_compile "$LINENO"; then :
19253  glibcxx_cv_system_error19=yes
19254else
19255  glibcxx_cv_system_error19=no
19256fi
19257rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19258
19259fi
19260
19261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19262$as_echo "$glibcxx_cv_system_error19" >&6; }
19263if test x"$glibcxx_cv_system_error19" = x"yes"; then
19264
19265$as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19266
19267fi
19268
19269
19270
19271
19272  # Test uchar.h.
19273  for ac_header in uchar.h
19274do :
19275  ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19276if test "x$ac_cv_header_uchar_h" = x""yes; then :
19277  cat >>confdefs.h <<_ACEOF
19278#define HAVE_UCHAR_H 1
19279_ACEOF
19280 ac_has_uchar_h=yes
19281else
19282  ac_has_uchar_h=no
19283fi
19284
19285done
19286
19287
19288
19289  ac_ext=cpp
19290ac_cpp='$CXXCPP $CPPFLAGS'
19291ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19292ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19293ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19294
19295  ac_save_CXXFLAGS="$CXXFLAGS"
19296  CXXFLAGS="$CXXFLAGS -std=c++11"
19297
19298  if test x"$ac_has_uchar_h" = x"yes"; then
19299    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19300$as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19301    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19302/* end confdefs.h.  */
19303#include <uchar.h>
19304		    #ifdef __STDC_UTF_16__
19305		    long i = __STDC_UTF_16__;
19306		    #endif
19307		    #ifdef __STDC_UTF_32__
19308		    long j = __STDC_UTF_32__;
19309		    #endif
19310		    namespace test
19311		    {
19312		      using ::c16rtomb;
19313		      using ::c32rtomb;
19314		      using ::mbrtoc16;
19315		      using ::mbrtoc32;
19316		    }
19317
19318int
19319main ()
19320{
19321
19322  ;
19323  return 0;
19324}
19325_ACEOF
19326if ac_fn_cxx_try_compile "$LINENO"; then :
19327  ac_c11_uchar_cxx11=yes
19328else
19329  ac_c11_uchar_cxx11=no
19330fi
19331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19332  else
19333    ac_c11_uchar_cxx11=no
19334  fi
19335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19336$as_echo "$ac_c11_uchar_cxx11" >&6; }
19337  if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19338
19339$as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19340
19341  fi
19342
19343  CXXFLAGS="$ac_save_CXXFLAGS"
19344  ac_ext=c
19345ac_cpp='$CPP $CPPFLAGS'
19346ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19347ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19348ac_compiler_gnu=$ac_cv_c_compiler_gnu
19349
19350
19351
19352# For the streamoff typedef.
19353
19354
19355
19356  ac_ext=cpp
19357ac_cpp='$CXXCPP $CPPFLAGS'
19358ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19359ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19360ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19361
19362
19363  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19364$as_echo_n "checking for int64_t... " >&6; }
19365  if test "${glibcxx_cv_INT64_T+set}" = set; then :
19366  $as_echo_n "(cached) " >&6
19367else
19368
19369    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19370/* end confdefs.h.  */
19371#include <stdint.h>
19372int
19373main ()
19374{
19375int64_t var;
19376  ;
19377  return 0;
19378}
19379_ACEOF
19380if ac_fn_cxx_try_compile "$LINENO"; then :
19381  glibcxx_cv_INT64_T=yes
19382else
19383  glibcxx_cv_INT64_T=no
19384fi
19385rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19386
19387fi
19388
19389
19390  if test $glibcxx_cv_INT64_T = yes; then
19391
19392$as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19393
19394    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19395$as_echo "$glibcxx_cv_INT64_T" >&6; }
19396
19397    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19398$as_echo_n "checking for int64_t as long... " >&6; }
19399    if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19400  $as_echo_n "(cached) " >&6
19401else
19402
19403      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19404/* end confdefs.h.  */
19405#include <stdint.h>
19406	template<typename, typename> struct same { enum { value = -1 }; };
19407	template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19408	int array[same<int64_t, long>::value];
19409int
19410main ()
19411{
19412
19413  ;
19414  return 0;
19415}
19416_ACEOF
19417if ac_fn_cxx_try_compile "$LINENO"; then :
19418  glibcxx_cv_int64_t_long=yes
19419else
19420  glibcxx_cv_int64_t_long=no
19421fi
19422rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19423
19424fi
19425
19426
19427    if test $glibcxx_cv_int64_t_long = yes; then
19428
19429$as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19430
19431      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19432$as_echo "$glibcxx_cv_int64_t_long" >&6; }
19433    fi
19434
19435    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19436$as_echo_n "checking for int64_t as long long... " >&6; }
19437    if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19438  $as_echo_n "(cached) " >&6
19439else
19440
19441      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19442/* end confdefs.h.  */
19443#include <stdint.h>
19444	template<typename, typename> struct same { enum { value = -1 }; };
19445	template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19446	int array[same<int64_t, long long>::value];
19447int
19448main ()
19449{
19450
19451  ;
19452  return 0;
19453}
19454_ACEOF
19455if ac_fn_cxx_try_compile "$LINENO"; then :
19456  glibcxx_cv_int64_t_long_long=yes
19457else
19458  glibcxx_cv_int64_t_long_long=no
19459fi
19460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19461
19462fi
19463
19464
19465    if test $glibcxx_cv_int64_t_long_long = yes; then
19466
19467$as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19468
19469      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19470$as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19471    fi
19472  fi
19473
19474  ac_ext=c
19475ac_cpp='$CPP $CPPFLAGS'
19476ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19477ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19478ac_compiler_gnu=$ac_cv_c_compiler_gnu
19479
19480
19481
19482# For LFS support.
19483
19484
19485  ac_ext=cpp
19486ac_cpp='$CXXCPP $CPPFLAGS'
19487ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19488ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19489ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19490
19491  ac_save_CXXFLAGS="$CXXFLAGS"
19492  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19493  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19494$as_echo_n "checking for LFS support... " >&6; }
19495  if test "${glibcxx_cv_LFS+set}" = set; then :
19496  $as_echo_n "(cached) " >&6
19497else
19498
19499    if test x$gcc_no_link = xyes; then
19500  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19501/* end confdefs.h.  */
19502#include <unistd.h>
19503       #include <stdio.h>
19504       #include <sys/stat.h>
19505
19506int
19507main ()
19508{
19509FILE* fp;
19510       fopen64("t", "w");
19511       fseeko64(fp, 0, SEEK_CUR);
19512       ftello64(fp);
19513       lseek64(1, 0, SEEK_CUR);
19514       struct stat64 buf;
19515       fstat64(1, &buf);
19516  ;
19517  return 0;
19518}
19519_ACEOF
19520if ac_fn_cxx_try_compile "$LINENO"; then :
19521  glibcxx_cv_LFS=yes
19522else
19523  glibcxx_cv_LFS=no
19524fi
19525rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19526else
19527  if test x$gcc_no_link = xyes; then
19528  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19529fi
19530cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19531/* end confdefs.h.  */
19532#include <unistd.h>
19533       #include <stdio.h>
19534       #include <sys/stat.h>
19535
19536int
19537main ()
19538{
19539FILE* fp;
19540       fopen64("t", "w");
19541       fseeko64(fp, 0, SEEK_CUR);
19542       ftello64(fp);
19543       lseek64(1, 0, SEEK_CUR);
19544       struct stat64 buf;
19545       fstat64(1, &buf);
19546  ;
19547  return 0;
19548}
19549_ACEOF
19550if ac_fn_cxx_try_link "$LINENO"; then :
19551  glibcxx_cv_LFS=yes
19552else
19553  glibcxx_cv_LFS=no
19554fi
19555rm -f core conftest.err conftest.$ac_objext \
19556    conftest$ac_exeext conftest.$ac_ext
19557fi
19558
19559fi
19560
19561  if test $glibcxx_cv_LFS = yes; then
19562
19563$as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19564
19565  fi
19566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19567$as_echo "$glibcxx_cv_LFS" >&6; }
19568  CXXFLAGS="$ac_save_CXXFLAGS"
19569  ac_ext=c
19570ac_cpp='$CPP $CPPFLAGS'
19571ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19572ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19573ac_compiler_gnu=$ac_cv_c_compiler_gnu
19574
19575
19576
19577# For showmanyc_helper().
19578for ac_header in sys/ioctl.h sys/filio.h
19579do :
19580  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19581ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19582eval as_val=\$$as_ac_Header
19583   if test "x$as_val" = x""yes; then :
19584  cat >>confdefs.h <<_ACEOF
19585#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19586_ACEOF
19587
19588fi
19589
19590done
19591
19592
19593
19594
19595  ac_ext=cpp
19596ac_cpp='$CXXCPP $CPPFLAGS'
19597ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19598ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19599ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19600
19601  ac_save_CXXFLAGS="$CXXFLAGS"
19602  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19603
19604  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19605$as_echo_n "checking for poll... " >&6; }
19606  if test "${glibcxx_cv_POLL+set}" = set; then :
19607  $as_echo_n "(cached) " >&6
19608else
19609
19610    if test x$gcc_no_link = xyes; then
19611  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19612/* end confdefs.h.  */
19613#include <poll.h>
19614int
19615main ()
19616{
19617struct pollfd pfd[1];
19618       pfd[0].events = POLLIN;
19619       poll(pfd, 1, 0);
19620  ;
19621  return 0;
19622}
19623_ACEOF
19624if ac_fn_cxx_try_compile "$LINENO"; then :
19625  glibcxx_cv_POLL=yes
19626else
19627  glibcxx_cv_POLL=no
19628fi
19629rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19630else
19631  if test x$gcc_no_link = xyes; then
19632  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19633fi
19634cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19635/* end confdefs.h.  */
19636#include <poll.h>
19637int
19638main ()
19639{
19640struct pollfd pfd[1];
19641       pfd[0].events = POLLIN;
19642       poll(pfd, 1, 0);
19643  ;
19644  return 0;
19645}
19646_ACEOF
19647if ac_fn_cxx_try_link "$LINENO"; then :
19648  glibcxx_cv_POLL=yes
19649else
19650  glibcxx_cv_POLL=no
19651fi
19652rm -f core conftest.err conftest.$ac_objext \
19653    conftest$ac_exeext conftest.$ac_ext
19654fi
19655
19656fi
19657
19658  if test $glibcxx_cv_POLL = yes; then
19659
19660$as_echo "#define HAVE_POLL 1" >>confdefs.h
19661
19662  fi
19663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19664$as_echo "$glibcxx_cv_POLL" >&6; }
19665
19666  CXXFLAGS="$ac_save_CXXFLAGS"
19667  ac_ext=c
19668ac_cpp='$CPP $CPPFLAGS'
19669ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19670ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19671ac_compiler_gnu=$ac_cv_c_compiler_gnu
19672
19673
19674
19675
19676
19677  ac_ext=cpp
19678ac_cpp='$CXXCPP $CPPFLAGS'
19679ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19680ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19681ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19682
19683  ac_save_CXXFLAGS="$CXXFLAGS"
19684  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19685
19686  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19687$as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19688  if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19689  $as_echo_n "(cached) " >&6
19690else
19691
19692    if test x$gcc_no_link = xyes; then
19693  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19694/* end confdefs.h.  */
19695#include <sys/stat.h>
19696int
19697main ()
19698{
19699struct stat buffer;
19700       fstat(0, &buffer);
19701       S_ISREG(buffer.st_mode);
19702  ;
19703  return 0;
19704}
19705_ACEOF
19706if ac_fn_cxx_try_compile "$LINENO"; then :
19707  glibcxx_cv_S_ISREG=yes
19708else
19709  glibcxx_cv_S_ISREG=no
19710fi
19711rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19712else
19713  if test x$gcc_no_link = xyes; then
19714  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19715fi
19716cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19717/* end confdefs.h.  */
19718#include <sys/stat.h>
19719int
19720main ()
19721{
19722struct stat buffer;
19723       fstat(0, &buffer);
19724       S_ISREG(buffer.st_mode);
19725  ;
19726  return 0;
19727}
19728_ACEOF
19729if ac_fn_cxx_try_link "$LINENO"; then :
19730  glibcxx_cv_S_ISREG=yes
19731else
19732  glibcxx_cv_S_ISREG=no
19733fi
19734rm -f core conftest.err conftest.$ac_objext \
19735    conftest$ac_exeext conftest.$ac_ext
19736fi
19737
19738fi
19739
19740  if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19741  $as_echo_n "(cached) " >&6
19742else
19743
19744    if test x$gcc_no_link = xyes; then
19745  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19746/* end confdefs.h.  */
19747#include <sys/stat.h>
19748int
19749main ()
19750{
19751struct stat buffer;
19752       fstat(0, &buffer);
19753       S_IFREG & buffer.st_mode;
19754  ;
19755  return 0;
19756}
19757_ACEOF
19758if ac_fn_cxx_try_compile "$LINENO"; then :
19759  glibcxx_cv_S_IFREG=yes
19760else
19761  glibcxx_cv_S_IFREG=no
19762fi
19763rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19764else
19765  if test x$gcc_no_link = xyes; then
19766  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19767fi
19768cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769/* end confdefs.h.  */
19770#include <sys/stat.h>
19771int
19772main ()
19773{
19774struct stat buffer;
19775       fstat(0, &buffer);
19776       S_IFREG & buffer.st_mode;
19777  ;
19778  return 0;
19779}
19780_ACEOF
19781if ac_fn_cxx_try_link "$LINENO"; then :
19782  glibcxx_cv_S_IFREG=yes
19783else
19784  glibcxx_cv_S_IFREG=no
19785fi
19786rm -f core conftest.err conftest.$ac_objext \
19787    conftest$ac_exeext conftest.$ac_ext
19788fi
19789
19790fi
19791
19792  res=no
19793  if test $glibcxx_cv_S_ISREG = yes; then
19794
19795$as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19796
19797    res=S_ISREG
19798  elif test $glibcxx_cv_S_IFREG = yes; then
19799
19800$as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19801
19802    res=S_IFREG
19803  fi
19804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19805$as_echo "$res" >&6; }
19806
19807  CXXFLAGS="$ac_save_CXXFLAGS"
19808  ac_ext=c
19809ac_cpp='$CPP $CPPFLAGS'
19810ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19811ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19812ac_compiler_gnu=$ac_cv_c_compiler_gnu
19813
19814
19815
19816# For xsputn_2().
19817for ac_header in sys/uio.h
19818do :
19819  ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19820if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19821  cat >>confdefs.h <<_ACEOF
19822#define HAVE_SYS_UIO_H 1
19823_ACEOF
19824
19825fi
19826
19827done
19828
19829
19830
19831
19832  ac_ext=cpp
19833ac_cpp='$CXXCPP $CPPFLAGS'
19834ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19835ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19836ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19837
19838  ac_save_CXXFLAGS="$CXXFLAGS"
19839  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19840
19841  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19842$as_echo_n "checking for writev... " >&6; }
19843  if test "${glibcxx_cv_WRITEV+set}" = set; then :
19844  $as_echo_n "(cached) " >&6
19845else
19846
19847    if test x$gcc_no_link = xyes; then
19848  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19849/* end confdefs.h.  */
19850#include <sys/uio.h>
19851int
19852main ()
19853{
19854struct iovec iov[2];
19855       writev(0, iov, 0);
19856  ;
19857  return 0;
19858}
19859_ACEOF
19860if ac_fn_cxx_try_compile "$LINENO"; then :
19861  glibcxx_cv_WRITEV=yes
19862else
19863  glibcxx_cv_WRITEV=no
19864fi
19865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19866else
19867  if test x$gcc_no_link = xyes; then
19868  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19869fi
19870cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19871/* end confdefs.h.  */
19872#include <sys/uio.h>
19873int
19874main ()
19875{
19876struct iovec iov[2];
19877       writev(0, iov, 0);
19878  ;
19879  return 0;
19880}
19881_ACEOF
19882if ac_fn_cxx_try_link "$LINENO"; then :
19883  glibcxx_cv_WRITEV=yes
19884else
19885  glibcxx_cv_WRITEV=no
19886fi
19887rm -f core conftest.err conftest.$ac_objext \
19888    conftest$ac_exeext conftest.$ac_ext
19889fi
19890
19891fi
19892
19893  if test $glibcxx_cv_WRITEV = yes; then
19894
19895$as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19896
19897  fi
19898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19899$as_echo "$glibcxx_cv_WRITEV" >&6; }
19900
19901  CXXFLAGS="$ac_save_CXXFLAGS"
19902  ac_ext=c
19903ac_cpp='$CPP $CPPFLAGS'
19904ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19905ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19906ac_compiler_gnu=$ac_cv_c_compiler_gnu
19907
19908
19909
19910# Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19911# so that the check is done with the C compiler (not C++).
19912# Checking with C++ can break a canadian cross build if either
19913# file does not exist in C but does in C++.
19914for ac_header in fenv.h complex.h
19915do :
19916  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19917ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19918eval as_val=\$$as_ac_Header
19919   if test "x$as_val" = x""yes; then :
19920  cat >>confdefs.h <<_ACEOF
19921#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19922_ACEOF
19923
19924fi
19925
19926done
19927
19928
19929# For C99 support to TR1.
19930
19931
19932
19933  ac_ext=cpp
19934ac_cpp='$CXXCPP $CPPFLAGS'
19935ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19936ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19937ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19938
19939
19940  # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19941  # undefined and fake C99 facilities may be spuriously enabled.
19942  ac_save_CXXFLAGS="$CXXFLAGS"
19943  CXXFLAGS="$CXXFLAGS -std=c++98"
19944
19945  # Check for the existence of <complex.h> complex math functions used
19946  # by tr1/complex.
19947  for ac_header in complex.h
19948do :
19949  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19950if test "x$ac_cv_header_complex_h" = x""yes; then :
19951  cat >>confdefs.h <<_ACEOF
19952#define HAVE_COMPLEX_H 1
19953_ACEOF
19954 ac_has_complex_h=yes
19955else
19956  ac_has_complex_h=no
19957fi
19958
19959done
19960
19961  ac_c99_complex_tr1=no;
19962  if test x"$ac_has_complex_h" = x"yes"; then
19963    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19964$as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19965    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19966/* end confdefs.h.  */
19967#include <complex.h>
19968int
19969main ()
19970{
19971typedef __complex__ float float_type; float_type tmpf;
19972		    cacosf(tmpf);
19973		    casinf(tmpf);
19974		    catanf(tmpf);
19975		    cacoshf(tmpf);
19976		    casinhf(tmpf);
19977		    catanhf(tmpf);
19978		    typedef __complex__ double double_type; double_type tmpd;
19979		    cacos(tmpd);
19980		    casin(tmpd);
19981		    catan(tmpd);
19982		    cacosh(tmpd);
19983		    casinh(tmpd);
19984		    catanh(tmpd);
19985		    typedef __complex__ long double ld_type; ld_type tmpld;
19986		    cacosl(tmpld);
19987		    casinl(tmpld);
19988		    catanl(tmpld);
19989		    cacoshl(tmpld);
19990		    casinhl(tmpld);
19991		    catanhl(tmpld);
19992
19993  ;
19994  return 0;
19995}
19996_ACEOF
19997if ac_fn_cxx_try_compile "$LINENO"; then :
19998  ac_c99_complex_tr1=yes
19999else
20000  ac_c99_complex_tr1=no
20001fi
20002rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20003  fi
20004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20005$as_echo "$ac_c99_complex_tr1" >&6; }
20006  if test x"$ac_c99_complex_tr1" = x"yes"; then
20007
20008$as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20009
20010  fi
20011
20012  # Check for the existence of <ctype.h> functions.
20013  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20014$as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20015  if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
20016  $as_echo_n "(cached) " >&6
20017else
20018
20019  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20020/* end confdefs.h.  */
20021#include <ctype.h>
20022int
20023main ()
20024{
20025int ch;
20026		  int ret;
20027		  ret = isblank(ch);
20028
20029  ;
20030  return 0;
20031}
20032_ACEOF
20033if ac_fn_cxx_try_compile "$LINENO"; then :
20034  glibcxx_cv_c99_ctype_tr1=yes
20035else
20036  glibcxx_cv_c99_ctype_tr1=no
20037fi
20038rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20039
20040fi
20041
20042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20043$as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20044  if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20045
20046$as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20047
20048  fi
20049
20050  # Check for the existence of <fenv.h> functions.
20051  for ac_header in fenv.h
20052do :
20053  ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20054if test "x$ac_cv_header_fenv_h" = x""yes; then :
20055  cat >>confdefs.h <<_ACEOF
20056#define HAVE_FENV_H 1
20057_ACEOF
20058 ac_has_fenv_h=yes
20059else
20060  ac_has_fenv_h=no
20061fi
20062
20063done
20064
20065  ac_c99_fenv_tr1=no;
20066  if test x"$ac_has_fenv_h" = x"yes"; then
20067    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20068$as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20069    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20070/* end confdefs.h.  */
20071#include <fenv.h>
20072int
20073main ()
20074{
20075int except, mode;
20076		    fexcept_t* pflag;
20077		    fenv_t* penv;
20078		    int ret;
20079		    ret = feclearexcept(except);
20080		    ret = fegetexceptflag(pflag, except);
20081		    ret = feraiseexcept(except);
20082		    ret = fesetexceptflag(pflag, except);
20083		    ret = fetestexcept(except);
20084		    ret = fegetround();
20085		    ret = fesetround(mode);
20086		    ret = fegetenv(penv);
20087		    ret = feholdexcept(penv);
20088		    ret = fesetenv(penv);
20089		    ret = feupdateenv(penv);
20090
20091  ;
20092  return 0;
20093}
20094_ACEOF
20095if ac_fn_cxx_try_compile "$LINENO"; then :
20096  ac_c99_fenv_tr1=yes
20097else
20098  ac_c99_fenv_tr1=no
20099fi
20100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20101  fi
20102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20103$as_echo "$ac_c99_fenv_tr1" >&6; }
20104  if test x"$ac_c99_fenv_tr1" = x"yes"; then
20105
20106$as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20107
20108  fi
20109
20110  # Check for the existence of <stdint.h> types.
20111  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20112$as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20113  if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
20114  $as_echo_n "(cached) " >&6
20115else
20116
20117  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20118/* end confdefs.h.  */
20119#define __STDC_LIMIT_MACROS
20120		  #define __STDC_CONSTANT_MACROS
20121		  #include <stdint.h>
20122int
20123main ()
20124{
20125typedef int8_t          my_int8_t;
20126		  my_int8_t               i8 = INT8_MIN;
20127		  i8 = INT8_MAX;
20128		  typedef int16_t         my_int16_t;
20129		  my_int16_t              i16 = INT16_MIN;
20130		  i16 = INT16_MAX;
20131		  typedef int32_t         my_int32_t;
20132		  my_int32_t              i32 = INT32_MIN;
20133		  i32 = INT32_MAX;
20134		  typedef int64_t         my_int64_t;
20135		  my_int64_t              i64 = INT64_MIN;
20136		  i64 = INT64_MAX;
20137		  typedef int_fast8_t     my_int_fast8_t;
20138		  my_int_fast8_t          if8 = INT_FAST8_MIN;
20139		  if8 = INT_FAST8_MAX;
20140		  typedef int_fast16_t    my_int_fast16_t;
20141		  my_int_fast16_t         if16 = INT_FAST16_MIN;
20142		  if16 = INT_FAST16_MAX;
20143		  typedef int_fast32_t    my_int_fast32_t;
20144		  my_int_fast32_t         if32 = INT_FAST32_MIN;
20145		  if32 = INT_FAST32_MAX;
20146		  typedef int_fast64_t    my_int_fast64_t;
20147		  my_int_fast64_t         if64 = INT_FAST64_MIN;
20148		  if64 = INT_FAST64_MAX;
20149		  typedef int_least8_t    my_int_least8_t;
20150		  my_int_least8_t         il8 = INT_LEAST8_MIN;
20151		  il8 = INT_LEAST8_MAX;
20152		  typedef int_least16_t   my_int_least16_t;
20153		  my_int_least16_t        il16 = INT_LEAST16_MIN;
20154		  il16 = INT_LEAST16_MAX;
20155		  typedef int_least32_t   my_int_least32_t;
20156		  my_int_least32_t        il32 = INT_LEAST32_MIN;
20157		  il32 = INT_LEAST32_MAX;
20158		  typedef int_least64_t   my_int_least64_t;
20159		  my_int_least64_t        il64 = INT_LEAST64_MIN;
20160		  il64 = INT_LEAST64_MAX;
20161		  typedef intmax_t        my_intmax_t;
20162		  my_intmax_t             im = INTMAX_MAX;
20163		  im = INTMAX_MIN;
20164		  typedef intptr_t        my_intptr_t;
20165		  my_intptr_t             ip = INTPTR_MAX;
20166		  ip = INTPTR_MIN;
20167		  typedef uint8_t         my_uint8_t;
20168		  my_uint8_t              ui8 = UINT8_MAX;
20169		  ui8 = UINT8_MAX;
20170		  typedef uint16_t        my_uint16_t;
20171		  my_uint16_t             ui16 = UINT16_MAX;
20172		  ui16 = UINT16_MAX;
20173		  typedef uint32_t        my_uint32_t;
20174		  my_uint32_t             ui32 = UINT32_MAX;
20175		  ui32 = UINT32_MAX;
20176		  typedef uint64_t        my_uint64_t;
20177		  my_uint64_t             ui64 = UINT64_MAX;
20178		  ui64 = UINT64_MAX;
20179		  typedef uint_fast8_t    my_uint_fast8_t;
20180		  my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
20181		  uif8 = UINT_FAST8_MAX;
20182		  typedef uint_fast16_t   my_uint_fast16_t;
20183		  my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
20184		  uif16 = UINT_FAST16_MAX;
20185		  typedef uint_fast32_t   my_uint_fast32_t;
20186		  my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
20187		  uif32 = UINT_FAST32_MAX;
20188		  typedef uint_fast64_t   my_uint_fast64_t;
20189		  my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
20190		  uif64 = UINT_FAST64_MAX;
20191		  typedef uint_least8_t   my_uint_least8_t;
20192		  my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
20193		  uil8 = UINT_LEAST8_MAX;
20194		  typedef uint_least16_t  my_uint_least16_t;
20195		  my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
20196		  uil16 = UINT_LEAST16_MAX;
20197		  typedef uint_least32_t  my_uint_least32_t;
20198		  my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
20199		  uil32 = UINT_LEAST32_MAX;
20200		  typedef uint_least64_t  my_uint_least64_t;
20201		  my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
20202		  uil64 = UINT_LEAST64_MAX;
20203		  typedef uintmax_t       my_uintmax_t;
20204		  my_uintmax_t            uim = UINTMAX_MAX;
20205		  uim = UINTMAX_MAX;
20206		  typedef uintptr_t       my_uintptr_t;
20207		  my_uintptr_t            uip = UINTPTR_MAX;
20208		  uip = UINTPTR_MAX;
20209
20210  ;
20211  return 0;
20212}
20213_ACEOF
20214if ac_fn_cxx_try_compile "$LINENO"; then :
20215  glibcxx_cv_c99_stdint_tr1=yes
20216else
20217  glibcxx_cv_c99_stdint_tr1=no
20218fi
20219rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20220
20221fi
20222
20223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20224$as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20225  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20226
20227$as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20228
20229  fi
20230
20231  # Check for the existence of <math.h> functions.
20232  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20233$as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20234  if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
20235  $as_echo_n "(cached) " >&6
20236else
20237
20238  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20239/* end confdefs.h.  */
20240#include <math.h>
20241int
20242main ()
20243{
20244typedef double_t  my_double_t;
20245		  typedef float_t   my_float_t;
20246		  acosh(0.0);
20247		  acoshf(0.0f);
20248		  acoshl(0.0l);
20249		  asinh(0.0);
20250		  asinhf(0.0f);
20251		  asinhl(0.0l);
20252		  atanh(0.0);
20253		  atanhf(0.0f);
20254		  atanhl(0.0l);
20255		  cbrt(0.0);
20256		  cbrtf(0.0f);
20257		  cbrtl(0.0l);
20258		  copysign(0.0, 0.0);
20259		  copysignf(0.0f, 0.0f);
20260		  copysignl(0.0l, 0.0l);
20261		  erf(0.0);
20262		  erff(0.0f);
20263		  erfl(0.0l);
20264		  erfc(0.0);
20265		  erfcf(0.0f);
20266		  erfcl(0.0l);
20267		  exp2(0.0);
20268		  exp2f(0.0f);
20269		  exp2l(0.0l);
20270		  expm1(0.0);
20271		  expm1f(0.0f);
20272		  expm1l(0.0l);
20273		  fdim(0.0, 0.0);
20274		  fdimf(0.0f, 0.0f);
20275		  fdiml(0.0l, 0.0l);
20276		  fma(0.0, 0.0, 0.0);
20277		  fmaf(0.0f, 0.0f, 0.0f);
20278		  fmal(0.0l, 0.0l, 0.0l);
20279		  fmax(0.0, 0.0);
20280		  fmaxf(0.0f, 0.0f);
20281		  fmaxl(0.0l, 0.0l);
20282		  fmin(0.0, 0.0);
20283		  fminf(0.0f, 0.0f);
20284		  fminl(0.0l, 0.0l);
20285		  hypot(0.0, 0.0);
20286		  hypotf(0.0f, 0.0f);
20287		  hypotl(0.0l, 0.0l);
20288		  ilogb(0.0);
20289		  ilogbf(0.0f);
20290		  ilogbl(0.0l);
20291		  lgamma(0.0);
20292		  lgammaf(0.0f);
20293		  lgammal(0.0l);
20294		  #ifndef __APPLE__ /* see below */
20295		  llrint(0.0);
20296		  llrintf(0.0f);
20297		  llrintl(0.0l);
20298		  llround(0.0);
20299		  llroundf(0.0f);
20300		  llroundl(0.0l);
20301		  #endif
20302		  log1p(0.0);
20303		  log1pf(0.0f);
20304		  log1pl(0.0l);
20305		  log2(0.0);
20306		  log2f(0.0f);
20307		  log2l(0.0l);
20308		  logb(0.0);
20309		  logbf(0.0f);
20310		  logbl(0.0l);
20311		  lrint(0.0);
20312		  lrintf(0.0f);
20313		  lrintl(0.0l);
20314		  lround(0.0);
20315		  lroundf(0.0f);
20316		  lroundl(0.0l);
20317		  nan(0);
20318		  nanf(0);
20319		  nanl(0);
20320		  nearbyint(0.0);
20321		  nearbyintf(0.0f);
20322		  nearbyintl(0.0l);
20323		  nextafter(0.0, 0.0);
20324		  nextafterf(0.0f, 0.0f);
20325		  nextafterl(0.0l, 0.0l);
20326		  nexttoward(0.0, 0.0);
20327		  nexttowardf(0.0f, 0.0f);
20328		  nexttowardl(0.0l, 0.0l);
20329		  remainder(0.0, 0.0);
20330		  remainderf(0.0f, 0.0f);
20331		  remainderl(0.0l, 0.0l);
20332		  remquo(0.0, 0.0, 0);
20333		  remquof(0.0f, 0.0f, 0);
20334		  remquol(0.0l, 0.0l, 0);
20335		  rint(0.0);
20336		  rintf(0.0f);
20337		  rintl(0.0l);
20338		  round(0.0);
20339		  roundf(0.0f);
20340		  roundl(0.0l);
20341		  scalbln(0.0, 0l);
20342		  scalblnf(0.0f, 0l);
20343		  scalblnl(0.0l, 0l);
20344		  scalbn(0.0, 0);
20345		  scalbnf(0.0f, 0);
20346		  scalbnl(0.0l, 0);
20347		  tgamma(0.0);
20348		  tgammaf(0.0f);
20349		  tgammal(0.0l);
20350		  trunc(0.0);
20351		  truncf(0.0f);
20352		  truncl(0.0l);
20353
20354  ;
20355  return 0;
20356}
20357_ACEOF
20358if ac_fn_cxx_try_compile "$LINENO"; then :
20359  glibcxx_cv_c99_math_tr1=yes
20360else
20361  glibcxx_cv_c99_math_tr1=no
20362fi
20363rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20364
20365fi
20366
20367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20368$as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20369  if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20370
20371$as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20372
20373
20374    case "${target_os}" in
20375      darwin*)
20376        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20377$as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20378        if test "${glibcxx_cv_c99_math_llround+set}" = set; then :
20379  $as_echo_n "(cached) " >&6
20380else
20381
20382          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20383/* end confdefs.h.  */
20384#include <math.h>
20385int
20386main ()
20387{
20388llrint(0.0);
20389		  llrintf(0.0f);
20390		  llrintl(0.0l);
20391		  llround(0.0);
20392		  llroundf(0.0f);
20393		  llroundl(0.0l);
20394
20395  ;
20396  return 0;
20397}
20398_ACEOF
20399if ac_fn_cxx_try_compile "$LINENO"; then :
20400  glibcxx_cv_c99_math_llround=yes
20401else
20402  glibcxx_cv_c99_math_llround=no
20403fi
20404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20405
20406fi
20407
20408	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20409$as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20410        ;;
20411    esac
20412    if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20413
20414$as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20415
20416    fi
20417  fi
20418
20419  # Check for the existence of <inttypes.h> functions (NB: doesn't make
20420  # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20421  ac_c99_inttypes_tr1=no;
20422  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20423    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20424$as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20425    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20426/* end confdefs.h.  */
20427#include <inttypes.h>
20428int
20429main ()
20430{
20431intmax_t i, numer, denom, base;
20432		    const char* s;
20433		    char** endptr;
20434		    intmax_t ret = imaxabs(i);
20435		    imaxdiv_t dret = imaxdiv(numer, denom);
20436		    ret = strtoimax(s, endptr, base);
20437		    uintmax_t uret = strtoumax(s, endptr, base);
20438
20439  ;
20440  return 0;
20441}
20442_ACEOF
20443if ac_fn_cxx_try_compile "$LINENO"; then :
20444  ac_c99_inttypes_tr1=yes
20445else
20446  ac_c99_inttypes_tr1=no
20447fi
20448rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20449  fi
20450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20451$as_echo "$ac_c99_inttypes_tr1" >&6; }
20452  if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20453
20454$as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20455
20456  fi
20457
20458  # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20459  # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20460  ac_c99_inttypes_wchar_t_tr1=no;
20461  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20462    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20463$as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20464    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20465/* end confdefs.h.  */
20466#include <inttypes.h>
20467int
20468main ()
20469{
20470intmax_t base;
20471		    const wchar_t* s;
20472		    wchar_t** endptr;
20473		    intmax_t ret = wcstoimax(s, endptr, base);
20474		    uintmax_t uret = wcstoumax(s, endptr, base);
20475
20476  ;
20477  return 0;
20478}
20479_ACEOF
20480if ac_fn_cxx_try_compile "$LINENO"; then :
20481  ac_c99_inttypes_wchar_t_tr1=yes
20482else
20483  ac_c99_inttypes_wchar_t_tr1=no
20484fi
20485rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20486  fi
20487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20488$as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20489  if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20490
20491$as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20492
20493  fi
20494
20495  # Check for the existence of the <stdbool.h> header.
20496  for ac_header in stdbool.h
20497do :
20498  ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20499if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20500  cat >>confdefs.h <<_ACEOF
20501#define HAVE_STDBOOL_H 1
20502_ACEOF
20503
20504fi
20505
20506done
20507
20508
20509  # Check for the existence of the <stdalign.h> header.
20510  for ac_header in stdalign.h
20511do :
20512  ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20513if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20514  cat >>confdefs.h <<_ACEOF
20515#define HAVE_STDALIGN_H 1
20516_ACEOF
20517
20518fi
20519
20520done
20521
20522
20523  CXXFLAGS="$ac_save_CXXFLAGS"
20524  ac_ext=c
20525ac_cpp='$CPP $CPPFLAGS'
20526ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20527ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20528ac_compiler_gnu=$ac_cv_c_compiler_gnu
20529
20530
20531
20532# For the EOF, SEEK_CUR, and SEEK_END integer constants.
20533
20534
20535  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20536$as_echo_n "checking for the value of EOF... " >&6; }
20537if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20538  $as_echo_n "(cached) " >&6
20539else
20540
20541  if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
20542
20543else
20544  as_fn_error "computing EOF failed" "$LINENO" 5
20545fi
20546
20547
20548fi
20549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20550$as_echo "$glibcxx_cv_stdio_eof" >&6; }
20551
20552cat >>confdefs.h <<_ACEOF
20553#define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20554_ACEOF
20555
20556
20557  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20558$as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20559if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20560  $as_echo_n "(cached) " >&6
20561else
20562
20563  if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
20564
20565else
20566  as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20567fi
20568
20569
20570fi
20571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20572$as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20573
20574cat >>confdefs.h <<_ACEOF
20575#define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20576_ACEOF
20577
20578
20579  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20580$as_echo_n "checking for the value of SEEK_END... " >&6; }
20581if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20582  $as_echo_n "(cached) " >&6
20583else
20584
20585  if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
20586
20587else
20588  as_fn_error "computing SEEK_END failed" "$LINENO" 5
20589fi
20590
20591
20592fi
20593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20594$as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20595
20596cat >>confdefs.h <<_ACEOF
20597#define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20598_ACEOF
20599
20600
20601
20602# For gettimeofday support.
20603
20604
20605  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20606$as_echo_n "checking for gettimeofday... " >&6; }
20607
20608
20609  ac_ext=cpp
20610ac_cpp='$CXXCPP $CPPFLAGS'
20611ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20612ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20613ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20614
20615  ac_save_CXXFLAGS="$CXXFLAGS"
20616  CXXFLAGS="$CXXFLAGS -fno-exceptions"
20617
20618  ac_has_gettimeofday=no;
20619  for ac_header in sys/time.h
20620do :
20621  ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20622if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20623  cat >>confdefs.h <<_ACEOF
20624#define HAVE_SYS_TIME_H 1
20625_ACEOF
20626 ac_has_sys_time_h=yes
20627else
20628  ac_has_sys_time_h=no
20629fi
20630
20631done
20632
20633  if test x"$ac_has_sys_time_h" = x"yes"; then
20634    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20635$as_echo_n "checking for gettimeofday... " >&6; }
20636    if test x$gcc_no_link = xyes; then
20637  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20638/* end confdefs.h.  */
20639#include <sys/time.h>
20640int
20641main ()
20642{
20643timeval tv; gettimeofday(&tv, 0);
20644  ;
20645  return 0;
20646}
20647_ACEOF
20648if ac_fn_cxx_try_compile "$LINENO"; then :
20649  ac_has_gettimeofday=yes
20650else
20651  ac_has_gettimeofday=no
20652fi
20653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20654else
20655  if test x$gcc_no_link = xyes; then
20656  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20657fi
20658cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20659/* end confdefs.h.  */
20660#include <sys/time.h>
20661int
20662main ()
20663{
20664timeval tv; gettimeofday(&tv, 0);
20665  ;
20666  return 0;
20667}
20668_ACEOF
20669if ac_fn_cxx_try_link "$LINENO"; then :
20670  ac_has_gettimeofday=yes
20671else
20672  ac_has_gettimeofday=no
20673fi
20674rm -f core conftest.err conftest.$ac_objext \
20675    conftest$ac_exeext conftest.$ac_ext
20676fi
20677
20678    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20679$as_echo "$ac_has_gettimeofday" >&6; }
20680  fi
20681
20682  if test x"$ac_has_gettimeofday" = x"yes"; then
20683
20684$as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20685
20686  fi
20687
20688  CXXFLAGS="$ac_save_CXXFLAGS"
20689  ac_ext=c
20690ac_cpp='$CPP $CPPFLAGS'
20691ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20692ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20693ac_compiler_gnu=$ac_cv_c_compiler_gnu
20694
20695
20696
20697# For clock_gettime, nanosleep and sched_yield support.
20698
20699
20700   # Check whether --enable-libstdcxx-time was given.
20701if test "${enable_libstdcxx_time+set}" = set; then :
20702  enableval=$enable_libstdcxx_time;
20703      case "$enableval" in
20704       yes|no|rt) ;;
20705       *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20706	  	        esac
20707
20708else
20709  enable_libstdcxx_time=auto
20710fi
20711
20712
20713
20714
20715  ac_ext=cpp
20716ac_cpp='$CXXCPP $CPPFLAGS'
20717ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20718ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20719ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20720
20721  ac_save_CXXFLAGS="$CXXFLAGS"
20722  CXXFLAGS="$CXXFLAGS -fno-exceptions"
20723  ac_save_LIBS="$LIBS"
20724
20725  ac_has_clock_monotonic=no
20726  ac_has_clock_realtime=no
20727  ac_has_nanosleep=no
20728  ac_has_sched_yield=no
20729
20730  if test x"$enable_libstdcxx_time" = x"auto"; then
20731
20732    case "${target_os}" in
20733      cygwin*)
20734        ac_has_nanosleep=yes
20735        ;;
20736      darwin*)
20737        ac_has_nanosleep=yes
20738        ac_has_sched_yield=yes
20739        ;;
20740      gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20741        # Don't use link test for freestanding library, in case gcc_no_link=yes
20742        if test x"$is_hosted" = xyes; then
20743          # Versions of glibc before 2.17 needed -lrt for clock_gettime.
20744          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20745$as_echo_n "checking for library containing clock_gettime... " >&6; }
20746if test "${ac_cv_search_clock_gettime+set}" = set; then :
20747  $as_echo_n "(cached) " >&6
20748else
20749  ac_func_search_save_LIBS=$LIBS
20750cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20751/* end confdefs.h.  */
20752
20753/* Override any GCC internal prototype to avoid an error.
20754   Use char because int might match the return type of a GCC
20755   builtin and then its argument prototype would still apply.  */
20756#ifdef __cplusplus
20757extern "C"
20758#endif
20759char clock_gettime ();
20760int
20761main ()
20762{
20763return clock_gettime ();
20764  ;
20765  return 0;
20766}
20767_ACEOF
20768for ac_lib in '' rt; do
20769  if test -z "$ac_lib"; then
20770    ac_res="none required"
20771  else
20772    ac_res=-l$ac_lib
20773    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20774  fi
20775  if test x$gcc_no_link = xyes; then
20776  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20777fi
20778if ac_fn_cxx_try_link "$LINENO"; then :
20779  ac_cv_search_clock_gettime=$ac_res
20780fi
20781rm -f core conftest.err conftest.$ac_objext \
20782    conftest$ac_exeext
20783  if test "${ac_cv_search_clock_gettime+set}" = set; then :
20784  break
20785fi
20786done
20787if test "${ac_cv_search_clock_gettime+set}" = set; then :
20788
20789else
20790  ac_cv_search_clock_gettime=no
20791fi
20792rm conftest.$ac_ext
20793LIBS=$ac_func_search_save_LIBS
20794fi
20795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20796$as_echo "$ac_cv_search_clock_gettime" >&6; }
20797ac_res=$ac_cv_search_clock_gettime
20798if test "$ac_res" != no; then :
20799  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20800
20801fi
20802
20803          if test x"$ac_cv_search_clock_gettime" = x"none required"; then
20804            ac_has_clock_monotonic=yes
20805            ac_has_clock_realtime=yes
20806          fi
20807        fi
20808        ac_has_nanosleep=yes
20809        ac_has_sched_yield=yes
20810        ;;
20811      freebsd*|netbsd*|dragonfly*|rtems*)
20812        ac_has_clock_monotonic=yes
20813        ac_has_clock_realtime=yes
20814        ac_has_nanosleep=yes
20815        ac_has_sched_yield=yes
20816        ;;
20817      openbsd*)
20818        ac_has_clock_monotonic=yes
20819        ac_has_clock_realtime=yes
20820        ac_has_nanosleep=yes
20821        ;;
20822      solaris*)
20823        GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20824        ac_has_clock_monotonic=yes
20825        ac_has_clock_realtime=yes
20826        ac_has_nanosleep=yes
20827        ac_has_sched_yield=yes
20828        ;;
20829    esac
20830
20831  elif test x"$enable_libstdcxx_time" != x"no"; then
20832
20833    if test x"$enable_libstdcxx_time" = x"rt"; then
20834      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20835$as_echo_n "checking for library containing clock_gettime... " >&6; }
20836if test "${ac_cv_search_clock_gettime+set}" = set; then :
20837  $as_echo_n "(cached) " >&6
20838else
20839  ac_func_search_save_LIBS=$LIBS
20840cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20841/* end confdefs.h.  */
20842
20843/* Override any GCC internal prototype to avoid an error.
20844   Use char because int might match the return type of a GCC
20845   builtin and then its argument prototype would still apply.  */
20846#ifdef __cplusplus
20847extern "C"
20848#endif
20849char clock_gettime ();
20850int
20851main ()
20852{
20853return clock_gettime ();
20854  ;
20855  return 0;
20856}
20857_ACEOF
20858for ac_lib in '' rt posix4; do
20859  if test -z "$ac_lib"; then
20860    ac_res="none required"
20861  else
20862    ac_res=-l$ac_lib
20863    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20864  fi
20865  if test x$gcc_no_link = xyes; then
20866  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20867fi
20868if ac_fn_cxx_try_link "$LINENO"; then :
20869  ac_cv_search_clock_gettime=$ac_res
20870fi
20871rm -f core conftest.err conftest.$ac_objext \
20872    conftest$ac_exeext
20873  if test "${ac_cv_search_clock_gettime+set}" = set; then :
20874  break
20875fi
20876done
20877if test "${ac_cv_search_clock_gettime+set}" = set; then :
20878
20879else
20880  ac_cv_search_clock_gettime=no
20881fi
20882rm conftest.$ac_ext
20883LIBS=$ac_func_search_save_LIBS
20884fi
20885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20886$as_echo "$ac_cv_search_clock_gettime" >&6; }
20887ac_res=$ac_cv_search_clock_gettime
20888if test "$ac_res" != no; then :
20889  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20890
20891fi
20892
20893      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20894$as_echo_n "checking for library containing nanosleep... " >&6; }
20895if test "${ac_cv_search_nanosleep+set}" = set; then :
20896  $as_echo_n "(cached) " >&6
20897else
20898  ac_func_search_save_LIBS=$LIBS
20899cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20900/* end confdefs.h.  */
20901
20902/* Override any GCC internal prototype to avoid an error.
20903   Use char because int might match the return type of a GCC
20904   builtin and then its argument prototype would still apply.  */
20905#ifdef __cplusplus
20906extern "C"
20907#endif
20908char nanosleep ();
20909int
20910main ()
20911{
20912return nanosleep ();
20913  ;
20914  return 0;
20915}
20916_ACEOF
20917for ac_lib in '' rt posix4; do
20918  if test -z "$ac_lib"; then
20919    ac_res="none required"
20920  else
20921    ac_res=-l$ac_lib
20922    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20923  fi
20924  if test x$gcc_no_link = xyes; then
20925  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20926fi
20927if ac_fn_cxx_try_link "$LINENO"; then :
20928  ac_cv_search_nanosleep=$ac_res
20929fi
20930rm -f core conftest.err conftest.$ac_objext \
20931    conftest$ac_exeext
20932  if test "${ac_cv_search_nanosleep+set}" = set; then :
20933  break
20934fi
20935done
20936if test "${ac_cv_search_nanosleep+set}" = set; then :
20937
20938else
20939  ac_cv_search_nanosleep=no
20940fi
20941rm conftest.$ac_ext
20942LIBS=$ac_func_search_save_LIBS
20943fi
20944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20945$as_echo "$ac_cv_search_nanosleep" >&6; }
20946ac_res=$ac_cv_search_nanosleep
20947if test "$ac_res" != no; then :
20948  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20949
20950fi
20951
20952    else
20953      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20954$as_echo_n "checking for library containing clock_gettime... " >&6; }
20955if test "${ac_cv_search_clock_gettime+set}" = set; then :
20956  $as_echo_n "(cached) " >&6
20957else
20958  ac_func_search_save_LIBS=$LIBS
20959cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20960/* end confdefs.h.  */
20961
20962/* Override any GCC internal prototype to avoid an error.
20963   Use char because int might match the return type of a GCC
20964   builtin and then its argument prototype would still apply.  */
20965#ifdef __cplusplus
20966extern "C"
20967#endif
20968char clock_gettime ();
20969int
20970main ()
20971{
20972return clock_gettime ();
20973  ;
20974  return 0;
20975}
20976_ACEOF
20977for ac_lib in '' posix4; do
20978  if test -z "$ac_lib"; then
20979    ac_res="none required"
20980  else
20981    ac_res=-l$ac_lib
20982    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20983  fi
20984  if test x$gcc_no_link = xyes; then
20985  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20986fi
20987if ac_fn_cxx_try_link "$LINENO"; then :
20988  ac_cv_search_clock_gettime=$ac_res
20989fi
20990rm -f core conftest.err conftest.$ac_objext \
20991    conftest$ac_exeext
20992  if test "${ac_cv_search_clock_gettime+set}" = set; then :
20993  break
20994fi
20995done
20996if test "${ac_cv_search_clock_gettime+set}" = set; then :
20997
20998else
20999  ac_cv_search_clock_gettime=no
21000fi
21001rm conftest.$ac_ext
21002LIBS=$ac_func_search_save_LIBS
21003fi
21004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21005$as_echo "$ac_cv_search_clock_gettime" >&6; }
21006ac_res=$ac_cv_search_clock_gettime
21007if test "$ac_res" != no; then :
21008  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21009
21010fi
21011
21012      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21013$as_echo_n "checking for library containing nanosleep... " >&6; }
21014if test "${ac_cv_search_nanosleep+set}" = set; then :
21015  $as_echo_n "(cached) " >&6
21016else
21017  ac_func_search_save_LIBS=$LIBS
21018cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21019/* end confdefs.h.  */
21020
21021/* Override any GCC internal prototype to avoid an error.
21022   Use char because int might match the return type of a GCC
21023   builtin and then its argument prototype would still apply.  */
21024#ifdef __cplusplus
21025extern "C"
21026#endif
21027char nanosleep ();
21028int
21029main ()
21030{
21031return nanosleep ();
21032  ;
21033  return 0;
21034}
21035_ACEOF
21036for ac_lib in '' posix4; do
21037  if test -z "$ac_lib"; then
21038    ac_res="none required"
21039  else
21040    ac_res=-l$ac_lib
21041    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21042  fi
21043  if test x$gcc_no_link = xyes; then
21044  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21045fi
21046if ac_fn_cxx_try_link "$LINENO"; then :
21047  ac_cv_search_nanosleep=$ac_res
21048fi
21049rm -f core conftest.err conftest.$ac_objext \
21050    conftest$ac_exeext
21051  if test "${ac_cv_search_nanosleep+set}" = set; then :
21052  break
21053fi
21054done
21055if test "${ac_cv_search_nanosleep+set}" = set; then :
21056
21057else
21058  ac_cv_search_nanosleep=no
21059fi
21060rm conftest.$ac_ext
21061LIBS=$ac_func_search_save_LIBS
21062fi
21063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21064$as_echo "$ac_cv_search_nanosleep" >&6; }
21065ac_res=$ac_cv_search_nanosleep
21066if test "$ac_res" != no; then :
21067  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21068
21069fi
21070
21071    fi
21072
21073    case "$ac_cv_search_clock_gettime" in
21074      -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21075      ;;
21076    esac
21077    case "$ac_cv_search_nanosleep" in
21078      -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21079      ;;
21080    esac
21081
21082    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21083$as_echo_n "checking for library containing sched_yield... " >&6; }
21084if test "${ac_cv_search_sched_yield+set}" = set; then :
21085  $as_echo_n "(cached) " >&6
21086else
21087  ac_func_search_save_LIBS=$LIBS
21088cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21089/* end confdefs.h.  */
21090
21091/* Override any GCC internal prototype to avoid an error.
21092   Use char because int might match the return type of a GCC
21093   builtin and then its argument prototype would still apply.  */
21094#ifdef __cplusplus
21095extern "C"
21096#endif
21097char sched_yield ();
21098int
21099main ()
21100{
21101return sched_yield ();
21102  ;
21103  return 0;
21104}
21105_ACEOF
21106for ac_lib in '' rt posix4; do
21107  if test -z "$ac_lib"; then
21108    ac_res="none required"
21109  else
21110    ac_res=-l$ac_lib
21111    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21112  fi
21113  if test x$gcc_no_link = xyes; then
21114  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21115fi
21116if ac_fn_cxx_try_link "$LINENO"; then :
21117  ac_cv_search_sched_yield=$ac_res
21118fi
21119rm -f core conftest.err conftest.$ac_objext \
21120    conftest$ac_exeext
21121  if test "${ac_cv_search_sched_yield+set}" = set; then :
21122  break
21123fi
21124done
21125if test "${ac_cv_search_sched_yield+set}" = set; then :
21126
21127else
21128  ac_cv_search_sched_yield=no
21129fi
21130rm conftest.$ac_ext
21131LIBS=$ac_func_search_save_LIBS
21132fi
21133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21134$as_echo "$ac_cv_search_sched_yield" >&6; }
21135ac_res=$ac_cv_search_sched_yield
21136if test "$ac_res" != no; then :
21137  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21138
21139fi
21140
21141
21142    case "$ac_cv_search_sched_yield" in
21143      -lposix4*)
21144      GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21145      ac_has_sched_yield=yes
21146      ;;
21147      -lrt*)
21148      if test x"$enable_libstdcxx_time" = x"rt"; then
21149	GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21150        ac_has_sched_yield=yes
21151      fi
21152      ;;
21153      *)
21154      ac_has_sched_yield=yes
21155      ;;
21156    esac
21157
21158    for ac_header in unistd.h
21159do :
21160  ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21161if test "x$ac_cv_header_unistd_h" = x""yes; then :
21162  cat >>confdefs.h <<_ACEOF
21163#define HAVE_UNISTD_H 1
21164_ACEOF
21165 ac_has_unistd_h=yes
21166else
21167  ac_has_unistd_h=no
21168fi
21169
21170done
21171
21172
21173    if test x"$ac_has_unistd_h" = x"yes"; then
21174      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21175$as_echo_n "checking for monotonic clock... " >&6; }
21176      if test x$gcc_no_link = xyes; then
21177  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21178fi
21179cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21180/* end confdefs.h.  */
21181#include <unistd.h>
21182	 #include <time.h>
21183
21184int
21185main ()
21186{
21187#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21188	  timespec tp;
21189	 #endif
21190	  clock_gettime(CLOCK_MONOTONIC, &tp);
21191
21192  ;
21193  return 0;
21194}
21195_ACEOF
21196if ac_fn_cxx_try_link "$LINENO"; then :
21197  ac_has_clock_monotonic=yes
21198else
21199  ac_has_clock_monotonic=no
21200fi
21201rm -f core conftest.err conftest.$ac_objext \
21202    conftest$ac_exeext conftest.$ac_ext
21203
21204      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21205$as_echo "$ac_has_clock_monotonic" >&6; }
21206
21207      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21208$as_echo_n "checking for realtime clock... " >&6; }
21209      if test x$gcc_no_link = xyes; then
21210  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21211fi
21212cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21213/* end confdefs.h.  */
21214#include <unistd.h>
21215	 #include <time.h>
21216
21217int
21218main ()
21219{
21220#if _POSIX_TIMERS > 0
21221	  timespec tp;
21222	 #endif
21223	  clock_gettime(CLOCK_REALTIME, &tp);
21224
21225  ;
21226  return 0;
21227}
21228_ACEOF
21229if ac_fn_cxx_try_link "$LINENO"; then :
21230  ac_has_clock_realtime=yes
21231else
21232  ac_has_clock_realtime=no
21233fi
21234rm -f core conftest.err conftest.$ac_objext \
21235    conftest$ac_exeext conftest.$ac_ext
21236
21237      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21238$as_echo "$ac_has_clock_realtime" >&6; }
21239
21240      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21241$as_echo_n "checking for nanosleep... " >&6; }
21242      if test x$gcc_no_link = xyes; then
21243  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21244fi
21245cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21246/* end confdefs.h.  */
21247#include <unistd.h>
21248	 #include <time.h>
21249
21250int
21251main ()
21252{
21253#if _POSIX_TIMERS > 0
21254	  timespec tp;
21255	 #endif
21256	  nanosleep(&tp, 0);
21257
21258  ;
21259  return 0;
21260}
21261_ACEOF
21262if ac_fn_cxx_try_link "$LINENO"; then :
21263  ac_has_nanosleep=yes
21264else
21265  ac_has_nanosleep=no
21266fi
21267rm -f core conftest.err conftest.$ac_objext \
21268    conftest$ac_exeext conftest.$ac_ext
21269
21270      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21271$as_echo "$ac_has_nanosleep" >&6; }
21272    fi
21273  fi
21274
21275  if test x"$ac_has_clock_monotonic" != x"yes"; then
21276    case ${target_os} in
21277      linux*)
21278	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21279$as_echo_n "checking for clock_gettime syscall... " >&6; }
21280	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21281/* end confdefs.h.  */
21282#include <unistd.h>
21283	   #include <time.h>
21284	   #include <sys/syscall.h>
21285
21286int
21287main ()
21288{
21289#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21290	    timespec tp;
21291	   #endif
21292	   syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21293	   syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21294
21295  ;
21296  return 0;
21297}
21298_ACEOF
21299if ac_fn_cxx_try_compile "$LINENO"; then :
21300  ac_has_clock_monotonic_syscall=yes
21301else
21302  ac_has_clock_monotonic_syscall=no
21303fi
21304rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21305	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21306$as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21307	if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21308
21309$as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21310
21311	  ac_has_clock_monotonic=yes
21312	  ac_has_clock_realtime=yes
21313	fi;;
21314    esac
21315  fi
21316
21317  if test x"$ac_has_clock_monotonic" = x"yes"; then
21318
21319$as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21320
21321  fi
21322
21323  if test x"$ac_has_clock_realtime" = x"yes"; then
21324
21325$as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21326
21327  fi
21328
21329  if test x"$ac_has_sched_yield" = x"yes"; then
21330
21331$as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21332
21333  fi
21334
21335  if test x"$ac_has_nanosleep" = x"yes"; then
21336
21337$as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21338
21339  else
21340      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21341$as_echo_n "checking for sleep... " >&6; }
21342      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21343/* end confdefs.h.  */
21344#include <unistd.h>
21345int
21346main ()
21347{
21348sleep(1)
21349  ;
21350  return 0;
21351}
21352_ACEOF
21353if ac_fn_cxx_try_compile "$LINENO"; then :
21354  ac_has_sleep=yes
21355else
21356  ac_has_sleep=no
21357fi
21358rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21359      if test x"$ac_has_sleep" = x"yes"; then
21360
21361$as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21362
21363      fi
21364      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21365$as_echo "$ac_has_sleep" >&6; }
21366      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21367$as_echo_n "checking for usleep... " >&6; }
21368      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21369/* end confdefs.h.  */
21370#include <unistd.h>
21371int
21372main ()
21373{
21374sleep(1);
21375                      usleep(100);
21376  ;
21377  return 0;
21378}
21379_ACEOF
21380if ac_fn_cxx_try_compile "$LINENO"; then :
21381  ac_has_usleep=yes
21382else
21383  ac_has_usleep=no
21384fi
21385rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21386      if test x"$ac_has_usleep" = x"yes"; then
21387
21388$as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21389
21390      fi
21391      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21392$as_echo "$ac_has_usleep" >&6; }
21393  fi
21394
21395  if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21396      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21397$as_echo_n "checking for Sleep... " >&6; }
21398      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21399/* end confdefs.h.  */
21400#include <windows.h>
21401int
21402main ()
21403{
21404Sleep(1)
21405  ;
21406  return 0;
21407}
21408_ACEOF
21409if ac_fn_cxx_try_compile "$LINENO"; then :
21410  ac_has_win32_sleep=yes
21411else
21412  ac_has_win32_sleep=no
21413fi
21414rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21415      if test x"$ac_has_win32_sleep" = x"yes"; then
21416
21417$as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21418
21419      fi
21420      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21421$as_echo "$ac_has_win32_sleep" >&6; }
21422  fi
21423
21424
21425
21426  CXXFLAGS="$ac_save_CXXFLAGS"
21427  LIBS="$ac_save_LIBS"
21428  ac_ext=c
21429ac_cpp='$CPP $CPPFLAGS'
21430ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21431ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21432ac_compiler_gnu=$ac_cv_c_compiler_gnu
21433
21434
21435
21436# Check for tmpnam which is obsolescent in POSIX.1-2008
21437
21438  ac_ext=cpp
21439ac_cpp='$CXXCPP $CPPFLAGS'
21440ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21441ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21442ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21443
21444  ac_save_CXXFLAGS="$CXXFLAGS"
21445  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21446  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21447$as_echo_n "checking for tmpnam... " >&6; }
21448  if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21449  $as_echo_n "(cached) " >&6
21450else
21451      if test x$gcc_no_link = xyes; then
21452  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21453/* end confdefs.h.  */
21454#include <stdio.h>
21455int
21456main ()
21457{
21458char *tmp = tmpnam(NULL);
21459  ;
21460  return 0;
21461}
21462_ACEOF
21463if ac_fn_cxx_try_compile "$LINENO"; then :
21464  glibcxx_cv_TMPNAM=yes
21465else
21466  glibcxx_cv_TMPNAM=no
21467fi
21468rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21469else
21470  if test x$gcc_no_link = xyes; then
21471  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21472fi
21473cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21474/* end confdefs.h.  */
21475#include <stdio.h>
21476int
21477main ()
21478{
21479char *tmp = tmpnam(NULL);
21480  ;
21481  return 0;
21482}
21483_ACEOF
21484if ac_fn_cxx_try_link "$LINENO"; then :
21485  glibcxx_cv_TMPNAM=yes
21486else
21487  glibcxx_cv_TMPNAM=no
21488fi
21489rm -f core conftest.err conftest.$ac_objext \
21490    conftest$ac_exeext conftest.$ac_ext
21491fi
21492
21493fi
21494
21495  if test $glibcxx_cv_TMPNAM = yes; then
21496
21497$as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21498
21499  fi
21500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21501$as_echo "$glibcxx_cv_TMPNAM" >&6; }
21502  CXXFLAGS="$ac_save_CXXFLAGS"
21503  ac_ext=c
21504ac_cpp='$CPP $CPPFLAGS'
21505ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21506ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21507ac_compiler_gnu=$ac_cv_c_compiler_gnu
21508
21509
21510
21511
21512  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21513if test "x$ac_cv_header_locale_h" = x""yes; then :
21514
21515    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21516$as_echo_n "checking for LC_MESSAGES... " >&6; }
21517if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21518  $as_echo_n "(cached) " >&6
21519else
21520  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21521/* end confdefs.h.  */
21522#include <locale.h>
21523int
21524main ()
21525{
21526return LC_MESSAGES
21527  ;
21528  return 0;
21529}
21530_ACEOF
21531if ac_fn_c_try_compile "$LINENO"; then :
21532  ac_cv_val_LC_MESSAGES=yes
21533else
21534  ac_cv_val_LC_MESSAGES=no
21535fi
21536rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21537fi
21538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21539$as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21540    if test $ac_cv_val_LC_MESSAGES = yes; then
21541
21542$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21543
21544    fi
21545
21546fi
21547
21548
21549
21550
21551# For hardware_concurrency
21552for ac_header in sys/sysinfo.h
21553do :
21554  ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21555if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21556  cat >>confdefs.h <<_ACEOF
21557#define HAVE_SYS_SYSINFO_H 1
21558_ACEOF
21559
21560fi
21561
21562done
21563
21564
21565
21566
21567  ac_ext=cpp
21568ac_cpp='$CXXCPP $CPPFLAGS'
21569ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21570ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21571ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21572
21573  ac_save_CXXFLAGS="$CXXFLAGS"
21574  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21575
21576  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21577$as_echo_n "checking for get_nprocs... " >&6; }
21578  if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21579  $as_echo_n "(cached) " >&6
21580else
21581
21582    if test x$gcc_no_link = xyes; then
21583  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21584/* end confdefs.h.  */
21585#include <sys/sysinfo.h>
21586int
21587main ()
21588{
21589int n = get_nprocs();
21590  ;
21591  return 0;
21592}
21593_ACEOF
21594if ac_fn_cxx_try_compile "$LINENO"; then :
21595  glibcxx_cv_GET_NPROCS=yes
21596else
21597  glibcxx_cv_GET_NPROCS=no
21598fi
21599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21600else
21601  if test x$gcc_no_link = xyes; then
21602  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21603fi
21604cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21605/* end confdefs.h.  */
21606#include <sys/sysinfo.h>
21607int
21608main ()
21609{
21610int n = get_nprocs();
21611  ;
21612  return 0;
21613}
21614_ACEOF
21615if ac_fn_cxx_try_link "$LINENO"; then :
21616  glibcxx_cv_GET_NPROCS=yes
21617else
21618  glibcxx_cv_GET_NPROCS=no
21619fi
21620rm -f core conftest.err conftest.$ac_objext \
21621    conftest$ac_exeext conftest.$ac_ext
21622fi
21623
21624fi
21625
21626  if test $glibcxx_cv_GET_NPROCS = yes; then
21627
21628$as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21629
21630  fi
21631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21632$as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21633
21634  CXXFLAGS="$ac_save_CXXFLAGS"
21635  ac_ext=c
21636ac_cpp='$CPP $CPPFLAGS'
21637ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21638ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21639ac_compiler_gnu=$ac_cv_c_compiler_gnu
21640
21641
21642for ac_header in unistd.h
21643do :
21644  ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21645if test "x$ac_cv_header_unistd_h" = x""yes; then :
21646  cat >>confdefs.h <<_ACEOF
21647#define HAVE_UNISTD_H 1
21648_ACEOF
21649
21650fi
21651
21652done
21653
21654
21655
21656
21657  ac_ext=cpp
21658ac_cpp='$CXXCPP $CPPFLAGS'
21659ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21660ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21661ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21662
21663  ac_save_CXXFLAGS="$CXXFLAGS"
21664  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21665
21666  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21667$as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21668  if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21669  $as_echo_n "(cached) " >&6
21670else
21671
21672    if test x$gcc_no_link = xyes; then
21673  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21674/* end confdefs.h.  */
21675#include <unistd.h>
21676int
21677main ()
21678{
21679int n = sysconf(_SC_NPROCESSORS_ONLN);
21680  ;
21681  return 0;
21682}
21683_ACEOF
21684if ac_fn_cxx_try_compile "$LINENO"; then :
21685  glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21686else
21687  glibcxx_cv_SC_NPROCESSORS_ONLN=no
21688fi
21689rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21690else
21691  if test x$gcc_no_link = xyes; then
21692  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21693fi
21694cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21695/* end confdefs.h.  */
21696#include <unistd.h>
21697int
21698main ()
21699{
21700int n = sysconf(_SC_NPROCESSORS_ONLN);
21701  ;
21702  return 0;
21703}
21704_ACEOF
21705if ac_fn_cxx_try_link "$LINENO"; then :
21706  glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21707else
21708  glibcxx_cv_SC_NPROCESSORS_ONLN=no
21709fi
21710rm -f core conftest.err conftest.$ac_objext \
21711    conftest$ac_exeext conftest.$ac_ext
21712fi
21713
21714fi
21715
21716  if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21717
21718$as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21719
21720  fi
21721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21722$as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21723
21724  CXXFLAGS="$ac_save_CXXFLAGS"
21725  ac_ext=c
21726ac_cpp='$CPP $CPPFLAGS'
21727ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21728ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21729ac_compiler_gnu=$ac_cv_c_compiler_gnu
21730
21731
21732
21733
21734
21735  ac_ext=cpp
21736ac_cpp='$CXXCPP $CPPFLAGS'
21737ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21738ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21739ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21740
21741  ac_save_CXXFLAGS="$CXXFLAGS"
21742  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21743
21744  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21745$as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21746  if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21747  $as_echo_n "(cached) " >&6
21748else
21749
21750    if test x$gcc_no_link = xyes; then
21751  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21752/* end confdefs.h.  */
21753#include <unistd.h>
21754int
21755main ()
21756{
21757int n = sysconf(_SC_NPROC_ONLN);
21758  ;
21759  return 0;
21760}
21761_ACEOF
21762if ac_fn_cxx_try_compile "$LINENO"; then :
21763  glibcxx_cv_SC_NPROC_ONLN=yes
21764else
21765  glibcxx_cv_SC_NPROC_ONLN=no
21766fi
21767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21768else
21769  if test x$gcc_no_link = xyes; then
21770  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21771fi
21772cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21773/* end confdefs.h.  */
21774#include <unistd.h>
21775int
21776main ()
21777{
21778int n = sysconf(_SC_NPROC_ONLN);
21779  ;
21780  return 0;
21781}
21782_ACEOF
21783if ac_fn_cxx_try_link "$LINENO"; then :
21784  glibcxx_cv_SC_NPROC_ONLN=yes
21785else
21786  glibcxx_cv_SC_NPROC_ONLN=no
21787fi
21788rm -f core conftest.err conftest.$ac_objext \
21789    conftest$ac_exeext conftest.$ac_ext
21790fi
21791
21792fi
21793
21794  if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21795
21796$as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21797
21798  fi
21799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21800$as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21801
21802  CXXFLAGS="$ac_save_CXXFLAGS"
21803  ac_ext=c
21804ac_cpp='$CPP $CPPFLAGS'
21805ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21806ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21807ac_compiler_gnu=$ac_cv_c_compiler_gnu
21808
21809
21810
21811
21812
21813  ac_ext=cpp
21814ac_cpp='$CXXCPP $CPPFLAGS'
21815ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21816ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21817ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21818
21819  ac_save_CXXFLAGS="$CXXFLAGS"
21820  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21821
21822  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21823$as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21824  if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21825  $as_echo_n "(cached) " >&6
21826else
21827
21828    if test x$gcc_no_link = xyes; then
21829  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21830/* end confdefs.h.  */
21831#include <pthread.h>
21832int
21833main ()
21834{
21835int n = pthread_num_processors_np();
21836  ;
21837  return 0;
21838}
21839_ACEOF
21840if ac_fn_cxx_try_compile "$LINENO"; then :
21841  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21842else
21843  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21844fi
21845rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21846else
21847  if test x$gcc_no_link = xyes; then
21848  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21849fi
21850cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21851/* end confdefs.h.  */
21852#include <pthread.h>
21853int
21854main ()
21855{
21856int n = pthread_num_processors_np();
21857  ;
21858  return 0;
21859}
21860_ACEOF
21861if ac_fn_cxx_try_link "$LINENO"; then :
21862  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21863else
21864  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21865fi
21866rm -f core conftest.err conftest.$ac_objext \
21867    conftest$ac_exeext conftest.$ac_ext
21868fi
21869
21870fi
21871
21872  if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21873
21874$as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21875
21876  fi
21877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21878$as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21879
21880  CXXFLAGS="$ac_save_CXXFLAGS"
21881  ac_ext=c
21882ac_cpp='$CPP $CPPFLAGS'
21883ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21884ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21885ac_compiler_gnu=$ac_cv_c_compiler_gnu
21886
21887
21888
21889
21890
21891  ac_ext=cpp
21892ac_cpp='$CXXCPP $CPPFLAGS'
21893ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21894ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21895ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21896
21897  ac_save_CXXFLAGS="$CXXFLAGS"
21898  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21899
21900  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21901$as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21902  if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21903  $as_echo_n "(cached) " >&6
21904else
21905
21906    if test x$gcc_no_link = xyes; then
21907  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21908/* end confdefs.h.  */
21909
21910       #include <stddef.h>
21911       #include <sys/sysctl.h>
21912
21913int
21914main ()
21915{
21916
21917       int count;
21918       size_t size = sizeof(count);
21919       int mib[] = { CTL_HW, HW_NCPU };
21920       sysctl(mib, 2, &count, &size, NULL, 0);
21921
21922  ;
21923  return 0;
21924}
21925_ACEOF
21926if ac_fn_cxx_try_compile "$LINENO"; then :
21927  glibcxx_cv_SYSCTL_HW_NCPU=yes
21928else
21929  glibcxx_cv_SYSCTL_HW_NCPU=no
21930fi
21931rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21932else
21933  if test x$gcc_no_link = xyes; then
21934  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21935fi
21936cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21937/* end confdefs.h.  */
21938
21939       #include <stddef.h>
21940       #include <sys/sysctl.h>
21941
21942int
21943main ()
21944{
21945
21946       int count;
21947       size_t size = sizeof(count);
21948       int mib[] = { CTL_HW, HW_NCPU };
21949       sysctl(mib, 2, &count, &size, NULL, 0);
21950
21951  ;
21952  return 0;
21953}
21954_ACEOF
21955if ac_fn_cxx_try_link "$LINENO"; then :
21956  glibcxx_cv_SYSCTL_HW_NCPU=yes
21957else
21958  glibcxx_cv_SYSCTL_HW_NCPU=no
21959fi
21960rm -f core conftest.err conftest.$ac_objext \
21961    conftest$ac_exeext conftest.$ac_ext
21962fi
21963
21964fi
21965
21966  if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21967
21968$as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21969
21970  fi
21971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21972$as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21973
21974  CXXFLAGS="$ac_save_CXXFLAGS"
21975  ac_ext=c
21976ac_cpp='$CPP $CPPFLAGS'
21977ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21978ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21979ac_compiler_gnu=$ac_cv_c_compiler_gnu
21980
21981
21982
21983  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21984$as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21985  # Note that this test has to be run with the C language.
21986  # Otherwise, sdt.h will try to include some headers from
21987  # libstdc++ itself.
21988
21989  ac_ext=c
21990ac_cpp='$CPP $CPPFLAGS'
21991ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21992ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21993ac_compiler_gnu=$ac_cv_c_compiler_gnu
21994
21995  if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21996  $as_echo_n "(cached) " >&6
21997else
21998
21999    # Because we have to run the test in C, we use grep rather
22000    # than the compiler to check for the bug.  The bug is that
22001    # were strings without trailing whitespace, causing g++
22002    # to look for operator"".  The pattern searches for the fixed
22003    # output.
22004    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22005/* end confdefs.h.  */
22006
22007      #include <sys/sdt.h>
22008      int f() { STAP_PROBE(hi, bob); }
22009
22010_ACEOF
22011if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22012  $EGREP " \",\" " >/dev/null 2>&1; then :
22013  glibcxx_cv_sys_sdt_h=yes
22014else
22015  glibcxx_cv_sys_sdt_h=no
22016fi
22017rm -f conftest*
22018
22019
22020fi
22021
22022  ac_ext=c
22023ac_cpp='$CPP $CPPFLAGS'
22024ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22025ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22026ac_compiler_gnu=$ac_cv_c_compiler_gnu
22027
22028  if test $glibcxx_cv_sys_sdt_h = yes; then
22029
22030$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22031
22032  fi
22033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22034$as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22035
22036
22037# Check for available headers.
22038for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22039locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22040strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22041sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22042wchar.h wctype.h linux/types.h
22043do :
22044  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22045ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22046eval as_val=\$$as_ac_Header
22047   if test "x$as_val" = x""yes; then :
22048  cat >>confdefs.h <<_ACEOF
22049#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22050_ACEOF
22051
22052fi
22053
22054done
22055
22056
22057for ac_header in linux/random.h
22058do :
22059  ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22060# include <linux/types.h>
22061#endif
22062
22063"
22064if test "x$ac_cv_header_linux_random_h" = x""yes; then :
22065  cat >>confdefs.h <<_ACEOF
22066#define HAVE_LINUX_RANDOM_H 1
22067_ACEOF
22068
22069fi
22070
22071done
22072
22073
22074# Only do link tests if native. Else, hardcode.
22075if $GLIBCXX_IS_NATIVE; then
22076
22077  # We can do more elaborate tests that assume a working linker.
22078  CANADIAN=no
22079
22080
22081
22082# Check whether --with-gnu-ld was given.
22083if test "${with_gnu_ld+set}" = set; then :
22084  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22085else
22086  with_gnu_ld=no
22087fi
22088
22089ac_prog=ld
22090if test "$GCC" = yes; then
22091  # Check if gcc -print-prog-name=ld gives a path.
22092  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22093$as_echo_n "checking for ld used by $CC... " >&6; }
22094  case $host in
22095  *-*-mingw*)
22096    # gcc leaves a trailing carriage return which upsets mingw
22097    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22098  *)
22099    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22100  esac
22101  case $ac_prog in
22102    # Accept absolute paths.
22103    [\\/]* | ?:[\\/]*)
22104      re_direlt='/[^/][^/]*/\.\./'
22105      # Canonicalize the pathname of ld
22106      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22107      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22108	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22109      done
22110      test -z "$LD" && LD="$ac_prog"
22111      ;;
22112  "")
22113    # If it fails, then pretend we aren't using GCC.
22114    ac_prog=ld
22115    ;;
22116  *)
22117    # If it is relative, then search for the first ld in PATH.
22118    with_gnu_ld=unknown
22119    ;;
22120  esac
22121elif test "$with_gnu_ld" = yes; then
22122  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22123$as_echo_n "checking for GNU ld... " >&6; }
22124else
22125  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22126$as_echo_n "checking for non-GNU ld... " >&6; }
22127fi
22128if test "${lt_cv_path_LD+set}" = set; then :
22129  $as_echo_n "(cached) " >&6
22130else
22131  if test -z "$LD"; then
22132  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22133  for ac_dir in $PATH; do
22134    IFS="$lt_save_ifs"
22135    test -z "$ac_dir" && ac_dir=.
22136    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22137      lt_cv_path_LD="$ac_dir/$ac_prog"
22138      # Check to see if the program is GNU ld.  I'd rather use --version,
22139      # but apparently some variants of GNU ld only accept -v.
22140      # Break only if it was the GNU/non-GNU ld that we prefer.
22141      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22142      *GNU* | *'with BFD'*)
22143	test "$with_gnu_ld" != no && break
22144	;;
22145      *)
22146	test "$with_gnu_ld" != yes && break
22147	;;
22148      esac
22149    fi
22150  done
22151  IFS="$lt_save_ifs"
22152else
22153  lt_cv_path_LD="$LD" # Let the user override the test with a path.
22154fi
22155fi
22156
22157LD="$lt_cv_path_LD"
22158if test -n "$LD"; then
22159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22160$as_echo "$LD" >&6; }
22161else
22162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22163$as_echo "no" >&6; }
22164fi
22165test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
22166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22167$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22168if test "${lt_cv_prog_gnu_ld+set}" = set; then :
22169  $as_echo_n "(cached) " >&6
22170else
22171  # I'd rather use --version here, but apparently some GNU lds only accept -v.
22172case `$LD -v 2>&1 </dev/null` in
22173*GNU* | *'with BFD'*)
22174  lt_cv_prog_gnu_ld=yes
22175  ;;
22176*)
22177  lt_cv_prog_gnu_ld=no
22178  ;;
22179esac
22180fi
22181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22182$as_echo "$lt_cv_prog_gnu_ld" >&6; }
22183with_gnu_ld=$lt_cv_prog_gnu_ld
22184
22185
22186
22187
22188
22189
22190
22191  # If we're not using GNU ld, then there's no point in even trying these
22192  # tests.  Check for that first.  We should have already tested for gld
22193  # by now (in libtool), but require it now just to be safe...
22194  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22195  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22196
22197
22198
22199  # The name set by libtool depends on the version of libtool.  Shame on us
22200  # for depending on an impl detail, but c'est la vie.  Older versions used
22201  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22202  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22203  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
22204  # set (hence we're using an older libtool), then set it.
22205  if test x${with_gnu_ld+set} != xset; then
22206    if test x${ac_cv_prog_gnu_ld+set} != xset; then
22207      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
22208      with_gnu_ld=no
22209    else
22210      with_gnu_ld=$ac_cv_prog_gnu_ld
22211    fi
22212  fi
22213
22214  # Start by getting the version number.  I think the libtool test already
22215  # does some of this, but throws away the result.
22216  glibcxx_ld_is_gold=no
22217  if test x"$with_gnu_ld" = x"yes"; then
22218    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22219$as_echo_n "checking for ld version... " >&6; }
22220
22221    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22222      glibcxx_ld_is_gold=yes
22223    fi
22224    ldver=`$LD --version 2>/dev/null |
22225	   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'`
22226
22227    glibcxx_gnu_ld_version=`echo $ldver | \
22228	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22229    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22230$as_echo "$glibcxx_gnu_ld_version" >&6; }
22231  fi
22232
22233  # Set --gc-sections.
22234  glibcxx_have_gc_sections=no
22235  if test "$glibcxx_ld_is_gold" = "yes"; then
22236    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22237      glibcxx_have_gc_sections=yes
22238    fi
22239  else
22240    glibcxx_gcsections_min_ld=21602
22241    if test x"$with_gnu_ld" = x"yes" &&
22242	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22243      glibcxx_have_gc_sections=yes
22244    fi
22245  fi
22246  if test "$glibcxx_have_gc_sections" = "yes"; then
22247    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
22248    # NB: This flag only works reliably after 2.16.1. Configure tests
22249    # for this are difficult, so hard wire a value that should work.
22250
22251    ac_test_CFLAGS="${CFLAGS+set}"
22252    ac_save_CFLAGS="$CFLAGS"
22253    CFLAGS='-Wl,--gc-sections'
22254
22255    # Check for -Wl,--gc-sections
22256    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22257$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22258    if test x$gcc_no_link = xyes; then
22259  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22260fi
22261cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22262/* end confdefs.h.  */
22263 int one(void) { return 1; }
22264     int two(void) { return 2; }
22265
22266int
22267main ()
22268{
22269 two();
22270  ;
22271  return 0;
22272}
22273_ACEOF
22274if ac_fn_c_try_link "$LINENO"; then :
22275  ac_gcsections=yes
22276else
22277  ac_gcsections=no
22278fi
22279rm -f core conftest.err conftest.$ac_objext \
22280    conftest$ac_exeext conftest.$ac_ext
22281    if test "$ac_gcsections" = "yes"; then
22282      rm -f conftest.c
22283      touch conftest.c
22284      if $CC -c conftest.c; then
22285	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22286	   grep "Warning: gc-sections option ignored" > /dev/null; then
22287	  ac_gcsections=no
22288	fi
22289      fi
22290      rm -f conftest.c conftest.o conftest
22291    fi
22292    if test "$ac_gcsections" = "yes"; then
22293      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22294    fi
22295    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22296$as_echo "$ac_gcsections" >&6; }
22297
22298    if test "$ac_test_CFLAGS" = set; then
22299      CFLAGS="$ac_save_CFLAGS"
22300    else
22301      # this is the suspicious part
22302      CFLAGS=''
22303    fi
22304  fi
22305
22306  # Set -z,relro.
22307  # Note this is only for shared objects.
22308  ac_ld_relro=no
22309  if test x"$with_gnu_ld" = x"yes"; then
22310    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22311$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22312    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22313    if test -n "$cxx_z_relo"; then
22314      OPT_LDFLAGS="-Wl,-z,relro"
22315      ac_ld_relro=yes
22316    fi
22317    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22318$as_echo "$ac_ld_relro" >&6; }
22319  fi
22320
22321  # Set linker optimization flags.
22322  if test x"$with_gnu_ld" = x"yes"; then
22323    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22324  fi
22325
22326
22327
22328
22329
22330  ac_test_CXXFLAGS="${CXXFLAGS+set}"
22331  ac_save_CXXFLAGS="$CXXFLAGS"
22332  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22333
22334    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22335$as_echo_n "checking for sin in -lm... " >&6; }
22336if test "${ac_cv_lib_m_sin+set}" = set; then :
22337  $as_echo_n "(cached) " >&6
22338else
22339  ac_check_lib_save_LIBS=$LIBS
22340LIBS="-lm  $LIBS"
22341if test x$gcc_no_link = xyes; then
22342  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22343fi
22344cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22345/* end confdefs.h.  */
22346
22347/* Override any GCC internal prototype to avoid an error.
22348   Use char because int might match the return type of a GCC
22349   builtin and then its argument prototype would still apply.  */
22350#ifdef __cplusplus
22351extern "C"
22352#endif
22353char sin ();
22354int
22355main ()
22356{
22357return sin ();
22358  ;
22359  return 0;
22360}
22361_ACEOF
22362if ac_fn_c_try_link "$LINENO"; then :
22363  ac_cv_lib_m_sin=yes
22364else
22365  ac_cv_lib_m_sin=no
22366fi
22367rm -f core conftest.err conftest.$ac_objext \
22368    conftest$ac_exeext conftest.$ac_ext
22369LIBS=$ac_check_lib_save_LIBS
22370fi
22371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22372$as_echo "$ac_cv_lib_m_sin" >&6; }
22373if test "x$ac_cv_lib_m_sin" = x""yes; then :
22374  libm="-lm"
22375fi
22376
22377  ac_save_LIBS="$LIBS"
22378  LIBS="$LIBS $libm"
22379
22380
22381
22382  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22383$as_echo_n "checking for isinf declaration... " >&6; }
22384  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22385    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22386  $as_echo_n "(cached) " >&6
22387else
22388
22389
22390      ac_ext=cpp
22391ac_cpp='$CXXCPP $CPPFLAGS'
22392ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22393ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22394ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22395
22396      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22397/* end confdefs.h.  */
22398#include <math.h>
22399		      #ifdef HAVE_IEEEFP_H
22400		      #include <ieeefp.h>
22401		      #endif
22402
22403int
22404main ()
22405{
22406 isinf(0);
22407  ;
22408  return 0;
22409}
22410_ACEOF
22411if ac_fn_cxx_try_compile "$LINENO"; then :
22412  glibcxx_cv_func_isinf_use=yes
22413else
22414  glibcxx_cv_func_isinf_use=no
22415fi
22416rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22417      ac_ext=c
22418ac_cpp='$CPP $CPPFLAGS'
22419ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22420ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22421ac_compiler_gnu=$ac_cv_c_compiler_gnu
22422
22423
22424fi
22425
22426  fi
22427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22428$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22429
22430  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22431    for ac_func in isinf
22432do :
22433  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22434if test "x$ac_cv_func_isinf" = x""yes; then :
22435  cat >>confdefs.h <<_ACEOF
22436#define HAVE_ISINF 1
22437_ACEOF
22438
22439fi
22440done
22441
22442  else
22443
22444  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22445$as_echo_n "checking for _isinf declaration... " >&6; }
22446  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22447    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22448  $as_echo_n "(cached) " >&6
22449else
22450
22451
22452      ac_ext=cpp
22453ac_cpp='$CXXCPP $CPPFLAGS'
22454ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22455ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22456ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22457
22458      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22459/* end confdefs.h.  */
22460#include <math.h>
22461		      #ifdef HAVE_IEEEFP_H
22462		      #include <ieeefp.h>
22463		      #endif
22464
22465int
22466main ()
22467{
22468 _isinf(0);
22469  ;
22470  return 0;
22471}
22472_ACEOF
22473if ac_fn_cxx_try_compile "$LINENO"; then :
22474  glibcxx_cv_func__isinf_use=yes
22475else
22476  glibcxx_cv_func__isinf_use=no
22477fi
22478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22479      ac_ext=c
22480ac_cpp='$CPP $CPPFLAGS'
22481ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22482ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22483ac_compiler_gnu=$ac_cv_c_compiler_gnu
22484
22485
22486fi
22487
22488  fi
22489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22490$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22491
22492    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22493      for ac_func in _isinf
22494do :
22495  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22496if test "x$ac_cv_func__isinf" = x""yes; then :
22497  cat >>confdefs.h <<_ACEOF
22498#define HAVE__ISINF 1
22499_ACEOF
22500
22501fi
22502done
22503
22504    fi
22505  fi
22506
22507
22508
22509
22510
22511  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22512$as_echo_n "checking for isnan declaration... " >&6; }
22513  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22514    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22515  $as_echo_n "(cached) " >&6
22516else
22517
22518
22519      ac_ext=cpp
22520ac_cpp='$CXXCPP $CPPFLAGS'
22521ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22522ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22523ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22524
22525      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22526/* end confdefs.h.  */
22527#include <math.h>
22528		      #ifdef HAVE_IEEEFP_H
22529		      #include <ieeefp.h>
22530		      #endif
22531
22532int
22533main ()
22534{
22535 isnan(0);
22536  ;
22537  return 0;
22538}
22539_ACEOF
22540if ac_fn_cxx_try_compile "$LINENO"; then :
22541  glibcxx_cv_func_isnan_use=yes
22542else
22543  glibcxx_cv_func_isnan_use=no
22544fi
22545rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22546      ac_ext=c
22547ac_cpp='$CPP $CPPFLAGS'
22548ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22549ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22550ac_compiler_gnu=$ac_cv_c_compiler_gnu
22551
22552
22553fi
22554
22555  fi
22556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22557$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22558
22559  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22560    for ac_func in isnan
22561do :
22562  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22563if test "x$ac_cv_func_isnan" = x""yes; then :
22564  cat >>confdefs.h <<_ACEOF
22565#define HAVE_ISNAN 1
22566_ACEOF
22567
22568fi
22569done
22570
22571  else
22572
22573  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22574$as_echo_n "checking for _isnan declaration... " >&6; }
22575  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22576    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22577  $as_echo_n "(cached) " >&6
22578else
22579
22580
22581      ac_ext=cpp
22582ac_cpp='$CXXCPP $CPPFLAGS'
22583ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22584ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22585ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22586
22587      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22588/* end confdefs.h.  */
22589#include <math.h>
22590		      #ifdef HAVE_IEEEFP_H
22591		      #include <ieeefp.h>
22592		      #endif
22593
22594int
22595main ()
22596{
22597 _isnan(0);
22598  ;
22599  return 0;
22600}
22601_ACEOF
22602if ac_fn_cxx_try_compile "$LINENO"; then :
22603  glibcxx_cv_func__isnan_use=yes
22604else
22605  glibcxx_cv_func__isnan_use=no
22606fi
22607rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22608      ac_ext=c
22609ac_cpp='$CPP $CPPFLAGS'
22610ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22611ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22612ac_compiler_gnu=$ac_cv_c_compiler_gnu
22613
22614
22615fi
22616
22617  fi
22618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22619$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22620
22621    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22622      for ac_func in _isnan
22623do :
22624  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22625if test "x$ac_cv_func__isnan" = x""yes; then :
22626  cat >>confdefs.h <<_ACEOF
22627#define HAVE__ISNAN 1
22628_ACEOF
22629
22630fi
22631done
22632
22633    fi
22634  fi
22635
22636
22637
22638
22639
22640  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22641$as_echo_n "checking for finite declaration... " >&6; }
22642  if test x${glibcxx_cv_func_finite_use+set} != xset; then
22643    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22644  $as_echo_n "(cached) " >&6
22645else
22646
22647
22648      ac_ext=cpp
22649ac_cpp='$CXXCPP $CPPFLAGS'
22650ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22651ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22652ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22653
22654      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22655/* end confdefs.h.  */
22656#include <math.h>
22657		      #ifdef HAVE_IEEEFP_H
22658		      #include <ieeefp.h>
22659		      #endif
22660
22661int
22662main ()
22663{
22664 finite(0);
22665  ;
22666  return 0;
22667}
22668_ACEOF
22669if ac_fn_cxx_try_compile "$LINENO"; then :
22670  glibcxx_cv_func_finite_use=yes
22671else
22672  glibcxx_cv_func_finite_use=no
22673fi
22674rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22675      ac_ext=c
22676ac_cpp='$CPP $CPPFLAGS'
22677ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22678ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22679ac_compiler_gnu=$ac_cv_c_compiler_gnu
22680
22681
22682fi
22683
22684  fi
22685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22686$as_echo "$glibcxx_cv_func_finite_use" >&6; }
22687
22688  if test x$glibcxx_cv_func_finite_use = x"yes"; then
22689    for ac_func in finite
22690do :
22691  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22692if test "x$ac_cv_func_finite" = x""yes; then :
22693  cat >>confdefs.h <<_ACEOF
22694#define HAVE_FINITE 1
22695_ACEOF
22696
22697fi
22698done
22699
22700  else
22701
22702  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22703$as_echo_n "checking for _finite declaration... " >&6; }
22704  if test x${glibcxx_cv_func__finite_use+set} != xset; then
22705    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22706  $as_echo_n "(cached) " >&6
22707else
22708
22709
22710      ac_ext=cpp
22711ac_cpp='$CXXCPP $CPPFLAGS'
22712ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22713ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22714ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22715
22716      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22717/* end confdefs.h.  */
22718#include <math.h>
22719		      #ifdef HAVE_IEEEFP_H
22720		      #include <ieeefp.h>
22721		      #endif
22722
22723int
22724main ()
22725{
22726 _finite(0);
22727  ;
22728  return 0;
22729}
22730_ACEOF
22731if ac_fn_cxx_try_compile "$LINENO"; then :
22732  glibcxx_cv_func__finite_use=yes
22733else
22734  glibcxx_cv_func__finite_use=no
22735fi
22736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22737      ac_ext=c
22738ac_cpp='$CPP $CPPFLAGS'
22739ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22740ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22741ac_compiler_gnu=$ac_cv_c_compiler_gnu
22742
22743
22744fi
22745
22746  fi
22747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22748$as_echo "$glibcxx_cv_func__finite_use" >&6; }
22749
22750    if test x$glibcxx_cv_func__finite_use = x"yes"; then
22751      for ac_func in _finite
22752do :
22753  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22754if test "x$ac_cv_func__finite" = x""yes; then :
22755  cat >>confdefs.h <<_ACEOF
22756#define HAVE__FINITE 1
22757_ACEOF
22758
22759fi
22760done
22761
22762    fi
22763  fi
22764
22765
22766
22767
22768
22769  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22770$as_echo_n "checking for sincos declaration... " >&6; }
22771  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22772    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22773  $as_echo_n "(cached) " >&6
22774else
22775
22776
22777      ac_ext=cpp
22778ac_cpp='$CXXCPP $CPPFLAGS'
22779ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22780ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22781ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22782
22783      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22784/* end confdefs.h.  */
22785#include <math.h>
22786int
22787main ()
22788{
22789 sincos(0, 0, 0);
22790  ;
22791  return 0;
22792}
22793_ACEOF
22794if ac_fn_cxx_try_compile "$LINENO"; then :
22795  glibcxx_cv_func_sincos_use=yes
22796else
22797  glibcxx_cv_func_sincos_use=no
22798fi
22799rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22800      ac_ext=c
22801ac_cpp='$CPP $CPPFLAGS'
22802ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22803ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22804ac_compiler_gnu=$ac_cv_c_compiler_gnu
22805
22806
22807fi
22808
22809  fi
22810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22811$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22812
22813  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22814    for ac_func in sincos
22815do :
22816  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22817if test "x$ac_cv_func_sincos" = x""yes; then :
22818  cat >>confdefs.h <<_ACEOF
22819#define HAVE_SINCOS 1
22820_ACEOF
22821
22822fi
22823done
22824
22825  else
22826
22827  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22828$as_echo_n "checking for _sincos declaration... " >&6; }
22829  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22830    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22831  $as_echo_n "(cached) " >&6
22832else
22833
22834
22835      ac_ext=cpp
22836ac_cpp='$CXXCPP $CPPFLAGS'
22837ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22838ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22839ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22840
22841      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22842/* end confdefs.h.  */
22843#include <math.h>
22844int
22845main ()
22846{
22847 _sincos(0, 0, 0);
22848  ;
22849  return 0;
22850}
22851_ACEOF
22852if ac_fn_cxx_try_compile "$LINENO"; then :
22853  glibcxx_cv_func__sincos_use=yes
22854else
22855  glibcxx_cv_func__sincos_use=no
22856fi
22857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22858      ac_ext=c
22859ac_cpp='$CPP $CPPFLAGS'
22860ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22861ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22862ac_compiler_gnu=$ac_cv_c_compiler_gnu
22863
22864
22865fi
22866
22867  fi
22868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22869$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22870
22871    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22872      for ac_func in _sincos
22873do :
22874  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22875if test "x$ac_cv_func__sincos" = x""yes; then :
22876  cat >>confdefs.h <<_ACEOF
22877#define HAVE__SINCOS 1
22878_ACEOF
22879
22880fi
22881done
22882
22883    fi
22884  fi
22885
22886
22887
22888
22889
22890  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22891$as_echo_n "checking for fpclass declaration... " >&6; }
22892  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22893    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22894  $as_echo_n "(cached) " >&6
22895else
22896
22897
22898      ac_ext=cpp
22899ac_cpp='$CXXCPP $CPPFLAGS'
22900ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22901ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22902ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22903
22904      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22905/* end confdefs.h.  */
22906#include <math.h>
22907		      #ifdef HAVE_IEEEFP_H
22908		      #include <ieeefp.h>
22909		      #endif
22910
22911int
22912main ()
22913{
22914 fpclass(0);
22915  ;
22916  return 0;
22917}
22918_ACEOF
22919if ac_fn_cxx_try_compile "$LINENO"; then :
22920  glibcxx_cv_func_fpclass_use=yes
22921else
22922  glibcxx_cv_func_fpclass_use=no
22923fi
22924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22925      ac_ext=c
22926ac_cpp='$CPP $CPPFLAGS'
22927ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22928ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22929ac_compiler_gnu=$ac_cv_c_compiler_gnu
22930
22931
22932fi
22933
22934  fi
22935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22936$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22937
22938  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22939    for ac_func in fpclass
22940do :
22941  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22942if test "x$ac_cv_func_fpclass" = x""yes; then :
22943  cat >>confdefs.h <<_ACEOF
22944#define HAVE_FPCLASS 1
22945_ACEOF
22946
22947fi
22948done
22949
22950  else
22951
22952  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22953$as_echo_n "checking for _fpclass declaration... " >&6; }
22954  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22955    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22956  $as_echo_n "(cached) " >&6
22957else
22958
22959
22960      ac_ext=cpp
22961ac_cpp='$CXXCPP $CPPFLAGS'
22962ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22963ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22964ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22965
22966      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22967/* end confdefs.h.  */
22968#include <math.h>
22969		      #ifdef HAVE_IEEEFP_H
22970		      #include <ieeefp.h>
22971		      #endif
22972
22973int
22974main ()
22975{
22976 _fpclass(0);
22977  ;
22978  return 0;
22979}
22980_ACEOF
22981if ac_fn_cxx_try_compile "$LINENO"; then :
22982  glibcxx_cv_func__fpclass_use=yes
22983else
22984  glibcxx_cv_func__fpclass_use=no
22985fi
22986rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22987      ac_ext=c
22988ac_cpp='$CPP $CPPFLAGS'
22989ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22990ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22991ac_compiler_gnu=$ac_cv_c_compiler_gnu
22992
22993
22994fi
22995
22996  fi
22997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22998$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22999
23000    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23001      for ac_func in _fpclass
23002do :
23003  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23004if test "x$ac_cv_func__fpclass" = x""yes; then :
23005  cat >>confdefs.h <<_ACEOF
23006#define HAVE__FPCLASS 1
23007_ACEOF
23008
23009fi
23010done
23011
23012    fi
23013  fi
23014
23015
23016
23017
23018
23019  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23020$as_echo_n "checking for qfpclass declaration... " >&6; }
23021  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23022    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
23023  $as_echo_n "(cached) " >&6
23024else
23025
23026
23027      ac_ext=cpp
23028ac_cpp='$CXXCPP $CPPFLAGS'
23029ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23030ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23031ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23032
23033      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23034/* end confdefs.h.  */
23035#include <math.h>
23036		      #ifdef HAVE_IEEEFP_H
23037		      #include <ieeefp.h>
23038		      #endif
23039
23040int
23041main ()
23042{
23043 qfpclass(0);
23044  ;
23045  return 0;
23046}
23047_ACEOF
23048if ac_fn_cxx_try_compile "$LINENO"; then :
23049  glibcxx_cv_func_qfpclass_use=yes
23050else
23051  glibcxx_cv_func_qfpclass_use=no
23052fi
23053rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23054      ac_ext=c
23055ac_cpp='$CPP $CPPFLAGS'
23056ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23057ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23058ac_compiler_gnu=$ac_cv_c_compiler_gnu
23059
23060
23061fi
23062
23063  fi
23064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23065$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23066
23067  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23068    for ac_func in qfpclass
23069do :
23070  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23071if test "x$ac_cv_func_qfpclass" = x""yes; then :
23072  cat >>confdefs.h <<_ACEOF
23073#define HAVE_QFPCLASS 1
23074_ACEOF
23075
23076fi
23077done
23078
23079  else
23080
23081  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23082$as_echo_n "checking for _qfpclass declaration... " >&6; }
23083  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23084    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
23085  $as_echo_n "(cached) " >&6
23086else
23087
23088
23089      ac_ext=cpp
23090ac_cpp='$CXXCPP $CPPFLAGS'
23091ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23092ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23093ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23094
23095      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23096/* end confdefs.h.  */
23097#include <math.h>
23098		      #ifdef HAVE_IEEEFP_H
23099		      #include <ieeefp.h>
23100		      #endif
23101
23102int
23103main ()
23104{
23105 _qfpclass(0);
23106  ;
23107  return 0;
23108}
23109_ACEOF
23110if ac_fn_cxx_try_compile "$LINENO"; then :
23111  glibcxx_cv_func__qfpclass_use=yes
23112else
23113  glibcxx_cv_func__qfpclass_use=no
23114fi
23115rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23116      ac_ext=c
23117ac_cpp='$CPP $CPPFLAGS'
23118ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120ac_compiler_gnu=$ac_cv_c_compiler_gnu
23121
23122
23123fi
23124
23125  fi
23126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23127$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23128
23129    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23130      for ac_func in _qfpclass
23131do :
23132  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23133if test "x$ac_cv_func__qfpclass" = x""yes; then :
23134  cat >>confdefs.h <<_ACEOF
23135#define HAVE__QFPCLASS 1
23136_ACEOF
23137
23138fi
23139done
23140
23141    fi
23142  fi
23143
23144
23145
23146
23147
23148  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23149$as_echo_n "checking for hypot declaration... " >&6; }
23150  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23151    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
23152  $as_echo_n "(cached) " >&6
23153else
23154
23155
23156      ac_ext=cpp
23157ac_cpp='$CXXCPP $CPPFLAGS'
23158ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23159ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23160ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23161
23162      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23163/* end confdefs.h.  */
23164#include <math.h>
23165int
23166main ()
23167{
23168 hypot(0, 0);
23169  ;
23170  return 0;
23171}
23172_ACEOF
23173if ac_fn_cxx_try_compile "$LINENO"; then :
23174  glibcxx_cv_func_hypot_use=yes
23175else
23176  glibcxx_cv_func_hypot_use=no
23177fi
23178rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23179      ac_ext=c
23180ac_cpp='$CPP $CPPFLAGS'
23181ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23182ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23183ac_compiler_gnu=$ac_cv_c_compiler_gnu
23184
23185
23186fi
23187
23188  fi
23189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23190$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23191
23192  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23193    for ac_func in hypot
23194do :
23195  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23196if test "x$ac_cv_func_hypot" = x""yes; then :
23197  cat >>confdefs.h <<_ACEOF
23198#define HAVE_HYPOT 1
23199_ACEOF
23200
23201fi
23202done
23203
23204  else
23205
23206  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23207$as_echo_n "checking for _hypot declaration... " >&6; }
23208  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23209    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
23210  $as_echo_n "(cached) " >&6
23211else
23212
23213
23214      ac_ext=cpp
23215ac_cpp='$CXXCPP $CPPFLAGS'
23216ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23217ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23218ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23219
23220      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23221/* end confdefs.h.  */
23222#include <math.h>
23223int
23224main ()
23225{
23226 _hypot(0, 0);
23227  ;
23228  return 0;
23229}
23230_ACEOF
23231if ac_fn_cxx_try_compile "$LINENO"; then :
23232  glibcxx_cv_func__hypot_use=yes
23233else
23234  glibcxx_cv_func__hypot_use=no
23235fi
23236rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23237      ac_ext=c
23238ac_cpp='$CPP $CPPFLAGS'
23239ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23240ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23241ac_compiler_gnu=$ac_cv_c_compiler_gnu
23242
23243
23244fi
23245
23246  fi
23247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23248$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23249
23250    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23251      for ac_func in _hypot
23252do :
23253  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23254if test "x$ac_cv_func__hypot" = x""yes; then :
23255  cat >>confdefs.h <<_ACEOF
23256#define HAVE__HYPOT 1
23257_ACEOF
23258
23259fi
23260done
23261
23262    fi
23263  fi
23264
23265
23266
23267
23268
23269    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23270$as_echo_n "checking for float trig functions... " >&6; }
23271  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
23272  $as_echo_n "(cached) " >&6
23273else
23274
23275
23276    ac_ext=cpp
23277ac_cpp='$CXXCPP $CPPFLAGS'
23278ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23279ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23280ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23281
23282    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23283/* end confdefs.h.  */
23284#include <math.h>
23285int
23286main ()
23287{
23288acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23289  ;
23290  return 0;
23291}
23292_ACEOF
23293if ac_fn_cxx_try_compile "$LINENO"; then :
23294  glibcxx_cv_func_float_trig_use=yes
23295else
23296  glibcxx_cv_func_float_trig_use=no
23297fi
23298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23299    ac_ext=c
23300ac_cpp='$CPP $CPPFLAGS'
23301ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23302ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23303ac_compiler_gnu=$ac_cv_c_compiler_gnu
23304
23305fi
23306
23307  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23308$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23309  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23310    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23311do :
23312  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23313ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23314eval as_val=\$$as_ac_var
23315   if test "x$as_val" = x""yes; then :
23316  cat >>confdefs.h <<_ACEOF
23317#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23318_ACEOF
23319
23320fi
23321done
23322
23323  else
23324    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23325$as_echo_n "checking for _float trig functions... " >&6; }
23326    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
23327  $as_echo_n "(cached) " >&6
23328else
23329
23330
23331      ac_ext=cpp
23332ac_cpp='$CXXCPP $CPPFLAGS'
23333ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23334ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23335ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23336
23337      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23338/* end confdefs.h.  */
23339#include <math.h>
23340int
23341main ()
23342{
23343_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23344  ;
23345  return 0;
23346}
23347_ACEOF
23348if ac_fn_cxx_try_compile "$LINENO"; then :
23349  glibcxx_cv_func__float_trig_use=yes
23350else
23351  glibcxx_cv_func__float_trig_use=no
23352fi
23353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23354      ac_ext=c
23355ac_cpp='$CPP $CPPFLAGS'
23356ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23357ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23358ac_compiler_gnu=$ac_cv_c_compiler_gnu
23359
23360fi
23361
23362    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23363$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23364    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23365      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23366do :
23367  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23368ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23369eval as_val=\$$as_ac_var
23370   if test "x$as_val" = x""yes; then :
23371  cat >>confdefs.h <<_ACEOF
23372#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23373_ACEOF
23374
23375fi
23376done
23377
23378    fi
23379  fi
23380
23381
23382
23383
23384
23385    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23386$as_echo_n "checking for float round functions... " >&6; }
23387  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23388  $as_echo_n "(cached) " >&6
23389else
23390
23391
23392    ac_ext=cpp
23393ac_cpp='$CXXCPP $CPPFLAGS'
23394ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23395ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23396ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23397
23398    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23399/* end confdefs.h.  */
23400#include <math.h>
23401int
23402main ()
23403{
23404ceilf (0); floorf (0);
23405  ;
23406  return 0;
23407}
23408_ACEOF
23409if ac_fn_cxx_try_compile "$LINENO"; then :
23410  glibcxx_cv_func_float_round_use=yes
23411else
23412  glibcxx_cv_func_float_round_use=no
23413fi
23414rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23415    ac_ext=c
23416ac_cpp='$CPP $CPPFLAGS'
23417ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23418ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23419ac_compiler_gnu=$ac_cv_c_compiler_gnu
23420
23421fi
23422
23423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23424$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23425  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23426    for ac_func in ceilf floorf
23427do :
23428  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23429ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23430eval as_val=\$$as_ac_var
23431   if test "x$as_val" = x""yes; then :
23432  cat >>confdefs.h <<_ACEOF
23433#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23434_ACEOF
23435
23436fi
23437done
23438
23439  else
23440    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23441$as_echo_n "checking for _float round functions... " >&6; }
23442    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23443  $as_echo_n "(cached) " >&6
23444else
23445
23446
23447      ac_ext=cpp
23448ac_cpp='$CXXCPP $CPPFLAGS'
23449ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23450ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23451ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23452
23453      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23454/* end confdefs.h.  */
23455#include <math.h>
23456int
23457main ()
23458{
23459_ceilf (0); _floorf (0);
23460  ;
23461  return 0;
23462}
23463_ACEOF
23464if ac_fn_cxx_try_compile "$LINENO"; then :
23465  glibcxx_cv_func__float_round_use=yes
23466else
23467  glibcxx_cv_func__float_round_use=no
23468fi
23469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23470      ac_ext=c
23471ac_cpp='$CPP $CPPFLAGS'
23472ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23473ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23474ac_compiler_gnu=$ac_cv_c_compiler_gnu
23475
23476fi
23477
23478    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23479$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23480    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23481      for ac_func in _ceilf _floorf
23482do :
23483  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23484ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23485eval as_val=\$$as_ac_var
23486   if test "x$as_val" = x""yes; then :
23487  cat >>confdefs.h <<_ACEOF
23488#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23489_ACEOF
23490
23491fi
23492done
23493
23494    fi
23495  fi
23496
23497
23498
23499
23500
23501
23502  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23503$as_echo_n "checking for expf declaration... " >&6; }
23504  if test x${glibcxx_cv_func_expf_use+set} != xset; then
23505    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23506  $as_echo_n "(cached) " >&6
23507else
23508
23509
23510      ac_ext=cpp
23511ac_cpp='$CXXCPP $CPPFLAGS'
23512ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23513ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23514ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23515
23516      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23517/* end confdefs.h.  */
23518#include <math.h>
23519		      #ifdef HAVE_IEEEFP_H
23520		      #include <ieeefp.h>
23521		      #endif
23522
23523int
23524main ()
23525{
23526 expf(0);
23527  ;
23528  return 0;
23529}
23530_ACEOF
23531if ac_fn_cxx_try_compile "$LINENO"; then :
23532  glibcxx_cv_func_expf_use=yes
23533else
23534  glibcxx_cv_func_expf_use=no
23535fi
23536rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23537      ac_ext=c
23538ac_cpp='$CPP $CPPFLAGS'
23539ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23540ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23541ac_compiler_gnu=$ac_cv_c_compiler_gnu
23542
23543
23544fi
23545
23546  fi
23547  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23548$as_echo "$glibcxx_cv_func_expf_use" >&6; }
23549
23550  if test x$glibcxx_cv_func_expf_use = x"yes"; then
23551    for ac_func in expf
23552do :
23553  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23554if test "x$ac_cv_func_expf" = x""yes; then :
23555  cat >>confdefs.h <<_ACEOF
23556#define HAVE_EXPF 1
23557_ACEOF
23558
23559fi
23560done
23561
23562  else
23563
23564  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23565$as_echo_n "checking for _expf declaration... " >&6; }
23566  if test x${glibcxx_cv_func__expf_use+set} != xset; then
23567    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23568  $as_echo_n "(cached) " >&6
23569else
23570
23571
23572      ac_ext=cpp
23573ac_cpp='$CXXCPP $CPPFLAGS'
23574ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23575ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23576ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23577
23578      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23579/* end confdefs.h.  */
23580#include <math.h>
23581		      #ifdef HAVE_IEEEFP_H
23582		      #include <ieeefp.h>
23583		      #endif
23584
23585int
23586main ()
23587{
23588 _expf(0);
23589  ;
23590  return 0;
23591}
23592_ACEOF
23593if ac_fn_cxx_try_compile "$LINENO"; then :
23594  glibcxx_cv_func__expf_use=yes
23595else
23596  glibcxx_cv_func__expf_use=no
23597fi
23598rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23599      ac_ext=c
23600ac_cpp='$CPP $CPPFLAGS'
23601ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23602ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23603ac_compiler_gnu=$ac_cv_c_compiler_gnu
23604
23605
23606fi
23607
23608  fi
23609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23610$as_echo "$glibcxx_cv_func__expf_use" >&6; }
23611
23612    if test x$glibcxx_cv_func__expf_use = x"yes"; then
23613      for ac_func in _expf
23614do :
23615  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23616if test "x$ac_cv_func__expf" = x""yes; then :
23617  cat >>confdefs.h <<_ACEOF
23618#define HAVE__EXPF 1
23619_ACEOF
23620
23621fi
23622done
23623
23624    fi
23625  fi
23626
23627
23628
23629
23630
23631  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23632$as_echo_n "checking for isnanf declaration... " >&6; }
23633  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23634    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23635  $as_echo_n "(cached) " >&6
23636else
23637
23638
23639      ac_ext=cpp
23640ac_cpp='$CXXCPP $CPPFLAGS'
23641ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23642ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23643ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23644
23645      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23646/* end confdefs.h.  */
23647#include <math.h>
23648		      #ifdef HAVE_IEEEFP_H
23649		      #include <ieeefp.h>
23650		      #endif
23651
23652int
23653main ()
23654{
23655 isnanf(0);
23656  ;
23657  return 0;
23658}
23659_ACEOF
23660if ac_fn_cxx_try_compile "$LINENO"; then :
23661  glibcxx_cv_func_isnanf_use=yes
23662else
23663  glibcxx_cv_func_isnanf_use=no
23664fi
23665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23666      ac_ext=c
23667ac_cpp='$CPP $CPPFLAGS'
23668ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23669ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23670ac_compiler_gnu=$ac_cv_c_compiler_gnu
23671
23672
23673fi
23674
23675  fi
23676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23677$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23678
23679  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23680    for ac_func in isnanf
23681do :
23682  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23683if test "x$ac_cv_func_isnanf" = x""yes; then :
23684  cat >>confdefs.h <<_ACEOF
23685#define HAVE_ISNANF 1
23686_ACEOF
23687
23688fi
23689done
23690
23691  else
23692
23693  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23694$as_echo_n "checking for _isnanf declaration... " >&6; }
23695  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23696    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23697  $as_echo_n "(cached) " >&6
23698else
23699
23700
23701      ac_ext=cpp
23702ac_cpp='$CXXCPP $CPPFLAGS'
23703ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23704ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23705ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23706
23707      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23708/* end confdefs.h.  */
23709#include <math.h>
23710		      #ifdef HAVE_IEEEFP_H
23711		      #include <ieeefp.h>
23712		      #endif
23713
23714int
23715main ()
23716{
23717 _isnanf(0);
23718  ;
23719  return 0;
23720}
23721_ACEOF
23722if ac_fn_cxx_try_compile "$LINENO"; then :
23723  glibcxx_cv_func__isnanf_use=yes
23724else
23725  glibcxx_cv_func__isnanf_use=no
23726fi
23727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23728      ac_ext=c
23729ac_cpp='$CPP $CPPFLAGS'
23730ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23731ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23732ac_compiler_gnu=$ac_cv_c_compiler_gnu
23733
23734
23735fi
23736
23737  fi
23738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23739$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23740
23741    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23742      for ac_func in _isnanf
23743do :
23744  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23745if test "x$ac_cv_func__isnanf" = x""yes; then :
23746  cat >>confdefs.h <<_ACEOF
23747#define HAVE__ISNANF 1
23748_ACEOF
23749
23750fi
23751done
23752
23753    fi
23754  fi
23755
23756
23757
23758
23759
23760  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23761$as_echo_n "checking for isinff declaration... " >&6; }
23762  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23763    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23764  $as_echo_n "(cached) " >&6
23765else
23766
23767
23768      ac_ext=cpp
23769ac_cpp='$CXXCPP $CPPFLAGS'
23770ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23771ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23772ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23773
23774      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23775/* end confdefs.h.  */
23776#include <math.h>
23777		      #ifdef HAVE_IEEEFP_H
23778		      #include <ieeefp.h>
23779		      #endif
23780
23781int
23782main ()
23783{
23784 isinff(0);
23785  ;
23786  return 0;
23787}
23788_ACEOF
23789if ac_fn_cxx_try_compile "$LINENO"; then :
23790  glibcxx_cv_func_isinff_use=yes
23791else
23792  glibcxx_cv_func_isinff_use=no
23793fi
23794rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23795      ac_ext=c
23796ac_cpp='$CPP $CPPFLAGS'
23797ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23798ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23799ac_compiler_gnu=$ac_cv_c_compiler_gnu
23800
23801
23802fi
23803
23804  fi
23805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23806$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23807
23808  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23809    for ac_func in isinff
23810do :
23811  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23812if test "x$ac_cv_func_isinff" = x""yes; then :
23813  cat >>confdefs.h <<_ACEOF
23814#define HAVE_ISINFF 1
23815_ACEOF
23816
23817fi
23818done
23819
23820  else
23821
23822  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23823$as_echo_n "checking for _isinff declaration... " >&6; }
23824  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23825    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23826  $as_echo_n "(cached) " >&6
23827else
23828
23829
23830      ac_ext=cpp
23831ac_cpp='$CXXCPP $CPPFLAGS'
23832ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23833ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23834ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23835
23836      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23837/* end confdefs.h.  */
23838#include <math.h>
23839		      #ifdef HAVE_IEEEFP_H
23840		      #include <ieeefp.h>
23841		      #endif
23842
23843int
23844main ()
23845{
23846 _isinff(0);
23847  ;
23848  return 0;
23849}
23850_ACEOF
23851if ac_fn_cxx_try_compile "$LINENO"; then :
23852  glibcxx_cv_func__isinff_use=yes
23853else
23854  glibcxx_cv_func__isinff_use=no
23855fi
23856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23857      ac_ext=c
23858ac_cpp='$CPP $CPPFLAGS'
23859ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23860ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23861ac_compiler_gnu=$ac_cv_c_compiler_gnu
23862
23863
23864fi
23865
23866  fi
23867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23868$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23869
23870    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23871      for ac_func in _isinff
23872do :
23873  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23874if test "x$ac_cv_func__isinff" = x""yes; then :
23875  cat >>confdefs.h <<_ACEOF
23876#define HAVE__ISINFF 1
23877_ACEOF
23878
23879fi
23880done
23881
23882    fi
23883  fi
23884
23885
23886
23887
23888
23889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23890$as_echo_n "checking for atan2f declaration... " >&6; }
23891  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23892    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23893  $as_echo_n "(cached) " >&6
23894else
23895
23896
23897      ac_ext=cpp
23898ac_cpp='$CXXCPP $CPPFLAGS'
23899ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23900ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23901ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23902
23903      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23904/* end confdefs.h.  */
23905#include <math.h>
23906int
23907main ()
23908{
23909 atan2f(0, 0);
23910  ;
23911  return 0;
23912}
23913_ACEOF
23914if ac_fn_cxx_try_compile "$LINENO"; then :
23915  glibcxx_cv_func_atan2f_use=yes
23916else
23917  glibcxx_cv_func_atan2f_use=no
23918fi
23919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23920      ac_ext=c
23921ac_cpp='$CPP $CPPFLAGS'
23922ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23923ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23924ac_compiler_gnu=$ac_cv_c_compiler_gnu
23925
23926
23927fi
23928
23929  fi
23930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23931$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23932
23933  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23934    for ac_func in atan2f
23935do :
23936  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23937if test "x$ac_cv_func_atan2f" = x""yes; then :
23938  cat >>confdefs.h <<_ACEOF
23939#define HAVE_ATAN2F 1
23940_ACEOF
23941
23942fi
23943done
23944
23945  else
23946
23947  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23948$as_echo_n "checking for _atan2f declaration... " >&6; }
23949  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23950    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23951  $as_echo_n "(cached) " >&6
23952else
23953
23954
23955      ac_ext=cpp
23956ac_cpp='$CXXCPP $CPPFLAGS'
23957ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23958ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23959ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23960
23961      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23962/* end confdefs.h.  */
23963#include <math.h>
23964int
23965main ()
23966{
23967 _atan2f(0, 0);
23968  ;
23969  return 0;
23970}
23971_ACEOF
23972if ac_fn_cxx_try_compile "$LINENO"; then :
23973  glibcxx_cv_func__atan2f_use=yes
23974else
23975  glibcxx_cv_func__atan2f_use=no
23976fi
23977rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23978      ac_ext=c
23979ac_cpp='$CPP $CPPFLAGS'
23980ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23981ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23982ac_compiler_gnu=$ac_cv_c_compiler_gnu
23983
23984
23985fi
23986
23987  fi
23988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23989$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23990
23991    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23992      for ac_func in _atan2f
23993do :
23994  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23995if test "x$ac_cv_func__atan2f" = x""yes; then :
23996  cat >>confdefs.h <<_ACEOF
23997#define HAVE__ATAN2F 1
23998_ACEOF
23999
24000fi
24001done
24002
24003    fi
24004  fi
24005
24006
24007
24008
24009
24010  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24011$as_echo_n "checking for fabsf declaration... " >&6; }
24012  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24013    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
24014  $as_echo_n "(cached) " >&6
24015else
24016
24017
24018      ac_ext=cpp
24019ac_cpp='$CXXCPP $CPPFLAGS'
24020ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24021ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24022ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24023
24024      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24025/* end confdefs.h.  */
24026#include <math.h>
24027		      #ifdef HAVE_IEEEFP_H
24028		      #include <ieeefp.h>
24029		      #endif
24030
24031int
24032main ()
24033{
24034 fabsf(0);
24035  ;
24036  return 0;
24037}
24038_ACEOF
24039if ac_fn_cxx_try_compile "$LINENO"; then :
24040  glibcxx_cv_func_fabsf_use=yes
24041else
24042  glibcxx_cv_func_fabsf_use=no
24043fi
24044rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24045      ac_ext=c
24046ac_cpp='$CPP $CPPFLAGS'
24047ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24048ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24049ac_compiler_gnu=$ac_cv_c_compiler_gnu
24050
24051
24052fi
24053
24054  fi
24055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24056$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24057
24058  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24059    for ac_func in fabsf
24060do :
24061  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24062if test "x$ac_cv_func_fabsf" = x""yes; then :
24063  cat >>confdefs.h <<_ACEOF
24064#define HAVE_FABSF 1
24065_ACEOF
24066
24067fi
24068done
24069
24070  else
24071
24072  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24073$as_echo_n "checking for _fabsf declaration... " >&6; }
24074  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24075    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
24076  $as_echo_n "(cached) " >&6
24077else
24078
24079
24080      ac_ext=cpp
24081ac_cpp='$CXXCPP $CPPFLAGS'
24082ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24083ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24084ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24085
24086      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24087/* end confdefs.h.  */
24088#include <math.h>
24089		      #ifdef HAVE_IEEEFP_H
24090		      #include <ieeefp.h>
24091		      #endif
24092
24093int
24094main ()
24095{
24096 _fabsf(0);
24097  ;
24098  return 0;
24099}
24100_ACEOF
24101if ac_fn_cxx_try_compile "$LINENO"; then :
24102  glibcxx_cv_func__fabsf_use=yes
24103else
24104  glibcxx_cv_func__fabsf_use=no
24105fi
24106rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24107      ac_ext=c
24108ac_cpp='$CPP $CPPFLAGS'
24109ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24110ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24111ac_compiler_gnu=$ac_cv_c_compiler_gnu
24112
24113
24114fi
24115
24116  fi
24117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24118$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24119
24120    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24121      for ac_func in _fabsf
24122do :
24123  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24124if test "x$ac_cv_func__fabsf" = x""yes; then :
24125  cat >>confdefs.h <<_ACEOF
24126#define HAVE__FABSF 1
24127_ACEOF
24128
24129fi
24130done
24131
24132    fi
24133  fi
24134
24135
24136
24137
24138
24139  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24140$as_echo_n "checking for fmodf declaration... " >&6; }
24141  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24142    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
24143  $as_echo_n "(cached) " >&6
24144else
24145
24146
24147      ac_ext=cpp
24148ac_cpp='$CXXCPP $CPPFLAGS'
24149ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24150ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24151ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24152
24153      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24154/* end confdefs.h.  */
24155#include <math.h>
24156int
24157main ()
24158{
24159 fmodf(0, 0);
24160  ;
24161  return 0;
24162}
24163_ACEOF
24164if ac_fn_cxx_try_compile "$LINENO"; then :
24165  glibcxx_cv_func_fmodf_use=yes
24166else
24167  glibcxx_cv_func_fmodf_use=no
24168fi
24169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24170      ac_ext=c
24171ac_cpp='$CPP $CPPFLAGS'
24172ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24173ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24174ac_compiler_gnu=$ac_cv_c_compiler_gnu
24175
24176
24177fi
24178
24179  fi
24180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24181$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24182
24183  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24184    for ac_func in fmodf
24185do :
24186  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24187if test "x$ac_cv_func_fmodf" = x""yes; then :
24188  cat >>confdefs.h <<_ACEOF
24189#define HAVE_FMODF 1
24190_ACEOF
24191
24192fi
24193done
24194
24195  else
24196
24197  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24198$as_echo_n "checking for _fmodf declaration... " >&6; }
24199  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24200    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
24201  $as_echo_n "(cached) " >&6
24202else
24203
24204
24205      ac_ext=cpp
24206ac_cpp='$CXXCPP $CPPFLAGS'
24207ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24208ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24209ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24210
24211      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24212/* end confdefs.h.  */
24213#include <math.h>
24214int
24215main ()
24216{
24217 _fmodf(0, 0);
24218  ;
24219  return 0;
24220}
24221_ACEOF
24222if ac_fn_cxx_try_compile "$LINENO"; then :
24223  glibcxx_cv_func__fmodf_use=yes
24224else
24225  glibcxx_cv_func__fmodf_use=no
24226fi
24227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24228      ac_ext=c
24229ac_cpp='$CPP $CPPFLAGS'
24230ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24231ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24232ac_compiler_gnu=$ac_cv_c_compiler_gnu
24233
24234
24235fi
24236
24237  fi
24238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24239$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24240
24241    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24242      for ac_func in _fmodf
24243do :
24244  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24245if test "x$ac_cv_func__fmodf" = x""yes; then :
24246  cat >>confdefs.h <<_ACEOF
24247#define HAVE__FMODF 1
24248_ACEOF
24249
24250fi
24251done
24252
24253    fi
24254  fi
24255
24256
24257
24258
24259
24260  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24261$as_echo_n "checking for frexpf declaration... " >&6; }
24262  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24263    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
24264  $as_echo_n "(cached) " >&6
24265else
24266
24267
24268      ac_ext=cpp
24269ac_cpp='$CXXCPP $CPPFLAGS'
24270ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24271ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24272ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24273
24274      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24275/* end confdefs.h.  */
24276#include <math.h>
24277int
24278main ()
24279{
24280 frexpf(0, 0);
24281  ;
24282  return 0;
24283}
24284_ACEOF
24285if ac_fn_cxx_try_compile "$LINENO"; then :
24286  glibcxx_cv_func_frexpf_use=yes
24287else
24288  glibcxx_cv_func_frexpf_use=no
24289fi
24290rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24291      ac_ext=c
24292ac_cpp='$CPP $CPPFLAGS'
24293ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24294ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24295ac_compiler_gnu=$ac_cv_c_compiler_gnu
24296
24297
24298fi
24299
24300  fi
24301  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24302$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24303
24304  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24305    for ac_func in frexpf
24306do :
24307  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24308if test "x$ac_cv_func_frexpf" = x""yes; then :
24309  cat >>confdefs.h <<_ACEOF
24310#define HAVE_FREXPF 1
24311_ACEOF
24312
24313fi
24314done
24315
24316  else
24317
24318  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24319$as_echo_n "checking for _frexpf declaration... " >&6; }
24320  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24321    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
24322  $as_echo_n "(cached) " >&6
24323else
24324
24325
24326      ac_ext=cpp
24327ac_cpp='$CXXCPP $CPPFLAGS'
24328ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24329ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24330ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24331
24332      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24333/* end confdefs.h.  */
24334#include <math.h>
24335int
24336main ()
24337{
24338 _frexpf(0, 0);
24339  ;
24340  return 0;
24341}
24342_ACEOF
24343if ac_fn_cxx_try_compile "$LINENO"; then :
24344  glibcxx_cv_func__frexpf_use=yes
24345else
24346  glibcxx_cv_func__frexpf_use=no
24347fi
24348rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24349      ac_ext=c
24350ac_cpp='$CPP $CPPFLAGS'
24351ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24352ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24353ac_compiler_gnu=$ac_cv_c_compiler_gnu
24354
24355
24356fi
24357
24358  fi
24359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24360$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24361
24362    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24363      for ac_func in _frexpf
24364do :
24365  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24366if test "x$ac_cv_func__frexpf" = x""yes; then :
24367  cat >>confdefs.h <<_ACEOF
24368#define HAVE__FREXPF 1
24369_ACEOF
24370
24371fi
24372done
24373
24374    fi
24375  fi
24376
24377
24378
24379
24380
24381  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24382$as_echo_n "checking for hypotf declaration... " >&6; }
24383  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24384    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24385  $as_echo_n "(cached) " >&6
24386else
24387
24388
24389      ac_ext=cpp
24390ac_cpp='$CXXCPP $CPPFLAGS'
24391ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24392ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24393ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24394
24395      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24396/* end confdefs.h.  */
24397#include <math.h>
24398int
24399main ()
24400{
24401 hypotf(0, 0);
24402  ;
24403  return 0;
24404}
24405_ACEOF
24406if ac_fn_cxx_try_compile "$LINENO"; then :
24407  glibcxx_cv_func_hypotf_use=yes
24408else
24409  glibcxx_cv_func_hypotf_use=no
24410fi
24411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24412      ac_ext=c
24413ac_cpp='$CPP $CPPFLAGS'
24414ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24415ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24416ac_compiler_gnu=$ac_cv_c_compiler_gnu
24417
24418
24419fi
24420
24421  fi
24422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24423$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24424
24425  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24426    for ac_func in hypotf
24427do :
24428  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24429if test "x$ac_cv_func_hypotf" = x""yes; then :
24430  cat >>confdefs.h <<_ACEOF
24431#define HAVE_HYPOTF 1
24432_ACEOF
24433
24434fi
24435done
24436
24437  else
24438
24439  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24440$as_echo_n "checking for _hypotf declaration... " >&6; }
24441  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24442    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24443  $as_echo_n "(cached) " >&6
24444else
24445
24446
24447      ac_ext=cpp
24448ac_cpp='$CXXCPP $CPPFLAGS'
24449ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24450ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24451ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24452
24453      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24454/* end confdefs.h.  */
24455#include <math.h>
24456int
24457main ()
24458{
24459 _hypotf(0, 0);
24460  ;
24461  return 0;
24462}
24463_ACEOF
24464if ac_fn_cxx_try_compile "$LINENO"; then :
24465  glibcxx_cv_func__hypotf_use=yes
24466else
24467  glibcxx_cv_func__hypotf_use=no
24468fi
24469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24470      ac_ext=c
24471ac_cpp='$CPP $CPPFLAGS'
24472ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24473ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24474ac_compiler_gnu=$ac_cv_c_compiler_gnu
24475
24476
24477fi
24478
24479  fi
24480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24481$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24482
24483    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24484      for ac_func in _hypotf
24485do :
24486  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24487if test "x$ac_cv_func__hypotf" = x""yes; then :
24488  cat >>confdefs.h <<_ACEOF
24489#define HAVE__HYPOTF 1
24490_ACEOF
24491
24492fi
24493done
24494
24495    fi
24496  fi
24497
24498
24499
24500
24501
24502  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24503$as_echo_n "checking for ldexpf declaration... " >&6; }
24504  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24505    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24506  $as_echo_n "(cached) " >&6
24507else
24508
24509
24510      ac_ext=cpp
24511ac_cpp='$CXXCPP $CPPFLAGS'
24512ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24513ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24514ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24515
24516      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24517/* end confdefs.h.  */
24518#include <math.h>
24519int
24520main ()
24521{
24522 ldexpf(0, 0);
24523  ;
24524  return 0;
24525}
24526_ACEOF
24527if ac_fn_cxx_try_compile "$LINENO"; then :
24528  glibcxx_cv_func_ldexpf_use=yes
24529else
24530  glibcxx_cv_func_ldexpf_use=no
24531fi
24532rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24533      ac_ext=c
24534ac_cpp='$CPP $CPPFLAGS'
24535ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24536ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24537ac_compiler_gnu=$ac_cv_c_compiler_gnu
24538
24539
24540fi
24541
24542  fi
24543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24544$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24545
24546  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24547    for ac_func in ldexpf
24548do :
24549  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24550if test "x$ac_cv_func_ldexpf" = x""yes; then :
24551  cat >>confdefs.h <<_ACEOF
24552#define HAVE_LDEXPF 1
24553_ACEOF
24554
24555fi
24556done
24557
24558  else
24559
24560  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24561$as_echo_n "checking for _ldexpf declaration... " >&6; }
24562  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24563    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24564  $as_echo_n "(cached) " >&6
24565else
24566
24567
24568      ac_ext=cpp
24569ac_cpp='$CXXCPP $CPPFLAGS'
24570ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24571ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24572ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24573
24574      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24575/* end confdefs.h.  */
24576#include <math.h>
24577int
24578main ()
24579{
24580 _ldexpf(0, 0);
24581  ;
24582  return 0;
24583}
24584_ACEOF
24585if ac_fn_cxx_try_compile "$LINENO"; then :
24586  glibcxx_cv_func__ldexpf_use=yes
24587else
24588  glibcxx_cv_func__ldexpf_use=no
24589fi
24590rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24591      ac_ext=c
24592ac_cpp='$CPP $CPPFLAGS'
24593ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24594ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24595ac_compiler_gnu=$ac_cv_c_compiler_gnu
24596
24597
24598fi
24599
24600  fi
24601  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24602$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24603
24604    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24605      for ac_func in _ldexpf
24606do :
24607  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24608if test "x$ac_cv_func__ldexpf" = x""yes; then :
24609  cat >>confdefs.h <<_ACEOF
24610#define HAVE__LDEXPF 1
24611_ACEOF
24612
24613fi
24614done
24615
24616    fi
24617  fi
24618
24619
24620
24621
24622
24623  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24624$as_echo_n "checking for logf declaration... " >&6; }
24625  if test x${glibcxx_cv_func_logf_use+set} != xset; then
24626    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24627  $as_echo_n "(cached) " >&6
24628else
24629
24630
24631      ac_ext=cpp
24632ac_cpp='$CXXCPP $CPPFLAGS'
24633ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24634ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24635ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24636
24637      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24638/* end confdefs.h.  */
24639#include <math.h>
24640		      #ifdef HAVE_IEEEFP_H
24641		      #include <ieeefp.h>
24642		      #endif
24643
24644int
24645main ()
24646{
24647 logf(0);
24648  ;
24649  return 0;
24650}
24651_ACEOF
24652if ac_fn_cxx_try_compile "$LINENO"; then :
24653  glibcxx_cv_func_logf_use=yes
24654else
24655  glibcxx_cv_func_logf_use=no
24656fi
24657rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24658      ac_ext=c
24659ac_cpp='$CPP $CPPFLAGS'
24660ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24661ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24662ac_compiler_gnu=$ac_cv_c_compiler_gnu
24663
24664
24665fi
24666
24667  fi
24668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24669$as_echo "$glibcxx_cv_func_logf_use" >&6; }
24670
24671  if test x$glibcxx_cv_func_logf_use = x"yes"; then
24672    for ac_func in logf
24673do :
24674  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24675if test "x$ac_cv_func_logf" = x""yes; then :
24676  cat >>confdefs.h <<_ACEOF
24677#define HAVE_LOGF 1
24678_ACEOF
24679
24680fi
24681done
24682
24683  else
24684
24685  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24686$as_echo_n "checking for _logf declaration... " >&6; }
24687  if test x${glibcxx_cv_func__logf_use+set} != xset; then
24688    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24689  $as_echo_n "(cached) " >&6
24690else
24691
24692
24693      ac_ext=cpp
24694ac_cpp='$CXXCPP $CPPFLAGS'
24695ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24696ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24697ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24698
24699      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24700/* end confdefs.h.  */
24701#include <math.h>
24702		      #ifdef HAVE_IEEEFP_H
24703		      #include <ieeefp.h>
24704		      #endif
24705
24706int
24707main ()
24708{
24709 _logf(0);
24710  ;
24711  return 0;
24712}
24713_ACEOF
24714if ac_fn_cxx_try_compile "$LINENO"; then :
24715  glibcxx_cv_func__logf_use=yes
24716else
24717  glibcxx_cv_func__logf_use=no
24718fi
24719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24720      ac_ext=c
24721ac_cpp='$CPP $CPPFLAGS'
24722ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24723ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24724ac_compiler_gnu=$ac_cv_c_compiler_gnu
24725
24726
24727fi
24728
24729  fi
24730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24731$as_echo "$glibcxx_cv_func__logf_use" >&6; }
24732
24733    if test x$glibcxx_cv_func__logf_use = x"yes"; then
24734      for ac_func in _logf
24735do :
24736  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24737if test "x$ac_cv_func__logf" = x""yes; then :
24738  cat >>confdefs.h <<_ACEOF
24739#define HAVE__LOGF 1
24740_ACEOF
24741
24742fi
24743done
24744
24745    fi
24746  fi
24747
24748
24749
24750
24751
24752  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24753$as_echo_n "checking for log10f declaration... " >&6; }
24754  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24755    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24756  $as_echo_n "(cached) " >&6
24757else
24758
24759
24760      ac_ext=cpp
24761ac_cpp='$CXXCPP $CPPFLAGS'
24762ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24763ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24764ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24765
24766      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24767/* end confdefs.h.  */
24768#include <math.h>
24769		      #ifdef HAVE_IEEEFP_H
24770		      #include <ieeefp.h>
24771		      #endif
24772
24773int
24774main ()
24775{
24776 log10f(0);
24777  ;
24778  return 0;
24779}
24780_ACEOF
24781if ac_fn_cxx_try_compile "$LINENO"; then :
24782  glibcxx_cv_func_log10f_use=yes
24783else
24784  glibcxx_cv_func_log10f_use=no
24785fi
24786rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24787      ac_ext=c
24788ac_cpp='$CPP $CPPFLAGS'
24789ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24790ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24791ac_compiler_gnu=$ac_cv_c_compiler_gnu
24792
24793
24794fi
24795
24796  fi
24797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24798$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24799
24800  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24801    for ac_func in log10f
24802do :
24803  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24804if test "x$ac_cv_func_log10f" = x""yes; then :
24805  cat >>confdefs.h <<_ACEOF
24806#define HAVE_LOG10F 1
24807_ACEOF
24808
24809fi
24810done
24811
24812  else
24813
24814  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24815$as_echo_n "checking for _log10f declaration... " >&6; }
24816  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24817    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24818  $as_echo_n "(cached) " >&6
24819else
24820
24821
24822      ac_ext=cpp
24823ac_cpp='$CXXCPP $CPPFLAGS'
24824ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24825ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24826ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24827
24828      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24829/* end confdefs.h.  */
24830#include <math.h>
24831		      #ifdef HAVE_IEEEFP_H
24832		      #include <ieeefp.h>
24833		      #endif
24834
24835int
24836main ()
24837{
24838 _log10f(0);
24839  ;
24840  return 0;
24841}
24842_ACEOF
24843if ac_fn_cxx_try_compile "$LINENO"; then :
24844  glibcxx_cv_func__log10f_use=yes
24845else
24846  glibcxx_cv_func__log10f_use=no
24847fi
24848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24849      ac_ext=c
24850ac_cpp='$CPP $CPPFLAGS'
24851ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24852ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24853ac_compiler_gnu=$ac_cv_c_compiler_gnu
24854
24855
24856fi
24857
24858  fi
24859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24860$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24861
24862    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24863      for ac_func in _log10f
24864do :
24865  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24866if test "x$ac_cv_func__log10f" = x""yes; then :
24867  cat >>confdefs.h <<_ACEOF
24868#define HAVE__LOG10F 1
24869_ACEOF
24870
24871fi
24872done
24873
24874    fi
24875  fi
24876
24877
24878
24879
24880
24881  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24882$as_echo_n "checking for modff declaration... " >&6; }
24883  if test x${glibcxx_cv_func_modff_use+set} != xset; then
24884    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24885  $as_echo_n "(cached) " >&6
24886else
24887
24888
24889      ac_ext=cpp
24890ac_cpp='$CXXCPP $CPPFLAGS'
24891ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24892ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24893ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24894
24895      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24896/* end confdefs.h.  */
24897#include <math.h>
24898int
24899main ()
24900{
24901 modff(0, 0);
24902  ;
24903  return 0;
24904}
24905_ACEOF
24906if ac_fn_cxx_try_compile "$LINENO"; then :
24907  glibcxx_cv_func_modff_use=yes
24908else
24909  glibcxx_cv_func_modff_use=no
24910fi
24911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24912      ac_ext=c
24913ac_cpp='$CPP $CPPFLAGS'
24914ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24915ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24916ac_compiler_gnu=$ac_cv_c_compiler_gnu
24917
24918
24919fi
24920
24921  fi
24922  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24923$as_echo "$glibcxx_cv_func_modff_use" >&6; }
24924
24925  if test x$glibcxx_cv_func_modff_use = x"yes"; then
24926    for ac_func in modff
24927do :
24928  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24929if test "x$ac_cv_func_modff" = x""yes; then :
24930  cat >>confdefs.h <<_ACEOF
24931#define HAVE_MODFF 1
24932_ACEOF
24933
24934fi
24935done
24936
24937  else
24938
24939  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24940$as_echo_n "checking for _modff declaration... " >&6; }
24941  if test x${glibcxx_cv_func__modff_use+set} != xset; then
24942    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24943  $as_echo_n "(cached) " >&6
24944else
24945
24946
24947      ac_ext=cpp
24948ac_cpp='$CXXCPP $CPPFLAGS'
24949ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24950ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24951ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24952
24953      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24954/* end confdefs.h.  */
24955#include <math.h>
24956int
24957main ()
24958{
24959 _modff(0, 0);
24960  ;
24961  return 0;
24962}
24963_ACEOF
24964if ac_fn_cxx_try_compile "$LINENO"; then :
24965  glibcxx_cv_func__modff_use=yes
24966else
24967  glibcxx_cv_func__modff_use=no
24968fi
24969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24970      ac_ext=c
24971ac_cpp='$CPP $CPPFLAGS'
24972ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24973ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24974ac_compiler_gnu=$ac_cv_c_compiler_gnu
24975
24976
24977fi
24978
24979  fi
24980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24981$as_echo "$glibcxx_cv_func__modff_use" >&6; }
24982
24983    if test x$glibcxx_cv_func__modff_use = x"yes"; then
24984      for ac_func in _modff
24985do :
24986  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24987if test "x$ac_cv_func__modff" = x""yes; then :
24988  cat >>confdefs.h <<_ACEOF
24989#define HAVE__MODFF 1
24990_ACEOF
24991
24992fi
24993done
24994
24995    fi
24996  fi
24997
24998
24999
25000
25001
25002  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25003$as_echo_n "checking for modf declaration... " >&6; }
25004  if test x${glibcxx_cv_func_modf_use+set} != xset; then
25005    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
25006  $as_echo_n "(cached) " >&6
25007else
25008
25009
25010      ac_ext=cpp
25011ac_cpp='$CXXCPP $CPPFLAGS'
25012ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25013ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25014ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25015
25016      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25017/* end confdefs.h.  */
25018#include <math.h>
25019int
25020main ()
25021{
25022 modf(0, 0);
25023  ;
25024  return 0;
25025}
25026_ACEOF
25027if ac_fn_cxx_try_compile "$LINENO"; then :
25028  glibcxx_cv_func_modf_use=yes
25029else
25030  glibcxx_cv_func_modf_use=no
25031fi
25032rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25033      ac_ext=c
25034ac_cpp='$CPP $CPPFLAGS'
25035ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25036ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25037ac_compiler_gnu=$ac_cv_c_compiler_gnu
25038
25039
25040fi
25041
25042  fi
25043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25044$as_echo "$glibcxx_cv_func_modf_use" >&6; }
25045
25046  if test x$glibcxx_cv_func_modf_use = x"yes"; then
25047    for ac_func in modf
25048do :
25049  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25050if test "x$ac_cv_func_modf" = x""yes; then :
25051  cat >>confdefs.h <<_ACEOF
25052#define HAVE_MODF 1
25053_ACEOF
25054
25055fi
25056done
25057
25058  else
25059
25060  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25061$as_echo_n "checking for _modf declaration... " >&6; }
25062  if test x${glibcxx_cv_func__modf_use+set} != xset; then
25063    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
25064  $as_echo_n "(cached) " >&6
25065else
25066
25067
25068      ac_ext=cpp
25069ac_cpp='$CXXCPP $CPPFLAGS'
25070ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25071ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25072ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25073
25074      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25075/* end confdefs.h.  */
25076#include <math.h>
25077int
25078main ()
25079{
25080 _modf(0, 0);
25081  ;
25082  return 0;
25083}
25084_ACEOF
25085if ac_fn_cxx_try_compile "$LINENO"; then :
25086  glibcxx_cv_func__modf_use=yes
25087else
25088  glibcxx_cv_func__modf_use=no
25089fi
25090rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25091      ac_ext=c
25092ac_cpp='$CPP $CPPFLAGS'
25093ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25094ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25095ac_compiler_gnu=$ac_cv_c_compiler_gnu
25096
25097
25098fi
25099
25100  fi
25101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25102$as_echo "$glibcxx_cv_func__modf_use" >&6; }
25103
25104    if test x$glibcxx_cv_func__modf_use = x"yes"; then
25105      for ac_func in _modf
25106do :
25107  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25108if test "x$ac_cv_func__modf" = x""yes; then :
25109  cat >>confdefs.h <<_ACEOF
25110#define HAVE__MODF 1
25111_ACEOF
25112
25113fi
25114done
25115
25116    fi
25117  fi
25118
25119
25120
25121
25122
25123  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25124$as_echo_n "checking for powf declaration... " >&6; }
25125  if test x${glibcxx_cv_func_powf_use+set} != xset; then
25126    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
25127  $as_echo_n "(cached) " >&6
25128else
25129
25130
25131      ac_ext=cpp
25132ac_cpp='$CXXCPP $CPPFLAGS'
25133ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25134ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25135ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25136
25137      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25138/* end confdefs.h.  */
25139#include <math.h>
25140int
25141main ()
25142{
25143 powf(0, 0);
25144  ;
25145  return 0;
25146}
25147_ACEOF
25148if ac_fn_cxx_try_compile "$LINENO"; then :
25149  glibcxx_cv_func_powf_use=yes
25150else
25151  glibcxx_cv_func_powf_use=no
25152fi
25153rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25154      ac_ext=c
25155ac_cpp='$CPP $CPPFLAGS'
25156ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25157ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25158ac_compiler_gnu=$ac_cv_c_compiler_gnu
25159
25160
25161fi
25162
25163  fi
25164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25165$as_echo "$glibcxx_cv_func_powf_use" >&6; }
25166
25167  if test x$glibcxx_cv_func_powf_use = x"yes"; then
25168    for ac_func in powf
25169do :
25170  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25171if test "x$ac_cv_func_powf" = x""yes; then :
25172  cat >>confdefs.h <<_ACEOF
25173#define HAVE_POWF 1
25174_ACEOF
25175
25176fi
25177done
25178
25179  else
25180
25181  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25182$as_echo_n "checking for _powf declaration... " >&6; }
25183  if test x${glibcxx_cv_func__powf_use+set} != xset; then
25184    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
25185  $as_echo_n "(cached) " >&6
25186else
25187
25188
25189      ac_ext=cpp
25190ac_cpp='$CXXCPP $CPPFLAGS'
25191ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25192ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25193ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25194
25195      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25196/* end confdefs.h.  */
25197#include <math.h>
25198int
25199main ()
25200{
25201 _powf(0, 0);
25202  ;
25203  return 0;
25204}
25205_ACEOF
25206if ac_fn_cxx_try_compile "$LINENO"; then :
25207  glibcxx_cv_func__powf_use=yes
25208else
25209  glibcxx_cv_func__powf_use=no
25210fi
25211rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25212      ac_ext=c
25213ac_cpp='$CPP $CPPFLAGS'
25214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25216ac_compiler_gnu=$ac_cv_c_compiler_gnu
25217
25218
25219fi
25220
25221  fi
25222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25223$as_echo "$glibcxx_cv_func__powf_use" >&6; }
25224
25225    if test x$glibcxx_cv_func__powf_use = x"yes"; then
25226      for ac_func in _powf
25227do :
25228  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25229if test "x$ac_cv_func__powf" = x""yes; then :
25230  cat >>confdefs.h <<_ACEOF
25231#define HAVE__POWF 1
25232_ACEOF
25233
25234fi
25235done
25236
25237    fi
25238  fi
25239
25240
25241
25242
25243
25244  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25245$as_echo_n "checking for sqrtf declaration... " >&6; }
25246  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25247    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
25248  $as_echo_n "(cached) " >&6
25249else
25250
25251
25252      ac_ext=cpp
25253ac_cpp='$CXXCPP $CPPFLAGS'
25254ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25255ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25256ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25257
25258      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25259/* end confdefs.h.  */
25260#include <math.h>
25261		      #ifdef HAVE_IEEEFP_H
25262		      #include <ieeefp.h>
25263		      #endif
25264
25265int
25266main ()
25267{
25268 sqrtf(0);
25269  ;
25270  return 0;
25271}
25272_ACEOF
25273if ac_fn_cxx_try_compile "$LINENO"; then :
25274  glibcxx_cv_func_sqrtf_use=yes
25275else
25276  glibcxx_cv_func_sqrtf_use=no
25277fi
25278rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25279      ac_ext=c
25280ac_cpp='$CPP $CPPFLAGS'
25281ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25282ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25283ac_compiler_gnu=$ac_cv_c_compiler_gnu
25284
25285
25286fi
25287
25288  fi
25289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25290$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25291
25292  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25293    for ac_func in sqrtf
25294do :
25295  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25296if test "x$ac_cv_func_sqrtf" = x""yes; then :
25297  cat >>confdefs.h <<_ACEOF
25298#define HAVE_SQRTF 1
25299_ACEOF
25300
25301fi
25302done
25303
25304  else
25305
25306  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25307$as_echo_n "checking for _sqrtf declaration... " >&6; }
25308  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25309    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
25310  $as_echo_n "(cached) " >&6
25311else
25312
25313
25314      ac_ext=cpp
25315ac_cpp='$CXXCPP $CPPFLAGS'
25316ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25317ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25318ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25319
25320      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25321/* end confdefs.h.  */
25322#include <math.h>
25323		      #ifdef HAVE_IEEEFP_H
25324		      #include <ieeefp.h>
25325		      #endif
25326
25327int
25328main ()
25329{
25330 _sqrtf(0);
25331  ;
25332  return 0;
25333}
25334_ACEOF
25335if ac_fn_cxx_try_compile "$LINENO"; then :
25336  glibcxx_cv_func__sqrtf_use=yes
25337else
25338  glibcxx_cv_func__sqrtf_use=no
25339fi
25340rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25341      ac_ext=c
25342ac_cpp='$CPP $CPPFLAGS'
25343ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25344ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25345ac_compiler_gnu=$ac_cv_c_compiler_gnu
25346
25347
25348fi
25349
25350  fi
25351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25352$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25353
25354    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25355      for ac_func in _sqrtf
25356do :
25357  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25358if test "x$ac_cv_func__sqrtf" = x""yes; then :
25359  cat >>confdefs.h <<_ACEOF
25360#define HAVE__SQRTF 1
25361_ACEOF
25362
25363fi
25364done
25365
25366    fi
25367  fi
25368
25369
25370
25371
25372
25373  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25374$as_echo_n "checking for sincosf declaration... " >&6; }
25375  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25376    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25377  $as_echo_n "(cached) " >&6
25378else
25379
25380
25381      ac_ext=cpp
25382ac_cpp='$CXXCPP $CPPFLAGS'
25383ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25384ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25385ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25386
25387      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25388/* end confdefs.h.  */
25389#include <math.h>
25390int
25391main ()
25392{
25393 sincosf(0, 0, 0);
25394  ;
25395  return 0;
25396}
25397_ACEOF
25398if ac_fn_cxx_try_compile "$LINENO"; then :
25399  glibcxx_cv_func_sincosf_use=yes
25400else
25401  glibcxx_cv_func_sincosf_use=no
25402fi
25403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25404      ac_ext=c
25405ac_cpp='$CPP $CPPFLAGS'
25406ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25407ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25408ac_compiler_gnu=$ac_cv_c_compiler_gnu
25409
25410
25411fi
25412
25413  fi
25414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25415$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25416
25417  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25418    for ac_func in sincosf
25419do :
25420  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25421if test "x$ac_cv_func_sincosf" = x""yes; then :
25422  cat >>confdefs.h <<_ACEOF
25423#define HAVE_SINCOSF 1
25424_ACEOF
25425
25426fi
25427done
25428
25429  else
25430
25431  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25432$as_echo_n "checking for _sincosf declaration... " >&6; }
25433  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25434    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25435  $as_echo_n "(cached) " >&6
25436else
25437
25438
25439      ac_ext=cpp
25440ac_cpp='$CXXCPP $CPPFLAGS'
25441ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25442ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25443ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25444
25445      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25446/* end confdefs.h.  */
25447#include <math.h>
25448int
25449main ()
25450{
25451 _sincosf(0, 0, 0);
25452  ;
25453  return 0;
25454}
25455_ACEOF
25456if ac_fn_cxx_try_compile "$LINENO"; then :
25457  glibcxx_cv_func__sincosf_use=yes
25458else
25459  glibcxx_cv_func__sincosf_use=no
25460fi
25461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25462      ac_ext=c
25463ac_cpp='$CPP $CPPFLAGS'
25464ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25465ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25466ac_compiler_gnu=$ac_cv_c_compiler_gnu
25467
25468
25469fi
25470
25471  fi
25472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25473$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25474
25475    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25476      for ac_func in _sincosf
25477do :
25478  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25479if test "x$ac_cv_func__sincosf" = x""yes; then :
25480  cat >>confdefs.h <<_ACEOF
25481#define HAVE__SINCOSF 1
25482_ACEOF
25483
25484fi
25485done
25486
25487    fi
25488  fi
25489
25490
25491
25492
25493
25494  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25495$as_echo_n "checking for finitef declaration... " >&6; }
25496  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25497    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25498  $as_echo_n "(cached) " >&6
25499else
25500
25501
25502      ac_ext=cpp
25503ac_cpp='$CXXCPP $CPPFLAGS'
25504ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25505ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25506ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25507
25508      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25509/* end confdefs.h.  */
25510#include <math.h>
25511		      #ifdef HAVE_IEEEFP_H
25512		      #include <ieeefp.h>
25513		      #endif
25514
25515int
25516main ()
25517{
25518 finitef(0);
25519  ;
25520  return 0;
25521}
25522_ACEOF
25523if ac_fn_cxx_try_compile "$LINENO"; then :
25524  glibcxx_cv_func_finitef_use=yes
25525else
25526  glibcxx_cv_func_finitef_use=no
25527fi
25528rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25529      ac_ext=c
25530ac_cpp='$CPP $CPPFLAGS'
25531ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25532ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25533ac_compiler_gnu=$ac_cv_c_compiler_gnu
25534
25535
25536fi
25537
25538  fi
25539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25540$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25541
25542  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25543    for ac_func in finitef
25544do :
25545  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25546if test "x$ac_cv_func_finitef" = x""yes; then :
25547  cat >>confdefs.h <<_ACEOF
25548#define HAVE_FINITEF 1
25549_ACEOF
25550
25551fi
25552done
25553
25554  else
25555
25556  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25557$as_echo_n "checking for _finitef declaration... " >&6; }
25558  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25559    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25560  $as_echo_n "(cached) " >&6
25561else
25562
25563
25564      ac_ext=cpp
25565ac_cpp='$CXXCPP $CPPFLAGS'
25566ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25567ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25568ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25569
25570      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25571/* end confdefs.h.  */
25572#include <math.h>
25573		      #ifdef HAVE_IEEEFP_H
25574		      #include <ieeefp.h>
25575		      #endif
25576
25577int
25578main ()
25579{
25580 _finitef(0);
25581  ;
25582  return 0;
25583}
25584_ACEOF
25585if ac_fn_cxx_try_compile "$LINENO"; then :
25586  glibcxx_cv_func__finitef_use=yes
25587else
25588  glibcxx_cv_func__finitef_use=no
25589fi
25590rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25591      ac_ext=c
25592ac_cpp='$CPP $CPPFLAGS'
25593ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25594ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25595ac_compiler_gnu=$ac_cv_c_compiler_gnu
25596
25597
25598fi
25599
25600  fi
25601  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25602$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25603
25604    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25605      for ac_func in _finitef
25606do :
25607  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25608if test "x$ac_cv_func__finitef" = x""yes; then :
25609  cat >>confdefs.h <<_ACEOF
25610#define HAVE__FINITEF 1
25611_ACEOF
25612
25613fi
25614done
25615
25616    fi
25617  fi
25618
25619
25620
25621
25622
25623    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25624$as_echo_n "checking for long double trig functions... " >&6; }
25625  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25626  $as_echo_n "(cached) " >&6
25627else
25628
25629
25630    ac_ext=cpp
25631ac_cpp='$CXXCPP $CPPFLAGS'
25632ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25633ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25634ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25635
25636    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25637/* end confdefs.h.  */
25638#include <math.h>
25639int
25640main ()
25641{
25642acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25643  ;
25644  return 0;
25645}
25646_ACEOF
25647if ac_fn_cxx_try_compile "$LINENO"; then :
25648  glibcxx_cv_func_long_double_trig_use=yes
25649else
25650  glibcxx_cv_func_long_double_trig_use=no
25651fi
25652rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25653    ac_ext=c
25654ac_cpp='$CPP $CPPFLAGS'
25655ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25656ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25657ac_compiler_gnu=$ac_cv_c_compiler_gnu
25658
25659fi
25660
25661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25662$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25663  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25664    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25665do :
25666  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25667ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25668eval as_val=\$$as_ac_var
25669   if test "x$as_val" = x""yes; then :
25670  cat >>confdefs.h <<_ACEOF
25671#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25672_ACEOF
25673
25674fi
25675done
25676
25677  else
25678    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25679$as_echo_n "checking for _long double trig functions... " >&6; }
25680    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25681  $as_echo_n "(cached) " >&6
25682else
25683
25684
25685      ac_ext=cpp
25686ac_cpp='$CXXCPP $CPPFLAGS'
25687ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25688ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25689ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25690
25691      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25692/* end confdefs.h.  */
25693#include <math.h>
25694int
25695main ()
25696{
25697_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25698  ;
25699  return 0;
25700}
25701_ACEOF
25702if ac_fn_cxx_try_compile "$LINENO"; then :
25703  glibcxx_cv_func__long_double_trig_use=yes
25704else
25705  glibcxx_cv_func__long_double_trig_use=no
25706fi
25707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25708      ac_ext=c
25709ac_cpp='$CPP $CPPFLAGS'
25710ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25711ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25712ac_compiler_gnu=$ac_cv_c_compiler_gnu
25713
25714fi
25715
25716    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25717$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25718    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25719      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25720do :
25721  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25722ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25723eval as_val=\$$as_ac_var
25724   if test "x$as_val" = x""yes; then :
25725  cat >>confdefs.h <<_ACEOF
25726#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25727_ACEOF
25728
25729fi
25730done
25731
25732    fi
25733  fi
25734
25735
25736
25737
25738
25739    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25740$as_echo_n "checking for long double round functions... " >&6; }
25741  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25742  $as_echo_n "(cached) " >&6
25743else
25744
25745
25746    ac_ext=cpp
25747ac_cpp='$CXXCPP $CPPFLAGS'
25748ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25749ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25750ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25751
25752    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25753/* end confdefs.h.  */
25754#include <math.h>
25755int
25756main ()
25757{
25758ceill (0); floorl (0);
25759  ;
25760  return 0;
25761}
25762_ACEOF
25763if ac_fn_cxx_try_compile "$LINENO"; then :
25764  glibcxx_cv_func_long_double_round_use=yes
25765else
25766  glibcxx_cv_func_long_double_round_use=no
25767fi
25768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25769    ac_ext=c
25770ac_cpp='$CPP $CPPFLAGS'
25771ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25772ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25773ac_compiler_gnu=$ac_cv_c_compiler_gnu
25774
25775fi
25776
25777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25778$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25779  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25780    for ac_func in ceill floorl
25781do :
25782  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25783ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25784eval as_val=\$$as_ac_var
25785   if test "x$as_val" = x""yes; then :
25786  cat >>confdefs.h <<_ACEOF
25787#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25788_ACEOF
25789
25790fi
25791done
25792
25793  else
25794    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25795$as_echo_n "checking for _long double round functions... " >&6; }
25796    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25797  $as_echo_n "(cached) " >&6
25798else
25799
25800
25801      ac_ext=cpp
25802ac_cpp='$CXXCPP $CPPFLAGS'
25803ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25804ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25805ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25806
25807      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25808/* end confdefs.h.  */
25809#include <math.h>
25810int
25811main ()
25812{
25813_ceill (0); _floorl (0);
25814  ;
25815  return 0;
25816}
25817_ACEOF
25818if ac_fn_cxx_try_compile "$LINENO"; then :
25819  glibcxx_cv_func__long_double_round_use=yes
25820else
25821  glibcxx_cv_func__long_double_round_use=no
25822fi
25823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25824      ac_ext=c
25825ac_cpp='$CPP $CPPFLAGS'
25826ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25827ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25828ac_compiler_gnu=$ac_cv_c_compiler_gnu
25829
25830fi
25831
25832    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25833$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25834    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25835      for ac_func in _ceill _floorl
25836do :
25837  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25838ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25839eval as_val=\$$as_ac_var
25840   if test "x$as_val" = x""yes; then :
25841  cat >>confdefs.h <<_ACEOF
25842#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25843_ACEOF
25844
25845fi
25846done
25847
25848    fi
25849  fi
25850
25851
25852
25853
25854
25855
25856  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25857$as_echo_n "checking for isnanl declaration... " >&6; }
25858  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25859    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25860  $as_echo_n "(cached) " >&6
25861else
25862
25863
25864      ac_ext=cpp
25865ac_cpp='$CXXCPP $CPPFLAGS'
25866ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25867ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25868ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25869
25870      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25871/* end confdefs.h.  */
25872#include <math.h>
25873		      #ifdef HAVE_IEEEFP_H
25874		      #include <ieeefp.h>
25875		      #endif
25876
25877int
25878main ()
25879{
25880 isnanl(0);
25881  ;
25882  return 0;
25883}
25884_ACEOF
25885if ac_fn_cxx_try_compile "$LINENO"; then :
25886  glibcxx_cv_func_isnanl_use=yes
25887else
25888  glibcxx_cv_func_isnanl_use=no
25889fi
25890rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25891      ac_ext=c
25892ac_cpp='$CPP $CPPFLAGS'
25893ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25894ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25895ac_compiler_gnu=$ac_cv_c_compiler_gnu
25896
25897
25898fi
25899
25900  fi
25901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25902$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25903
25904  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25905    for ac_func in isnanl
25906do :
25907  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25908if test "x$ac_cv_func_isnanl" = x""yes; then :
25909  cat >>confdefs.h <<_ACEOF
25910#define HAVE_ISNANL 1
25911_ACEOF
25912
25913fi
25914done
25915
25916  else
25917
25918  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25919$as_echo_n "checking for _isnanl declaration... " >&6; }
25920  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25921    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25922  $as_echo_n "(cached) " >&6
25923else
25924
25925
25926      ac_ext=cpp
25927ac_cpp='$CXXCPP $CPPFLAGS'
25928ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25929ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25930ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25931
25932      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25933/* end confdefs.h.  */
25934#include <math.h>
25935		      #ifdef HAVE_IEEEFP_H
25936		      #include <ieeefp.h>
25937		      #endif
25938
25939int
25940main ()
25941{
25942 _isnanl(0);
25943  ;
25944  return 0;
25945}
25946_ACEOF
25947if ac_fn_cxx_try_compile "$LINENO"; then :
25948  glibcxx_cv_func__isnanl_use=yes
25949else
25950  glibcxx_cv_func__isnanl_use=no
25951fi
25952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25953      ac_ext=c
25954ac_cpp='$CPP $CPPFLAGS'
25955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25957ac_compiler_gnu=$ac_cv_c_compiler_gnu
25958
25959
25960fi
25961
25962  fi
25963  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25964$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25965
25966    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25967      for ac_func in _isnanl
25968do :
25969  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25970if test "x$ac_cv_func__isnanl" = x""yes; then :
25971  cat >>confdefs.h <<_ACEOF
25972#define HAVE__ISNANL 1
25973_ACEOF
25974
25975fi
25976done
25977
25978    fi
25979  fi
25980
25981
25982
25983
25984
25985  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25986$as_echo_n "checking for isinfl declaration... " >&6; }
25987  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25988    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25989  $as_echo_n "(cached) " >&6
25990else
25991
25992
25993      ac_ext=cpp
25994ac_cpp='$CXXCPP $CPPFLAGS'
25995ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25996ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25997ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25998
25999      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26000/* end confdefs.h.  */
26001#include <math.h>
26002		      #ifdef HAVE_IEEEFP_H
26003		      #include <ieeefp.h>
26004		      #endif
26005
26006int
26007main ()
26008{
26009 isinfl(0);
26010  ;
26011  return 0;
26012}
26013_ACEOF
26014if ac_fn_cxx_try_compile "$LINENO"; then :
26015  glibcxx_cv_func_isinfl_use=yes
26016else
26017  glibcxx_cv_func_isinfl_use=no
26018fi
26019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26020      ac_ext=c
26021ac_cpp='$CPP $CPPFLAGS'
26022ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26023ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26024ac_compiler_gnu=$ac_cv_c_compiler_gnu
26025
26026
26027fi
26028
26029  fi
26030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26031$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26032
26033  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26034    for ac_func in isinfl
26035do :
26036  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26037if test "x$ac_cv_func_isinfl" = x""yes; then :
26038  cat >>confdefs.h <<_ACEOF
26039#define HAVE_ISINFL 1
26040_ACEOF
26041
26042fi
26043done
26044
26045  else
26046
26047  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26048$as_echo_n "checking for _isinfl declaration... " >&6; }
26049  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26050    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
26051  $as_echo_n "(cached) " >&6
26052else
26053
26054
26055      ac_ext=cpp
26056ac_cpp='$CXXCPP $CPPFLAGS'
26057ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26058ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26059ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26060
26061      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26062/* end confdefs.h.  */
26063#include <math.h>
26064		      #ifdef HAVE_IEEEFP_H
26065		      #include <ieeefp.h>
26066		      #endif
26067
26068int
26069main ()
26070{
26071 _isinfl(0);
26072  ;
26073  return 0;
26074}
26075_ACEOF
26076if ac_fn_cxx_try_compile "$LINENO"; then :
26077  glibcxx_cv_func__isinfl_use=yes
26078else
26079  glibcxx_cv_func__isinfl_use=no
26080fi
26081rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26082      ac_ext=c
26083ac_cpp='$CPP $CPPFLAGS'
26084ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26085ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26086ac_compiler_gnu=$ac_cv_c_compiler_gnu
26087
26088
26089fi
26090
26091  fi
26092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26093$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26094
26095    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26096      for ac_func in _isinfl
26097do :
26098  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26099if test "x$ac_cv_func__isinfl" = x""yes; then :
26100  cat >>confdefs.h <<_ACEOF
26101#define HAVE__ISINFL 1
26102_ACEOF
26103
26104fi
26105done
26106
26107    fi
26108  fi
26109
26110
26111
26112
26113
26114  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26115$as_echo_n "checking for atan2l declaration... " >&6; }
26116  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26117    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
26118  $as_echo_n "(cached) " >&6
26119else
26120
26121
26122      ac_ext=cpp
26123ac_cpp='$CXXCPP $CPPFLAGS'
26124ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26125ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26126ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26127
26128      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26129/* end confdefs.h.  */
26130#include <math.h>
26131int
26132main ()
26133{
26134 atan2l(0, 0);
26135  ;
26136  return 0;
26137}
26138_ACEOF
26139if ac_fn_cxx_try_compile "$LINENO"; then :
26140  glibcxx_cv_func_atan2l_use=yes
26141else
26142  glibcxx_cv_func_atan2l_use=no
26143fi
26144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26145      ac_ext=c
26146ac_cpp='$CPP $CPPFLAGS'
26147ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26148ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26149ac_compiler_gnu=$ac_cv_c_compiler_gnu
26150
26151
26152fi
26153
26154  fi
26155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26156$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26157
26158  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26159    for ac_func in atan2l
26160do :
26161  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26162if test "x$ac_cv_func_atan2l" = x""yes; then :
26163  cat >>confdefs.h <<_ACEOF
26164#define HAVE_ATAN2L 1
26165_ACEOF
26166
26167fi
26168done
26169
26170  else
26171
26172  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26173$as_echo_n "checking for _atan2l declaration... " >&6; }
26174  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26175    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
26176  $as_echo_n "(cached) " >&6
26177else
26178
26179
26180      ac_ext=cpp
26181ac_cpp='$CXXCPP $CPPFLAGS'
26182ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26183ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26184ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26185
26186      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26187/* end confdefs.h.  */
26188#include <math.h>
26189int
26190main ()
26191{
26192 _atan2l(0, 0);
26193  ;
26194  return 0;
26195}
26196_ACEOF
26197if ac_fn_cxx_try_compile "$LINENO"; then :
26198  glibcxx_cv_func__atan2l_use=yes
26199else
26200  glibcxx_cv_func__atan2l_use=no
26201fi
26202rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26203      ac_ext=c
26204ac_cpp='$CPP $CPPFLAGS'
26205ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26206ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26207ac_compiler_gnu=$ac_cv_c_compiler_gnu
26208
26209
26210fi
26211
26212  fi
26213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26214$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26215
26216    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26217      for ac_func in _atan2l
26218do :
26219  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26220if test "x$ac_cv_func__atan2l" = x""yes; then :
26221  cat >>confdefs.h <<_ACEOF
26222#define HAVE__ATAN2L 1
26223_ACEOF
26224
26225fi
26226done
26227
26228    fi
26229  fi
26230
26231
26232
26233
26234
26235  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26236$as_echo_n "checking for expl declaration... " >&6; }
26237  if test x${glibcxx_cv_func_expl_use+set} != xset; then
26238    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
26239  $as_echo_n "(cached) " >&6
26240else
26241
26242
26243      ac_ext=cpp
26244ac_cpp='$CXXCPP $CPPFLAGS'
26245ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26246ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26247ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26248
26249      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26250/* end confdefs.h.  */
26251#include <math.h>
26252		      #ifdef HAVE_IEEEFP_H
26253		      #include <ieeefp.h>
26254		      #endif
26255
26256int
26257main ()
26258{
26259 expl(0);
26260  ;
26261  return 0;
26262}
26263_ACEOF
26264if ac_fn_cxx_try_compile "$LINENO"; then :
26265  glibcxx_cv_func_expl_use=yes
26266else
26267  glibcxx_cv_func_expl_use=no
26268fi
26269rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26270      ac_ext=c
26271ac_cpp='$CPP $CPPFLAGS'
26272ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26273ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26274ac_compiler_gnu=$ac_cv_c_compiler_gnu
26275
26276
26277fi
26278
26279  fi
26280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26281$as_echo "$glibcxx_cv_func_expl_use" >&6; }
26282
26283  if test x$glibcxx_cv_func_expl_use = x"yes"; then
26284    for ac_func in expl
26285do :
26286  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26287if test "x$ac_cv_func_expl" = x""yes; then :
26288  cat >>confdefs.h <<_ACEOF
26289#define HAVE_EXPL 1
26290_ACEOF
26291
26292fi
26293done
26294
26295  else
26296
26297  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26298$as_echo_n "checking for _expl declaration... " >&6; }
26299  if test x${glibcxx_cv_func__expl_use+set} != xset; then
26300    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
26301  $as_echo_n "(cached) " >&6
26302else
26303
26304
26305      ac_ext=cpp
26306ac_cpp='$CXXCPP $CPPFLAGS'
26307ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26308ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26309ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26310
26311      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26312/* end confdefs.h.  */
26313#include <math.h>
26314		      #ifdef HAVE_IEEEFP_H
26315		      #include <ieeefp.h>
26316		      #endif
26317
26318int
26319main ()
26320{
26321 _expl(0);
26322  ;
26323  return 0;
26324}
26325_ACEOF
26326if ac_fn_cxx_try_compile "$LINENO"; then :
26327  glibcxx_cv_func__expl_use=yes
26328else
26329  glibcxx_cv_func__expl_use=no
26330fi
26331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26332      ac_ext=c
26333ac_cpp='$CPP $CPPFLAGS'
26334ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26335ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26336ac_compiler_gnu=$ac_cv_c_compiler_gnu
26337
26338
26339fi
26340
26341  fi
26342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26343$as_echo "$glibcxx_cv_func__expl_use" >&6; }
26344
26345    if test x$glibcxx_cv_func__expl_use = x"yes"; then
26346      for ac_func in _expl
26347do :
26348  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26349if test "x$ac_cv_func__expl" = x""yes; then :
26350  cat >>confdefs.h <<_ACEOF
26351#define HAVE__EXPL 1
26352_ACEOF
26353
26354fi
26355done
26356
26357    fi
26358  fi
26359
26360
26361
26362
26363
26364  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26365$as_echo_n "checking for fabsl declaration... " >&6; }
26366  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26367    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
26368  $as_echo_n "(cached) " >&6
26369else
26370
26371
26372      ac_ext=cpp
26373ac_cpp='$CXXCPP $CPPFLAGS'
26374ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26375ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26376ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26377
26378      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26379/* end confdefs.h.  */
26380#include <math.h>
26381		      #ifdef HAVE_IEEEFP_H
26382		      #include <ieeefp.h>
26383		      #endif
26384
26385int
26386main ()
26387{
26388 fabsl(0);
26389  ;
26390  return 0;
26391}
26392_ACEOF
26393if ac_fn_cxx_try_compile "$LINENO"; then :
26394  glibcxx_cv_func_fabsl_use=yes
26395else
26396  glibcxx_cv_func_fabsl_use=no
26397fi
26398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26399      ac_ext=c
26400ac_cpp='$CPP $CPPFLAGS'
26401ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26402ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26403ac_compiler_gnu=$ac_cv_c_compiler_gnu
26404
26405
26406fi
26407
26408  fi
26409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26410$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26411
26412  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26413    for ac_func in fabsl
26414do :
26415  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26416if test "x$ac_cv_func_fabsl" = x""yes; then :
26417  cat >>confdefs.h <<_ACEOF
26418#define HAVE_FABSL 1
26419_ACEOF
26420
26421fi
26422done
26423
26424  else
26425
26426  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26427$as_echo_n "checking for _fabsl declaration... " >&6; }
26428  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26429    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26430  $as_echo_n "(cached) " >&6
26431else
26432
26433
26434      ac_ext=cpp
26435ac_cpp='$CXXCPP $CPPFLAGS'
26436ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26437ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26438ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26439
26440      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26441/* end confdefs.h.  */
26442#include <math.h>
26443		      #ifdef HAVE_IEEEFP_H
26444		      #include <ieeefp.h>
26445		      #endif
26446
26447int
26448main ()
26449{
26450 _fabsl(0);
26451  ;
26452  return 0;
26453}
26454_ACEOF
26455if ac_fn_cxx_try_compile "$LINENO"; then :
26456  glibcxx_cv_func__fabsl_use=yes
26457else
26458  glibcxx_cv_func__fabsl_use=no
26459fi
26460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26461      ac_ext=c
26462ac_cpp='$CPP $CPPFLAGS'
26463ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26464ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26465ac_compiler_gnu=$ac_cv_c_compiler_gnu
26466
26467
26468fi
26469
26470  fi
26471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26472$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26473
26474    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26475      for ac_func in _fabsl
26476do :
26477  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26478if test "x$ac_cv_func__fabsl" = x""yes; then :
26479  cat >>confdefs.h <<_ACEOF
26480#define HAVE__FABSL 1
26481_ACEOF
26482
26483fi
26484done
26485
26486    fi
26487  fi
26488
26489
26490
26491
26492
26493  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26494$as_echo_n "checking for fmodl declaration... " >&6; }
26495  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26496    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26497  $as_echo_n "(cached) " >&6
26498else
26499
26500
26501      ac_ext=cpp
26502ac_cpp='$CXXCPP $CPPFLAGS'
26503ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26504ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26505ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26506
26507      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26508/* end confdefs.h.  */
26509#include <math.h>
26510int
26511main ()
26512{
26513 fmodl(0, 0);
26514  ;
26515  return 0;
26516}
26517_ACEOF
26518if ac_fn_cxx_try_compile "$LINENO"; then :
26519  glibcxx_cv_func_fmodl_use=yes
26520else
26521  glibcxx_cv_func_fmodl_use=no
26522fi
26523rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26524      ac_ext=c
26525ac_cpp='$CPP $CPPFLAGS'
26526ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26527ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26528ac_compiler_gnu=$ac_cv_c_compiler_gnu
26529
26530
26531fi
26532
26533  fi
26534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26535$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26536
26537  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26538    for ac_func in fmodl
26539do :
26540  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26541if test "x$ac_cv_func_fmodl" = x""yes; then :
26542  cat >>confdefs.h <<_ACEOF
26543#define HAVE_FMODL 1
26544_ACEOF
26545
26546fi
26547done
26548
26549  else
26550
26551  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26552$as_echo_n "checking for _fmodl declaration... " >&6; }
26553  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26554    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26555  $as_echo_n "(cached) " >&6
26556else
26557
26558
26559      ac_ext=cpp
26560ac_cpp='$CXXCPP $CPPFLAGS'
26561ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26562ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26563ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26564
26565      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26566/* end confdefs.h.  */
26567#include <math.h>
26568int
26569main ()
26570{
26571 _fmodl(0, 0);
26572  ;
26573  return 0;
26574}
26575_ACEOF
26576if ac_fn_cxx_try_compile "$LINENO"; then :
26577  glibcxx_cv_func__fmodl_use=yes
26578else
26579  glibcxx_cv_func__fmodl_use=no
26580fi
26581rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26582      ac_ext=c
26583ac_cpp='$CPP $CPPFLAGS'
26584ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26585ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26586ac_compiler_gnu=$ac_cv_c_compiler_gnu
26587
26588
26589fi
26590
26591  fi
26592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26593$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26594
26595    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26596      for ac_func in _fmodl
26597do :
26598  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26599if test "x$ac_cv_func__fmodl" = x""yes; then :
26600  cat >>confdefs.h <<_ACEOF
26601#define HAVE__FMODL 1
26602_ACEOF
26603
26604fi
26605done
26606
26607    fi
26608  fi
26609
26610
26611
26612
26613
26614  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26615$as_echo_n "checking for frexpl declaration... " >&6; }
26616  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26617    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26618  $as_echo_n "(cached) " >&6
26619else
26620
26621
26622      ac_ext=cpp
26623ac_cpp='$CXXCPP $CPPFLAGS'
26624ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26625ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26626ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26627
26628      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26629/* end confdefs.h.  */
26630#include <math.h>
26631int
26632main ()
26633{
26634 frexpl(0, 0);
26635  ;
26636  return 0;
26637}
26638_ACEOF
26639if ac_fn_cxx_try_compile "$LINENO"; then :
26640  glibcxx_cv_func_frexpl_use=yes
26641else
26642  glibcxx_cv_func_frexpl_use=no
26643fi
26644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26645      ac_ext=c
26646ac_cpp='$CPP $CPPFLAGS'
26647ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26648ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26649ac_compiler_gnu=$ac_cv_c_compiler_gnu
26650
26651
26652fi
26653
26654  fi
26655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26656$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26657
26658  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26659    for ac_func in frexpl
26660do :
26661  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26662if test "x$ac_cv_func_frexpl" = x""yes; then :
26663  cat >>confdefs.h <<_ACEOF
26664#define HAVE_FREXPL 1
26665_ACEOF
26666
26667fi
26668done
26669
26670  else
26671
26672  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26673$as_echo_n "checking for _frexpl declaration... " >&6; }
26674  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26675    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26676  $as_echo_n "(cached) " >&6
26677else
26678
26679
26680      ac_ext=cpp
26681ac_cpp='$CXXCPP $CPPFLAGS'
26682ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26683ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26684ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26685
26686      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26687/* end confdefs.h.  */
26688#include <math.h>
26689int
26690main ()
26691{
26692 _frexpl(0, 0);
26693  ;
26694  return 0;
26695}
26696_ACEOF
26697if ac_fn_cxx_try_compile "$LINENO"; then :
26698  glibcxx_cv_func__frexpl_use=yes
26699else
26700  glibcxx_cv_func__frexpl_use=no
26701fi
26702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26703      ac_ext=c
26704ac_cpp='$CPP $CPPFLAGS'
26705ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26706ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26707ac_compiler_gnu=$ac_cv_c_compiler_gnu
26708
26709
26710fi
26711
26712  fi
26713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26714$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26715
26716    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26717      for ac_func in _frexpl
26718do :
26719  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26720if test "x$ac_cv_func__frexpl" = x""yes; then :
26721  cat >>confdefs.h <<_ACEOF
26722#define HAVE__FREXPL 1
26723_ACEOF
26724
26725fi
26726done
26727
26728    fi
26729  fi
26730
26731
26732
26733
26734
26735  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26736$as_echo_n "checking for hypotl declaration... " >&6; }
26737  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26738    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26739  $as_echo_n "(cached) " >&6
26740else
26741
26742
26743      ac_ext=cpp
26744ac_cpp='$CXXCPP $CPPFLAGS'
26745ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26746ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26747ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26748
26749      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26750/* end confdefs.h.  */
26751#include <math.h>
26752int
26753main ()
26754{
26755 hypotl(0, 0);
26756  ;
26757  return 0;
26758}
26759_ACEOF
26760if ac_fn_cxx_try_compile "$LINENO"; then :
26761  glibcxx_cv_func_hypotl_use=yes
26762else
26763  glibcxx_cv_func_hypotl_use=no
26764fi
26765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26766      ac_ext=c
26767ac_cpp='$CPP $CPPFLAGS'
26768ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26769ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26770ac_compiler_gnu=$ac_cv_c_compiler_gnu
26771
26772
26773fi
26774
26775  fi
26776  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26777$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26778
26779  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26780    for ac_func in hypotl
26781do :
26782  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26783if test "x$ac_cv_func_hypotl" = x""yes; then :
26784  cat >>confdefs.h <<_ACEOF
26785#define HAVE_HYPOTL 1
26786_ACEOF
26787
26788fi
26789done
26790
26791  else
26792
26793  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26794$as_echo_n "checking for _hypotl declaration... " >&6; }
26795  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26796    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26797  $as_echo_n "(cached) " >&6
26798else
26799
26800
26801      ac_ext=cpp
26802ac_cpp='$CXXCPP $CPPFLAGS'
26803ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26804ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26805ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26806
26807      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26808/* end confdefs.h.  */
26809#include <math.h>
26810int
26811main ()
26812{
26813 _hypotl(0, 0);
26814  ;
26815  return 0;
26816}
26817_ACEOF
26818if ac_fn_cxx_try_compile "$LINENO"; then :
26819  glibcxx_cv_func__hypotl_use=yes
26820else
26821  glibcxx_cv_func__hypotl_use=no
26822fi
26823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26824      ac_ext=c
26825ac_cpp='$CPP $CPPFLAGS'
26826ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26827ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26828ac_compiler_gnu=$ac_cv_c_compiler_gnu
26829
26830
26831fi
26832
26833  fi
26834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26835$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26836
26837    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26838      for ac_func in _hypotl
26839do :
26840  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26841if test "x$ac_cv_func__hypotl" = x""yes; then :
26842  cat >>confdefs.h <<_ACEOF
26843#define HAVE__HYPOTL 1
26844_ACEOF
26845
26846fi
26847done
26848
26849    fi
26850  fi
26851
26852
26853
26854
26855
26856  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26857$as_echo_n "checking for ldexpl declaration... " >&6; }
26858  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26859    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26860  $as_echo_n "(cached) " >&6
26861else
26862
26863
26864      ac_ext=cpp
26865ac_cpp='$CXXCPP $CPPFLAGS'
26866ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26867ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26868ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26869
26870      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26871/* end confdefs.h.  */
26872#include <math.h>
26873int
26874main ()
26875{
26876 ldexpl(0, 0);
26877  ;
26878  return 0;
26879}
26880_ACEOF
26881if ac_fn_cxx_try_compile "$LINENO"; then :
26882  glibcxx_cv_func_ldexpl_use=yes
26883else
26884  glibcxx_cv_func_ldexpl_use=no
26885fi
26886rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26887      ac_ext=c
26888ac_cpp='$CPP $CPPFLAGS'
26889ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26890ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26891ac_compiler_gnu=$ac_cv_c_compiler_gnu
26892
26893
26894fi
26895
26896  fi
26897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26898$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26899
26900  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26901    for ac_func in ldexpl
26902do :
26903  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26904if test "x$ac_cv_func_ldexpl" = x""yes; then :
26905  cat >>confdefs.h <<_ACEOF
26906#define HAVE_LDEXPL 1
26907_ACEOF
26908
26909fi
26910done
26911
26912  else
26913
26914  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26915$as_echo_n "checking for _ldexpl declaration... " >&6; }
26916  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26917    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26918  $as_echo_n "(cached) " >&6
26919else
26920
26921
26922      ac_ext=cpp
26923ac_cpp='$CXXCPP $CPPFLAGS'
26924ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26925ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26926ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26927
26928      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26929/* end confdefs.h.  */
26930#include <math.h>
26931int
26932main ()
26933{
26934 _ldexpl(0, 0);
26935  ;
26936  return 0;
26937}
26938_ACEOF
26939if ac_fn_cxx_try_compile "$LINENO"; then :
26940  glibcxx_cv_func__ldexpl_use=yes
26941else
26942  glibcxx_cv_func__ldexpl_use=no
26943fi
26944rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26945      ac_ext=c
26946ac_cpp='$CPP $CPPFLAGS'
26947ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26948ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26949ac_compiler_gnu=$ac_cv_c_compiler_gnu
26950
26951
26952fi
26953
26954  fi
26955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26956$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26957
26958    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26959      for ac_func in _ldexpl
26960do :
26961  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26962if test "x$ac_cv_func__ldexpl" = x""yes; then :
26963  cat >>confdefs.h <<_ACEOF
26964#define HAVE__LDEXPL 1
26965_ACEOF
26966
26967fi
26968done
26969
26970    fi
26971  fi
26972
26973
26974
26975
26976
26977  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26978$as_echo_n "checking for logl declaration... " >&6; }
26979  if test x${glibcxx_cv_func_logl_use+set} != xset; then
26980    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26981  $as_echo_n "(cached) " >&6
26982else
26983
26984
26985      ac_ext=cpp
26986ac_cpp='$CXXCPP $CPPFLAGS'
26987ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26988ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26989ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26990
26991      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26992/* end confdefs.h.  */
26993#include <math.h>
26994		      #ifdef HAVE_IEEEFP_H
26995		      #include <ieeefp.h>
26996		      #endif
26997
26998int
26999main ()
27000{
27001 logl(0);
27002  ;
27003  return 0;
27004}
27005_ACEOF
27006if ac_fn_cxx_try_compile "$LINENO"; then :
27007  glibcxx_cv_func_logl_use=yes
27008else
27009  glibcxx_cv_func_logl_use=no
27010fi
27011rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27012      ac_ext=c
27013ac_cpp='$CPP $CPPFLAGS'
27014ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27015ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27016ac_compiler_gnu=$ac_cv_c_compiler_gnu
27017
27018
27019fi
27020
27021  fi
27022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27023$as_echo "$glibcxx_cv_func_logl_use" >&6; }
27024
27025  if test x$glibcxx_cv_func_logl_use = x"yes"; then
27026    for ac_func in logl
27027do :
27028  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27029if test "x$ac_cv_func_logl" = x""yes; then :
27030  cat >>confdefs.h <<_ACEOF
27031#define HAVE_LOGL 1
27032_ACEOF
27033
27034fi
27035done
27036
27037  else
27038
27039  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27040$as_echo_n "checking for _logl declaration... " >&6; }
27041  if test x${glibcxx_cv_func__logl_use+set} != xset; then
27042    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
27043  $as_echo_n "(cached) " >&6
27044else
27045
27046
27047      ac_ext=cpp
27048ac_cpp='$CXXCPP $CPPFLAGS'
27049ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27050ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27051ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27052
27053      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27054/* end confdefs.h.  */
27055#include <math.h>
27056		      #ifdef HAVE_IEEEFP_H
27057		      #include <ieeefp.h>
27058		      #endif
27059
27060int
27061main ()
27062{
27063 _logl(0);
27064  ;
27065  return 0;
27066}
27067_ACEOF
27068if ac_fn_cxx_try_compile "$LINENO"; then :
27069  glibcxx_cv_func__logl_use=yes
27070else
27071  glibcxx_cv_func__logl_use=no
27072fi
27073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27074      ac_ext=c
27075ac_cpp='$CPP $CPPFLAGS'
27076ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27077ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27078ac_compiler_gnu=$ac_cv_c_compiler_gnu
27079
27080
27081fi
27082
27083  fi
27084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27085$as_echo "$glibcxx_cv_func__logl_use" >&6; }
27086
27087    if test x$glibcxx_cv_func__logl_use = x"yes"; then
27088      for ac_func in _logl
27089do :
27090  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27091if test "x$ac_cv_func__logl" = x""yes; then :
27092  cat >>confdefs.h <<_ACEOF
27093#define HAVE__LOGL 1
27094_ACEOF
27095
27096fi
27097done
27098
27099    fi
27100  fi
27101
27102
27103
27104
27105
27106  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27107$as_echo_n "checking for log10l declaration... " >&6; }
27108  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27109    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
27110  $as_echo_n "(cached) " >&6
27111else
27112
27113
27114      ac_ext=cpp
27115ac_cpp='$CXXCPP $CPPFLAGS'
27116ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27117ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27118ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27119
27120      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27121/* end confdefs.h.  */
27122#include <math.h>
27123		      #ifdef HAVE_IEEEFP_H
27124		      #include <ieeefp.h>
27125		      #endif
27126
27127int
27128main ()
27129{
27130 log10l(0);
27131  ;
27132  return 0;
27133}
27134_ACEOF
27135if ac_fn_cxx_try_compile "$LINENO"; then :
27136  glibcxx_cv_func_log10l_use=yes
27137else
27138  glibcxx_cv_func_log10l_use=no
27139fi
27140rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27141      ac_ext=c
27142ac_cpp='$CPP $CPPFLAGS'
27143ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27144ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27145ac_compiler_gnu=$ac_cv_c_compiler_gnu
27146
27147
27148fi
27149
27150  fi
27151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27152$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27153
27154  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27155    for ac_func in log10l
27156do :
27157  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27158if test "x$ac_cv_func_log10l" = x""yes; then :
27159  cat >>confdefs.h <<_ACEOF
27160#define HAVE_LOG10L 1
27161_ACEOF
27162
27163fi
27164done
27165
27166  else
27167
27168  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27169$as_echo_n "checking for _log10l declaration... " >&6; }
27170  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27171    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
27172  $as_echo_n "(cached) " >&6
27173else
27174
27175
27176      ac_ext=cpp
27177ac_cpp='$CXXCPP $CPPFLAGS'
27178ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27179ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27180ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27181
27182      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27183/* end confdefs.h.  */
27184#include <math.h>
27185		      #ifdef HAVE_IEEEFP_H
27186		      #include <ieeefp.h>
27187		      #endif
27188
27189int
27190main ()
27191{
27192 _log10l(0);
27193  ;
27194  return 0;
27195}
27196_ACEOF
27197if ac_fn_cxx_try_compile "$LINENO"; then :
27198  glibcxx_cv_func__log10l_use=yes
27199else
27200  glibcxx_cv_func__log10l_use=no
27201fi
27202rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27203      ac_ext=c
27204ac_cpp='$CPP $CPPFLAGS'
27205ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27206ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27207ac_compiler_gnu=$ac_cv_c_compiler_gnu
27208
27209
27210fi
27211
27212  fi
27213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27214$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27215
27216    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27217      for ac_func in _log10l
27218do :
27219  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27220if test "x$ac_cv_func__log10l" = x""yes; then :
27221  cat >>confdefs.h <<_ACEOF
27222#define HAVE__LOG10L 1
27223_ACEOF
27224
27225fi
27226done
27227
27228    fi
27229  fi
27230
27231
27232
27233
27234
27235  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27236$as_echo_n "checking for modfl declaration... " >&6; }
27237  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27238    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
27239  $as_echo_n "(cached) " >&6
27240else
27241
27242
27243      ac_ext=cpp
27244ac_cpp='$CXXCPP $CPPFLAGS'
27245ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27246ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27247ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27248
27249      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27250/* end confdefs.h.  */
27251#include <math.h>
27252int
27253main ()
27254{
27255 modfl(0, 0);
27256  ;
27257  return 0;
27258}
27259_ACEOF
27260if ac_fn_cxx_try_compile "$LINENO"; then :
27261  glibcxx_cv_func_modfl_use=yes
27262else
27263  glibcxx_cv_func_modfl_use=no
27264fi
27265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27266      ac_ext=c
27267ac_cpp='$CPP $CPPFLAGS'
27268ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27269ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27270ac_compiler_gnu=$ac_cv_c_compiler_gnu
27271
27272
27273fi
27274
27275  fi
27276  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27277$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27278
27279  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27280    for ac_func in modfl
27281do :
27282  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27283if test "x$ac_cv_func_modfl" = x""yes; then :
27284  cat >>confdefs.h <<_ACEOF
27285#define HAVE_MODFL 1
27286_ACEOF
27287
27288fi
27289done
27290
27291  else
27292
27293  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27294$as_echo_n "checking for _modfl declaration... " >&6; }
27295  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27296    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
27297  $as_echo_n "(cached) " >&6
27298else
27299
27300
27301      ac_ext=cpp
27302ac_cpp='$CXXCPP $CPPFLAGS'
27303ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27304ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27305ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27306
27307      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27308/* end confdefs.h.  */
27309#include <math.h>
27310int
27311main ()
27312{
27313 _modfl(0, 0);
27314  ;
27315  return 0;
27316}
27317_ACEOF
27318if ac_fn_cxx_try_compile "$LINENO"; then :
27319  glibcxx_cv_func__modfl_use=yes
27320else
27321  glibcxx_cv_func__modfl_use=no
27322fi
27323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27324      ac_ext=c
27325ac_cpp='$CPP $CPPFLAGS'
27326ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27327ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27328ac_compiler_gnu=$ac_cv_c_compiler_gnu
27329
27330
27331fi
27332
27333  fi
27334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27335$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27336
27337    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27338      for ac_func in _modfl
27339do :
27340  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27341if test "x$ac_cv_func__modfl" = x""yes; then :
27342  cat >>confdefs.h <<_ACEOF
27343#define HAVE__MODFL 1
27344_ACEOF
27345
27346fi
27347done
27348
27349    fi
27350  fi
27351
27352
27353
27354
27355
27356  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27357$as_echo_n "checking for powl declaration... " >&6; }
27358  if test x${glibcxx_cv_func_powl_use+set} != xset; then
27359    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
27360  $as_echo_n "(cached) " >&6
27361else
27362
27363
27364      ac_ext=cpp
27365ac_cpp='$CXXCPP $CPPFLAGS'
27366ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27367ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27368ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27369
27370      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27371/* end confdefs.h.  */
27372#include <math.h>
27373int
27374main ()
27375{
27376 powl(0, 0);
27377  ;
27378  return 0;
27379}
27380_ACEOF
27381if ac_fn_cxx_try_compile "$LINENO"; then :
27382  glibcxx_cv_func_powl_use=yes
27383else
27384  glibcxx_cv_func_powl_use=no
27385fi
27386rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27387      ac_ext=c
27388ac_cpp='$CPP $CPPFLAGS'
27389ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27390ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27391ac_compiler_gnu=$ac_cv_c_compiler_gnu
27392
27393
27394fi
27395
27396  fi
27397  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27398$as_echo "$glibcxx_cv_func_powl_use" >&6; }
27399
27400  if test x$glibcxx_cv_func_powl_use = x"yes"; then
27401    for ac_func in powl
27402do :
27403  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27404if test "x$ac_cv_func_powl" = x""yes; then :
27405  cat >>confdefs.h <<_ACEOF
27406#define HAVE_POWL 1
27407_ACEOF
27408
27409fi
27410done
27411
27412  else
27413
27414  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27415$as_echo_n "checking for _powl declaration... " >&6; }
27416  if test x${glibcxx_cv_func__powl_use+set} != xset; then
27417    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27418  $as_echo_n "(cached) " >&6
27419else
27420
27421
27422      ac_ext=cpp
27423ac_cpp='$CXXCPP $CPPFLAGS'
27424ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27425ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27426ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27427
27428      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27429/* end confdefs.h.  */
27430#include <math.h>
27431int
27432main ()
27433{
27434 _powl(0, 0);
27435  ;
27436  return 0;
27437}
27438_ACEOF
27439if ac_fn_cxx_try_compile "$LINENO"; then :
27440  glibcxx_cv_func__powl_use=yes
27441else
27442  glibcxx_cv_func__powl_use=no
27443fi
27444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27445      ac_ext=c
27446ac_cpp='$CPP $CPPFLAGS'
27447ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27448ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27449ac_compiler_gnu=$ac_cv_c_compiler_gnu
27450
27451
27452fi
27453
27454  fi
27455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27456$as_echo "$glibcxx_cv_func__powl_use" >&6; }
27457
27458    if test x$glibcxx_cv_func__powl_use = x"yes"; then
27459      for ac_func in _powl
27460do :
27461  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27462if test "x$ac_cv_func__powl" = x""yes; then :
27463  cat >>confdefs.h <<_ACEOF
27464#define HAVE__POWL 1
27465_ACEOF
27466
27467fi
27468done
27469
27470    fi
27471  fi
27472
27473
27474
27475
27476
27477  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27478$as_echo_n "checking for sqrtl declaration... " >&6; }
27479  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27480    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27481  $as_echo_n "(cached) " >&6
27482else
27483
27484
27485      ac_ext=cpp
27486ac_cpp='$CXXCPP $CPPFLAGS'
27487ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27488ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27489ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27490
27491      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27492/* end confdefs.h.  */
27493#include <math.h>
27494		      #ifdef HAVE_IEEEFP_H
27495		      #include <ieeefp.h>
27496		      #endif
27497
27498int
27499main ()
27500{
27501 sqrtl(0);
27502  ;
27503  return 0;
27504}
27505_ACEOF
27506if ac_fn_cxx_try_compile "$LINENO"; then :
27507  glibcxx_cv_func_sqrtl_use=yes
27508else
27509  glibcxx_cv_func_sqrtl_use=no
27510fi
27511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27512      ac_ext=c
27513ac_cpp='$CPP $CPPFLAGS'
27514ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27515ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27516ac_compiler_gnu=$ac_cv_c_compiler_gnu
27517
27518
27519fi
27520
27521  fi
27522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27523$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27524
27525  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27526    for ac_func in sqrtl
27527do :
27528  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27529if test "x$ac_cv_func_sqrtl" = x""yes; then :
27530  cat >>confdefs.h <<_ACEOF
27531#define HAVE_SQRTL 1
27532_ACEOF
27533
27534fi
27535done
27536
27537  else
27538
27539  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27540$as_echo_n "checking for _sqrtl declaration... " >&6; }
27541  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27542    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27543  $as_echo_n "(cached) " >&6
27544else
27545
27546
27547      ac_ext=cpp
27548ac_cpp='$CXXCPP $CPPFLAGS'
27549ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27550ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27551ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27552
27553      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27554/* end confdefs.h.  */
27555#include <math.h>
27556		      #ifdef HAVE_IEEEFP_H
27557		      #include <ieeefp.h>
27558		      #endif
27559
27560int
27561main ()
27562{
27563 _sqrtl(0);
27564  ;
27565  return 0;
27566}
27567_ACEOF
27568if ac_fn_cxx_try_compile "$LINENO"; then :
27569  glibcxx_cv_func__sqrtl_use=yes
27570else
27571  glibcxx_cv_func__sqrtl_use=no
27572fi
27573rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27574      ac_ext=c
27575ac_cpp='$CPP $CPPFLAGS'
27576ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27577ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27578ac_compiler_gnu=$ac_cv_c_compiler_gnu
27579
27580
27581fi
27582
27583  fi
27584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27585$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27586
27587    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27588      for ac_func in _sqrtl
27589do :
27590  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27591if test "x$ac_cv_func__sqrtl" = x""yes; then :
27592  cat >>confdefs.h <<_ACEOF
27593#define HAVE__SQRTL 1
27594_ACEOF
27595
27596fi
27597done
27598
27599    fi
27600  fi
27601
27602
27603
27604
27605
27606  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27607$as_echo_n "checking for sincosl declaration... " >&6; }
27608  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27609    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27610  $as_echo_n "(cached) " >&6
27611else
27612
27613
27614      ac_ext=cpp
27615ac_cpp='$CXXCPP $CPPFLAGS'
27616ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27617ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27618ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27619
27620      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27621/* end confdefs.h.  */
27622#include <math.h>
27623int
27624main ()
27625{
27626 sincosl(0, 0, 0);
27627  ;
27628  return 0;
27629}
27630_ACEOF
27631if ac_fn_cxx_try_compile "$LINENO"; then :
27632  glibcxx_cv_func_sincosl_use=yes
27633else
27634  glibcxx_cv_func_sincosl_use=no
27635fi
27636rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27637      ac_ext=c
27638ac_cpp='$CPP $CPPFLAGS'
27639ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27640ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27641ac_compiler_gnu=$ac_cv_c_compiler_gnu
27642
27643
27644fi
27645
27646  fi
27647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27648$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27649
27650  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27651    for ac_func in sincosl
27652do :
27653  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27654if test "x$ac_cv_func_sincosl" = x""yes; then :
27655  cat >>confdefs.h <<_ACEOF
27656#define HAVE_SINCOSL 1
27657_ACEOF
27658
27659fi
27660done
27661
27662  else
27663
27664  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27665$as_echo_n "checking for _sincosl declaration... " >&6; }
27666  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27667    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27668  $as_echo_n "(cached) " >&6
27669else
27670
27671
27672      ac_ext=cpp
27673ac_cpp='$CXXCPP $CPPFLAGS'
27674ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27675ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27676ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27677
27678      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27679/* end confdefs.h.  */
27680#include <math.h>
27681int
27682main ()
27683{
27684 _sincosl(0, 0, 0);
27685  ;
27686  return 0;
27687}
27688_ACEOF
27689if ac_fn_cxx_try_compile "$LINENO"; then :
27690  glibcxx_cv_func__sincosl_use=yes
27691else
27692  glibcxx_cv_func__sincosl_use=no
27693fi
27694rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27695      ac_ext=c
27696ac_cpp='$CPP $CPPFLAGS'
27697ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27698ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27699ac_compiler_gnu=$ac_cv_c_compiler_gnu
27700
27701
27702fi
27703
27704  fi
27705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27706$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27707
27708    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27709      for ac_func in _sincosl
27710do :
27711  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27712if test "x$ac_cv_func__sincosl" = x""yes; then :
27713  cat >>confdefs.h <<_ACEOF
27714#define HAVE__SINCOSL 1
27715_ACEOF
27716
27717fi
27718done
27719
27720    fi
27721  fi
27722
27723
27724
27725
27726
27727  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27728$as_echo_n "checking for finitel declaration... " >&6; }
27729  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27730    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27731  $as_echo_n "(cached) " >&6
27732else
27733
27734
27735      ac_ext=cpp
27736ac_cpp='$CXXCPP $CPPFLAGS'
27737ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27738ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27739ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27740
27741      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27742/* end confdefs.h.  */
27743#include <math.h>
27744		      #ifdef HAVE_IEEEFP_H
27745		      #include <ieeefp.h>
27746		      #endif
27747
27748int
27749main ()
27750{
27751 finitel(0);
27752  ;
27753  return 0;
27754}
27755_ACEOF
27756if ac_fn_cxx_try_compile "$LINENO"; then :
27757  glibcxx_cv_func_finitel_use=yes
27758else
27759  glibcxx_cv_func_finitel_use=no
27760fi
27761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27762      ac_ext=c
27763ac_cpp='$CPP $CPPFLAGS'
27764ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27765ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27766ac_compiler_gnu=$ac_cv_c_compiler_gnu
27767
27768
27769fi
27770
27771  fi
27772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27773$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27774
27775  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27776    for ac_func in finitel
27777do :
27778  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27779if test "x$ac_cv_func_finitel" = x""yes; then :
27780  cat >>confdefs.h <<_ACEOF
27781#define HAVE_FINITEL 1
27782_ACEOF
27783
27784fi
27785done
27786
27787  else
27788
27789  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27790$as_echo_n "checking for _finitel declaration... " >&6; }
27791  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27792    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27793  $as_echo_n "(cached) " >&6
27794else
27795
27796
27797      ac_ext=cpp
27798ac_cpp='$CXXCPP $CPPFLAGS'
27799ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27800ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27801ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27802
27803      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27804/* end confdefs.h.  */
27805#include <math.h>
27806		      #ifdef HAVE_IEEEFP_H
27807		      #include <ieeefp.h>
27808		      #endif
27809
27810int
27811main ()
27812{
27813 _finitel(0);
27814  ;
27815  return 0;
27816}
27817_ACEOF
27818if ac_fn_cxx_try_compile "$LINENO"; then :
27819  glibcxx_cv_func__finitel_use=yes
27820else
27821  glibcxx_cv_func__finitel_use=no
27822fi
27823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27824      ac_ext=c
27825ac_cpp='$CPP $CPPFLAGS'
27826ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27827ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27828ac_compiler_gnu=$ac_cv_c_compiler_gnu
27829
27830
27831fi
27832
27833  fi
27834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27835$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27836
27837    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27838      for ac_func in _finitel
27839do :
27840  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27841if test "x$ac_cv_func__finitel" = x""yes; then :
27842  cat >>confdefs.h <<_ACEOF
27843#define HAVE__FINITEL 1
27844_ACEOF
27845
27846fi
27847done
27848
27849    fi
27850  fi
27851
27852
27853
27854
27855  LIBS="$ac_save_LIBS"
27856  CXXFLAGS="$ac_save_CXXFLAGS"
27857
27858
27859  ac_test_CXXFLAGS="${CXXFLAGS+set}"
27860  ac_save_CXXFLAGS="$CXXFLAGS"
27861  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27862
27863
27864  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27865$as_echo_n "checking for at_quick_exit declaration... " >&6; }
27866  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27867    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27868  $as_echo_n "(cached) " >&6
27869else
27870
27871
27872      ac_ext=cpp
27873ac_cpp='$CXXCPP $CPPFLAGS'
27874ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27875ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27876ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27877
27878      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27879/* end confdefs.h.  */
27880#include <stdlib.h>
27881int
27882main ()
27883{
27884 at_quick_exit(0);
27885  ;
27886  return 0;
27887}
27888_ACEOF
27889if ac_fn_cxx_try_compile "$LINENO"; then :
27890  glibcxx_cv_func_at_quick_exit_use=yes
27891else
27892  glibcxx_cv_func_at_quick_exit_use=no
27893fi
27894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27895      ac_ext=c
27896ac_cpp='$CPP $CPPFLAGS'
27897ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27898ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27899ac_compiler_gnu=$ac_cv_c_compiler_gnu
27900
27901
27902fi
27903
27904  fi
27905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27906$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27907  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27908    for ac_func in at_quick_exit
27909do :
27910  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27911if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27912  cat >>confdefs.h <<_ACEOF
27913#define HAVE_AT_QUICK_EXIT 1
27914_ACEOF
27915
27916fi
27917done
27918
27919  fi
27920
27921
27922  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27923$as_echo_n "checking for quick_exit declaration... " >&6; }
27924  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27925    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27926  $as_echo_n "(cached) " >&6
27927else
27928
27929
27930      ac_ext=cpp
27931ac_cpp='$CXXCPP $CPPFLAGS'
27932ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27933ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27934ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27935
27936      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27937/* end confdefs.h.  */
27938#include <stdlib.h>
27939int
27940main ()
27941{
27942 quick_exit(0);
27943  ;
27944  return 0;
27945}
27946_ACEOF
27947if ac_fn_cxx_try_compile "$LINENO"; then :
27948  glibcxx_cv_func_quick_exit_use=yes
27949else
27950  glibcxx_cv_func_quick_exit_use=no
27951fi
27952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27953      ac_ext=c
27954ac_cpp='$CPP $CPPFLAGS'
27955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27957ac_compiler_gnu=$ac_cv_c_compiler_gnu
27958
27959
27960fi
27961
27962  fi
27963  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27964$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27965  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27966    for ac_func in quick_exit
27967do :
27968  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27969if test "x$ac_cv_func_quick_exit" = x""yes; then :
27970  cat >>confdefs.h <<_ACEOF
27971#define HAVE_QUICK_EXIT 1
27972_ACEOF
27973
27974fi
27975done
27976
27977  fi
27978
27979
27980  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27981$as_echo_n "checking for strtold declaration... " >&6; }
27982  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27983    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27984  $as_echo_n "(cached) " >&6
27985else
27986
27987
27988      ac_ext=cpp
27989ac_cpp='$CXXCPP $CPPFLAGS'
27990ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27991ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27992ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27993
27994      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27995/* end confdefs.h.  */
27996#include <stdlib.h>
27997int
27998main ()
27999{
28000 strtold(0, 0);
28001  ;
28002  return 0;
28003}
28004_ACEOF
28005if ac_fn_cxx_try_compile "$LINENO"; then :
28006  glibcxx_cv_func_strtold_use=yes
28007else
28008  glibcxx_cv_func_strtold_use=no
28009fi
28010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28011      ac_ext=c
28012ac_cpp='$CPP $CPPFLAGS'
28013ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28014ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28015ac_compiler_gnu=$ac_cv_c_compiler_gnu
28016
28017
28018fi
28019
28020  fi
28021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28022$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28023  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28024    for ac_func in strtold
28025do :
28026  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28027if test "x$ac_cv_func_strtold" = x""yes; then :
28028  cat >>confdefs.h <<_ACEOF
28029#define HAVE_STRTOLD 1
28030_ACEOF
28031
28032fi
28033done
28034
28035  fi
28036
28037
28038
28039
28040  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28041$as_echo_n "checking for strtof declaration... " >&6; }
28042  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28043    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
28044  $as_echo_n "(cached) " >&6
28045else
28046
28047
28048      ac_ext=cpp
28049ac_cpp='$CXXCPP $CPPFLAGS'
28050ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28051ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28052ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28053
28054      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28055/* end confdefs.h.  */
28056#include <stdlib.h>
28057int
28058main ()
28059{
28060 strtof(0, 0);
28061  ;
28062  return 0;
28063}
28064_ACEOF
28065if ac_fn_cxx_try_compile "$LINENO"; then :
28066  glibcxx_cv_func_strtof_use=yes
28067else
28068  glibcxx_cv_func_strtof_use=no
28069fi
28070rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28071      ac_ext=c
28072ac_cpp='$CPP $CPPFLAGS'
28073ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28074ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28075ac_compiler_gnu=$ac_cv_c_compiler_gnu
28076
28077
28078fi
28079
28080  fi
28081  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28082$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28083  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28084    for ac_func in strtof
28085do :
28086  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28087if test "x$ac_cv_func_strtof" = x""yes; then :
28088  cat >>confdefs.h <<_ACEOF
28089#define HAVE_STRTOF 1
28090_ACEOF
28091
28092fi
28093done
28094
28095  fi
28096
28097
28098
28099
28100  CXXFLAGS="$ac_save_CXXFLAGS"
28101
28102
28103  # For /dev/random and /dev/urandom for TR1.
28104
28105
28106  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
28107$as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
28108  if test "${glibcxx_cv_random_tr1+set}" = set; then :
28109  $as_echo_n "(cached) " >&6
28110else
28111
28112    if test -r /dev/random && test -r /dev/urandom; then
28113  ## For MSys environment the test above is detect as false-positive
28114  ## on mingw-targets.  So disable it explicit for them.
28115      case ${target_os} in
28116	*mingw*) glibcxx_cv_random_tr1=no ;;
28117	*) glibcxx_cv_random_tr1=yes ;;
28118      esac
28119    else
28120      glibcxx_cv_random_tr1=no;
28121    fi
28122
28123fi
28124
28125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
28126$as_echo "$glibcxx_cv_random_tr1" >&6; }
28127
28128  if test x"$glibcxx_cv_random_tr1" = x"yes"; then
28129
28130$as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28131
28132  fi
28133
28134
28135
28136  # For TLS support.
28137
28138
28139   # Check whether --enable-tls was given.
28140if test "${enable_tls+set}" = set; then :
28141  enableval=$enable_tls;
28142      case "$enableval" in
28143       yes|no) ;;
28144       *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28145      esac
28146
28147else
28148  enable_tls=yes
28149fi
28150
28151
28152  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28153$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28154if test "${gcc_cv_have_tls+set}" = set; then :
28155  $as_echo_n "(cached) " >&6
28156else
28157
28158    if test "$cross_compiling" = yes; then :
28159                if test x$gcc_no_link = xyes; then
28160  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28161fi
28162cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28163/* end confdefs.h.  */
28164__thread int a; int b; int main() { return a = b; }
28165_ACEOF
28166if ac_fn_c_try_link "$LINENO"; then :
28167  chktls_save_LDFLAGS="$LDFLAGS"
28168	  	  	  case $host in
28169	    *-*-linux*)
28170	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28171	      ;;
28172	  esac
28173	  chktls_save_CFLAGS="$CFLAGS"
28174	  CFLAGS="-fPIC $CFLAGS"
28175	  	  if test x$gcc_no_link = xyes; then
28176  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28177fi
28178cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28179/* end confdefs.h.  */
28180int f() { return 0; }
28181_ACEOF
28182if ac_fn_c_try_link "$LINENO"; then :
28183  if test x$gcc_no_link = xyes; then
28184  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28185fi
28186cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28187/* end confdefs.h.  */
28188__thread int a; int b; int f() { return a = b; }
28189_ACEOF
28190if ac_fn_c_try_link "$LINENO"; then :
28191  gcc_cv_have_tls=yes
28192else
28193  gcc_cv_have_tls=no
28194fi
28195rm -f core conftest.err conftest.$ac_objext \
28196    conftest$ac_exeext conftest.$ac_ext
28197else
28198  gcc_cv_have_tls=yes
28199fi
28200rm -f core conftest.err conftest.$ac_objext \
28201    conftest$ac_exeext conftest.$ac_ext
28202	  CFLAGS="$chktls_save_CFLAGS"
28203	  LDFLAGS="$chktls_save_LDFLAGS"
28204else
28205  gcc_cv_have_tls=no
28206fi
28207rm -f core conftest.err conftest.$ac_objext \
28208    conftest$ac_exeext conftest.$ac_ext
28209
28210
28211else
28212  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28213/* end confdefs.h.  */
28214__thread int a; int b; int main() { return a = b; }
28215_ACEOF
28216if ac_fn_c_try_run "$LINENO"; then :
28217                      chktls_save_LDFLAGS="$LDFLAGS"
28218      LDFLAGS="-static $LDFLAGS"
28219      if test x$gcc_no_link = xyes; then
28220  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28221fi
28222cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28223/* end confdefs.h.  */
28224int main() { return 0; }
28225_ACEOF
28226if ac_fn_c_try_link "$LINENO"; then :
28227  if test "$cross_compiling" = yes; then :
28228  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28229$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28230as_fn_error "cannot run test program while cross compiling
28231See \`config.log' for more details." "$LINENO" 5; }
28232else
28233  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28234/* end confdefs.h.  */
28235__thread int a; int b; int main() { return a = b; }
28236_ACEOF
28237if ac_fn_c_try_run "$LINENO"; then :
28238  gcc_cv_have_tls=yes
28239else
28240  gcc_cv_have_tls=no
28241fi
28242rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28243  conftest.$ac_objext conftest.beam conftest.$ac_ext
28244fi
28245
28246else
28247  gcc_cv_have_tls=yes
28248fi
28249rm -f core conftest.err conftest.$ac_objext \
28250    conftest$ac_exeext conftest.$ac_ext
28251      LDFLAGS="$chktls_save_LDFLAGS"
28252      if test $gcc_cv_have_tls = yes; then
28253						chktls_save_CFLAGS="$CFLAGS"
28254	thread_CFLAGS=failed
28255	for flag in '' '-pthread' '-lpthread'; do
28256	  CFLAGS="$flag $chktls_save_CFLAGS"
28257	  if test x$gcc_no_link = xyes; then
28258  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28259fi
28260cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28261/* end confdefs.h.  */
28262#include <pthread.h>
28263		void *g(void *d) { return NULL; }
28264int
28265main ()
28266{
28267pthread_t t; pthread_create(&t,NULL,g,NULL);
28268  ;
28269  return 0;
28270}
28271_ACEOF
28272if ac_fn_c_try_link "$LINENO"; then :
28273  thread_CFLAGS="$flag"
28274fi
28275rm -f core conftest.err conftest.$ac_objext \
28276    conftest$ac_exeext conftest.$ac_ext
28277	  if test "X$thread_CFLAGS" != Xfailed; then
28278	    break
28279	  fi
28280	done
28281	CFLAGS="$chktls_save_CFLAGS"
28282	if test "X$thread_CFLAGS" != Xfailed; then
28283	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28284 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
28285  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28286$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28287as_fn_error "cannot run test program while cross compiling
28288See \`config.log' for more details." "$LINENO" 5; }
28289else
28290  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28291/* end confdefs.h.  */
28292#include <pthread.h>
28293		__thread int a;
28294		static int *volatile a_in_other_thread;
28295		static void *
28296		thread_func (void *arg)
28297		{
28298		  a_in_other_thread = &a;
28299		  return (void *)0;
28300		}
28301int
28302main ()
28303{
28304pthread_t thread;
28305		void *thread_retval;
28306		int *volatile a_in_main_thread;
28307		a_in_main_thread = &a;
28308		if (pthread_create (&thread, (pthread_attr_t *)0,
28309				    thread_func, (void *)0))
28310		  return 0;
28311		if (pthread_join (thread, &thread_retval))
28312		  return 0;
28313		return (a_in_other_thread == a_in_main_thread);
28314  ;
28315  return 0;
28316}
28317_ACEOF
28318if ac_fn_c_try_run "$LINENO"; then :
28319  gcc_cv_have_tls=yes
28320else
28321  gcc_cv_have_tls=no
28322fi
28323rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28324  conftest.$ac_objext conftest.beam conftest.$ac_ext
28325fi
28326
28327	  CFLAGS="$chktls_save_CFLAGS"
28328	fi
28329      fi
28330else
28331  gcc_cv_have_tls=no
28332fi
28333rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28334  conftest.$ac_objext conftest.beam conftest.$ac_ext
28335fi
28336
28337fi
28338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28339$as_echo "$gcc_cv_have_tls" >&6; }
28340  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28341
28342$as_echo "#define HAVE_TLS 1" >>confdefs.h
28343
28344  fi
28345
28346  for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28347do :
28348  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28349ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28350eval as_val=\$$as_ac_var
28351   if test "x$as_val" = x""yes; then :
28352  cat >>confdefs.h <<_ACEOF
28353#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28354_ACEOF
28355
28356fi
28357done
28358
28359  for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28360do :
28361  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28362ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28363eval as_val=\$$as_ac_var
28364   if test "x$as_val" = x""yes; then :
28365  cat >>confdefs.h <<_ACEOF
28366#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28367_ACEOF
28368
28369fi
28370done
28371
28372
28373  # For iconv support.
28374
28375      if test "X$prefix" = "XNONE"; then
28376    acl_final_prefix="$ac_default_prefix"
28377  else
28378    acl_final_prefix="$prefix"
28379  fi
28380  if test "X$exec_prefix" = "XNONE"; then
28381    acl_final_exec_prefix='${prefix}'
28382  else
28383    acl_final_exec_prefix="$exec_prefix"
28384  fi
28385  acl_save_prefix="$prefix"
28386  prefix="$acl_final_prefix"
28387  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28388  prefix="$acl_save_prefix"
28389
28390
28391# Check whether --with-gnu-ld was given.
28392if test "${with_gnu_ld+set}" = set; then :
28393  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28394else
28395  with_gnu_ld=no
28396fi
28397
28398# Prepare PATH_SEPARATOR.
28399# The user is always right.
28400if test "${PATH_SEPARATOR+set}" != set; then
28401  echo "#! /bin/sh" >conf$$.sh
28402  echo  "exit 0"   >>conf$$.sh
28403  chmod +x conf$$.sh
28404  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28405    PATH_SEPARATOR=';'
28406  else
28407    PATH_SEPARATOR=:
28408  fi
28409  rm -f conf$$.sh
28410fi
28411ac_prog=ld
28412if test "$GCC" = yes; then
28413  # Check if gcc -print-prog-name=ld gives a path.
28414  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28415$as_echo_n "checking for ld used by GCC... " >&6; }
28416  case $host in
28417  *-*-mingw*)
28418    # gcc leaves a trailing carriage return which upsets mingw
28419    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28420  *)
28421    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28422  esac
28423  case $ac_prog in
28424    # Accept absolute paths.
28425    [\\/]* | [A-Za-z]:[\\/]*)
28426      re_direlt='/[^/][^/]*/\.\./'
28427      # Canonicalize the path of ld
28428      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28429      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28430	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28431      done
28432      test -z "$LD" && LD="$ac_prog"
28433      ;;
28434  "")
28435    # If it fails, then pretend we aren't using GCC.
28436    ac_prog=ld
28437    ;;
28438  *)
28439    # If it is relative, then search for the first ld in PATH.
28440    with_gnu_ld=unknown
28441    ;;
28442  esac
28443elif test "$with_gnu_ld" = yes; then
28444  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28445$as_echo_n "checking for GNU ld... " >&6; }
28446else
28447  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28448$as_echo_n "checking for non-GNU ld... " >&6; }
28449fi
28450if test "${acl_cv_path_LD+set}" = set; then :
28451  $as_echo_n "(cached) " >&6
28452else
28453  if test -z "$LD"; then
28454  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28455  for ac_dir in $PATH; do
28456    test -z "$ac_dir" && ac_dir=.
28457    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28458      acl_cv_path_LD="$ac_dir/$ac_prog"
28459      # Check to see if the program is GNU ld.  I'd rather use --version,
28460      # but apparently some GNU ld's only accept -v.
28461      # Break only if it was the GNU/non-GNU ld that we prefer.
28462      if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28463	test "$with_gnu_ld" != no && break
28464      else
28465	test "$with_gnu_ld" != yes && break
28466      fi
28467    fi
28468  done
28469  IFS="$ac_save_ifs"
28470else
28471  acl_cv_path_LD="$LD" # Let the user override the test with a path.
28472fi
28473fi
28474
28475LD="$acl_cv_path_LD"
28476if test -n "$LD"; then
28477  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28478$as_echo "$LD" >&6; }
28479else
28480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28481$as_echo "no" >&6; }
28482fi
28483test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28485$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28486if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28487  $as_echo_n "(cached) " >&6
28488else
28489  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28490if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28491  acl_cv_prog_gnu_ld=yes
28492else
28493  acl_cv_prog_gnu_ld=no
28494fi
28495fi
28496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28497$as_echo "$acl_cv_prog_gnu_ld" >&6; }
28498with_gnu_ld=$acl_cv_prog_gnu_ld
28499
28500
28501
28502                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28503$as_echo_n "checking for shared library run path origin... " >&6; }
28504if test "${acl_cv_rpath+set}" = set; then :
28505  $as_echo_n "(cached) " >&6
28506else
28507
28508    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28509    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28510    . ./conftest.sh
28511    rm -f ./conftest.sh
28512    acl_cv_rpath=done
28513
28514fi
28515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28516$as_echo "$acl_cv_rpath" >&6; }
28517  wl="$acl_cv_wl"
28518  libext="$acl_cv_libext"
28519  shlibext="$acl_cv_shlibext"
28520  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28521  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28522  hardcode_direct="$acl_cv_hardcode_direct"
28523  hardcode_minus_L="$acl_cv_hardcode_minus_L"
28524    # Check whether --enable-rpath was given.
28525if test "${enable_rpath+set}" = set; then :
28526  enableval=$enable_rpath; :
28527else
28528  enable_rpath=yes
28529fi
28530
28531
28532
28533
28534
28535
28536
28537
28538    use_additional=yes
28539
28540  acl_save_prefix="$prefix"
28541  prefix="$acl_final_prefix"
28542  acl_save_exec_prefix="$exec_prefix"
28543  exec_prefix="$acl_final_exec_prefix"
28544
28545    eval additional_includedir=\"$includedir\"
28546    eval additional_libdir=\"$libdir\"
28547
28548  exec_prefix="$acl_save_exec_prefix"
28549  prefix="$acl_save_prefix"
28550
28551
28552# Check whether --with-libiconv-prefix was given.
28553if test "${with_libiconv_prefix+set}" = set; then :
28554  withval=$with_libiconv_prefix;
28555    if test "X$withval" = "Xno"; then
28556      use_additional=no
28557    else
28558      if test "X$withval" = "X"; then
28559
28560  acl_save_prefix="$prefix"
28561  prefix="$acl_final_prefix"
28562  acl_save_exec_prefix="$exec_prefix"
28563  exec_prefix="$acl_final_exec_prefix"
28564
28565          eval additional_includedir=\"$includedir\"
28566          eval additional_libdir=\"$libdir\"
28567
28568  exec_prefix="$acl_save_exec_prefix"
28569  prefix="$acl_save_prefix"
28570
28571      else
28572        additional_includedir="$withval/include"
28573        additional_libdir="$withval/lib"
28574      fi
28575    fi
28576
28577fi
28578
28579      LIBICONV=
28580  LTLIBICONV=
28581  INCICONV=
28582  rpathdirs=
28583  ltrpathdirs=
28584  names_already_handled=
28585  names_next_round='iconv '
28586  while test -n "$names_next_round"; do
28587    names_this_round="$names_next_round"
28588    names_next_round=
28589    for name in $names_this_round; do
28590      already_handled=
28591      for n in $names_already_handled; do
28592        if test "$n" = "$name"; then
28593          already_handled=yes
28594          break
28595        fi
28596      done
28597      if test -z "$already_handled"; then
28598        names_already_handled="$names_already_handled $name"
28599                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28600        eval value=\"\$HAVE_LIB$uppername\"
28601        if test -n "$value"; then
28602          if test "$value" = yes; then
28603            eval value=\"\$LIB$uppername\"
28604            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28605            eval value=\"\$LTLIB$uppername\"
28606            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28607          else
28608                                    :
28609          fi
28610        else
28611                              found_dir=
28612          found_la=
28613          found_so=
28614          found_a=
28615          if test $use_additional = yes; then
28616            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28617              found_dir="$additional_libdir"
28618              found_so="$additional_libdir/lib$name.$shlibext"
28619              if test -f "$additional_libdir/lib$name.la"; then
28620                found_la="$additional_libdir/lib$name.la"
28621              fi
28622            else
28623              if test -f "$additional_libdir/lib$name.$libext"; then
28624                found_dir="$additional_libdir"
28625                found_a="$additional_libdir/lib$name.$libext"
28626                if test -f "$additional_libdir/lib$name.la"; then
28627                  found_la="$additional_libdir/lib$name.la"
28628                fi
28629              fi
28630            fi
28631          fi
28632          if test "X$found_dir" = "X"; then
28633            for x in $LDFLAGS $LTLIBICONV; do
28634
28635  acl_save_prefix="$prefix"
28636  prefix="$acl_final_prefix"
28637  acl_save_exec_prefix="$exec_prefix"
28638  exec_prefix="$acl_final_exec_prefix"
28639  eval x=\"$x\"
28640  exec_prefix="$acl_save_exec_prefix"
28641  prefix="$acl_save_prefix"
28642
28643              case "$x" in
28644                -L*)
28645                  dir=`echo "X$x" | sed -e 's/^X-L//'`
28646                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28647                    found_dir="$dir"
28648                    found_so="$dir/lib$name.$shlibext"
28649                    if test -f "$dir/lib$name.la"; then
28650                      found_la="$dir/lib$name.la"
28651                    fi
28652                  else
28653                    if test -f "$dir/lib$name.$libext"; then
28654                      found_dir="$dir"
28655                      found_a="$dir/lib$name.$libext"
28656                      if test -f "$dir/lib$name.la"; then
28657                        found_la="$dir/lib$name.la"
28658                      fi
28659                    fi
28660                  fi
28661                  ;;
28662              esac
28663              if test "X$found_dir" != "X"; then
28664                break
28665              fi
28666            done
28667          fi
28668          if test "X$found_dir" != "X"; then
28669                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28670            if test "X$found_so" != "X"; then
28671                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28672                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28673              else
28674                                                                                haveit=
28675                for x in $ltrpathdirs; do
28676                  if test "X$x" = "X$found_dir"; then
28677                    haveit=yes
28678                    break
28679                  fi
28680                done
28681                if test -z "$haveit"; then
28682                  ltrpathdirs="$ltrpathdirs $found_dir"
28683                fi
28684                                if test "$hardcode_direct" = yes; then
28685                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28686                else
28687                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28688                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28689                                                            haveit=
28690                    for x in $rpathdirs; do
28691                      if test "X$x" = "X$found_dir"; then
28692                        haveit=yes
28693                        break
28694                      fi
28695                    done
28696                    if test -z "$haveit"; then
28697                      rpathdirs="$rpathdirs $found_dir"
28698                    fi
28699                  else
28700                                                                                haveit=
28701                    for x in $LDFLAGS $LIBICONV; do
28702
28703  acl_save_prefix="$prefix"
28704  prefix="$acl_final_prefix"
28705  acl_save_exec_prefix="$exec_prefix"
28706  exec_prefix="$acl_final_exec_prefix"
28707  eval x=\"$x\"
28708  exec_prefix="$acl_save_exec_prefix"
28709  prefix="$acl_save_prefix"
28710
28711                      if test "X$x" = "X-L$found_dir"; then
28712                        haveit=yes
28713                        break
28714                      fi
28715                    done
28716                    if test -z "$haveit"; then
28717                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28718                    fi
28719                    if test "$hardcode_minus_L" != no; then
28720                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28721                    else
28722                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28723                    fi
28724                  fi
28725                fi
28726              fi
28727            else
28728              if test "X$found_a" != "X"; then
28729                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28730              else
28731                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28732              fi
28733            fi
28734                        additional_includedir=
28735            case "$found_dir" in
28736              */lib | */lib/)
28737                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28738                additional_includedir="$basedir/include"
28739                ;;
28740            esac
28741            if test "X$additional_includedir" != "X"; then
28742                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
28743                haveit=
28744                if test "X$additional_includedir" = "X/usr/local/include"; then
28745                  if test -n "$GCC"; then
28746                    case $host_os in
28747                      linux*) haveit=yes;;
28748                    esac
28749                  fi
28750                fi
28751                if test -z "$haveit"; then
28752                  for x in $CPPFLAGS $INCICONV; do
28753
28754  acl_save_prefix="$prefix"
28755  prefix="$acl_final_prefix"
28756  acl_save_exec_prefix="$exec_prefix"
28757  exec_prefix="$acl_final_exec_prefix"
28758  eval x=\"$x\"
28759  exec_prefix="$acl_save_exec_prefix"
28760  prefix="$acl_save_prefix"
28761
28762                    if test "X$x" = "X-I$additional_includedir"; then
28763                      haveit=yes
28764                      break
28765                    fi
28766                  done
28767                  if test -z "$haveit"; then
28768                    if test -d "$additional_includedir"; then
28769                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28770                    fi
28771                  fi
28772                fi
28773              fi
28774            fi
28775                        if test -n "$found_la"; then
28776                                                        save_libdir="$libdir"
28777              case "$found_la" in
28778                */* | *\\*) . "$found_la" ;;
28779                *) . "./$found_la" ;;
28780              esac
28781              libdir="$save_libdir"
28782                            for dep in $dependency_libs; do
28783                case "$dep" in
28784                  -L*)
28785                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28786                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
28787                      haveit=
28788                      if test "X$additional_libdir" = "X/usr/local/lib"; then
28789                        if test -n "$GCC"; then
28790                          case $host_os in
28791                            linux*) haveit=yes;;
28792                          esac
28793                        fi
28794                      fi
28795                      if test -z "$haveit"; then
28796                        haveit=
28797                        for x in $LDFLAGS $LIBICONV; do
28798
28799  acl_save_prefix="$prefix"
28800  prefix="$acl_final_prefix"
28801  acl_save_exec_prefix="$exec_prefix"
28802  exec_prefix="$acl_final_exec_prefix"
28803  eval x=\"$x\"
28804  exec_prefix="$acl_save_exec_prefix"
28805  prefix="$acl_save_prefix"
28806
28807                          if test "X$x" = "X-L$additional_libdir"; then
28808                            haveit=yes
28809                            break
28810                          fi
28811                        done
28812                        if test -z "$haveit"; then
28813                          if test -d "$additional_libdir"; then
28814                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28815                          fi
28816                        fi
28817                        haveit=
28818                        for x in $LDFLAGS $LTLIBICONV; do
28819
28820  acl_save_prefix="$prefix"
28821  prefix="$acl_final_prefix"
28822  acl_save_exec_prefix="$exec_prefix"
28823  exec_prefix="$acl_final_exec_prefix"
28824  eval x=\"$x\"
28825  exec_prefix="$acl_save_exec_prefix"
28826  prefix="$acl_save_prefix"
28827
28828                          if test "X$x" = "X-L$additional_libdir"; then
28829                            haveit=yes
28830                            break
28831                          fi
28832                        done
28833                        if test -z "$haveit"; then
28834                          if test -d "$additional_libdir"; then
28835                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28836                          fi
28837                        fi
28838                      fi
28839                    fi
28840                    ;;
28841                  -R*)
28842                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
28843                    if test "$enable_rpath" != no; then
28844                                                                  haveit=
28845                      for x in $rpathdirs; do
28846                        if test "X$x" = "X$dir"; then
28847                          haveit=yes
28848                          break
28849                        fi
28850                      done
28851                      if test -z "$haveit"; then
28852                        rpathdirs="$rpathdirs $dir"
28853                      fi
28854                                                                  haveit=
28855                      for x in $ltrpathdirs; do
28856                        if test "X$x" = "X$dir"; then
28857                          haveit=yes
28858                          break
28859                        fi
28860                      done
28861                      if test -z "$haveit"; then
28862                        ltrpathdirs="$ltrpathdirs $dir"
28863                      fi
28864                    fi
28865                    ;;
28866                  -l*)
28867                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28868                    ;;
28869                  *.la)
28870                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28871                    ;;
28872                  *)
28873                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28874                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28875                    ;;
28876                esac
28877              done
28878            fi
28879          else
28880                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28881            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28882          fi
28883        fi
28884      fi
28885    done
28886  done
28887  if test "X$rpathdirs" != "X"; then
28888    if test -n "$hardcode_libdir_separator"; then
28889                        alldirs=
28890      for found_dir in $rpathdirs; do
28891        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28892      done
28893            acl_save_libdir="$libdir"
28894      libdir="$alldirs"
28895      eval flag=\"$hardcode_libdir_flag_spec\"
28896      libdir="$acl_save_libdir"
28897      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28898    else
28899            for found_dir in $rpathdirs; do
28900        acl_save_libdir="$libdir"
28901        libdir="$found_dir"
28902        eval flag=\"$hardcode_libdir_flag_spec\"
28903        libdir="$acl_save_libdir"
28904        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28905      done
28906    fi
28907  fi
28908  if test "X$ltrpathdirs" != "X"; then
28909            for found_dir in $ltrpathdirs; do
28910      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28911    done
28912  fi
28913
28914
28915
28916
28917
28918
28919
28920  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28921$as_echo_n "checking for iconv... " >&6; }
28922if test "${am_cv_func_iconv+set}" = set; then :
28923  $as_echo_n "(cached) " >&6
28924else
28925
28926    am_cv_func_iconv="no, consider installing GNU libiconv"
28927    am_cv_lib_iconv=no
28928                    am_save_CPPFLAGS="$CPPFLAGS"
28929    CPPFLAGS="$CPPFLAGS $INCICONV"
28930    if test x$gcc_no_link = xyes; then
28931  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28932fi
28933cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28934/* end confdefs.h.  */
28935#include <stdlib.h>
28936#include <iconv.h>
28937int
28938main ()
28939{
28940iconv_t cd = iconv_open("","");
28941       iconv(cd,NULL,NULL,NULL,NULL);
28942       iconv_close(cd);
28943  ;
28944  return 0;
28945}
28946_ACEOF
28947if ac_fn_c_try_link "$LINENO"; then :
28948  am_cv_func_iconv=yes
28949fi
28950rm -f core conftest.err conftest.$ac_objext \
28951    conftest$ac_exeext conftest.$ac_ext
28952    CPPFLAGS="$am_save_CPPFLAGS"
28953
28954    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28955      for _libs in .libs _libs; do
28956        am_save_CPPFLAGS="$CPPFLAGS"
28957        am_save_LIBS="$LIBS"
28958        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28959        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28960        if test x$gcc_no_link = xyes; then
28961  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28962fi
28963cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28964/* end confdefs.h.  */
28965#include <stdlib.h>
28966#include <iconv.h>
28967int
28968main ()
28969{
28970iconv_t cd = iconv_open("","");
28971           iconv(cd,NULL,NULL,NULL,NULL);
28972           iconv_close(cd);
28973  ;
28974  return 0;
28975}
28976_ACEOF
28977if ac_fn_c_try_link "$LINENO"; then :
28978  INCICONV="-I../libiconv/include"
28979          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28980          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28981          am_cv_lib_iconv=yes
28982          am_cv_func_iconv=yes
28983fi
28984rm -f core conftest.err conftest.$ac_objext \
28985    conftest$ac_exeext conftest.$ac_ext
28986        CPPFLAGS="$am_save_CPPFLAGS"
28987        LIBS="$am_save_LIBS"
28988        if test "$am_cv_func_iconv" = "yes"; then
28989          break
28990        fi
28991      done
28992    fi
28993
28994    if test "$am_cv_func_iconv" != yes; then
28995      am_save_CPPFLAGS="$CPPFLAGS"
28996      am_save_LIBS="$LIBS"
28997      CPPFLAGS="$LIBS $INCICONV"
28998      LIBS="$LIBS $LIBICONV"
28999      if test x$gcc_no_link = xyes; then
29000  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29001fi
29002cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29003/* end confdefs.h.  */
29004#include <stdlib.h>
29005#include <iconv.h>
29006int
29007main ()
29008{
29009iconv_t cd = iconv_open("","");
29010         iconv(cd,NULL,NULL,NULL,NULL);
29011         iconv_close(cd);
29012  ;
29013  return 0;
29014}
29015_ACEOF
29016if ac_fn_c_try_link "$LINENO"; then :
29017  am_cv_lib_iconv=yes
29018        am_cv_func_iconv=yes
29019fi
29020rm -f core conftest.err conftest.$ac_objext \
29021    conftest$ac_exeext conftest.$ac_ext
29022      CPPFLAGS="$am_save_CPPFLAGS"
29023      LIBS="$am_save_LIBS"
29024    fi
29025
29026fi
29027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29028$as_echo "$am_cv_func_iconv" >&6; }
29029  if test "$am_cv_func_iconv" = yes; then
29030
29031$as_echo "#define HAVE_ICONV 1" >>confdefs.h
29032
29033  fi
29034  if test "$am_cv_lib_iconv" = yes; then
29035
29036  for element in $INCICONV; do
29037    haveit=
29038    for x in $CPPFLAGS; do
29039
29040  acl_save_prefix="$prefix"
29041  prefix="$acl_final_prefix"
29042  acl_save_exec_prefix="$exec_prefix"
29043  exec_prefix="$acl_final_exec_prefix"
29044  eval x=\"$x\"
29045  exec_prefix="$acl_save_exec_prefix"
29046  prefix="$acl_save_prefix"
29047
29048      if test "X$x" = "X$element"; then
29049        haveit=yes
29050        break
29051      fi
29052    done
29053    if test -z "$haveit"; then
29054      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29055    fi
29056  done
29057
29058    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29059$as_echo_n "checking how to link with libiconv... " >&6; }
29060    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29061$as_echo "$LIBICONV" >&6; }
29062  else
29063    LIBICONV=
29064    LTLIBICONV=
29065  fi
29066
29067
29068
29069  if test "$am_cv_func_iconv" = yes; then
29070    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29071$as_echo_n "checking for iconv declaration... " >&6; }
29072    if test "${am_cv_proto_iconv+set}" = set; then :
29073  $as_echo_n "(cached) " >&6
29074else
29075
29076      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29077/* end confdefs.h.  */
29078
29079#include <stdlib.h>
29080#include <iconv.h>
29081extern
29082#ifdef __cplusplus
29083"C"
29084#endif
29085#if defined(__STDC__) || defined(__cplusplus)
29086size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29087#else
29088size_t iconv();
29089#endif
29090
29091int
29092main ()
29093{
29094
29095  ;
29096  return 0;
29097}
29098_ACEOF
29099if ac_fn_c_try_compile "$LINENO"; then :
29100  am_cv_proto_iconv_arg1=""
29101else
29102  am_cv_proto_iconv_arg1="const"
29103fi
29104rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29105      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);"
29106fi
29107
29108    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29109    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29110         }$am_cv_proto_iconv" >&5
29111$as_echo "${ac_t:-
29112         }$am_cv_proto_iconv" >&6; }
29113
29114cat >>confdefs.h <<_ACEOF
29115#define ICONV_CONST $am_cv_proto_iconv_arg1
29116_ACEOF
29117
29118  fi
29119
29120
29121else
29122
29123  # This lets us hard-code the functionality we know we'll have in the cross
29124  # target environment.  "Let" is a sugar-coated word placed on an especially
29125  # dull and tedious hack, actually.
29126  #
29127  # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29128  # that involve linking, can't be used:
29129  #    "cannot open sim-crt0.o"
29130  #    "cannot open crt0.o"
29131  # etc.  All this is because there currently exists no unified, consistent
29132  # way for top level CC information to be passed down to target directories:
29133  # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29134  # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29135  # crosses can be removed.
29136
29137  # If Canadian cross, then don't pick up tools from the build directory.
29138  # Used only in GLIBCXX_EXPORT_INCLUDES.
29139  if test -n "$with_cross_host" &&
29140     test x"$build_alias" != x"$with_cross_host" &&
29141     test x"$build" != x"$target";
29142  then
29143    CANADIAN=yes
29144  else
29145    CANADIAN=no
29146  fi
29147
29148  # Construct crosses by hand, eliminating bits that need ld...
29149  # GLIBCXX_CHECK_MATH_SUPPORT
29150
29151  # First, test for "known" system libraries.  We may be using newlib even
29152  # on a hosted environment.
29153  if test "x${with_newlib}" = "xyes"; then
29154    os_include_dir="os/newlib"
29155    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29156
29157
29158    # GLIBCXX_CHECK_STDLIB_SUPPORT
29159    $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29160
29161
29162    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29163
29164    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29165
29166    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29167
29168    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29169
29170    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29171
29172    $as_echo "#define HAVE_COSF 1" >>confdefs.h
29173
29174    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29175
29176    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29177
29178    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29179
29180    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29181
29182    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29183
29184    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29185
29186    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29187
29188    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29189
29190    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29191
29192    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29193
29194    $as_echo "#define HAVE_POWF 1" >>confdefs.h
29195
29196    $as_echo "#define HAVE_SINF 1" >>confdefs.h
29197
29198    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29199
29200    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29201
29202    $as_echo "#define HAVE_TANF 1" >>confdefs.h
29203
29204    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29205
29206
29207    $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29208
29209    $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29210
29211  else
29212
29213# Base decisions on target environment.
29214case "${host}" in
29215  arm*-*-symbianelf*)
29216    # This is a freestanding configuration; there is nothing to do here.
29217    ;;
29218
29219  avr*-*-*)
29220    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29221
29222    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29223
29224    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29225
29226    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29227
29228    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29229
29230    $as_echo "#define HAVE_COSF 1" >>confdefs.h
29231
29232    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29233
29234    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29235
29236    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29237
29238    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29239
29240    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29241
29242    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29243
29244    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29245
29246    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29247
29248    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29249
29250    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29251
29252    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29253
29254    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29255
29256    $as_echo "#define HAVE_POWF 1" >>confdefs.h
29257
29258    $as_echo "#define HAVE_SINF 1" >>confdefs.h
29259
29260    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29261
29262    $as_echo "#define HAVE_TANF 1" >>confdefs.h
29263
29264    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29265
29266    ;;
29267
29268  mips*-sde-elf*)
29269    # These definitions are for the SDE C library rather than newlib.
29270    SECTION_FLAGS='-ffunction-sections -fdata-sections'
29271
29272
29273  # All these tests are for C++; save the language and the compiler flags.
29274  # The CXXFLAGS thing is suspicious, but based on similar bits previously
29275  # found in GLIBCXX_CONFIGURE.
29276
29277  ac_ext=cpp
29278ac_cpp='$CXXCPP $CPPFLAGS'
29279ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29280ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29281ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29282
29283  ac_test_CXXFLAGS="${CXXFLAGS+set}"
29284  ac_save_CXXFLAGS="$CXXFLAGS"
29285
29286  # Check for maintainer-mode bits.
29287  if test x"$USE_MAINTAINER_MODE" = xno; then
29288    WERROR=''
29289  else
29290    WERROR='-Werror'
29291  fi
29292
29293  # Check for -ffunction-sections -fdata-sections
29294  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29295$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29296  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29297  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29298/* end confdefs.h.  */
29299int foo; void bar() { };
29300int
29301main ()
29302{
29303
29304  ;
29305  return 0;
29306}
29307_ACEOF
29308if ac_fn_cxx_try_compile "$LINENO"; then :
29309  ac_fdsections=yes
29310else
29311  ac_fdsections=no
29312fi
29313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29314  if test "$ac_test_CXXFLAGS" = set; then
29315    CXXFLAGS="$ac_save_CXXFLAGS"
29316  else
29317    # this is the suspicious part
29318    CXXFLAGS=''
29319  fi
29320  if test x"$ac_fdsections" = x"yes"; then
29321    SECTION_FLAGS='-ffunction-sections -fdata-sections'
29322  fi
29323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29324$as_echo "$ac_fdsections" >&6; }
29325
29326  ac_ext=c
29327ac_cpp='$CPP $CPPFLAGS'
29328ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29329ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29330ac_compiler_gnu=$ac_cv_c_compiler_gnu
29331
29332
29333
29334
29335
29336  # If we're not using GNU ld, then there's no point in even trying these
29337  # tests.  Check for that first.  We should have already tested for gld
29338  # by now (in libtool), but require it now just to be safe...
29339  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29340  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29341
29342
29343
29344  # The name set by libtool depends on the version of libtool.  Shame on us
29345  # for depending on an impl detail, but c'est la vie.  Older versions used
29346  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29347  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29348  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
29349  # set (hence we're using an older libtool), then set it.
29350  if test x${with_gnu_ld+set} != xset; then
29351    if test x${ac_cv_prog_gnu_ld+set} != xset; then
29352      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
29353      with_gnu_ld=no
29354    else
29355      with_gnu_ld=$ac_cv_prog_gnu_ld
29356    fi
29357  fi
29358
29359  # Start by getting the version number.  I think the libtool test already
29360  # does some of this, but throws away the result.
29361  glibcxx_ld_is_gold=no
29362  if test x"$with_gnu_ld" = x"yes"; then
29363    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29364$as_echo_n "checking for ld version... " >&6; }
29365
29366    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29367      glibcxx_ld_is_gold=yes
29368    fi
29369    ldver=`$LD --version 2>/dev/null |
29370	   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'`
29371
29372    glibcxx_gnu_ld_version=`echo $ldver | \
29373	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29374    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29375$as_echo "$glibcxx_gnu_ld_version" >&6; }
29376  fi
29377
29378  # Set --gc-sections.
29379  glibcxx_have_gc_sections=no
29380  if test "$glibcxx_ld_is_gold" = "yes"; then
29381    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29382      glibcxx_have_gc_sections=yes
29383    fi
29384  else
29385    glibcxx_gcsections_min_ld=21602
29386    if test x"$with_gnu_ld" = x"yes" &&
29387	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29388      glibcxx_have_gc_sections=yes
29389    fi
29390  fi
29391  if test "$glibcxx_have_gc_sections" = "yes"; then
29392    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
29393    # NB: This flag only works reliably after 2.16.1. Configure tests
29394    # for this are difficult, so hard wire a value that should work.
29395
29396    ac_test_CFLAGS="${CFLAGS+set}"
29397    ac_save_CFLAGS="$CFLAGS"
29398    CFLAGS='-Wl,--gc-sections'
29399
29400    # Check for -Wl,--gc-sections
29401    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29402$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29403    if test x$gcc_no_link = xyes; then
29404  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29405fi
29406cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29407/* end confdefs.h.  */
29408 int one(void) { return 1; }
29409     int two(void) { return 2; }
29410
29411int
29412main ()
29413{
29414 two();
29415  ;
29416  return 0;
29417}
29418_ACEOF
29419if ac_fn_c_try_link "$LINENO"; then :
29420  ac_gcsections=yes
29421else
29422  ac_gcsections=no
29423fi
29424rm -f core conftest.err conftest.$ac_objext \
29425    conftest$ac_exeext conftest.$ac_ext
29426    if test "$ac_gcsections" = "yes"; then
29427      rm -f conftest.c
29428      touch conftest.c
29429      if $CC -c conftest.c; then
29430	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29431	   grep "Warning: gc-sections option ignored" > /dev/null; then
29432	  ac_gcsections=no
29433	fi
29434      fi
29435      rm -f conftest.c conftest.o conftest
29436    fi
29437    if test "$ac_gcsections" = "yes"; then
29438      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29439    fi
29440    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29441$as_echo "$ac_gcsections" >&6; }
29442
29443    if test "$ac_test_CFLAGS" = set; then
29444      CFLAGS="$ac_save_CFLAGS"
29445    else
29446      # this is the suspicious part
29447      CFLAGS=''
29448    fi
29449  fi
29450
29451  # Set -z,relro.
29452  # Note this is only for shared objects.
29453  ac_ld_relro=no
29454  if test x"$with_gnu_ld" = x"yes"; then
29455    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29456$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29457    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29458    if test -n "$cxx_z_relo"; then
29459      OPT_LDFLAGS="-Wl,-z,relro"
29460      ac_ld_relro=yes
29461    fi
29462    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29463$as_echo "$ac_ld_relro" >&6; }
29464  fi
29465
29466  # Set linker optimization flags.
29467  if test x"$with_gnu_ld" = x"yes"; then
29468    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29469  fi
29470
29471
29472
29473
29474
29475  ac_test_CXXFLAGS="${CXXFLAGS+set}"
29476  ac_save_CXXFLAGS="$CXXFLAGS"
29477  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29478
29479    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29480$as_echo_n "checking for sin in -lm... " >&6; }
29481if test "${ac_cv_lib_m_sin+set}" = set; then :
29482  $as_echo_n "(cached) " >&6
29483else
29484  ac_check_lib_save_LIBS=$LIBS
29485LIBS="-lm  $LIBS"
29486if test x$gcc_no_link = xyes; then
29487  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29488fi
29489cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29490/* end confdefs.h.  */
29491
29492/* Override any GCC internal prototype to avoid an error.
29493   Use char because int might match the return type of a GCC
29494   builtin and then its argument prototype would still apply.  */
29495#ifdef __cplusplus
29496extern "C"
29497#endif
29498char sin ();
29499int
29500main ()
29501{
29502return sin ();
29503  ;
29504  return 0;
29505}
29506_ACEOF
29507if ac_fn_c_try_link "$LINENO"; then :
29508  ac_cv_lib_m_sin=yes
29509else
29510  ac_cv_lib_m_sin=no
29511fi
29512rm -f core conftest.err conftest.$ac_objext \
29513    conftest$ac_exeext conftest.$ac_ext
29514LIBS=$ac_check_lib_save_LIBS
29515fi
29516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29517$as_echo "$ac_cv_lib_m_sin" >&6; }
29518if test "x$ac_cv_lib_m_sin" = x""yes; then :
29519  libm="-lm"
29520fi
29521
29522  ac_save_LIBS="$LIBS"
29523  LIBS="$LIBS $libm"
29524
29525
29526
29527  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29528$as_echo_n "checking for isinf declaration... " >&6; }
29529  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29530    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29531  $as_echo_n "(cached) " >&6
29532else
29533
29534
29535      ac_ext=cpp
29536ac_cpp='$CXXCPP $CPPFLAGS'
29537ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29538ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29539ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29540
29541      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29542/* end confdefs.h.  */
29543#include <math.h>
29544		      #ifdef HAVE_IEEEFP_H
29545		      #include <ieeefp.h>
29546		      #endif
29547
29548int
29549main ()
29550{
29551 isinf(0);
29552  ;
29553  return 0;
29554}
29555_ACEOF
29556if ac_fn_cxx_try_compile "$LINENO"; then :
29557  glibcxx_cv_func_isinf_use=yes
29558else
29559  glibcxx_cv_func_isinf_use=no
29560fi
29561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29562      ac_ext=c
29563ac_cpp='$CPP $CPPFLAGS'
29564ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29565ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29566ac_compiler_gnu=$ac_cv_c_compiler_gnu
29567
29568
29569fi
29570
29571  fi
29572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29573$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29574
29575  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29576    for ac_func in isinf
29577do :
29578  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29579if test "x$ac_cv_func_isinf" = x""yes; then :
29580  cat >>confdefs.h <<_ACEOF
29581#define HAVE_ISINF 1
29582_ACEOF
29583
29584fi
29585done
29586
29587  else
29588
29589  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29590$as_echo_n "checking for _isinf declaration... " >&6; }
29591  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29592    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29593  $as_echo_n "(cached) " >&6
29594else
29595
29596
29597      ac_ext=cpp
29598ac_cpp='$CXXCPP $CPPFLAGS'
29599ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29600ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29601ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29602
29603      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29604/* end confdefs.h.  */
29605#include <math.h>
29606		      #ifdef HAVE_IEEEFP_H
29607		      #include <ieeefp.h>
29608		      #endif
29609
29610int
29611main ()
29612{
29613 _isinf(0);
29614  ;
29615  return 0;
29616}
29617_ACEOF
29618if ac_fn_cxx_try_compile "$LINENO"; then :
29619  glibcxx_cv_func__isinf_use=yes
29620else
29621  glibcxx_cv_func__isinf_use=no
29622fi
29623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29624      ac_ext=c
29625ac_cpp='$CPP $CPPFLAGS'
29626ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29627ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29628ac_compiler_gnu=$ac_cv_c_compiler_gnu
29629
29630
29631fi
29632
29633  fi
29634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29635$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29636
29637    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29638      for ac_func in _isinf
29639do :
29640  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29641if test "x$ac_cv_func__isinf" = x""yes; then :
29642  cat >>confdefs.h <<_ACEOF
29643#define HAVE__ISINF 1
29644_ACEOF
29645
29646fi
29647done
29648
29649    fi
29650  fi
29651
29652
29653
29654
29655
29656  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29657$as_echo_n "checking for isnan declaration... " >&6; }
29658  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29659    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29660  $as_echo_n "(cached) " >&6
29661else
29662
29663
29664      ac_ext=cpp
29665ac_cpp='$CXXCPP $CPPFLAGS'
29666ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29667ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29668ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29669
29670      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29671/* end confdefs.h.  */
29672#include <math.h>
29673		      #ifdef HAVE_IEEEFP_H
29674		      #include <ieeefp.h>
29675		      #endif
29676
29677int
29678main ()
29679{
29680 isnan(0);
29681  ;
29682  return 0;
29683}
29684_ACEOF
29685if ac_fn_cxx_try_compile "$LINENO"; then :
29686  glibcxx_cv_func_isnan_use=yes
29687else
29688  glibcxx_cv_func_isnan_use=no
29689fi
29690rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29691      ac_ext=c
29692ac_cpp='$CPP $CPPFLAGS'
29693ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29694ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29695ac_compiler_gnu=$ac_cv_c_compiler_gnu
29696
29697
29698fi
29699
29700  fi
29701  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29702$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29703
29704  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29705    for ac_func in isnan
29706do :
29707  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29708if test "x$ac_cv_func_isnan" = x""yes; then :
29709  cat >>confdefs.h <<_ACEOF
29710#define HAVE_ISNAN 1
29711_ACEOF
29712
29713fi
29714done
29715
29716  else
29717
29718  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29719$as_echo_n "checking for _isnan declaration... " >&6; }
29720  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29721    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29722  $as_echo_n "(cached) " >&6
29723else
29724
29725
29726      ac_ext=cpp
29727ac_cpp='$CXXCPP $CPPFLAGS'
29728ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29729ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29730ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29731
29732      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29733/* end confdefs.h.  */
29734#include <math.h>
29735		      #ifdef HAVE_IEEEFP_H
29736		      #include <ieeefp.h>
29737		      #endif
29738
29739int
29740main ()
29741{
29742 _isnan(0);
29743  ;
29744  return 0;
29745}
29746_ACEOF
29747if ac_fn_cxx_try_compile "$LINENO"; then :
29748  glibcxx_cv_func__isnan_use=yes
29749else
29750  glibcxx_cv_func__isnan_use=no
29751fi
29752rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29753      ac_ext=c
29754ac_cpp='$CPP $CPPFLAGS'
29755ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29756ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29757ac_compiler_gnu=$ac_cv_c_compiler_gnu
29758
29759
29760fi
29761
29762  fi
29763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29764$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29765
29766    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29767      for ac_func in _isnan
29768do :
29769  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29770if test "x$ac_cv_func__isnan" = x""yes; then :
29771  cat >>confdefs.h <<_ACEOF
29772#define HAVE__ISNAN 1
29773_ACEOF
29774
29775fi
29776done
29777
29778    fi
29779  fi
29780
29781
29782
29783
29784
29785  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29786$as_echo_n "checking for finite declaration... " >&6; }
29787  if test x${glibcxx_cv_func_finite_use+set} != xset; then
29788    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29789  $as_echo_n "(cached) " >&6
29790else
29791
29792
29793      ac_ext=cpp
29794ac_cpp='$CXXCPP $CPPFLAGS'
29795ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29796ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29797ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29798
29799      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29800/* end confdefs.h.  */
29801#include <math.h>
29802		      #ifdef HAVE_IEEEFP_H
29803		      #include <ieeefp.h>
29804		      #endif
29805
29806int
29807main ()
29808{
29809 finite(0);
29810  ;
29811  return 0;
29812}
29813_ACEOF
29814if ac_fn_cxx_try_compile "$LINENO"; then :
29815  glibcxx_cv_func_finite_use=yes
29816else
29817  glibcxx_cv_func_finite_use=no
29818fi
29819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29820      ac_ext=c
29821ac_cpp='$CPP $CPPFLAGS'
29822ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29823ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29824ac_compiler_gnu=$ac_cv_c_compiler_gnu
29825
29826
29827fi
29828
29829  fi
29830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29831$as_echo "$glibcxx_cv_func_finite_use" >&6; }
29832
29833  if test x$glibcxx_cv_func_finite_use = x"yes"; then
29834    for ac_func in finite
29835do :
29836  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29837if test "x$ac_cv_func_finite" = x""yes; then :
29838  cat >>confdefs.h <<_ACEOF
29839#define HAVE_FINITE 1
29840_ACEOF
29841
29842fi
29843done
29844
29845  else
29846
29847  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29848$as_echo_n "checking for _finite declaration... " >&6; }
29849  if test x${glibcxx_cv_func__finite_use+set} != xset; then
29850    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29851  $as_echo_n "(cached) " >&6
29852else
29853
29854
29855      ac_ext=cpp
29856ac_cpp='$CXXCPP $CPPFLAGS'
29857ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29858ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29859ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29860
29861      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29862/* end confdefs.h.  */
29863#include <math.h>
29864		      #ifdef HAVE_IEEEFP_H
29865		      #include <ieeefp.h>
29866		      #endif
29867
29868int
29869main ()
29870{
29871 _finite(0);
29872  ;
29873  return 0;
29874}
29875_ACEOF
29876if ac_fn_cxx_try_compile "$LINENO"; then :
29877  glibcxx_cv_func__finite_use=yes
29878else
29879  glibcxx_cv_func__finite_use=no
29880fi
29881rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29882      ac_ext=c
29883ac_cpp='$CPP $CPPFLAGS'
29884ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29885ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29886ac_compiler_gnu=$ac_cv_c_compiler_gnu
29887
29888
29889fi
29890
29891  fi
29892  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29893$as_echo "$glibcxx_cv_func__finite_use" >&6; }
29894
29895    if test x$glibcxx_cv_func__finite_use = x"yes"; then
29896      for ac_func in _finite
29897do :
29898  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29899if test "x$ac_cv_func__finite" = x""yes; then :
29900  cat >>confdefs.h <<_ACEOF
29901#define HAVE__FINITE 1
29902_ACEOF
29903
29904fi
29905done
29906
29907    fi
29908  fi
29909
29910
29911
29912
29913
29914  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29915$as_echo_n "checking for sincos declaration... " >&6; }
29916  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29917    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29918  $as_echo_n "(cached) " >&6
29919else
29920
29921
29922      ac_ext=cpp
29923ac_cpp='$CXXCPP $CPPFLAGS'
29924ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29925ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29926ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29927
29928      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29929/* end confdefs.h.  */
29930#include <math.h>
29931int
29932main ()
29933{
29934 sincos(0, 0, 0);
29935  ;
29936  return 0;
29937}
29938_ACEOF
29939if ac_fn_cxx_try_compile "$LINENO"; then :
29940  glibcxx_cv_func_sincos_use=yes
29941else
29942  glibcxx_cv_func_sincos_use=no
29943fi
29944rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29945      ac_ext=c
29946ac_cpp='$CPP $CPPFLAGS'
29947ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29948ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29949ac_compiler_gnu=$ac_cv_c_compiler_gnu
29950
29951
29952fi
29953
29954  fi
29955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29956$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29957
29958  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29959    for ac_func in sincos
29960do :
29961  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29962if test "x$ac_cv_func_sincos" = x""yes; then :
29963  cat >>confdefs.h <<_ACEOF
29964#define HAVE_SINCOS 1
29965_ACEOF
29966
29967fi
29968done
29969
29970  else
29971
29972  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29973$as_echo_n "checking for _sincos declaration... " >&6; }
29974  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29975    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29976  $as_echo_n "(cached) " >&6
29977else
29978
29979
29980      ac_ext=cpp
29981ac_cpp='$CXXCPP $CPPFLAGS'
29982ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29983ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29984ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29985
29986      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29987/* end confdefs.h.  */
29988#include <math.h>
29989int
29990main ()
29991{
29992 _sincos(0, 0, 0);
29993  ;
29994  return 0;
29995}
29996_ACEOF
29997if ac_fn_cxx_try_compile "$LINENO"; then :
29998  glibcxx_cv_func__sincos_use=yes
29999else
30000  glibcxx_cv_func__sincos_use=no
30001fi
30002rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30003      ac_ext=c
30004ac_cpp='$CPP $CPPFLAGS'
30005ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30006ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30007ac_compiler_gnu=$ac_cv_c_compiler_gnu
30008
30009
30010fi
30011
30012  fi
30013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30014$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30015
30016    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30017      for ac_func in _sincos
30018do :
30019  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30020if test "x$ac_cv_func__sincos" = x""yes; then :
30021  cat >>confdefs.h <<_ACEOF
30022#define HAVE__SINCOS 1
30023_ACEOF
30024
30025fi
30026done
30027
30028    fi
30029  fi
30030
30031
30032
30033
30034
30035  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30036$as_echo_n "checking for fpclass declaration... " >&6; }
30037  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30038    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
30039  $as_echo_n "(cached) " >&6
30040else
30041
30042
30043      ac_ext=cpp
30044ac_cpp='$CXXCPP $CPPFLAGS'
30045ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30046ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30047ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30048
30049      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30050/* end confdefs.h.  */
30051#include <math.h>
30052		      #ifdef HAVE_IEEEFP_H
30053		      #include <ieeefp.h>
30054		      #endif
30055
30056int
30057main ()
30058{
30059 fpclass(0);
30060  ;
30061  return 0;
30062}
30063_ACEOF
30064if ac_fn_cxx_try_compile "$LINENO"; then :
30065  glibcxx_cv_func_fpclass_use=yes
30066else
30067  glibcxx_cv_func_fpclass_use=no
30068fi
30069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30070      ac_ext=c
30071ac_cpp='$CPP $CPPFLAGS'
30072ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30073ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30074ac_compiler_gnu=$ac_cv_c_compiler_gnu
30075
30076
30077fi
30078
30079  fi
30080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30081$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30082
30083  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30084    for ac_func in fpclass
30085do :
30086  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30087if test "x$ac_cv_func_fpclass" = x""yes; then :
30088  cat >>confdefs.h <<_ACEOF
30089#define HAVE_FPCLASS 1
30090_ACEOF
30091
30092fi
30093done
30094
30095  else
30096
30097  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30098$as_echo_n "checking for _fpclass declaration... " >&6; }
30099  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30100    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
30101  $as_echo_n "(cached) " >&6
30102else
30103
30104
30105      ac_ext=cpp
30106ac_cpp='$CXXCPP $CPPFLAGS'
30107ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30108ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30109ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30110
30111      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30112/* end confdefs.h.  */
30113#include <math.h>
30114		      #ifdef HAVE_IEEEFP_H
30115		      #include <ieeefp.h>
30116		      #endif
30117
30118int
30119main ()
30120{
30121 _fpclass(0);
30122  ;
30123  return 0;
30124}
30125_ACEOF
30126if ac_fn_cxx_try_compile "$LINENO"; then :
30127  glibcxx_cv_func__fpclass_use=yes
30128else
30129  glibcxx_cv_func__fpclass_use=no
30130fi
30131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30132      ac_ext=c
30133ac_cpp='$CPP $CPPFLAGS'
30134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30136ac_compiler_gnu=$ac_cv_c_compiler_gnu
30137
30138
30139fi
30140
30141  fi
30142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30143$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30144
30145    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30146      for ac_func in _fpclass
30147do :
30148  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30149if test "x$ac_cv_func__fpclass" = x""yes; then :
30150  cat >>confdefs.h <<_ACEOF
30151#define HAVE__FPCLASS 1
30152_ACEOF
30153
30154fi
30155done
30156
30157    fi
30158  fi
30159
30160
30161
30162
30163
30164  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30165$as_echo_n "checking for qfpclass declaration... " >&6; }
30166  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30167    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
30168  $as_echo_n "(cached) " >&6
30169else
30170
30171
30172      ac_ext=cpp
30173ac_cpp='$CXXCPP $CPPFLAGS'
30174ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30175ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30176ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30177
30178      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30179/* end confdefs.h.  */
30180#include <math.h>
30181		      #ifdef HAVE_IEEEFP_H
30182		      #include <ieeefp.h>
30183		      #endif
30184
30185int
30186main ()
30187{
30188 qfpclass(0);
30189  ;
30190  return 0;
30191}
30192_ACEOF
30193if ac_fn_cxx_try_compile "$LINENO"; then :
30194  glibcxx_cv_func_qfpclass_use=yes
30195else
30196  glibcxx_cv_func_qfpclass_use=no
30197fi
30198rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30199      ac_ext=c
30200ac_cpp='$CPP $CPPFLAGS'
30201ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30202ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30203ac_compiler_gnu=$ac_cv_c_compiler_gnu
30204
30205
30206fi
30207
30208  fi
30209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30210$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30211
30212  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30213    for ac_func in qfpclass
30214do :
30215  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30216if test "x$ac_cv_func_qfpclass" = x""yes; then :
30217  cat >>confdefs.h <<_ACEOF
30218#define HAVE_QFPCLASS 1
30219_ACEOF
30220
30221fi
30222done
30223
30224  else
30225
30226  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30227$as_echo_n "checking for _qfpclass declaration... " >&6; }
30228  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30229    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
30230  $as_echo_n "(cached) " >&6
30231else
30232
30233
30234      ac_ext=cpp
30235ac_cpp='$CXXCPP $CPPFLAGS'
30236ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30237ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30238ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30239
30240      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30241/* end confdefs.h.  */
30242#include <math.h>
30243		      #ifdef HAVE_IEEEFP_H
30244		      #include <ieeefp.h>
30245		      #endif
30246
30247int
30248main ()
30249{
30250 _qfpclass(0);
30251  ;
30252  return 0;
30253}
30254_ACEOF
30255if ac_fn_cxx_try_compile "$LINENO"; then :
30256  glibcxx_cv_func__qfpclass_use=yes
30257else
30258  glibcxx_cv_func__qfpclass_use=no
30259fi
30260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30261      ac_ext=c
30262ac_cpp='$CPP $CPPFLAGS'
30263ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30264ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30265ac_compiler_gnu=$ac_cv_c_compiler_gnu
30266
30267
30268fi
30269
30270  fi
30271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30272$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30273
30274    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30275      for ac_func in _qfpclass
30276do :
30277  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30278if test "x$ac_cv_func__qfpclass" = x""yes; then :
30279  cat >>confdefs.h <<_ACEOF
30280#define HAVE__QFPCLASS 1
30281_ACEOF
30282
30283fi
30284done
30285
30286    fi
30287  fi
30288
30289
30290
30291
30292
30293  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30294$as_echo_n "checking for hypot declaration... " >&6; }
30295  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30296    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
30297  $as_echo_n "(cached) " >&6
30298else
30299
30300
30301      ac_ext=cpp
30302ac_cpp='$CXXCPP $CPPFLAGS'
30303ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30304ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30305ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30306
30307      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30308/* end confdefs.h.  */
30309#include <math.h>
30310int
30311main ()
30312{
30313 hypot(0, 0);
30314  ;
30315  return 0;
30316}
30317_ACEOF
30318if ac_fn_cxx_try_compile "$LINENO"; then :
30319  glibcxx_cv_func_hypot_use=yes
30320else
30321  glibcxx_cv_func_hypot_use=no
30322fi
30323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30324      ac_ext=c
30325ac_cpp='$CPP $CPPFLAGS'
30326ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30327ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30328ac_compiler_gnu=$ac_cv_c_compiler_gnu
30329
30330
30331fi
30332
30333  fi
30334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30335$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30336
30337  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30338    for ac_func in hypot
30339do :
30340  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30341if test "x$ac_cv_func_hypot" = x""yes; then :
30342  cat >>confdefs.h <<_ACEOF
30343#define HAVE_HYPOT 1
30344_ACEOF
30345
30346fi
30347done
30348
30349  else
30350
30351  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30352$as_echo_n "checking for _hypot declaration... " >&6; }
30353  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30354    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
30355  $as_echo_n "(cached) " >&6
30356else
30357
30358
30359      ac_ext=cpp
30360ac_cpp='$CXXCPP $CPPFLAGS'
30361ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30362ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30363ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30364
30365      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30366/* end confdefs.h.  */
30367#include <math.h>
30368int
30369main ()
30370{
30371 _hypot(0, 0);
30372  ;
30373  return 0;
30374}
30375_ACEOF
30376if ac_fn_cxx_try_compile "$LINENO"; then :
30377  glibcxx_cv_func__hypot_use=yes
30378else
30379  glibcxx_cv_func__hypot_use=no
30380fi
30381rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30382      ac_ext=c
30383ac_cpp='$CPP $CPPFLAGS'
30384ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30385ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30386ac_compiler_gnu=$ac_cv_c_compiler_gnu
30387
30388
30389fi
30390
30391  fi
30392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30393$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30394
30395    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30396      for ac_func in _hypot
30397do :
30398  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30399if test "x$ac_cv_func__hypot" = x""yes; then :
30400  cat >>confdefs.h <<_ACEOF
30401#define HAVE__HYPOT 1
30402_ACEOF
30403
30404fi
30405done
30406
30407    fi
30408  fi
30409
30410
30411
30412
30413
30414    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30415$as_echo_n "checking for float trig functions... " >&6; }
30416  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
30417  $as_echo_n "(cached) " >&6
30418else
30419
30420
30421    ac_ext=cpp
30422ac_cpp='$CXXCPP $CPPFLAGS'
30423ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30424ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30425ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30426
30427    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30428/* end confdefs.h.  */
30429#include <math.h>
30430int
30431main ()
30432{
30433acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30434  ;
30435  return 0;
30436}
30437_ACEOF
30438if ac_fn_cxx_try_compile "$LINENO"; then :
30439  glibcxx_cv_func_float_trig_use=yes
30440else
30441  glibcxx_cv_func_float_trig_use=no
30442fi
30443rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30444    ac_ext=c
30445ac_cpp='$CPP $CPPFLAGS'
30446ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30447ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30448ac_compiler_gnu=$ac_cv_c_compiler_gnu
30449
30450fi
30451
30452  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30453$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30454  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30455    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30456do :
30457  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30458ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30459eval as_val=\$$as_ac_var
30460   if test "x$as_val" = x""yes; then :
30461  cat >>confdefs.h <<_ACEOF
30462#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30463_ACEOF
30464
30465fi
30466done
30467
30468  else
30469    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30470$as_echo_n "checking for _float trig functions... " >&6; }
30471    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30472  $as_echo_n "(cached) " >&6
30473else
30474
30475
30476      ac_ext=cpp
30477ac_cpp='$CXXCPP $CPPFLAGS'
30478ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30479ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30480ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30481
30482      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30483/* end confdefs.h.  */
30484#include <math.h>
30485int
30486main ()
30487{
30488_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30489  ;
30490  return 0;
30491}
30492_ACEOF
30493if ac_fn_cxx_try_compile "$LINENO"; then :
30494  glibcxx_cv_func__float_trig_use=yes
30495else
30496  glibcxx_cv_func__float_trig_use=no
30497fi
30498rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30499      ac_ext=c
30500ac_cpp='$CPP $CPPFLAGS'
30501ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30502ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30503ac_compiler_gnu=$ac_cv_c_compiler_gnu
30504
30505fi
30506
30507    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30508$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30509    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30510      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30511do :
30512  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30513ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30514eval as_val=\$$as_ac_var
30515   if test "x$as_val" = x""yes; then :
30516  cat >>confdefs.h <<_ACEOF
30517#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30518_ACEOF
30519
30520fi
30521done
30522
30523    fi
30524  fi
30525
30526
30527
30528
30529
30530    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30531$as_echo_n "checking for float round functions... " >&6; }
30532  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30533  $as_echo_n "(cached) " >&6
30534else
30535
30536
30537    ac_ext=cpp
30538ac_cpp='$CXXCPP $CPPFLAGS'
30539ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30540ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30541ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30542
30543    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30544/* end confdefs.h.  */
30545#include <math.h>
30546int
30547main ()
30548{
30549ceilf (0); floorf (0);
30550  ;
30551  return 0;
30552}
30553_ACEOF
30554if ac_fn_cxx_try_compile "$LINENO"; then :
30555  glibcxx_cv_func_float_round_use=yes
30556else
30557  glibcxx_cv_func_float_round_use=no
30558fi
30559rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30560    ac_ext=c
30561ac_cpp='$CPP $CPPFLAGS'
30562ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30563ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30564ac_compiler_gnu=$ac_cv_c_compiler_gnu
30565
30566fi
30567
30568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30569$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30570  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30571    for ac_func in ceilf floorf
30572do :
30573  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30574ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30575eval as_val=\$$as_ac_var
30576   if test "x$as_val" = x""yes; then :
30577  cat >>confdefs.h <<_ACEOF
30578#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30579_ACEOF
30580
30581fi
30582done
30583
30584  else
30585    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30586$as_echo_n "checking for _float round functions... " >&6; }
30587    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30588  $as_echo_n "(cached) " >&6
30589else
30590
30591
30592      ac_ext=cpp
30593ac_cpp='$CXXCPP $CPPFLAGS'
30594ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30595ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30596ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30597
30598      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30599/* end confdefs.h.  */
30600#include <math.h>
30601int
30602main ()
30603{
30604_ceilf (0); _floorf (0);
30605  ;
30606  return 0;
30607}
30608_ACEOF
30609if ac_fn_cxx_try_compile "$LINENO"; then :
30610  glibcxx_cv_func__float_round_use=yes
30611else
30612  glibcxx_cv_func__float_round_use=no
30613fi
30614rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30615      ac_ext=c
30616ac_cpp='$CPP $CPPFLAGS'
30617ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30618ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30619ac_compiler_gnu=$ac_cv_c_compiler_gnu
30620
30621fi
30622
30623    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30624$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30625    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30626      for ac_func in _ceilf _floorf
30627do :
30628  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30629ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30630eval as_val=\$$as_ac_var
30631   if test "x$as_val" = x""yes; then :
30632  cat >>confdefs.h <<_ACEOF
30633#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30634_ACEOF
30635
30636fi
30637done
30638
30639    fi
30640  fi
30641
30642
30643
30644
30645
30646
30647  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30648$as_echo_n "checking for expf declaration... " >&6; }
30649  if test x${glibcxx_cv_func_expf_use+set} != xset; then
30650    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30651  $as_echo_n "(cached) " >&6
30652else
30653
30654
30655      ac_ext=cpp
30656ac_cpp='$CXXCPP $CPPFLAGS'
30657ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30658ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30659ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30660
30661      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30662/* end confdefs.h.  */
30663#include <math.h>
30664		      #ifdef HAVE_IEEEFP_H
30665		      #include <ieeefp.h>
30666		      #endif
30667
30668int
30669main ()
30670{
30671 expf(0);
30672  ;
30673  return 0;
30674}
30675_ACEOF
30676if ac_fn_cxx_try_compile "$LINENO"; then :
30677  glibcxx_cv_func_expf_use=yes
30678else
30679  glibcxx_cv_func_expf_use=no
30680fi
30681rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30682      ac_ext=c
30683ac_cpp='$CPP $CPPFLAGS'
30684ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30685ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30686ac_compiler_gnu=$ac_cv_c_compiler_gnu
30687
30688
30689fi
30690
30691  fi
30692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30693$as_echo "$glibcxx_cv_func_expf_use" >&6; }
30694
30695  if test x$glibcxx_cv_func_expf_use = x"yes"; then
30696    for ac_func in expf
30697do :
30698  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30699if test "x$ac_cv_func_expf" = x""yes; then :
30700  cat >>confdefs.h <<_ACEOF
30701#define HAVE_EXPF 1
30702_ACEOF
30703
30704fi
30705done
30706
30707  else
30708
30709  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30710$as_echo_n "checking for _expf declaration... " >&6; }
30711  if test x${glibcxx_cv_func__expf_use+set} != xset; then
30712    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30713  $as_echo_n "(cached) " >&6
30714else
30715
30716
30717      ac_ext=cpp
30718ac_cpp='$CXXCPP $CPPFLAGS'
30719ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30720ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30721ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30722
30723      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30724/* end confdefs.h.  */
30725#include <math.h>
30726		      #ifdef HAVE_IEEEFP_H
30727		      #include <ieeefp.h>
30728		      #endif
30729
30730int
30731main ()
30732{
30733 _expf(0);
30734  ;
30735  return 0;
30736}
30737_ACEOF
30738if ac_fn_cxx_try_compile "$LINENO"; then :
30739  glibcxx_cv_func__expf_use=yes
30740else
30741  glibcxx_cv_func__expf_use=no
30742fi
30743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30744      ac_ext=c
30745ac_cpp='$CPP $CPPFLAGS'
30746ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30747ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30748ac_compiler_gnu=$ac_cv_c_compiler_gnu
30749
30750
30751fi
30752
30753  fi
30754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30755$as_echo "$glibcxx_cv_func__expf_use" >&6; }
30756
30757    if test x$glibcxx_cv_func__expf_use = x"yes"; then
30758      for ac_func in _expf
30759do :
30760  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30761if test "x$ac_cv_func__expf" = x""yes; then :
30762  cat >>confdefs.h <<_ACEOF
30763#define HAVE__EXPF 1
30764_ACEOF
30765
30766fi
30767done
30768
30769    fi
30770  fi
30771
30772
30773
30774
30775
30776  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30777$as_echo_n "checking for isnanf declaration... " >&6; }
30778  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30779    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30780  $as_echo_n "(cached) " >&6
30781else
30782
30783
30784      ac_ext=cpp
30785ac_cpp='$CXXCPP $CPPFLAGS'
30786ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30787ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30788ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30789
30790      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30791/* end confdefs.h.  */
30792#include <math.h>
30793		      #ifdef HAVE_IEEEFP_H
30794		      #include <ieeefp.h>
30795		      #endif
30796
30797int
30798main ()
30799{
30800 isnanf(0);
30801  ;
30802  return 0;
30803}
30804_ACEOF
30805if ac_fn_cxx_try_compile "$LINENO"; then :
30806  glibcxx_cv_func_isnanf_use=yes
30807else
30808  glibcxx_cv_func_isnanf_use=no
30809fi
30810rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30811      ac_ext=c
30812ac_cpp='$CPP $CPPFLAGS'
30813ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30814ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30815ac_compiler_gnu=$ac_cv_c_compiler_gnu
30816
30817
30818fi
30819
30820  fi
30821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30822$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30823
30824  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30825    for ac_func in isnanf
30826do :
30827  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30828if test "x$ac_cv_func_isnanf" = x""yes; then :
30829  cat >>confdefs.h <<_ACEOF
30830#define HAVE_ISNANF 1
30831_ACEOF
30832
30833fi
30834done
30835
30836  else
30837
30838  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30839$as_echo_n "checking for _isnanf declaration... " >&6; }
30840  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30841    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30842  $as_echo_n "(cached) " >&6
30843else
30844
30845
30846      ac_ext=cpp
30847ac_cpp='$CXXCPP $CPPFLAGS'
30848ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30849ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30850ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30851
30852      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30853/* end confdefs.h.  */
30854#include <math.h>
30855		      #ifdef HAVE_IEEEFP_H
30856		      #include <ieeefp.h>
30857		      #endif
30858
30859int
30860main ()
30861{
30862 _isnanf(0);
30863  ;
30864  return 0;
30865}
30866_ACEOF
30867if ac_fn_cxx_try_compile "$LINENO"; then :
30868  glibcxx_cv_func__isnanf_use=yes
30869else
30870  glibcxx_cv_func__isnanf_use=no
30871fi
30872rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30873      ac_ext=c
30874ac_cpp='$CPP $CPPFLAGS'
30875ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30876ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30877ac_compiler_gnu=$ac_cv_c_compiler_gnu
30878
30879
30880fi
30881
30882  fi
30883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30884$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30885
30886    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30887      for ac_func in _isnanf
30888do :
30889  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30890if test "x$ac_cv_func__isnanf" = x""yes; then :
30891  cat >>confdefs.h <<_ACEOF
30892#define HAVE__ISNANF 1
30893_ACEOF
30894
30895fi
30896done
30897
30898    fi
30899  fi
30900
30901
30902
30903
30904
30905  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30906$as_echo_n "checking for isinff declaration... " >&6; }
30907  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30908    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30909  $as_echo_n "(cached) " >&6
30910else
30911
30912
30913      ac_ext=cpp
30914ac_cpp='$CXXCPP $CPPFLAGS'
30915ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30916ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30917ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30918
30919      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30920/* end confdefs.h.  */
30921#include <math.h>
30922		      #ifdef HAVE_IEEEFP_H
30923		      #include <ieeefp.h>
30924		      #endif
30925
30926int
30927main ()
30928{
30929 isinff(0);
30930  ;
30931  return 0;
30932}
30933_ACEOF
30934if ac_fn_cxx_try_compile "$LINENO"; then :
30935  glibcxx_cv_func_isinff_use=yes
30936else
30937  glibcxx_cv_func_isinff_use=no
30938fi
30939rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30940      ac_ext=c
30941ac_cpp='$CPP $CPPFLAGS'
30942ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30943ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30944ac_compiler_gnu=$ac_cv_c_compiler_gnu
30945
30946
30947fi
30948
30949  fi
30950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30951$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30952
30953  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30954    for ac_func in isinff
30955do :
30956  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30957if test "x$ac_cv_func_isinff" = x""yes; then :
30958  cat >>confdefs.h <<_ACEOF
30959#define HAVE_ISINFF 1
30960_ACEOF
30961
30962fi
30963done
30964
30965  else
30966
30967  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30968$as_echo_n "checking for _isinff declaration... " >&6; }
30969  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30970    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30971  $as_echo_n "(cached) " >&6
30972else
30973
30974
30975      ac_ext=cpp
30976ac_cpp='$CXXCPP $CPPFLAGS'
30977ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30978ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30979ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30980
30981      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30982/* end confdefs.h.  */
30983#include <math.h>
30984		      #ifdef HAVE_IEEEFP_H
30985		      #include <ieeefp.h>
30986		      #endif
30987
30988int
30989main ()
30990{
30991 _isinff(0);
30992  ;
30993  return 0;
30994}
30995_ACEOF
30996if ac_fn_cxx_try_compile "$LINENO"; then :
30997  glibcxx_cv_func__isinff_use=yes
30998else
30999  glibcxx_cv_func__isinff_use=no
31000fi
31001rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31002      ac_ext=c
31003ac_cpp='$CPP $CPPFLAGS'
31004ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31005ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31006ac_compiler_gnu=$ac_cv_c_compiler_gnu
31007
31008
31009fi
31010
31011  fi
31012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31013$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31014
31015    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31016      for ac_func in _isinff
31017do :
31018  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31019if test "x$ac_cv_func__isinff" = x""yes; then :
31020  cat >>confdefs.h <<_ACEOF
31021#define HAVE__ISINFF 1
31022_ACEOF
31023
31024fi
31025done
31026
31027    fi
31028  fi
31029
31030
31031
31032
31033
31034  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31035$as_echo_n "checking for atan2f declaration... " >&6; }
31036  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31037    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
31038  $as_echo_n "(cached) " >&6
31039else
31040
31041
31042      ac_ext=cpp
31043ac_cpp='$CXXCPP $CPPFLAGS'
31044ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31045ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31046ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31047
31048      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31049/* end confdefs.h.  */
31050#include <math.h>
31051int
31052main ()
31053{
31054 atan2f(0, 0);
31055  ;
31056  return 0;
31057}
31058_ACEOF
31059if ac_fn_cxx_try_compile "$LINENO"; then :
31060  glibcxx_cv_func_atan2f_use=yes
31061else
31062  glibcxx_cv_func_atan2f_use=no
31063fi
31064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31065      ac_ext=c
31066ac_cpp='$CPP $CPPFLAGS'
31067ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31068ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31069ac_compiler_gnu=$ac_cv_c_compiler_gnu
31070
31071
31072fi
31073
31074  fi
31075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31076$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31077
31078  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31079    for ac_func in atan2f
31080do :
31081  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31082if test "x$ac_cv_func_atan2f" = x""yes; then :
31083  cat >>confdefs.h <<_ACEOF
31084#define HAVE_ATAN2F 1
31085_ACEOF
31086
31087fi
31088done
31089
31090  else
31091
31092  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31093$as_echo_n "checking for _atan2f declaration... " >&6; }
31094  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31095    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
31096  $as_echo_n "(cached) " >&6
31097else
31098
31099
31100      ac_ext=cpp
31101ac_cpp='$CXXCPP $CPPFLAGS'
31102ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31103ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31104ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31105
31106      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31107/* end confdefs.h.  */
31108#include <math.h>
31109int
31110main ()
31111{
31112 _atan2f(0, 0);
31113  ;
31114  return 0;
31115}
31116_ACEOF
31117if ac_fn_cxx_try_compile "$LINENO"; then :
31118  glibcxx_cv_func__atan2f_use=yes
31119else
31120  glibcxx_cv_func__atan2f_use=no
31121fi
31122rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31123      ac_ext=c
31124ac_cpp='$CPP $CPPFLAGS'
31125ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31126ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31127ac_compiler_gnu=$ac_cv_c_compiler_gnu
31128
31129
31130fi
31131
31132  fi
31133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31134$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31135
31136    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31137      for ac_func in _atan2f
31138do :
31139  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31140if test "x$ac_cv_func__atan2f" = x""yes; then :
31141  cat >>confdefs.h <<_ACEOF
31142#define HAVE__ATAN2F 1
31143_ACEOF
31144
31145fi
31146done
31147
31148    fi
31149  fi
31150
31151
31152
31153
31154
31155  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31156$as_echo_n "checking for fabsf declaration... " >&6; }
31157  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31158    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
31159  $as_echo_n "(cached) " >&6
31160else
31161
31162
31163      ac_ext=cpp
31164ac_cpp='$CXXCPP $CPPFLAGS'
31165ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31166ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31167ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31168
31169      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31170/* end confdefs.h.  */
31171#include <math.h>
31172		      #ifdef HAVE_IEEEFP_H
31173		      #include <ieeefp.h>
31174		      #endif
31175
31176int
31177main ()
31178{
31179 fabsf(0);
31180  ;
31181  return 0;
31182}
31183_ACEOF
31184if ac_fn_cxx_try_compile "$LINENO"; then :
31185  glibcxx_cv_func_fabsf_use=yes
31186else
31187  glibcxx_cv_func_fabsf_use=no
31188fi
31189rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31190      ac_ext=c
31191ac_cpp='$CPP $CPPFLAGS'
31192ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31193ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31194ac_compiler_gnu=$ac_cv_c_compiler_gnu
31195
31196
31197fi
31198
31199  fi
31200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31201$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31202
31203  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31204    for ac_func in fabsf
31205do :
31206  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31207if test "x$ac_cv_func_fabsf" = x""yes; then :
31208  cat >>confdefs.h <<_ACEOF
31209#define HAVE_FABSF 1
31210_ACEOF
31211
31212fi
31213done
31214
31215  else
31216
31217  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31218$as_echo_n "checking for _fabsf declaration... " >&6; }
31219  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31220    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
31221  $as_echo_n "(cached) " >&6
31222else
31223
31224
31225      ac_ext=cpp
31226ac_cpp='$CXXCPP $CPPFLAGS'
31227ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31228ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31229ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31230
31231      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31232/* end confdefs.h.  */
31233#include <math.h>
31234		      #ifdef HAVE_IEEEFP_H
31235		      #include <ieeefp.h>
31236		      #endif
31237
31238int
31239main ()
31240{
31241 _fabsf(0);
31242  ;
31243  return 0;
31244}
31245_ACEOF
31246if ac_fn_cxx_try_compile "$LINENO"; then :
31247  glibcxx_cv_func__fabsf_use=yes
31248else
31249  glibcxx_cv_func__fabsf_use=no
31250fi
31251rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31252      ac_ext=c
31253ac_cpp='$CPP $CPPFLAGS'
31254ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31255ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31256ac_compiler_gnu=$ac_cv_c_compiler_gnu
31257
31258
31259fi
31260
31261  fi
31262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31263$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31264
31265    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31266      for ac_func in _fabsf
31267do :
31268  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31269if test "x$ac_cv_func__fabsf" = x""yes; then :
31270  cat >>confdefs.h <<_ACEOF
31271#define HAVE__FABSF 1
31272_ACEOF
31273
31274fi
31275done
31276
31277    fi
31278  fi
31279
31280
31281
31282
31283
31284  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31285$as_echo_n "checking for fmodf declaration... " >&6; }
31286  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31287    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
31288  $as_echo_n "(cached) " >&6
31289else
31290
31291
31292      ac_ext=cpp
31293ac_cpp='$CXXCPP $CPPFLAGS'
31294ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31295ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31296ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31297
31298      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31299/* end confdefs.h.  */
31300#include <math.h>
31301int
31302main ()
31303{
31304 fmodf(0, 0);
31305  ;
31306  return 0;
31307}
31308_ACEOF
31309if ac_fn_cxx_try_compile "$LINENO"; then :
31310  glibcxx_cv_func_fmodf_use=yes
31311else
31312  glibcxx_cv_func_fmodf_use=no
31313fi
31314rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31315      ac_ext=c
31316ac_cpp='$CPP $CPPFLAGS'
31317ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31318ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31319ac_compiler_gnu=$ac_cv_c_compiler_gnu
31320
31321
31322fi
31323
31324  fi
31325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31326$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31327
31328  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31329    for ac_func in fmodf
31330do :
31331  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31332if test "x$ac_cv_func_fmodf" = x""yes; then :
31333  cat >>confdefs.h <<_ACEOF
31334#define HAVE_FMODF 1
31335_ACEOF
31336
31337fi
31338done
31339
31340  else
31341
31342  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31343$as_echo_n "checking for _fmodf declaration... " >&6; }
31344  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31345    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
31346  $as_echo_n "(cached) " >&6
31347else
31348
31349
31350      ac_ext=cpp
31351ac_cpp='$CXXCPP $CPPFLAGS'
31352ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31353ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31354ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31355
31356      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31357/* end confdefs.h.  */
31358#include <math.h>
31359int
31360main ()
31361{
31362 _fmodf(0, 0);
31363  ;
31364  return 0;
31365}
31366_ACEOF
31367if ac_fn_cxx_try_compile "$LINENO"; then :
31368  glibcxx_cv_func__fmodf_use=yes
31369else
31370  glibcxx_cv_func__fmodf_use=no
31371fi
31372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31373      ac_ext=c
31374ac_cpp='$CPP $CPPFLAGS'
31375ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31376ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31377ac_compiler_gnu=$ac_cv_c_compiler_gnu
31378
31379
31380fi
31381
31382  fi
31383  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31384$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31385
31386    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31387      for ac_func in _fmodf
31388do :
31389  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31390if test "x$ac_cv_func__fmodf" = x""yes; then :
31391  cat >>confdefs.h <<_ACEOF
31392#define HAVE__FMODF 1
31393_ACEOF
31394
31395fi
31396done
31397
31398    fi
31399  fi
31400
31401
31402
31403
31404
31405  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31406$as_echo_n "checking for frexpf declaration... " >&6; }
31407  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31408    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
31409  $as_echo_n "(cached) " >&6
31410else
31411
31412
31413      ac_ext=cpp
31414ac_cpp='$CXXCPP $CPPFLAGS'
31415ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31416ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31417ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31418
31419      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31420/* end confdefs.h.  */
31421#include <math.h>
31422int
31423main ()
31424{
31425 frexpf(0, 0);
31426  ;
31427  return 0;
31428}
31429_ACEOF
31430if ac_fn_cxx_try_compile "$LINENO"; then :
31431  glibcxx_cv_func_frexpf_use=yes
31432else
31433  glibcxx_cv_func_frexpf_use=no
31434fi
31435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31436      ac_ext=c
31437ac_cpp='$CPP $CPPFLAGS'
31438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31440ac_compiler_gnu=$ac_cv_c_compiler_gnu
31441
31442
31443fi
31444
31445  fi
31446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31447$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31448
31449  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31450    for ac_func in frexpf
31451do :
31452  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31453if test "x$ac_cv_func_frexpf" = x""yes; then :
31454  cat >>confdefs.h <<_ACEOF
31455#define HAVE_FREXPF 1
31456_ACEOF
31457
31458fi
31459done
31460
31461  else
31462
31463  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31464$as_echo_n "checking for _frexpf declaration... " >&6; }
31465  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31466    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31467  $as_echo_n "(cached) " >&6
31468else
31469
31470
31471      ac_ext=cpp
31472ac_cpp='$CXXCPP $CPPFLAGS'
31473ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31474ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31475ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31476
31477      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31478/* end confdefs.h.  */
31479#include <math.h>
31480int
31481main ()
31482{
31483 _frexpf(0, 0);
31484  ;
31485  return 0;
31486}
31487_ACEOF
31488if ac_fn_cxx_try_compile "$LINENO"; then :
31489  glibcxx_cv_func__frexpf_use=yes
31490else
31491  glibcxx_cv_func__frexpf_use=no
31492fi
31493rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31494      ac_ext=c
31495ac_cpp='$CPP $CPPFLAGS'
31496ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31497ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31498ac_compiler_gnu=$ac_cv_c_compiler_gnu
31499
31500
31501fi
31502
31503  fi
31504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31505$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31506
31507    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31508      for ac_func in _frexpf
31509do :
31510  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31511if test "x$ac_cv_func__frexpf" = x""yes; then :
31512  cat >>confdefs.h <<_ACEOF
31513#define HAVE__FREXPF 1
31514_ACEOF
31515
31516fi
31517done
31518
31519    fi
31520  fi
31521
31522
31523
31524
31525
31526  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31527$as_echo_n "checking for hypotf declaration... " >&6; }
31528  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31529    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31530  $as_echo_n "(cached) " >&6
31531else
31532
31533
31534      ac_ext=cpp
31535ac_cpp='$CXXCPP $CPPFLAGS'
31536ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31537ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31538ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31539
31540      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31541/* end confdefs.h.  */
31542#include <math.h>
31543int
31544main ()
31545{
31546 hypotf(0, 0);
31547  ;
31548  return 0;
31549}
31550_ACEOF
31551if ac_fn_cxx_try_compile "$LINENO"; then :
31552  glibcxx_cv_func_hypotf_use=yes
31553else
31554  glibcxx_cv_func_hypotf_use=no
31555fi
31556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31557      ac_ext=c
31558ac_cpp='$CPP $CPPFLAGS'
31559ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31560ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31561ac_compiler_gnu=$ac_cv_c_compiler_gnu
31562
31563
31564fi
31565
31566  fi
31567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31568$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31569
31570  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31571    for ac_func in hypotf
31572do :
31573  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31574if test "x$ac_cv_func_hypotf" = x""yes; then :
31575  cat >>confdefs.h <<_ACEOF
31576#define HAVE_HYPOTF 1
31577_ACEOF
31578
31579fi
31580done
31581
31582  else
31583
31584  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31585$as_echo_n "checking for _hypotf declaration... " >&6; }
31586  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31587    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31588  $as_echo_n "(cached) " >&6
31589else
31590
31591
31592      ac_ext=cpp
31593ac_cpp='$CXXCPP $CPPFLAGS'
31594ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31595ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31596ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31597
31598      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31599/* end confdefs.h.  */
31600#include <math.h>
31601int
31602main ()
31603{
31604 _hypotf(0, 0);
31605  ;
31606  return 0;
31607}
31608_ACEOF
31609if ac_fn_cxx_try_compile "$LINENO"; then :
31610  glibcxx_cv_func__hypotf_use=yes
31611else
31612  glibcxx_cv_func__hypotf_use=no
31613fi
31614rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31615      ac_ext=c
31616ac_cpp='$CPP $CPPFLAGS'
31617ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31618ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31619ac_compiler_gnu=$ac_cv_c_compiler_gnu
31620
31621
31622fi
31623
31624  fi
31625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31626$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31627
31628    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31629      for ac_func in _hypotf
31630do :
31631  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31632if test "x$ac_cv_func__hypotf" = x""yes; then :
31633  cat >>confdefs.h <<_ACEOF
31634#define HAVE__HYPOTF 1
31635_ACEOF
31636
31637fi
31638done
31639
31640    fi
31641  fi
31642
31643
31644
31645
31646
31647  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31648$as_echo_n "checking for ldexpf declaration... " >&6; }
31649  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31650    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31651  $as_echo_n "(cached) " >&6
31652else
31653
31654
31655      ac_ext=cpp
31656ac_cpp='$CXXCPP $CPPFLAGS'
31657ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31658ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31659ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31660
31661      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31662/* end confdefs.h.  */
31663#include <math.h>
31664int
31665main ()
31666{
31667 ldexpf(0, 0);
31668  ;
31669  return 0;
31670}
31671_ACEOF
31672if ac_fn_cxx_try_compile "$LINENO"; then :
31673  glibcxx_cv_func_ldexpf_use=yes
31674else
31675  glibcxx_cv_func_ldexpf_use=no
31676fi
31677rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31678      ac_ext=c
31679ac_cpp='$CPP $CPPFLAGS'
31680ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31681ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31682ac_compiler_gnu=$ac_cv_c_compiler_gnu
31683
31684
31685fi
31686
31687  fi
31688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31689$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31690
31691  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31692    for ac_func in ldexpf
31693do :
31694  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31695if test "x$ac_cv_func_ldexpf" = x""yes; then :
31696  cat >>confdefs.h <<_ACEOF
31697#define HAVE_LDEXPF 1
31698_ACEOF
31699
31700fi
31701done
31702
31703  else
31704
31705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31706$as_echo_n "checking for _ldexpf declaration... " >&6; }
31707  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31708    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31709  $as_echo_n "(cached) " >&6
31710else
31711
31712
31713      ac_ext=cpp
31714ac_cpp='$CXXCPP $CPPFLAGS'
31715ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31716ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31717ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31718
31719      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31720/* end confdefs.h.  */
31721#include <math.h>
31722int
31723main ()
31724{
31725 _ldexpf(0, 0);
31726  ;
31727  return 0;
31728}
31729_ACEOF
31730if ac_fn_cxx_try_compile "$LINENO"; then :
31731  glibcxx_cv_func__ldexpf_use=yes
31732else
31733  glibcxx_cv_func__ldexpf_use=no
31734fi
31735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31736      ac_ext=c
31737ac_cpp='$CPP $CPPFLAGS'
31738ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31739ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31740ac_compiler_gnu=$ac_cv_c_compiler_gnu
31741
31742
31743fi
31744
31745  fi
31746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31747$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31748
31749    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31750      for ac_func in _ldexpf
31751do :
31752  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31753if test "x$ac_cv_func__ldexpf" = x""yes; then :
31754  cat >>confdefs.h <<_ACEOF
31755#define HAVE__LDEXPF 1
31756_ACEOF
31757
31758fi
31759done
31760
31761    fi
31762  fi
31763
31764
31765
31766
31767
31768  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31769$as_echo_n "checking for logf declaration... " >&6; }
31770  if test x${glibcxx_cv_func_logf_use+set} != xset; then
31771    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31772  $as_echo_n "(cached) " >&6
31773else
31774
31775
31776      ac_ext=cpp
31777ac_cpp='$CXXCPP $CPPFLAGS'
31778ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31779ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31780ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31781
31782      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31783/* end confdefs.h.  */
31784#include <math.h>
31785		      #ifdef HAVE_IEEEFP_H
31786		      #include <ieeefp.h>
31787		      #endif
31788
31789int
31790main ()
31791{
31792 logf(0);
31793  ;
31794  return 0;
31795}
31796_ACEOF
31797if ac_fn_cxx_try_compile "$LINENO"; then :
31798  glibcxx_cv_func_logf_use=yes
31799else
31800  glibcxx_cv_func_logf_use=no
31801fi
31802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31803      ac_ext=c
31804ac_cpp='$CPP $CPPFLAGS'
31805ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31806ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31807ac_compiler_gnu=$ac_cv_c_compiler_gnu
31808
31809
31810fi
31811
31812  fi
31813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31814$as_echo "$glibcxx_cv_func_logf_use" >&6; }
31815
31816  if test x$glibcxx_cv_func_logf_use = x"yes"; then
31817    for ac_func in logf
31818do :
31819  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31820if test "x$ac_cv_func_logf" = x""yes; then :
31821  cat >>confdefs.h <<_ACEOF
31822#define HAVE_LOGF 1
31823_ACEOF
31824
31825fi
31826done
31827
31828  else
31829
31830  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31831$as_echo_n "checking for _logf declaration... " >&6; }
31832  if test x${glibcxx_cv_func__logf_use+set} != xset; then
31833    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31834  $as_echo_n "(cached) " >&6
31835else
31836
31837
31838      ac_ext=cpp
31839ac_cpp='$CXXCPP $CPPFLAGS'
31840ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31841ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31842ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31843
31844      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31845/* end confdefs.h.  */
31846#include <math.h>
31847		      #ifdef HAVE_IEEEFP_H
31848		      #include <ieeefp.h>
31849		      #endif
31850
31851int
31852main ()
31853{
31854 _logf(0);
31855  ;
31856  return 0;
31857}
31858_ACEOF
31859if ac_fn_cxx_try_compile "$LINENO"; then :
31860  glibcxx_cv_func__logf_use=yes
31861else
31862  glibcxx_cv_func__logf_use=no
31863fi
31864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31865      ac_ext=c
31866ac_cpp='$CPP $CPPFLAGS'
31867ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31868ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31869ac_compiler_gnu=$ac_cv_c_compiler_gnu
31870
31871
31872fi
31873
31874  fi
31875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31876$as_echo "$glibcxx_cv_func__logf_use" >&6; }
31877
31878    if test x$glibcxx_cv_func__logf_use = x"yes"; then
31879      for ac_func in _logf
31880do :
31881  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31882if test "x$ac_cv_func__logf" = x""yes; then :
31883  cat >>confdefs.h <<_ACEOF
31884#define HAVE__LOGF 1
31885_ACEOF
31886
31887fi
31888done
31889
31890    fi
31891  fi
31892
31893
31894
31895
31896
31897  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31898$as_echo_n "checking for log10f declaration... " >&6; }
31899  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31900    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31901  $as_echo_n "(cached) " >&6
31902else
31903
31904
31905      ac_ext=cpp
31906ac_cpp='$CXXCPP $CPPFLAGS'
31907ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31908ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31909ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31910
31911      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31912/* end confdefs.h.  */
31913#include <math.h>
31914		      #ifdef HAVE_IEEEFP_H
31915		      #include <ieeefp.h>
31916		      #endif
31917
31918int
31919main ()
31920{
31921 log10f(0);
31922  ;
31923  return 0;
31924}
31925_ACEOF
31926if ac_fn_cxx_try_compile "$LINENO"; then :
31927  glibcxx_cv_func_log10f_use=yes
31928else
31929  glibcxx_cv_func_log10f_use=no
31930fi
31931rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31932      ac_ext=c
31933ac_cpp='$CPP $CPPFLAGS'
31934ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31935ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31936ac_compiler_gnu=$ac_cv_c_compiler_gnu
31937
31938
31939fi
31940
31941  fi
31942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31943$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31944
31945  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31946    for ac_func in log10f
31947do :
31948  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31949if test "x$ac_cv_func_log10f" = x""yes; then :
31950  cat >>confdefs.h <<_ACEOF
31951#define HAVE_LOG10F 1
31952_ACEOF
31953
31954fi
31955done
31956
31957  else
31958
31959  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31960$as_echo_n "checking for _log10f declaration... " >&6; }
31961  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31962    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31963  $as_echo_n "(cached) " >&6
31964else
31965
31966
31967      ac_ext=cpp
31968ac_cpp='$CXXCPP $CPPFLAGS'
31969ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31970ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31971ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31972
31973      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31974/* end confdefs.h.  */
31975#include <math.h>
31976		      #ifdef HAVE_IEEEFP_H
31977		      #include <ieeefp.h>
31978		      #endif
31979
31980int
31981main ()
31982{
31983 _log10f(0);
31984  ;
31985  return 0;
31986}
31987_ACEOF
31988if ac_fn_cxx_try_compile "$LINENO"; then :
31989  glibcxx_cv_func__log10f_use=yes
31990else
31991  glibcxx_cv_func__log10f_use=no
31992fi
31993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31994      ac_ext=c
31995ac_cpp='$CPP $CPPFLAGS'
31996ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31997ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31998ac_compiler_gnu=$ac_cv_c_compiler_gnu
31999
32000
32001fi
32002
32003  fi
32004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32005$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32006
32007    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32008      for ac_func in _log10f
32009do :
32010  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32011if test "x$ac_cv_func__log10f" = x""yes; then :
32012  cat >>confdefs.h <<_ACEOF
32013#define HAVE__LOG10F 1
32014_ACEOF
32015
32016fi
32017done
32018
32019    fi
32020  fi
32021
32022
32023
32024
32025
32026  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32027$as_echo_n "checking for modff declaration... " >&6; }
32028  if test x${glibcxx_cv_func_modff_use+set} != xset; then
32029    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
32030  $as_echo_n "(cached) " >&6
32031else
32032
32033
32034      ac_ext=cpp
32035ac_cpp='$CXXCPP $CPPFLAGS'
32036ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32037ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32038ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32039
32040      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32041/* end confdefs.h.  */
32042#include <math.h>
32043int
32044main ()
32045{
32046 modff(0, 0);
32047  ;
32048  return 0;
32049}
32050_ACEOF
32051if ac_fn_cxx_try_compile "$LINENO"; then :
32052  glibcxx_cv_func_modff_use=yes
32053else
32054  glibcxx_cv_func_modff_use=no
32055fi
32056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32057      ac_ext=c
32058ac_cpp='$CPP $CPPFLAGS'
32059ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32060ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32061ac_compiler_gnu=$ac_cv_c_compiler_gnu
32062
32063
32064fi
32065
32066  fi
32067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32068$as_echo "$glibcxx_cv_func_modff_use" >&6; }
32069
32070  if test x$glibcxx_cv_func_modff_use = x"yes"; then
32071    for ac_func in modff
32072do :
32073  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32074if test "x$ac_cv_func_modff" = x""yes; then :
32075  cat >>confdefs.h <<_ACEOF
32076#define HAVE_MODFF 1
32077_ACEOF
32078
32079fi
32080done
32081
32082  else
32083
32084  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32085$as_echo_n "checking for _modff declaration... " >&6; }
32086  if test x${glibcxx_cv_func__modff_use+set} != xset; then
32087    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
32088  $as_echo_n "(cached) " >&6
32089else
32090
32091
32092      ac_ext=cpp
32093ac_cpp='$CXXCPP $CPPFLAGS'
32094ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32095ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32096ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32097
32098      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32099/* end confdefs.h.  */
32100#include <math.h>
32101int
32102main ()
32103{
32104 _modff(0, 0);
32105  ;
32106  return 0;
32107}
32108_ACEOF
32109if ac_fn_cxx_try_compile "$LINENO"; then :
32110  glibcxx_cv_func__modff_use=yes
32111else
32112  glibcxx_cv_func__modff_use=no
32113fi
32114rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32115      ac_ext=c
32116ac_cpp='$CPP $CPPFLAGS'
32117ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32118ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32119ac_compiler_gnu=$ac_cv_c_compiler_gnu
32120
32121
32122fi
32123
32124  fi
32125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32126$as_echo "$glibcxx_cv_func__modff_use" >&6; }
32127
32128    if test x$glibcxx_cv_func__modff_use = x"yes"; then
32129      for ac_func in _modff
32130do :
32131  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32132if test "x$ac_cv_func__modff" = x""yes; then :
32133  cat >>confdefs.h <<_ACEOF
32134#define HAVE__MODFF 1
32135_ACEOF
32136
32137fi
32138done
32139
32140    fi
32141  fi
32142
32143
32144
32145
32146
32147  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32148$as_echo_n "checking for modf declaration... " >&6; }
32149  if test x${glibcxx_cv_func_modf_use+set} != xset; then
32150    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
32151  $as_echo_n "(cached) " >&6
32152else
32153
32154
32155      ac_ext=cpp
32156ac_cpp='$CXXCPP $CPPFLAGS'
32157ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32158ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32159ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32160
32161      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32162/* end confdefs.h.  */
32163#include <math.h>
32164int
32165main ()
32166{
32167 modf(0, 0);
32168  ;
32169  return 0;
32170}
32171_ACEOF
32172if ac_fn_cxx_try_compile "$LINENO"; then :
32173  glibcxx_cv_func_modf_use=yes
32174else
32175  glibcxx_cv_func_modf_use=no
32176fi
32177rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32178      ac_ext=c
32179ac_cpp='$CPP $CPPFLAGS'
32180ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32181ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32182ac_compiler_gnu=$ac_cv_c_compiler_gnu
32183
32184
32185fi
32186
32187  fi
32188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32189$as_echo "$glibcxx_cv_func_modf_use" >&6; }
32190
32191  if test x$glibcxx_cv_func_modf_use = x"yes"; then
32192    for ac_func in modf
32193do :
32194  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32195if test "x$ac_cv_func_modf" = x""yes; then :
32196  cat >>confdefs.h <<_ACEOF
32197#define HAVE_MODF 1
32198_ACEOF
32199
32200fi
32201done
32202
32203  else
32204
32205  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32206$as_echo_n "checking for _modf declaration... " >&6; }
32207  if test x${glibcxx_cv_func__modf_use+set} != xset; then
32208    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
32209  $as_echo_n "(cached) " >&6
32210else
32211
32212
32213      ac_ext=cpp
32214ac_cpp='$CXXCPP $CPPFLAGS'
32215ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32216ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32217ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32218
32219      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32220/* end confdefs.h.  */
32221#include <math.h>
32222int
32223main ()
32224{
32225 _modf(0, 0);
32226  ;
32227  return 0;
32228}
32229_ACEOF
32230if ac_fn_cxx_try_compile "$LINENO"; then :
32231  glibcxx_cv_func__modf_use=yes
32232else
32233  glibcxx_cv_func__modf_use=no
32234fi
32235rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32236      ac_ext=c
32237ac_cpp='$CPP $CPPFLAGS'
32238ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32239ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32240ac_compiler_gnu=$ac_cv_c_compiler_gnu
32241
32242
32243fi
32244
32245  fi
32246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32247$as_echo "$glibcxx_cv_func__modf_use" >&6; }
32248
32249    if test x$glibcxx_cv_func__modf_use = x"yes"; then
32250      for ac_func in _modf
32251do :
32252  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32253if test "x$ac_cv_func__modf" = x""yes; then :
32254  cat >>confdefs.h <<_ACEOF
32255#define HAVE__MODF 1
32256_ACEOF
32257
32258fi
32259done
32260
32261    fi
32262  fi
32263
32264
32265
32266
32267
32268  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32269$as_echo_n "checking for powf declaration... " >&6; }
32270  if test x${glibcxx_cv_func_powf_use+set} != xset; then
32271    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
32272  $as_echo_n "(cached) " >&6
32273else
32274
32275
32276      ac_ext=cpp
32277ac_cpp='$CXXCPP $CPPFLAGS'
32278ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32279ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32280ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32281
32282      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32283/* end confdefs.h.  */
32284#include <math.h>
32285int
32286main ()
32287{
32288 powf(0, 0);
32289  ;
32290  return 0;
32291}
32292_ACEOF
32293if ac_fn_cxx_try_compile "$LINENO"; then :
32294  glibcxx_cv_func_powf_use=yes
32295else
32296  glibcxx_cv_func_powf_use=no
32297fi
32298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32299      ac_ext=c
32300ac_cpp='$CPP $CPPFLAGS'
32301ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32302ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32303ac_compiler_gnu=$ac_cv_c_compiler_gnu
32304
32305
32306fi
32307
32308  fi
32309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32310$as_echo "$glibcxx_cv_func_powf_use" >&6; }
32311
32312  if test x$glibcxx_cv_func_powf_use = x"yes"; then
32313    for ac_func in powf
32314do :
32315  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32316if test "x$ac_cv_func_powf" = x""yes; then :
32317  cat >>confdefs.h <<_ACEOF
32318#define HAVE_POWF 1
32319_ACEOF
32320
32321fi
32322done
32323
32324  else
32325
32326  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32327$as_echo_n "checking for _powf declaration... " >&6; }
32328  if test x${glibcxx_cv_func__powf_use+set} != xset; then
32329    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
32330  $as_echo_n "(cached) " >&6
32331else
32332
32333
32334      ac_ext=cpp
32335ac_cpp='$CXXCPP $CPPFLAGS'
32336ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32337ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32338ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32339
32340      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32341/* end confdefs.h.  */
32342#include <math.h>
32343int
32344main ()
32345{
32346 _powf(0, 0);
32347  ;
32348  return 0;
32349}
32350_ACEOF
32351if ac_fn_cxx_try_compile "$LINENO"; then :
32352  glibcxx_cv_func__powf_use=yes
32353else
32354  glibcxx_cv_func__powf_use=no
32355fi
32356rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32357      ac_ext=c
32358ac_cpp='$CPP $CPPFLAGS'
32359ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32360ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32361ac_compiler_gnu=$ac_cv_c_compiler_gnu
32362
32363
32364fi
32365
32366  fi
32367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32368$as_echo "$glibcxx_cv_func__powf_use" >&6; }
32369
32370    if test x$glibcxx_cv_func__powf_use = x"yes"; then
32371      for ac_func in _powf
32372do :
32373  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32374if test "x$ac_cv_func__powf" = x""yes; then :
32375  cat >>confdefs.h <<_ACEOF
32376#define HAVE__POWF 1
32377_ACEOF
32378
32379fi
32380done
32381
32382    fi
32383  fi
32384
32385
32386
32387
32388
32389  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32390$as_echo_n "checking for sqrtf declaration... " >&6; }
32391  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32392    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
32393  $as_echo_n "(cached) " >&6
32394else
32395
32396
32397      ac_ext=cpp
32398ac_cpp='$CXXCPP $CPPFLAGS'
32399ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32400ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32401ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32402
32403      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32404/* end confdefs.h.  */
32405#include <math.h>
32406		      #ifdef HAVE_IEEEFP_H
32407		      #include <ieeefp.h>
32408		      #endif
32409
32410int
32411main ()
32412{
32413 sqrtf(0);
32414  ;
32415  return 0;
32416}
32417_ACEOF
32418if ac_fn_cxx_try_compile "$LINENO"; then :
32419  glibcxx_cv_func_sqrtf_use=yes
32420else
32421  glibcxx_cv_func_sqrtf_use=no
32422fi
32423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32424      ac_ext=c
32425ac_cpp='$CPP $CPPFLAGS'
32426ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32427ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32428ac_compiler_gnu=$ac_cv_c_compiler_gnu
32429
32430
32431fi
32432
32433  fi
32434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32435$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32436
32437  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32438    for ac_func in sqrtf
32439do :
32440  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32441if test "x$ac_cv_func_sqrtf" = x""yes; then :
32442  cat >>confdefs.h <<_ACEOF
32443#define HAVE_SQRTF 1
32444_ACEOF
32445
32446fi
32447done
32448
32449  else
32450
32451  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32452$as_echo_n "checking for _sqrtf declaration... " >&6; }
32453  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32454    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32455  $as_echo_n "(cached) " >&6
32456else
32457
32458
32459      ac_ext=cpp
32460ac_cpp='$CXXCPP $CPPFLAGS'
32461ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32462ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32463ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32464
32465      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32466/* end confdefs.h.  */
32467#include <math.h>
32468		      #ifdef HAVE_IEEEFP_H
32469		      #include <ieeefp.h>
32470		      #endif
32471
32472int
32473main ()
32474{
32475 _sqrtf(0);
32476  ;
32477  return 0;
32478}
32479_ACEOF
32480if ac_fn_cxx_try_compile "$LINENO"; then :
32481  glibcxx_cv_func__sqrtf_use=yes
32482else
32483  glibcxx_cv_func__sqrtf_use=no
32484fi
32485rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32486      ac_ext=c
32487ac_cpp='$CPP $CPPFLAGS'
32488ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32489ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32490ac_compiler_gnu=$ac_cv_c_compiler_gnu
32491
32492
32493fi
32494
32495  fi
32496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32497$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32498
32499    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32500      for ac_func in _sqrtf
32501do :
32502  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32503if test "x$ac_cv_func__sqrtf" = x""yes; then :
32504  cat >>confdefs.h <<_ACEOF
32505#define HAVE__SQRTF 1
32506_ACEOF
32507
32508fi
32509done
32510
32511    fi
32512  fi
32513
32514
32515
32516
32517
32518  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32519$as_echo_n "checking for sincosf declaration... " >&6; }
32520  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32521    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32522  $as_echo_n "(cached) " >&6
32523else
32524
32525
32526      ac_ext=cpp
32527ac_cpp='$CXXCPP $CPPFLAGS'
32528ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32529ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32530ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32531
32532      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32533/* end confdefs.h.  */
32534#include <math.h>
32535int
32536main ()
32537{
32538 sincosf(0, 0, 0);
32539  ;
32540  return 0;
32541}
32542_ACEOF
32543if ac_fn_cxx_try_compile "$LINENO"; then :
32544  glibcxx_cv_func_sincosf_use=yes
32545else
32546  glibcxx_cv_func_sincosf_use=no
32547fi
32548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32549      ac_ext=c
32550ac_cpp='$CPP $CPPFLAGS'
32551ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32552ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32553ac_compiler_gnu=$ac_cv_c_compiler_gnu
32554
32555
32556fi
32557
32558  fi
32559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32560$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32561
32562  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32563    for ac_func in sincosf
32564do :
32565  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32566if test "x$ac_cv_func_sincosf" = x""yes; then :
32567  cat >>confdefs.h <<_ACEOF
32568#define HAVE_SINCOSF 1
32569_ACEOF
32570
32571fi
32572done
32573
32574  else
32575
32576  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32577$as_echo_n "checking for _sincosf declaration... " >&6; }
32578  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32579    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32580  $as_echo_n "(cached) " >&6
32581else
32582
32583
32584      ac_ext=cpp
32585ac_cpp='$CXXCPP $CPPFLAGS'
32586ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32587ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32588ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32589
32590      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32591/* end confdefs.h.  */
32592#include <math.h>
32593int
32594main ()
32595{
32596 _sincosf(0, 0, 0);
32597  ;
32598  return 0;
32599}
32600_ACEOF
32601if ac_fn_cxx_try_compile "$LINENO"; then :
32602  glibcxx_cv_func__sincosf_use=yes
32603else
32604  glibcxx_cv_func__sincosf_use=no
32605fi
32606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32607      ac_ext=c
32608ac_cpp='$CPP $CPPFLAGS'
32609ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32610ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32611ac_compiler_gnu=$ac_cv_c_compiler_gnu
32612
32613
32614fi
32615
32616  fi
32617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32618$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32619
32620    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32621      for ac_func in _sincosf
32622do :
32623  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32624if test "x$ac_cv_func__sincosf" = x""yes; then :
32625  cat >>confdefs.h <<_ACEOF
32626#define HAVE__SINCOSF 1
32627_ACEOF
32628
32629fi
32630done
32631
32632    fi
32633  fi
32634
32635
32636
32637
32638
32639  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32640$as_echo_n "checking for finitef declaration... " >&6; }
32641  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32642    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32643  $as_echo_n "(cached) " >&6
32644else
32645
32646
32647      ac_ext=cpp
32648ac_cpp='$CXXCPP $CPPFLAGS'
32649ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32650ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32651ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32652
32653      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32654/* end confdefs.h.  */
32655#include <math.h>
32656		      #ifdef HAVE_IEEEFP_H
32657		      #include <ieeefp.h>
32658		      #endif
32659
32660int
32661main ()
32662{
32663 finitef(0);
32664  ;
32665  return 0;
32666}
32667_ACEOF
32668if ac_fn_cxx_try_compile "$LINENO"; then :
32669  glibcxx_cv_func_finitef_use=yes
32670else
32671  glibcxx_cv_func_finitef_use=no
32672fi
32673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32674      ac_ext=c
32675ac_cpp='$CPP $CPPFLAGS'
32676ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32677ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32678ac_compiler_gnu=$ac_cv_c_compiler_gnu
32679
32680
32681fi
32682
32683  fi
32684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32685$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32686
32687  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32688    for ac_func in finitef
32689do :
32690  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32691if test "x$ac_cv_func_finitef" = x""yes; then :
32692  cat >>confdefs.h <<_ACEOF
32693#define HAVE_FINITEF 1
32694_ACEOF
32695
32696fi
32697done
32698
32699  else
32700
32701  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32702$as_echo_n "checking for _finitef declaration... " >&6; }
32703  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32704    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32705  $as_echo_n "(cached) " >&6
32706else
32707
32708
32709      ac_ext=cpp
32710ac_cpp='$CXXCPP $CPPFLAGS'
32711ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32712ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32713ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32714
32715      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32716/* end confdefs.h.  */
32717#include <math.h>
32718		      #ifdef HAVE_IEEEFP_H
32719		      #include <ieeefp.h>
32720		      #endif
32721
32722int
32723main ()
32724{
32725 _finitef(0);
32726  ;
32727  return 0;
32728}
32729_ACEOF
32730if ac_fn_cxx_try_compile "$LINENO"; then :
32731  glibcxx_cv_func__finitef_use=yes
32732else
32733  glibcxx_cv_func__finitef_use=no
32734fi
32735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32736      ac_ext=c
32737ac_cpp='$CPP $CPPFLAGS'
32738ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32739ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32740ac_compiler_gnu=$ac_cv_c_compiler_gnu
32741
32742
32743fi
32744
32745  fi
32746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32747$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32748
32749    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32750      for ac_func in _finitef
32751do :
32752  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32753if test "x$ac_cv_func__finitef" = x""yes; then :
32754  cat >>confdefs.h <<_ACEOF
32755#define HAVE__FINITEF 1
32756_ACEOF
32757
32758fi
32759done
32760
32761    fi
32762  fi
32763
32764
32765
32766
32767
32768    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32769$as_echo_n "checking for long double trig functions... " >&6; }
32770  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32771  $as_echo_n "(cached) " >&6
32772else
32773
32774
32775    ac_ext=cpp
32776ac_cpp='$CXXCPP $CPPFLAGS'
32777ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32778ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32779ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32780
32781    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32782/* end confdefs.h.  */
32783#include <math.h>
32784int
32785main ()
32786{
32787acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32788  ;
32789  return 0;
32790}
32791_ACEOF
32792if ac_fn_cxx_try_compile "$LINENO"; then :
32793  glibcxx_cv_func_long_double_trig_use=yes
32794else
32795  glibcxx_cv_func_long_double_trig_use=no
32796fi
32797rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32798    ac_ext=c
32799ac_cpp='$CPP $CPPFLAGS'
32800ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32801ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32802ac_compiler_gnu=$ac_cv_c_compiler_gnu
32803
32804fi
32805
32806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32807$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32808  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32809    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32810do :
32811  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32812ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32813eval as_val=\$$as_ac_var
32814   if test "x$as_val" = x""yes; then :
32815  cat >>confdefs.h <<_ACEOF
32816#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32817_ACEOF
32818
32819fi
32820done
32821
32822  else
32823    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32824$as_echo_n "checking for _long double trig functions... " >&6; }
32825    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32826  $as_echo_n "(cached) " >&6
32827else
32828
32829
32830      ac_ext=cpp
32831ac_cpp='$CXXCPP $CPPFLAGS'
32832ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32833ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32834ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32835
32836      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32837/* end confdefs.h.  */
32838#include <math.h>
32839int
32840main ()
32841{
32842_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32843  ;
32844  return 0;
32845}
32846_ACEOF
32847if ac_fn_cxx_try_compile "$LINENO"; then :
32848  glibcxx_cv_func__long_double_trig_use=yes
32849else
32850  glibcxx_cv_func__long_double_trig_use=no
32851fi
32852rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32853      ac_ext=c
32854ac_cpp='$CPP $CPPFLAGS'
32855ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32856ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32857ac_compiler_gnu=$ac_cv_c_compiler_gnu
32858
32859fi
32860
32861    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32862$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32863    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32864      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32865do :
32866  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32867ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32868eval as_val=\$$as_ac_var
32869   if test "x$as_val" = x""yes; then :
32870  cat >>confdefs.h <<_ACEOF
32871#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32872_ACEOF
32873
32874fi
32875done
32876
32877    fi
32878  fi
32879
32880
32881
32882
32883
32884    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32885$as_echo_n "checking for long double round functions... " >&6; }
32886  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32887  $as_echo_n "(cached) " >&6
32888else
32889
32890
32891    ac_ext=cpp
32892ac_cpp='$CXXCPP $CPPFLAGS'
32893ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32894ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32895ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32896
32897    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32898/* end confdefs.h.  */
32899#include <math.h>
32900int
32901main ()
32902{
32903ceill (0); floorl (0);
32904  ;
32905  return 0;
32906}
32907_ACEOF
32908if ac_fn_cxx_try_compile "$LINENO"; then :
32909  glibcxx_cv_func_long_double_round_use=yes
32910else
32911  glibcxx_cv_func_long_double_round_use=no
32912fi
32913rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32914    ac_ext=c
32915ac_cpp='$CPP $CPPFLAGS'
32916ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32917ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32918ac_compiler_gnu=$ac_cv_c_compiler_gnu
32919
32920fi
32921
32922  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32923$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32924  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32925    for ac_func in ceill floorl
32926do :
32927  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32928ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32929eval as_val=\$$as_ac_var
32930   if test "x$as_val" = x""yes; then :
32931  cat >>confdefs.h <<_ACEOF
32932#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32933_ACEOF
32934
32935fi
32936done
32937
32938  else
32939    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32940$as_echo_n "checking for _long double round functions... " >&6; }
32941    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32942  $as_echo_n "(cached) " >&6
32943else
32944
32945
32946      ac_ext=cpp
32947ac_cpp='$CXXCPP $CPPFLAGS'
32948ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32949ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32950ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32951
32952      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32953/* end confdefs.h.  */
32954#include <math.h>
32955int
32956main ()
32957{
32958_ceill (0); _floorl (0);
32959  ;
32960  return 0;
32961}
32962_ACEOF
32963if ac_fn_cxx_try_compile "$LINENO"; then :
32964  glibcxx_cv_func__long_double_round_use=yes
32965else
32966  glibcxx_cv_func__long_double_round_use=no
32967fi
32968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32969      ac_ext=c
32970ac_cpp='$CPP $CPPFLAGS'
32971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32973ac_compiler_gnu=$ac_cv_c_compiler_gnu
32974
32975fi
32976
32977    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32978$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32979    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32980      for ac_func in _ceill _floorl
32981do :
32982  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32983ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32984eval as_val=\$$as_ac_var
32985   if test "x$as_val" = x""yes; then :
32986  cat >>confdefs.h <<_ACEOF
32987#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32988_ACEOF
32989
32990fi
32991done
32992
32993    fi
32994  fi
32995
32996
32997
32998
32999
33000
33001  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33002$as_echo_n "checking for isnanl declaration... " >&6; }
33003  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33004    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
33005  $as_echo_n "(cached) " >&6
33006else
33007
33008
33009      ac_ext=cpp
33010ac_cpp='$CXXCPP $CPPFLAGS'
33011ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33012ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33013ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33014
33015      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33016/* end confdefs.h.  */
33017#include <math.h>
33018		      #ifdef HAVE_IEEEFP_H
33019		      #include <ieeefp.h>
33020		      #endif
33021
33022int
33023main ()
33024{
33025 isnanl(0);
33026  ;
33027  return 0;
33028}
33029_ACEOF
33030if ac_fn_cxx_try_compile "$LINENO"; then :
33031  glibcxx_cv_func_isnanl_use=yes
33032else
33033  glibcxx_cv_func_isnanl_use=no
33034fi
33035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33036      ac_ext=c
33037ac_cpp='$CPP $CPPFLAGS'
33038ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33039ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33040ac_compiler_gnu=$ac_cv_c_compiler_gnu
33041
33042
33043fi
33044
33045  fi
33046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33047$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33048
33049  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33050    for ac_func in isnanl
33051do :
33052  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33053if test "x$ac_cv_func_isnanl" = x""yes; then :
33054  cat >>confdefs.h <<_ACEOF
33055#define HAVE_ISNANL 1
33056_ACEOF
33057
33058fi
33059done
33060
33061  else
33062
33063  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33064$as_echo_n "checking for _isnanl declaration... " >&6; }
33065  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33066    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
33067  $as_echo_n "(cached) " >&6
33068else
33069
33070
33071      ac_ext=cpp
33072ac_cpp='$CXXCPP $CPPFLAGS'
33073ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33074ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33075ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33076
33077      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33078/* end confdefs.h.  */
33079#include <math.h>
33080		      #ifdef HAVE_IEEEFP_H
33081		      #include <ieeefp.h>
33082		      #endif
33083
33084int
33085main ()
33086{
33087 _isnanl(0);
33088  ;
33089  return 0;
33090}
33091_ACEOF
33092if ac_fn_cxx_try_compile "$LINENO"; then :
33093  glibcxx_cv_func__isnanl_use=yes
33094else
33095  glibcxx_cv_func__isnanl_use=no
33096fi
33097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33098      ac_ext=c
33099ac_cpp='$CPP $CPPFLAGS'
33100ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33101ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33102ac_compiler_gnu=$ac_cv_c_compiler_gnu
33103
33104
33105fi
33106
33107  fi
33108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33109$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33110
33111    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33112      for ac_func in _isnanl
33113do :
33114  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33115if test "x$ac_cv_func__isnanl" = x""yes; then :
33116  cat >>confdefs.h <<_ACEOF
33117#define HAVE__ISNANL 1
33118_ACEOF
33119
33120fi
33121done
33122
33123    fi
33124  fi
33125
33126
33127
33128
33129
33130  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33131$as_echo_n "checking for isinfl declaration... " >&6; }
33132  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33133    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
33134  $as_echo_n "(cached) " >&6
33135else
33136
33137
33138      ac_ext=cpp
33139ac_cpp='$CXXCPP $CPPFLAGS'
33140ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33141ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33142ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33143
33144      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33145/* end confdefs.h.  */
33146#include <math.h>
33147		      #ifdef HAVE_IEEEFP_H
33148		      #include <ieeefp.h>
33149		      #endif
33150
33151int
33152main ()
33153{
33154 isinfl(0);
33155  ;
33156  return 0;
33157}
33158_ACEOF
33159if ac_fn_cxx_try_compile "$LINENO"; then :
33160  glibcxx_cv_func_isinfl_use=yes
33161else
33162  glibcxx_cv_func_isinfl_use=no
33163fi
33164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33165      ac_ext=c
33166ac_cpp='$CPP $CPPFLAGS'
33167ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33168ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33169ac_compiler_gnu=$ac_cv_c_compiler_gnu
33170
33171
33172fi
33173
33174  fi
33175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33176$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33177
33178  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33179    for ac_func in isinfl
33180do :
33181  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33182if test "x$ac_cv_func_isinfl" = x""yes; then :
33183  cat >>confdefs.h <<_ACEOF
33184#define HAVE_ISINFL 1
33185_ACEOF
33186
33187fi
33188done
33189
33190  else
33191
33192  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33193$as_echo_n "checking for _isinfl declaration... " >&6; }
33194  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33195    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
33196  $as_echo_n "(cached) " >&6
33197else
33198
33199
33200      ac_ext=cpp
33201ac_cpp='$CXXCPP $CPPFLAGS'
33202ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33203ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33204ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33205
33206      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33207/* end confdefs.h.  */
33208#include <math.h>
33209		      #ifdef HAVE_IEEEFP_H
33210		      #include <ieeefp.h>
33211		      #endif
33212
33213int
33214main ()
33215{
33216 _isinfl(0);
33217  ;
33218  return 0;
33219}
33220_ACEOF
33221if ac_fn_cxx_try_compile "$LINENO"; then :
33222  glibcxx_cv_func__isinfl_use=yes
33223else
33224  glibcxx_cv_func__isinfl_use=no
33225fi
33226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33227      ac_ext=c
33228ac_cpp='$CPP $CPPFLAGS'
33229ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33230ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33231ac_compiler_gnu=$ac_cv_c_compiler_gnu
33232
33233
33234fi
33235
33236  fi
33237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33238$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33239
33240    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33241      for ac_func in _isinfl
33242do :
33243  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33244if test "x$ac_cv_func__isinfl" = x""yes; then :
33245  cat >>confdefs.h <<_ACEOF
33246#define HAVE__ISINFL 1
33247_ACEOF
33248
33249fi
33250done
33251
33252    fi
33253  fi
33254
33255
33256
33257
33258
33259  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33260$as_echo_n "checking for atan2l declaration... " >&6; }
33261  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33262    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
33263  $as_echo_n "(cached) " >&6
33264else
33265
33266
33267      ac_ext=cpp
33268ac_cpp='$CXXCPP $CPPFLAGS'
33269ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33270ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33271ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33272
33273      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33274/* end confdefs.h.  */
33275#include <math.h>
33276int
33277main ()
33278{
33279 atan2l(0, 0);
33280  ;
33281  return 0;
33282}
33283_ACEOF
33284if ac_fn_cxx_try_compile "$LINENO"; then :
33285  glibcxx_cv_func_atan2l_use=yes
33286else
33287  glibcxx_cv_func_atan2l_use=no
33288fi
33289rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33290      ac_ext=c
33291ac_cpp='$CPP $CPPFLAGS'
33292ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33293ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33294ac_compiler_gnu=$ac_cv_c_compiler_gnu
33295
33296
33297fi
33298
33299  fi
33300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33301$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33302
33303  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33304    for ac_func in atan2l
33305do :
33306  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33307if test "x$ac_cv_func_atan2l" = x""yes; then :
33308  cat >>confdefs.h <<_ACEOF
33309#define HAVE_ATAN2L 1
33310_ACEOF
33311
33312fi
33313done
33314
33315  else
33316
33317  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33318$as_echo_n "checking for _atan2l declaration... " >&6; }
33319  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33320    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
33321  $as_echo_n "(cached) " >&6
33322else
33323
33324
33325      ac_ext=cpp
33326ac_cpp='$CXXCPP $CPPFLAGS'
33327ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33328ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33329ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33330
33331      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33332/* end confdefs.h.  */
33333#include <math.h>
33334int
33335main ()
33336{
33337 _atan2l(0, 0);
33338  ;
33339  return 0;
33340}
33341_ACEOF
33342if ac_fn_cxx_try_compile "$LINENO"; then :
33343  glibcxx_cv_func__atan2l_use=yes
33344else
33345  glibcxx_cv_func__atan2l_use=no
33346fi
33347rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33348      ac_ext=c
33349ac_cpp='$CPP $CPPFLAGS'
33350ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33351ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33352ac_compiler_gnu=$ac_cv_c_compiler_gnu
33353
33354
33355fi
33356
33357  fi
33358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33359$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33360
33361    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33362      for ac_func in _atan2l
33363do :
33364  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33365if test "x$ac_cv_func__atan2l" = x""yes; then :
33366  cat >>confdefs.h <<_ACEOF
33367#define HAVE__ATAN2L 1
33368_ACEOF
33369
33370fi
33371done
33372
33373    fi
33374  fi
33375
33376
33377
33378
33379
33380  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33381$as_echo_n "checking for expl declaration... " >&6; }
33382  if test x${glibcxx_cv_func_expl_use+set} != xset; then
33383    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
33384  $as_echo_n "(cached) " >&6
33385else
33386
33387
33388      ac_ext=cpp
33389ac_cpp='$CXXCPP $CPPFLAGS'
33390ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33391ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33392ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33393
33394      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33395/* end confdefs.h.  */
33396#include <math.h>
33397		      #ifdef HAVE_IEEEFP_H
33398		      #include <ieeefp.h>
33399		      #endif
33400
33401int
33402main ()
33403{
33404 expl(0);
33405  ;
33406  return 0;
33407}
33408_ACEOF
33409if ac_fn_cxx_try_compile "$LINENO"; then :
33410  glibcxx_cv_func_expl_use=yes
33411else
33412  glibcxx_cv_func_expl_use=no
33413fi
33414rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33415      ac_ext=c
33416ac_cpp='$CPP $CPPFLAGS'
33417ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33418ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33419ac_compiler_gnu=$ac_cv_c_compiler_gnu
33420
33421
33422fi
33423
33424  fi
33425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33426$as_echo "$glibcxx_cv_func_expl_use" >&6; }
33427
33428  if test x$glibcxx_cv_func_expl_use = x"yes"; then
33429    for ac_func in expl
33430do :
33431  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33432if test "x$ac_cv_func_expl" = x""yes; then :
33433  cat >>confdefs.h <<_ACEOF
33434#define HAVE_EXPL 1
33435_ACEOF
33436
33437fi
33438done
33439
33440  else
33441
33442  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33443$as_echo_n "checking for _expl declaration... " >&6; }
33444  if test x${glibcxx_cv_func__expl_use+set} != xset; then
33445    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33446  $as_echo_n "(cached) " >&6
33447else
33448
33449
33450      ac_ext=cpp
33451ac_cpp='$CXXCPP $CPPFLAGS'
33452ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33453ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33454ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33455
33456      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33457/* end confdefs.h.  */
33458#include <math.h>
33459		      #ifdef HAVE_IEEEFP_H
33460		      #include <ieeefp.h>
33461		      #endif
33462
33463int
33464main ()
33465{
33466 _expl(0);
33467  ;
33468  return 0;
33469}
33470_ACEOF
33471if ac_fn_cxx_try_compile "$LINENO"; then :
33472  glibcxx_cv_func__expl_use=yes
33473else
33474  glibcxx_cv_func__expl_use=no
33475fi
33476rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33477      ac_ext=c
33478ac_cpp='$CPP $CPPFLAGS'
33479ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33480ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33481ac_compiler_gnu=$ac_cv_c_compiler_gnu
33482
33483
33484fi
33485
33486  fi
33487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33488$as_echo "$glibcxx_cv_func__expl_use" >&6; }
33489
33490    if test x$glibcxx_cv_func__expl_use = x"yes"; then
33491      for ac_func in _expl
33492do :
33493  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33494if test "x$ac_cv_func__expl" = x""yes; then :
33495  cat >>confdefs.h <<_ACEOF
33496#define HAVE__EXPL 1
33497_ACEOF
33498
33499fi
33500done
33501
33502    fi
33503  fi
33504
33505
33506
33507
33508
33509  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33510$as_echo_n "checking for fabsl declaration... " >&6; }
33511  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33512    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33513  $as_echo_n "(cached) " >&6
33514else
33515
33516
33517      ac_ext=cpp
33518ac_cpp='$CXXCPP $CPPFLAGS'
33519ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33520ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33521ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33522
33523      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33524/* end confdefs.h.  */
33525#include <math.h>
33526		      #ifdef HAVE_IEEEFP_H
33527		      #include <ieeefp.h>
33528		      #endif
33529
33530int
33531main ()
33532{
33533 fabsl(0);
33534  ;
33535  return 0;
33536}
33537_ACEOF
33538if ac_fn_cxx_try_compile "$LINENO"; then :
33539  glibcxx_cv_func_fabsl_use=yes
33540else
33541  glibcxx_cv_func_fabsl_use=no
33542fi
33543rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33544      ac_ext=c
33545ac_cpp='$CPP $CPPFLAGS'
33546ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33547ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33548ac_compiler_gnu=$ac_cv_c_compiler_gnu
33549
33550
33551fi
33552
33553  fi
33554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33555$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33556
33557  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33558    for ac_func in fabsl
33559do :
33560  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33561if test "x$ac_cv_func_fabsl" = x""yes; then :
33562  cat >>confdefs.h <<_ACEOF
33563#define HAVE_FABSL 1
33564_ACEOF
33565
33566fi
33567done
33568
33569  else
33570
33571  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33572$as_echo_n "checking for _fabsl declaration... " >&6; }
33573  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33574    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33575  $as_echo_n "(cached) " >&6
33576else
33577
33578
33579      ac_ext=cpp
33580ac_cpp='$CXXCPP $CPPFLAGS'
33581ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33582ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33583ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33584
33585      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33586/* end confdefs.h.  */
33587#include <math.h>
33588		      #ifdef HAVE_IEEEFP_H
33589		      #include <ieeefp.h>
33590		      #endif
33591
33592int
33593main ()
33594{
33595 _fabsl(0);
33596  ;
33597  return 0;
33598}
33599_ACEOF
33600if ac_fn_cxx_try_compile "$LINENO"; then :
33601  glibcxx_cv_func__fabsl_use=yes
33602else
33603  glibcxx_cv_func__fabsl_use=no
33604fi
33605rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33606      ac_ext=c
33607ac_cpp='$CPP $CPPFLAGS'
33608ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33609ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33610ac_compiler_gnu=$ac_cv_c_compiler_gnu
33611
33612
33613fi
33614
33615  fi
33616  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33617$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33618
33619    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33620      for ac_func in _fabsl
33621do :
33622  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33623if test "x$ac_cv_func__fabsl" = x""yes; then :
33624  cat >>confdefs.h <<_ACEOF
33625#define HAVE__FABSL 1
33626_ACEOF
33627
33628fi
33629done
33630
33631    fi
33632  fi
33633
33634
33635
33636
33637
33638  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33639$as_echo_n "checking for fmodl declaration... " >&6; }
33640  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33641    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33642  $as_echo_n "(cached) " >&6
33643else
33644
33645
33646      ac_ext=cpp
33647ac_cpp='$CXXCPP $CPPFLAGS'
33648ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33649ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33650ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33651
33652      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33653/* end confdefs.h.  */
33654#include <math.h>
33655int
33656main ()
33657{
33658 fmodl(0, 0);
33659  ;
33660  return 0;
33661}
33662_ACEOF
33663if ac_fn_cxx_try_compile "$LINENO"; then :
33664  glibcxx_cv_func_fmodl_use=yes
33665else
33666  glibcxx_cv_func_fmodl_use=no
33667fi
33668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33669      ac_ext=c
33670ac_cpp='$CPP $CPPFLAGS'
33671ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33672ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33673ac_compiler_gnu=$ac_cv_c_compiler_gnu
33674
33675
33676fi
33677
33678  fi
33679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33680$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33681
33682  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33683    for ac_func in fmodl
33684do :
33685  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33686if test "x$ac_cv_func_fmodl" = x""yes; then :
33687  cat >>confdefs.h <<_ACEOF
33688#define HAVE_FMODL 1
33689_ACEOF
33690
33691fi
33692done
33693
33694  else
33695
33696  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33697$as_echo_n "checking for _fmodl declaration... " >&6; }
33698  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33699    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33700  $as_echo_n "(cached) " >&6
33701else
33702
33703
33704      ac_ext=cpp
33705ac_cpp='$CXXCPP $CPPFLAGS'
33706ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33707ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33708ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33709
33710      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33711/* end confdefs.h.  */
33712#include <math.h>
33713int
33714main ()
33715{
33716 _fmodl(0, 0);
33717  ;
33718  return 0;
33719}
33720_ACEOF
33721if ac_fn_cxx_try_compile "$LINENO"; then :
33722  glibcxx_cv_func__fmodl_use=yes
33723else
33724  glibcxx_cv_func__fmodl_use=no
33725fi
33726rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33727      ac_ext=c
33728ac_cpp='$CPP $CPPFLAGS'
33729ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33730ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33731ac_compiler_gnu=$ac_cv_c_compiler_gnu
33732
33733
33734fi
33735
33736  fi
33737  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33738$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33739
33740    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33741      for ac_func in _fmodl
33742do :
33743  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33744if test "x$ac_cv_func__fmodl" = x""yes; then :
33745  cat >>confdefs.h <<_ACEOF
33746#define HAVE__FMODL 1
33747_ACEOF
33748
33749fi
33750done
33751
33752    fi
33753  fi
33754
33755
33756
33757
33758
33759  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33760$as_echo_n "checking for frexpl declaration... " >&6; }
33761  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33762    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33763  $as_echo_n "(cached) " >&6
33764else
33765
33766
33767      ac_ext=cpp
33768ac_cpp='$CXXCPP $CPPFLAGS'
33769ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33770ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33771ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33772
33773      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33774/* end confdefs.h.  */
33775#include <math.h>
33776int
33777main ()
33778{
33779 frexpl(0, 0);
33780  ;
33781  return 0;
33782}
33783_ACEOF
33784if ac_fn_cxx_try_compile "$LINENO"; then :
33785  glibcxx_cv_func_frexpl_use=yes
33786else
33787  glibcxx_cv_func_frexpl_use=no
33788fi
33789rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33790      ac_ext=c
33791ac_cpp='$CPP $CPPFLAGS'
33792ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33793ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33794ac_compiler_gnu=$ac_cv_c_compiler_gnu
33795
33796
33797fi
33798
33799  fi
33800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33801$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33802
33803  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33804    for ac_func in frexpl
33805do :
33806  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33807if test "x$ac_cv_func_frexpl" = x""yes; then :
33808  cat >>confdefs.h <<_ACEOF
33809#define HAVE_FREXPL 1
33810_ACEOF
33811
33812fi
33813done
33814
33815  else
33816
33817  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33818$as_echo_n "checking for _frexpl declaration... " >&6; }
33819  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33820    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33821  $as_echo_n "(cached) " >&6
33822else
33823
33824
33825      ac_ext=cpp
33826ac_cpp='$CXXCPP $CPPFLAGS'
33827ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33828ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33829ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33830
33831      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33832/* end confdefs.h.  */
33833#include <math.h>
33834int
33835main ()
33836{
33837 _frexpl(0, 0);
33838  ;
33839  return 0;
33840}
33841_ACEOF
33842if ac_fn_cxx_try_compile "$LINENO"; then :
33843  glibcxx_cv_func__frexpl_use=yes
33844else
33845  glibcxx_cv_func__frexpl_use=no
33846fi
33847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33848      ac_ext=c
33849ac_cpp='$CPP $CPPFLAGS'
33850ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33851ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33852ac_compiler_gnu=$ac_cv_c_compiler_gnu
33853
33854
33855fi
33856
33857  fi
33858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33859$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33860
33861    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33862      for ac_func in _frexpl
33863do :
33864  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33865if test "x$ac_cv_func__frexpl" = x""yes; then :
33866  cat >>confdefs.h <<_ACEOF
33867#define HAVE__FREXPL 1
33868_ACEOF
33869
33870fi
33871done
33872
33873    fi
33874  fi
33875
33876
33877
33878
33879
33880  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33881$as_echo_n "checking for hypotl declaration... " >&6; }
33882  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33883    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33884  $as_echo_n "(cached) " >&6
33885else
33886
33887
33888      ac_ext=cpp
33889ac_cpp='$CXXCPP $CPPFLAGS'
33890ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33891ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33892ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33893
33894      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33895/* end confdefs.h.  */
33896#include <math.h>
33897int
33898main ()
33899{
33900 hypotl(0, 0);
33901  ;
33902  return 0;
33903}
33904_ACEOF
33905if ac_fn_cxx_try_compile "$LINENO"; then :
33906  glibcxx_cv_func_hypotl_use=yes
33907else
33908  glibcxx_cv_func_hypotl_use=no
33909fi
33910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33911      ac_ext=c
33912ac_cpp='$CPP $CPPFLAGS'
33913ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33914ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33915ac_compiler_gnu=$ac_cv_c_compiler_gnu
33916
33917
33918fi
33919
33920  fi
33921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33922$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33923
33924  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33925    for ac_func in hypotl
33926do :
33927  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33928if test "x$ac_cv_func_hypotl" = x""yes; then :
33929  cat >>confdefs.h <<_ACEOF
33930#define HAVE_HYPOTL 1
33931_ACEOF
33932
33933fi
33934done
33935
33936  else
33937
33938  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33939$as_echo_n "checking for _hypotl declaration... " >&6; }
33940  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33941    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33942  $as_echo_n "(cached) " >&6
33943else
33944
33945
33946      ac_ext=cpp
33947ac_cpp='$CXXCPP $CPPFLAGS'
33948ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33949ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33950ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33951
33952      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33953/* end confdefs.h.  */
33954#include <math.h>
33955int
33956main ()
33957{
33958 _hypotl(0, 0);
33959  ;
33960  return 0;
33961}
33962_ACEOF
33963if ac_fn_cxx_try_compile "$LINENO"; then :
33964  glibcxx_cv_func__hypotl_use=yes
33965else
33966  glibcxx_cv_func__hypotl_use=no
33967fi
33968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33969      ac_ext=c
33970ac_cpp='$CPP $CPPFLAGS'
33971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33973ac_compiler_gnu=$ac_cv_c_compiler_gnu
33974
33975
33976fi
33977
33978  fi
33979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33980$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33981
33982    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33983      for ac_func in _hypotl
33984do :
33985  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33986if test "x$ac_cv_func__hypotl" = x""yes; then :
33987  cat >>confdefs.h <<_ACEOF
33988#define HAVE__HYPOTL 1
33989_ACEOF
33990
33991fi
33992done
33993
33994    fi
33995  fi
33996
33997
33998
33999
34000
34001  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34002$as_echo_n "checking for ldexpl declaration... " >&6; }
34003  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34004    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
34005  $as_echo_n "(cached) " >&6
34006else
34007
34008
34009      ac_ext=cpp
34010ac_cpp='$CXXCPP $CPPFLAGS'
34011ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34012ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34013ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34014
34015      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34016/* end confdefs.h.  */
34017#include <math.h>
34018int
34019main ()
34020{
34021 ldexpl(0, 0);
34022  ;
34023  return 0;
34024}
34025_ACEOF
34026if ac_fn_cxx_try_compile "$LINENO"; then :
34027  glibcxx_cv_func_ldexpl_use=yes
34028else
34029  glibcxx_cv_func_ldexpl_use=no
34030fi
34031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34032      ac_ext=c
34033ac_cpp='$CPP $CPPFLAGS'
34034ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34035ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34036ac_compiler_gnu=$ac_cv_c_compiler_gnu
34037
34038
34039fi
34040
34041  fi
34042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34043$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34044
34045  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34046    for ac_func in ldexpl
34047do :
34048  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34049if test "x$ac_cv_func_ldexpl" = x""yes; then :
34050  cat >>confdefs.h <<_ACEOF
34051#define HAVE_LDEXPL 1
34052_ACEOF
34053
34054fi
34055done
34056
34057  else
34058
34059  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34060$as_echo_n "checking for _ldexpl declaration... " >&6; }
34061  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34062    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
34063  $as_echo_n "(cached) " >&6
34064else
34065
34066
34067      ac_ext=cpp
34068ac_cpp='$CXXCPP $CPPFLAGS'
34069ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34070ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34071ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34072
34073      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34074/* end confdefs.h.  */
34075#include <math.h>
34076int
34077main ()
34078{
34079 _ldexpl(0, 0);
34080  ;
34081  return 0;
34082}
34083_ACEOF
34084if ac_fn_cxx_try_compile "$LINENO"; then :
34085  glibcxx_cv_func__ldexpl_use=yes
34086else
34087  glibcxx_cv_func__ldexpl_use=no
34088fi
34089rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34090      ac_ext=c
34091ac_cpp='$CPP $CPPFLAGS'
34092ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34093ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34094ac_compiler_gnu=$ac_cv_c_compiler_gnu
34095
34096
34097fi
34098
34099  fi
34100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34101$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34102
34103    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34104      for ac_func in _ldexpl
34105do :
34106  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34107if test "x$ac_cv_func__ldexpl" = x""yes; then :
34108  cat >>confdefs.h <<_ACEOF
34109#define HAVE__LDEXPL 1
34110_ACEOF
34111
34112fi
34113done
34114
34115    fi
34116  fi
34117
34118
34119
34120
34121
34122  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34123$as_echo_n "checking for logl declaration... " >&6; }
34124  if test x${glibcxx_cv_func_logl_use+set} != xset; then
34125    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
34126  $as_echo_n "(cached) " >&6
34127else
34128
34129
34130      ac_ext=cpp
34131ac_cpp='$CXXCPP $CPPFLAGS'
34132ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34133ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34134ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34135
34136      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34137/* end confdefs.h.  */
34138#include <math.h>
34139		      #ifdef HAVE_IEEEFP_H
34140		      #include <ieeefp.h>
34141		      #endif
34142
34143int
34144main ()
34145{
34146 logl(0);
34147  ;
34148  return 0;
34149}
34150_ACEOF
34151if ac_fn_cxx_try_compile "$LINENO"; then :
34152  glibcxx_cv_func_logl_use=yes
34153else
34154  glibcxx_cv_func_logl_use=no
34155fi
34156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34157      ac_ext=c
34158ac_cpp='$CPP $CPPFLAGS'
34159ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34160ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34161ac_compiler_gnu=$ac_cv_c_compiler_gnu
34162
34163
34164fi
34165
34166  fi
34167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34168$as_echo "$glibcxx_cv_func_logl_use" >&6; }
34169
34170  if test x$glibcxx_cv_func_logl_use = x"yes"; then
34171    for ac_func in logl
34172do :
34173  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34174if test "x$ac_cv_func_logl" = x""yes; then :
34175  cat >>confdefs.h <<_ACEOF
34176#define HAVE_LOGL 1
34177_ACEOF
34178
34179fi
34180done
34181
34182  else
34183
34184  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34185$as_echo_n "checking for _logl declaration... " >&6; }
34186  if test x${glibcxx_cv_func__logl_use+set} != xset; then
34187    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
34188  $as_echo_n "(cached) " >&6
34189else
34190
34191
34192      ac_ext=cpp
34193ac_cpp='$CXXCPP $CPPFLAGS'
34194ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34195ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34196ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34197
34198      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34199/* end confdefs.h.  */
34200#include <math.h>
34201		      #ifdef HAVE_IEEEFP_H
34202		      #include <ieeefp.h>
34203		      #endif
34204
34205int
34206main ()
34207{
34208 _logl(0);
34209  ;
34210  return 0;
34211}
34212_ACEOF
34213if ac_fn_cxx_try_compile "$LINENO"; then :
34214  glibcxx_cv_func__logl_use=yes
34215else
34216  glibcxx_cv_func__logl_use=no
34217fi
34218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34219      ac_ext=c
34220ac_cpp='$CPP $CPPFLAGS'
34221ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34222ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34223ac_compiler_gnu=$ac_cv_c_compiler_gnu
34224
34225
34226fi
34227
34228  fi
34229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34230$as_echo "$glibcxx_cv_func__logl_use" >&6; }
34231
34232    if test x$glibcxx_cv_func__logl_use = x"yes"; then
34233      for ac_func in _logl
34234do :
34235  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34236if test "x$ac_cv_func__logl" = x""yes; then :
34237  cat >>confdefs.h <<_ACEOF
34238#define HAVE__LOGL 1
34239_ACEOF
34240
34241fi
34242done
34243
34244    fi
34245  fi
34246
34247
34248
34249
34250
34251  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34252$as_echo_n "checking for log10l declaration... " >&6; }
34253  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34254    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
34255  $as_echo_n "(cached) " >&6
34256else
34257
34258
34259      ac_ext=cpp
34260ac_cpp='$CXXCPP $CPPFLAGS'
34261ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34262ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34263ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34264
34265      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34266/* end confdefs.h.  */
34267#include <math.h>
34268		      #ifdef HAVE_IEEEFP_H
34269		      #include <ieeefp.h>
34270		      #endif
34271
34272int
34273main ()
34274{
34275 log10l(0);
34276  ;
34277  return 0;
34278}
34279_ACEOF
34280if ac_fn_cxx_try_compile "$LINENO"; then :
34281  glibcxx_cv_func_log10l_use=yes
34282else
34283  glibcxx_cv_func_log10l_use=no
34284fi
34285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34286      ac_ext=c
34287ac_cpp='$CPP $CPPFLAGS'
34288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34290ac_compiler_gnu=$ac_cv_c_compiler_gnu
34291
34292
34293fi
34294
34295  fi
34296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34297$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34298
34299  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34300    for ac_func in log10l
34301do :
34302  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34303if test "x$ac_cv_func_log10l" = x""yes; then :
34304  cat >>confdefs.h <<_ACEOF
34305#define HAVE_LOG10L 1
34306_ACEOF
34307
34308fi
34309done
34310
34311  else
34312
34313  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34314$as_echo_n "checking for _log10l declaration... " >&6; }
34315  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34316    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
34317  $as_echo_n "(cached) " >&6
34318else
34319
34320
34321      ac_ext=cpp
34322ac_cpp='$CXXCPP $CPPFLAGS'
34323ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34324ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34325ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34326
34327      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34328/* end confdefs.h.  */
34329#include <math.h>
34330		      #ifdef HAVE_IEEEFP_H
34331		      #include <ieeefp.h>
34332		      #endif
34333
34334int
34335main ()
34336{
34337 _log10l(0);
34338  ;
34339  return 0;
34340}
34341_ACEOF
34342if ac_fn_cxx_try_compile "$LINENO"; then :
34343  glibcxx_cv_func__log10l_use=yes
34344else
34345  glibcxx_cv_func__log10l_use=no
34346fi
34347rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34348      ac_ext=c
34349ac_cpp='$CPP $CPPFLAGS'
34350ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34351ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34352ac_compiler_gnu=$ac_cv_c_compiler_gnu
34353
34354
34355fi
34356
34357  fi
34358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34359$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34360
34361    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34362      for ac_func in _log10l
34363do :
34364  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34365if test "x$ac_cv_func__log10l" = x""yes; then :
34366  cat >>confdefs.h <<_ACEOF
34367#define HAVE__LOG10L 1
34368_ACEOF
34369
34370fi
34371done
34372
34373    fi
34374  fi
34375
34376
34377
34378
34379
34380  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34381$as_echo_n "checking for modfl declaration... " >&6; }
34382  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34383    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
34384  $as_echo_n "(cached) " >&6
34385else
34386
34387
34388      ac_ext=cpp
34389ac_cpp='$CXXCPP $CPPFLAGS'
34390ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34391ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34392ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34393
34394      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34395/* end confdefs.h.  */
34396#include <math.h>
34397int
34398main ()
34399{
34400 modfl(0, 0);
34401  ;
34402  return 0;
34403}
34404_ACEOF
34405if ac_fn_cxx_try_compile "$LINENO"; then :
34406  glibcxx_cv_func_modfl_use=yes
34407else
34408  glibcxx_cv_func_modfl_use=no
34409fi
34410rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34411      ac_ext=c
34412ac_cpp='$CPP $CPPFLAGS'
34413ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34414ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34415ac_compiler_gnu=$ac_cv_c_compiler_gnu
34416
34417
34418fi
34419
34420  fi
34421  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34422$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34423
34424  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34425    for ac_func in modfl
34426do :
34427  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34428if test "x$ac_cv_func_modfl" = x""yes; then :
34429  cat >>confdefs.h <<_ACEOF
34430#define HAVE_MODFL 1
34431_ACEOF
34432
34433fi
34434done
34435
34436  else
34437
34438  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34439$as_echo_n "checking for _modfl declaration... " >&6; }
34440  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34441    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34442  $as_echo_n "(cached) " >&6
34443else
34444
34445
34446      ac_ext=cpp
34447ac_cpp='$CXXCPP $CPPFLAGS'
34448ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34449ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34450ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34451
34452      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34453/* end confdefs.h.  */
34454#include <math.h>
34455int
34456main ()
34457{
34458 _modfl(0, 0);
34459  ;
34460  return 0;
34461}
34462_ACEOF
34463if ac_fn_cxx_try_compile "$LINENO"; then :
34464  glibcxx_cv_func__modfl_use=yes
34465else
34466  glibcxx_cv_func__modfl_use=no
34467fi
34468rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34469      ac_ext=c
34470ac_cpp='$CPP $CPPFLAGS'
34471ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34472ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34473ac_compiler_gnu=$ac_cv_c_compiler_gnu
34474
34475
34476fi
34477
34478  fi
34479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34480$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34481
34482    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34483      for ac_func in _modfl
34484do :
34485  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34486if test "x$ac_cv_func__modfl" = x""yes; then :
34487  cat >>confdefs.h <<_ACEOF
34488#define HAVE__MODFL 1
34489_ACEOF
34490
34491fi
34492done
34493
34494    fi
34495  fi
34496
34497
34498
34499
34500
34501  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34502$as_echo_n "checking for powl declaration... " >&6; }
34503  if test x${glibcxx_cv_func_powl_use+set} != xset; then
34504    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34505  $as_echo_n "(cached) " >&6
34506else
34507
34508
34509      ac_ext=cpp
34510ac_cpp='$CXXCPP $CPPFLAGS'
34511ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34512ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34513ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34514
34515      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34516/* end confdefs.h.  */
34517#include <math.h>
34518int
34519main ()
34520{
34521 powl(0, 0);
34522  ;
34523  return 0;
34524}
34525_ACEOF
34526if ac_fn_cxx_try_compile "$LINENO"; then :
34527  glibcxx_cv_func_powl_use=yes
34528else
34529  glibcxx_cv_func_powl_use=no
34530fi
34531rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34532      ac_ext=c
34533ac_cpp='$CPP $CPPFLAGS'
34534ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34535ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34536ac_compiler_gnu=$ac_cv_c_compiler_gnu
34537
34538
34539fi
34540
34541  fi
34542  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34543$as_echo "$glibcxx_cv_func_powl_use" >&6; }
34544
34545  if test x$glibcxx_cv_func_powl_use = x"yes"; then
34546    for ac_func in powl
34547do :
34548  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34549if test "x$ac_cv_func_powl" = x""yes; then :
34550  cat >>confdefs.h <<_ACEOF
34551#define HAVE_POWL 1
34552_ACEOF
34553
34554fi
34555done
34556
34557  else
34558
34559  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34560$as_echo_n "checking for _powl declaration... " >&6; }
34561  if test x${glibcxx_cv_func__powl_use+set} != xset; then
34562    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34563  $as_echo_n "(cached) " >&6
34564else
34565
34566
34567      ac_ext=cpp
34568ac_cpp='$CXXCPP $CPPFLAGS'
34569ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34570ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34571ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34572
34573      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34574/* end confdefs.h.  */
34575#include <math.h>
34576int
34577main ()
34578{
34579 _powl(0, 0);
34580  ;
34581  return 0;
34582}
34583_ACEOF
34584if ac_fn_cxx_try_compile "$LINENO"; then :
34585  glibcxx_cv_func__powl_use=yes
34586else
34587  glibcxx_cv_func__powl_use=no
34588fi
34589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34590      ac_ext=c
34591ac_cpp='$CPP $CPPFLAGS'
34592ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34593ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34594ac_compiler_gnu=$ac_cv_c_compiler_gnu
34595
34596
34597fi
34598
34599  fi
34600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34601$as_echo "$glibcxx_cv_func__powl_use" >&6; }
34602
34603    if test x$glibcxx_cv_func__powl_use = x"yes"; then
34604      for ac_func in _powl
34605do :
34606  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34607if test "x$ac_cv_func__powl" = x""yes; then :
34608  cat >>confdefs.h <<_ACEOF
34609#define HAVE__POWL 1
34610_ACEOF
34611
34612fi
34613done
34614
34615    fi
34616  fi
34617
34618
34619
34620
34621
34622  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34623$as_echo_n "checking for sqrtl declaration... " >&6; }
34624  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34625    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34626  $as_echo_n "(cached) " >&6
34627else
34628
34629
34630      ac_ext=cpp
34631ac_cpp='$CXXCPP $CPPFLAGS'
34632ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34633ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34634ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34635
34636      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34637/* end confdefs.h.  */
34638#include <math.h>
34639		      #ifdef HAVE_IEEEFP_H
34640		      #include <ieeefp.h>
34641		      #endif
34642
34643int
34644main ()
34645{
34646 sqrtl(0);
34647  ;
34648  return 0;
34649}
34650_ACEOF
34651if ac_fn_cxx_try_compile "$LINENO"; then :
34652  glibcxx_cv_func_sqrtl_use=yes
34653else
34654  glibcxx_cv_func_sqrtl_use=no
34655fi
34656rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34657      ac_ext=c
34658ac_cpp='$CPP $CPPFLAGS'
34659ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34660ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34661ac_compiler_gnu=$ac_cv_c_compiler_gnu
34662
34663
34664fi
34665
34666  fi
34667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34668$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34669
34670  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34671    for ac_func in sqrtl
34672do :
34673  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34674if test "x$ac_cv_func_sqrtl" = x""yes; then :
34675  cat >>confdefs.h <<_ACEOF
34676#define HAVE_SQRTL 1
34677_ACEOF
34678
34679fi
34680done
34681
34682  else
34683
34684  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34685$as_echo_n "checking for _sqrtl declaration... " >&6; }
34686  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34687    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34688  $as_echo_n "(cached) " >&6
34689else
34690
34691
34692      ac_ext=cpp
34693ac_cpp='$CXXCPP $CPPFLAGS'
34694ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34695ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34696ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34697
34698      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34699/* end confdefs.h.  */
34700#include <math.h>
34701		      #ifdef HAVE_IEEEFP_H
34702		      #include <ieeefp.h>
34703		      #endif
34704
34705int
34706main ()
34707{
34708 _sqrtl(0);
34709  ;
34710  return 0;
34711}
34712_ACEOF
34713if ac_fn_cxx_try_compile "$LINENO"; then :
34714  glibcxx_cv_func__sqrtl_use=yes
34715else
34716  glibcxx_cv_func__sqrtl_use=no
34717fi
34718rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34719      ac_ext=c
34720ac_cpp='$CPP $CPPFLAGS'
34721ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34722ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34723ac_compiler_gnu=$ac_cv_c_compiler_gnu
34724
34725
34726fi
34727
34728  fi
34729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34730$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34731
34732    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34733      for ac_func in _sqrtl
34734do :
34735  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34736if test "x$ac_cv_func__sqrtl" = x""yes; then :
34737  cat >>confdefs.h <<_ACEOF
34738#define HAVE__SQRTL 1
34739_ACEOF
34740
34741fi
34742done
34743
34744    fi
34745  fi
34746
34747
34748
34749
34750
34751  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34752$as_echo_n "checking for sincosl declaration... " >&6; }
34753  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34754    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34755  $as_echo_n "(cached) " >&6
34756else
34757
34758
34759      ac_ext=cpp
34760ac_cpp='$CXXCPP $CPPFLAGS'
34761ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34762ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34763ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34764
34765      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34766/* end confdefs.h.  */
34767#include <math.h>
34768int
34769main ()
34770{
34771 sincosl(0, 0, 0);
34772  ;
34773  return 0;
34774}
34775_ACEOF
34776if ac_fn_cxx_try_compile "$LINENO"; then :
34777  glibcxx_cv_func_sincosl_use=yes
34778else
34779  glibcxx_cv_func_sincosl_use=no
34780fi
34781rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34782      ac_ext=c
34783ac_cpp='$CPP $CPPFLAGS'
34784ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34785ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34786ac_compiler_gnu=$ac_cv_c_compiler_gnu
34787
34788
34789fi
34790
34791  fi
34792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34793$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34794
34795  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34796    for ac_func in sincosl
34797do :
34798  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34799if test "x$ac_cv_func_sincosl" = x""yes; then :
34800  cat >>confdefs.h <<_ACEOF
34801#define HAVE_SINCOSL 1
34802_ACEOF
34803
34804fi
34805done
34806
34807  else
34808
34809  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34810$as_echo_n "checking for _sincosl declaration... " >&6; }
34811  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34812    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34813  $as_echo_n "(cached) " >&6
34814else
34815
34816
34817      ac_ext=cpp
34818ac_cpp='$CXXCPP $CPPFLAGS'
34819ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34820ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34821ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34822
34823      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34824/* end confdefs.h.  */
34825#include <math.h>
34826int
34827main ()
34828{
34829 _sincosl(0, 0, 0);
34830  ;
34831  return 0;
34832}
34833_ACEOF
34834if ac_fn_cxx_try_compile "$LINENO"; then :
34835  glibcxx_cv_func__sincosl_use=yes
34836else
34837  glibcxx_cv_func__sincosl_use=no
34838fi
34839rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34840      ac_ext=c
34841ac_cpp='$CPP $CPPFLAGS'
34842ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34843ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34844ac_compiler_gnu=$ac_cv_c_compiler_gnu
34845
34846
34847fi
34848
34849  fi
34850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34851$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34852
34853    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34854      for ac_func in _sincosl
34855do :
34856  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34857if test "x$ac_cv_func__sincosl" = x""yes; then :
34858  cat >>confdefs.h <<_ACEOF
34859#define HAVE__SINCOSL 1
34860_ACEOF
34861
34862fi
34863done
34864
34865    fi
34866  fi
34867
34868
34869
34870
34871
34872  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34873$as_echo_n "checking for finitel declaration... " >&6; }
34874  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34875    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34876  $as_echo_n "(cached) " >&6
34877else
34878
34879
34880      ac_ext=cpp
34881ac_cpp='$CXXCPP $CPPFLAGS'
34882ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34883ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34884ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34885
34886      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34887/* end confdefs.h.  */
34888#include <math.h>
34889		      #ifdef HAVE_IEEEFP_H
34890		      #include <ieeefp.h>
34891		      #endif
34892
34893int
34894main ()
34895{
34896 finitel(0);
34897  ;
34898  return 0;
34899}
34900_ACEOF
34901if ac_fn_cxx_try_compile "$LINENO"; then :
34902  glibcxx_cv_func_finitel_use=yes
34903else
34904  glibcxx_cv_func_finitel_use=no
34905fi
34906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34907      ac_ext=c
34908ac_cpp='$CPP $CPPFLAGS'
34909ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34910ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34911ac_compiler_gnu=$ac_cv_c_compiler_gnu
34912
34913
34914fi
34915
34916  fi
34917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34918$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34919
34920  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34921    for ac_func in finitel
34922do :
34923  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34924if test "x$ac_cv_func_finitel" = x""yes; then :
34925  cat >>confdefs.h <<_ACEOF
34926#define HAVE_FINITEL 1
34927_ACEOF
34928
34929fi
34930done
34931
34932  else
34933
34934  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34935$as_echo_n "checking for _finitel declaration... " >&6; }
34936  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34937    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34938  $as_echo_n "(cached) " >&6
34939else
34940
34941
34942      ac_ext=cpp
34943ac_cpp='$CXXCPP $CPPFLAGS'
34944ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34945ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34946ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34947
34948      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34949/* end confdefs.h.  */
34950#include <math.h>
34951		      #ifdef HAVE_IEEEFP_H
34952		      #include <ieeefp.h>
34953		      #endif
34954
34955int
34956main ()
34957{
34958 _finitel(0);
34959  ;
34960  return 0;
34961}
34962_ACEOF
34963if ac_fn_cxx_try_compile "$LINENO"; then :
34964  glibcxx_cv_func__finitel_use=yes
34965else
34966  glibcxx_cv_func__finitel_use=no
34967fi
34968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34969      ac_ext=c
34970ac_cpp='$CPP $CPPFLAGS'
34971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34973ac_compiler_gnu=$ac_cv_c_compiler_gnu
34974
34975
34976fi
34977
34978  fi
34979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34980$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34981
34982    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34983      for ac_func in _finitel
34984do :
34985  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34986if test "x$ac_cv_func__finitel" = x""yes; then :
34987  cat >>confdefs.h <<_ACEOF
34988#define HAVE__FINITEL 1
34989_ACEOF
34990
34991fi
34992done
34993
34994    fi
34995  fi
34996
34997
34998
34999
35000  LIBS="$ac_save_LIBS"
35001  CXXFLAGS="$ac_save_CXXFLAGS"
35002
35003
35004  ac_test_CXXFLAGS="${CXXFLAGS+set}"
35005  ac_save_CXXFLAGS="$CXXFLAGS"
35006  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35007
35008
35009  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35010$as_echo_n "checking for at_quick_exit declaration... " >&6; }
35011  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35012    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
35013  $as_echo_n "(cached) " >&6
35014else
35015
35016
35017      ac_ext=cpp
35018ac_cpp='$CXXCPP $CPPFLAGS'
35019ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35020ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35021ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35022
35023      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35024/* end confdefs.h.  */
35025#include <stdlib.h>
35026int
35027main ()
35028{
35029 at_quick_exit(0);
35030  ;
35031  return 0;
35032}
35033_ACEOF
35034if ac_fn_cxx_try_compile "$LINENO"; then :
35035  glibcxx_cv_func_at_quick_exit_use=yes
35036else
35037  glibcxx_cv_func_at_quick_exit_use=no
35038fi
35039rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35040      ac_ext=c
35041ac_cpp='$CPP $CPPFLAGS'
35042ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35043ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35044ac_compiler_gnu=$ac_cv_c_compiler_gnu
35045
35046
35047fi
35048
35049  fi
35050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35051$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35052  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35053    for ac_func in at_quick_exit
35054do :
35055  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35056if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
35057  cat >>confdefs.h <<_ACEOF
35058#define HAVE_AT_QUICK_EXIT 1
35059_ACEOF
35060
35061fi
35062done
35063
35064  fi
35065
35066
35067  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35068$as_echo_n "checking for quick_exit declaration... " >&6; }
35069  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35070    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
35071  $as_echo_n "(cached) " >&6
35072else
35073
35074
35075      ac_ext=cpp
35076ac_cpp='$CXXCPP $CPPFLAGS'
35077ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35078ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35079ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35080
35081      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35082/* end confdefs.h.  */
35083#include <stdlib.h>
35084int
35085main ()
35086{
35087 quick_exit(0);
35088  ;
35089  return 0;
35090}
35091_ACEOF
35092if ac_fn_cxx_try_compile "$LINENO"; then :
35093  glibcxx_cv_func_quick_exit_use=yes
35094else
35095  glibcxx_cv_func_quick_exit_use=no
35096fi
35097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35098      ac_ext=c
35099ac_cpp='$CPP $CPPFLAGS'
35100ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35101ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35102ac_compiler_gnu=$ac_cv_c_compiler_gnu
35103
35104
35105fi
35106
35107  fi
35108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35109$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35110  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35111    for ac_func in quick_exit
35112do :
35113  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35114if test "x$ac_cv_func_quick_exit" = x""yes; then :
35115  cat >>confdefs.h <<_ACEOF
35116#define HAVE_QUICK_EXIT 1
35117_ACEOF
35118
35119fi
35120done
35121
35122  fi
35123
35124
35125  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35126$as_echo_n "checking for strtold declaration... " >&6; }
35127  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35128    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
35129  $as_echo_n "(cached) " >&6
35130else
35131
35132
35133      ac_ext=cpp
35134ac_cpp='$CXXCPP $CPPFLAGS'
35135ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35136ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35137ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35138
35139      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35140/* end confdefs.h.  */
35141#include <stdlib.h>
35142int
35143main ()
35144{
35145 strtold(0, 0);
35146  ;
35147  return 0;
35148}
35149_ACEOF
35150if ac_fn_cxx_try_compile "$LINENO"; then :
35151  glibcxx_cv_func_strtold_use=yes
35152else
35153  glibcxx_cv_func_strtold_use=no
35154fi
35155rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35156      ac_ext=c
35157ac_cpp='$CPP $CPPFLAGS'
35158ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35159ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35160ac_compiler_gnu=$ac_cv_c_compiler_gnu
35161
35162
35163fi
35164
35165  fi
35166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35167$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35168  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35169    for ac_func in strtold
35170do :
35171  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35172if test "x$ac_cv_func_strtold" = x""yes; then :
35173  cat >>confdefs.h <<_ACEOF
35174#define HAVE_STRTOLD 1
35175_ACEOF
35176
35177fi
35178done
35179
35180  fi
35181
35182
35183
35184
35185  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35186$as_echo_n "checking for strtof declaration... " >&6; }
35187  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35188    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
35189  $as_echo_n "(cached) " >&6
35190else
35191
35192
35193      ac_ext=cpp
35194ac_cpp='$CXXCPP $CPPFLAGS'
35195ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35196ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35197ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35198
35199      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35200/* end confdefs.h.  */
35201#include <stdlib.h>
35202int
35203main ()
35204{
35205 strtof(0, 0);
35206  ;
35207  return 0;
35208}
35209_ACEOF
35210if ac_fn_cxx_try_compile "$LINENO"; then :
35211  glibcxx_cv_func_strtof_use=yes
35212else
35213  glibcxx_cv_func_strtof_use=no
35214fi
35215rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35216      ac_ext=c
35217ac_cpp='$CPP $CPPFLAGS'
35218ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35219ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35220ac_compiler_gnu=$ac_cv_c_compiler_gnu
35221
35222
35223fi
35224
35225  fi
35226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35227$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35228  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35229    for ac_func in strtof
35230do :
35231  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35232if test "x$ac_cv_func_strtof" = x""yes; then :
35233  cat >>confdefs.h <<_ACEOF
35234#define HAVE_STRTOF 1
35235_ACEOF
35236
35237fi
35238done
35239
35240  fi
35241
35242
35243
35244
35245  CXXFLAGS="$ac_save_CXXFLAGS"
35246
35247
35248    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35249
35250    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35251
35252    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35253
35254    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35255
35256
35257    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35258
35259    $as_echo "#define HAVE_MODF 1" >>confdefs.h
35260
35261    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35262
35263    ;;
35264
35265  spu-*-elf*)
35266
35267  # All these tests are for C++; save the language and the compiler flags.
35268  # The CXXFLAGS thing is suspicious, but based on similar bits previously
35269  # found in GLIBCXX_CONFIGURE.
35270
35271  ac_ext=cpp
35272ac_cpp='$CXXCPP $CPPFLAGS'
35273ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35274ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35275ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35276
35277  ac_test_CXXFLAGS="${CXXFLAGS+set}"
35278  ac_save_CXXFLAGS="$CXXFLAGS"
35279
35280  # Check for maintainer-mode bits.
35281  if test x"$USE_MAINTAINER_MODE" = xno; then
35282    WERROR=''
35283  else
35284    WERROR='-Werror'
35285  fi
35286
35287  # Check for -ffunction-sections -fdata-sections
35288  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35289$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35290  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35291  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35292/* end confdefs.h.  */
35293int foo; void bar() { };
35294int
35295main ()
35296{
35297
35298  ;
35299  return 0;
35300}
35301_ACEOF
35302if ac_fn_cxx_try_compile "$LINENO"; then :
35303  ac_fdsections=yes
35304else
35305  ac_fdsections=no
35306fi
35307rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35308  if test "$ac_test_CXXFLAGS" = set; then
35309    CXXFLAGS="$ac_save_CXXFLAGS"
35310  else
35311    # this is the suspicious part
35312    CXXFLAGS=''
35313  fi
35314  if test x"$ac_fdsections" = x"yes"; then
35315    SECTION_FLAGS='-ffunction-sections -fdata-sections'
35316  fi
35317  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35318$as_echo "$ac_fdsections" >&6; }
35319
35320  ac_ext=c
35321ac_cpp='$CPP $CPPFLAGS'
35322ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35324ac_compiler_gnu=$ac_cv_c_compiler_gnu
35325
35326
35327
35328
35329
35330  # If we're not using GNU ld, then there's no point in even trying these
35331  # tests.  Check for that first.  We should have already tested for gld
35332  # by now (in libtool), but require it now just to be safe...
35333  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35334  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35335
35336
35337
35338  # The name set by libtool depends on the version of libtool.  Shame on us
35339  # for depending on an impl detail, but c'est la vie.  Older versions used
35340  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35341  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35342  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
35343  # set (hence we're using an older libtool), then set it.
35344  if test x${with_gnu_ld+set} != xset; then
35345    if test x${ac_cv_prog_gnu_ld+set} != xset; then
35346      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
35347      with_gnu_ld=no
35348    else
35349      with_gnu_ld=$ac_cv_prog_gnu_ld
35350    fi
35351  fi
35352
35353  # Start by getting the version number.  I think the libtool test already
35354  # does some of this, but throws away the result.
35355  glibcxx_ld_is_gold=no
35356  if test x"$with_gnu_ld" = x"yes"; then
35357    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35358$as_echo_n "checking for ld version... " >&6; }
35359
35360    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35361      glibcxx_ld_is_gold=yes
35362    fi
35363    ldver=`$LD --version 2>/dev/null |
35364	   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'`
35365
35366    glibcxx_gnu_ld_version=`echo $ldver | \
35367	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35368    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35369$as_echo "$glibcxx_gnu_ld_version" >&6; }
35370  fi
35371
35372  # Set --gc-sections.
35373  glibcxx_have_gc_sections=no
35374  if test "$glibcxx_ld_is_gold" = "yes"; then
35375    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35376      glibcxx_have_gc_sections=yes
35377    fi
35378  else
35379    glibcxx_gcsections_min_ld=21602
35380    if test x"$with_gnu_ld" = x"yes" &&
35381	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35382      glibcxx_have_gc_sections=yes
35383    fi
35384  fi
35385  if test "$glibcxx_have_gc_sections" = "yes"; then
35386    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
35387    # NB: This flag only works reliably after 2.16.1. Configure tests
35388    # for this are difficult, so hard wire a value that should work.
35389
35390    ac_test_CFLAGS="${CFLAGS+set}"
35391    ac_save_CFLAGS="$CFLAGS"
35392    CFLAGS='-Wl,--gc-sections'
35393
35394    # Check for -Wl,--gc-sections
35395    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35396$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35397    if test x$gcc_no_link = xyes; then
35398  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35399fi
35400cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35401/* end confdefs.h.  */
35402 int one(void) { return 1; }
35403     int two(void) { return 2; }
35404
35405int
35406main ()
35407{
35408 two();
35409  ;
35410  return 0;
35411}
35412_ACEOF
35413if ac_fn_c_try_link "$LINENO"; then :
35414  ac_gcsections=yes
35415else
35416  ac_gcsections=no
35417fi
35418rm -f core conftest.err conftest.$ac_objext \
35419    conftest$ac_exeext conftest.$ac_ext
35420    if test "$ac_gcsections" = "yes"; then
35421      rm -f conftest.c
35422      touch conftest.c
35423      if $CC -c conftest.c; then
35424	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35425	   grep "Warning: gc-sections option ignored" > /dev/null; then
35426	  ac_gcsections=no
35427	fi
35428      fi
35429      rm -f conftest.c conftest.o conftest
35430    fi
35431    if test "$ac_gcsections" = "yes"; then
35432      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35433    fi
35434    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35435$as_echo "$ac_gcsections" >&6; }
35436
35437    if test "$ac_test_CFLAGS" = set; then
35438      CFLAGS="$ac_save_CFLAGS"
35439    else
35440      # this is the suspicious part
35441      CFLAGS=''
35442    fi
35443  fi
35444
35445  # Set -z,relro.
35446  # Note this is only for shared objects.
35447  ac_ld_relro=no
35448  if test x"$with_gnu_ld" = x"yes"; then
35449    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35450$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35451    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35452    if test -n "$cxx_z_relo"; then
35453      OPT_LDFLAGS="-Wl,-z,relro"
35454      ac_ld_relro=yes
35455    fi
35456    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35457$as_echo "$ac_ld_relro" >&6; }
35458  fi
35459
35460  # Set linker optimization flags.
35461  if test x"$with_gnu_ld" = x"yes"; then
35462    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35463  fi
35464
35465
35466
35467
35468
35469  ac_test_CXXFLAGS="${CXXFLAGS+set}"
35470  ac_save_CXXFLAGS="$CXXFLAGS"
35471  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35472
35473    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35474$as_echo_n "checking for sin in -lm... " >&6; }
35475if test "${ac_cv_lib_m_sin+set}" = set; then :
35476  $as_echo_n "(cached) " >&6
35477else
35478  ac_check_lib_save_LIBS=$LIBS
35479LIBS="-lm  $LIBS"
35480if test x$gcc_no_link = xyes; then
35481  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35482fi
35483cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35484/* end confdefs.h.  */
35485
35486/* Override any GCC internal prototype to avoid an error.
35487   Use char because int might match the return type of a GCC
35488   builtin and then its argument prototype would still apply.  */
35489#ifdef __cplusplus
35490extern "C"
35491#endif
35492char sin ();
35493int
35494main ()
35495{
35496return sin ();
35497  ;
35498  return 0;
35499}
35500_ACEOF
35501if ac_fn_c_try_link "$LINENO"; then :
35502  ac_cv_lib_m_sin=yes
35503else
35504  ac_cv_lib_m_sin=no
35505fi
35506rm -f core conftest.err conftest.$ac_objext \
35507    conftest$ac_exeext conftest.$ac_ext
35508LIBS=$ac_check_lib_save_LIBS
35509fi
35510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35511$as_echo "$ac_cv_lib_m_sin" >&6; }
35512if test "x$ac_cv_lib_m_sin" = x""yes; then :
35513  libm="-lm"
35514fi
35515
35516  ac_save_LIBS="$LIBS"
35517  LIBS="$LIBS $libm"
35518
35519
35520
35521  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35522$as_echo_n "checking for isinf declaration... " >&6; }
35523  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35524    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35525  $as_echo_n "(cached) " >&6
35526else
35527
35528
35529      ac_ext=cpp
35530ac_cpp='$CXXCPP $CPPFLAGS'
35531ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35532ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35533ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35534
35535      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35536/* end confdefs.h.  */
35537#include <math.h>
35538		      #ifdef HAVE_IEEEFP_H
35539		      #include <ieeefp.h>
35540		      #endif
35541
35542int
35543main ()
35544{
35545 isinf(0);
35546  ;
35547  return 0;
35548}
35549_ACEOF
35550if ac_fn_cxx_try_compile "$LINENO"; then :
35551  glibcxx_cv_func_isinf_use=yes
35552else
35553  glibcxx_cv_func_isinf_use=no
35554fi
35555rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35556      ac_ext=c
35557ac_cpp='$CPP $CPPFLAGS'
35558ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35559ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35560ac_compiler_gnu=$ac_cv_c_compiler_gnu
35561
35562
35563fi
35564
35565  fi
35566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35567$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35568
35569  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35570    for ac_func in isinf
35571do :
35572  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35573if test "x$ac_cv_func_isinf" = x""yes; then :
35574  cat >>confdefs.h <<_ACEOF
35575#define HAVE_ISINF 1
35576_ACEOF
35577
35578fi
35579done
35580
35581  else
35582
35583  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35584$as_echo_n "checking for _isinf declaration... " >&6; }
35585  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35586    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35587  $as_echo_n "(cached) " >&6
35588else
35589
35590
35591      ac_ext=cpp
35592ac_cpp='$CXXCPP $CPPFLAGS'
35593ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35594ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35595ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35596
35597      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35598/* end confdefs.h.  */
35599#include <math.h>
35600		      #ifdef HAVE_IEEEFP_H
35601		      #include <ieeefp.h>
35602		      #endif
35603
35604int
35605main ()
35606{
35607 _isinf(0);
35608  ;
35609  return 0;
35610}
35611_ACEOF
35612if ac_fn_cxx_try_compile "$LINENO"; then :
35613  glibcxx_cv_func__isinf_use=yes
35614else
35615  glibcxx_cv_func__isinf_use=no
35616fi
35617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35618      ac_ext=c
35619ac_cpp='$CPP $CPPFLAGS'
35620ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35621ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35622ac_compiler_gnu=$ac_cv_c_compiler_gnu
35623
35624
35625fi
35626
35627  fi
35628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35629$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35630
35631    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35632      for ac_func in _isinf
35633do :
35634  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35635if test "x$ac_cv_func__isinf" = x""yes; then :
35636  cat >>confdefs.h <<_ACEOF
35637#define HAVE__ISINF 1
35638_ACEOF
35639
35640fi
35641done
35642
35643    fi
35644  fi
35645
35646
35647
35648
35649
35650  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35651$as_echo_n "checking for isnan declaration... " >&6; }
35652  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35653    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35654  $as_echo_n "(cached) " >&6
35655else
35656
35657
35658      ac_ext=cpp
35659ac_cpp='$CXXCPP $CPPFLAGS'
35660ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35661ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35662ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35663
35664      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35665/* end confdefs.h.  */
35666#include <math.h>
35667		      #ifdef HAVE_IEEEFP_H
35668		      #include <ieeefp.h>
35669		      #endif
35670
35671int
35672main ()
35673{
35674 isnan(0);
35675  ;
35676  return 0;
35677}
35678_ACEOF
35679if ac_fn_cxx_try_compile "$LINENO"; then :
35680  glibcxx_cv_func_isnan_use=yes
35681else
35682  glibcxx_cv_func_isnan_use=no
35683fi
35684rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35685      ac_ext=c
35686ac_cpp='$CPP $CPPFLAGS'
35687ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35688ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35689ac_compiler_gnu=$ac_cv_c_compiler_gnu
35690
35691
35692fi
35693
35694  fi
35695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35696$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35697
35698  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35699    for ac_func in isnan
35700do :
35701  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35702if test "x$ac_cv_func_isnan" = x""yes; then :
35703  cat >>confdefs.h <<_ACEOF
35704#define HAVE_ISNAN 1
35705_ACEOF
35706
35707fi
35708done
35709
35710  else
35711
35712  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35713$as_echo_n "checking for _isnan declaration... " >&6; }
35714  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35715    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35716  $as_echo_n "(cached) " >&6
35717else
35718
35719
35720      ac_ext=cpp
35721ac_cpp='$CXXCPP $CPPFLAGS'
35722ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35723ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35724ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35725
35726      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35727/* end confdefs.h.  */
35728#include <math.h>
35729		      #ifdef HAVE_IEEEFP_H
35730		      #include <ieeefp.h>
35731		      #endif
35732
35733int
35734main ()
35735{
35736 _isnan(0);
35737  ;
35738  return 0;
35739}
35740_ACEOF
35741if ac_fn_cxx_try_compile "$LINENO"; then :
35742  glibcxx_cv_func__isnan_use=yes
35743else
35744  glibcxx_cv_func__isnan_use=no
35745fi
35746rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35747      ac_ext=c
35748ac_cpp='$CPP $CPPFLAGS'
35749ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35750ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35751ac_compiler_gnu=$ac_cv_c_compiler_gnu
35752
35753
35754fi
35755
35756  fi
35757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35758$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35759
35760    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35761      for ac_func in _isnan
35762do :
35763  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35764if test "x$ac_cv_func__isnan" = x""yes; then :
35765  cat >>confdefs.h <<_ACEOF
35766#define HAVE__ISNAN 1
35767_ACEOF
35768
35769fi
35770done
35771
35772    fi
35773  fi
35774
35775
35776
35777
35778
35779  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35780$as_echo_n "checking for finite declaration... " >&6; }
35781  if test x${glibcxx_cv_func_finite_use+set} != xset; then
35782    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35783  $as_echo_n "(cached) " >&6
35784else
35785
35786
35787      ac_ext=cpp
35788ac_cpp='$CXXCPP $CPPFLAGS'
35789ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35790ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35791ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35792
35793      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35794/* end confdefs.h.  */
35795#include <math.h>
35796		      #ifdef HAVE_IEEEFP_H
35797		      #include <ieeefp.h>
35798		      #endif
35799
35800int
35801main ()
35802{
35803 finite(0);
35804  ;
35805  return 0;
35806}
35807_ACEOF
35808if ac_fn_cxx_try_compile "$LINENO"; then :
35809  glibcxx_cv_func_finite_use=yes
35810else
35811  glibcxx_cv_func_finite_use=no
35812fi
35813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35814      ac_ext=c
35815ac_cpp='$CPP $CPPFLAGS'
35816ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35817ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35818ac_compiler_gnu=$ac_cv_c_compiler_gnu
35819
35820
35821fi
35822
35823  fi
35824  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35825$as_echo "$glibcxx_cv_func_finite_use" >&6; }
35826
35827  if test x$glibcxx_cv_func_finite_use = x"yes"; then
35828    for ac_func in finite
35829do :
35830  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35831if test "x$ac_cv_func_finite" = x""yes; then :
35832  cat >>confdefs.h <<_ACEOF
35833#define HAVE_FINITE 1
35834_ACEOF
35835
35836fi
35837done
35838
35839  else
35840
35841  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35842$as_echo_n "checking for _finite declaration... " >&6; }
35843  if test x${glibcxx_cv_func__finite_use+set} != xset; then
35844    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35845  $as_echo_n "(cached) " >&6
35846else
35847
35848
35849      ac_ext=cpp
35850ac_cpp='$CXXCPP $CPPFLAGS'
35851ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35852ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35853ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35854
35855      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35856/* end confdefs.h.  */
35857#include <math.h>
35858		      #ifdef HAVE_IEEEFP_H
35859		      #include <ieeefp.h>
35860		      #endif
35861
35862int
35863main ()
35864{
35865 _finite(0);
35866  ;
35867  return 0;
35868}
35869_ACEOF
35870if ac_fn_cxx_try_compile "$LINENO"; then :
35871  glibcxx_cv_func__finite_use=yes
35872else
35873  glibcxx_cv_func__finite_use=no
35874fi
35875rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35876      ac_ext=c
35877ac_cpp='$CPP $CPPFLAGS'
35878ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35879ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35880ac_compiler_gnu=$ac_cv_c_compiler_gnu
35881
35882
35883fi
35884
35885  fi
35886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35887$as_echo "$glibcxx_cv_func__finite_use" >&6; }
35888
35889    if test x$glibcxx_cv_func__finite_use = x"yes"; then
35890      for ac_func in _finite
35891do :
35892  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35893if test "x$ac_cv_func__finite" = x""yes; then :
35894  cat >>confdefs.h <<_ACEOF
35895#define HAVE__FINITE 1
35896_ACEOF
35897
35898fi
35899done
35900
35901    fi
35902  fi
35903
35904
35905
35906
35907
35908  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35909$as_echo_n "checking for sincos declaration... " >&6; }
35910  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35911    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35912  $as_echo_n "(cached) " >&6
35913else
35914
35915
35916      ac_ext=cpp
35917ac_cpp='$CXXCPP $CPPFLAGS'
35918ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35919ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35920ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35921
35922      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35923/* end confdefs.h.  */
35924#include <math.h>
35925int
35926main ()
35927{
35928 sincos(0, 0, 0);
35929  ;
35930  return 0;
35931}
35932_ACEOF
35933if ac_fn_cxx_try_compile "$LINENO"; then :
35934  glibcxx_cv_func_sincos_use=yes
35935else
35936  glibcxx_cv_func_sincos_use=no
35937fi
35938rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35939      ac_ext=c
35940ac_cpp='$CPP $CPPFLAGS'
35941ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35942ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35943ac_compiler_gnu=$ac_cv_c_compiler_gnu
35944
35945
35946fi
35947
35948  fi
35949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35950$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35951
35952  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35953    for ac_func in sincos
35954do :
35955  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35956if test "x$ac_cv_func_sincos" = x""yes; then :
35957  cat >>confdefs.h <<_ACEOF
35958#define HAVE_SINCOS 1
35959_ACEOF
35960
35961fi
35962done
35963
35964  else
35965
35966  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35967$as_echo_n "checking for _sincos declaration... " >&6; }
35968  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35969    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35970  $as_echo_n "(cached) " >&6
35971else
35972
35973
35974      ac_ext=cpp
35975ac_cpp='$CXXCPP $CPPFLAGS'
35976ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35977ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35978ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35979
35980      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35981/* end confdefs.h.  */
35982#include <math.h>
35983int
35984main ()
35985{
35986 _sincos(0, 0, 0);
35987  ;
35988  return 0;
35989}
35990_ACEOF
35991if ac_fn_cxx_try_compile "$LINENO"; then :
35992  glibcxx_cv_func__sincos_use=yes
35993else
35994  glibcxx_cv_func__sincos_use=no
35995fi
35996rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35997      ac_ext=c
35998ac_cpp='$CPP $CPPFLAGS'
35999ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36000ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36001ac_compiler_gnu=$ac_cv_c_compiler_gnu
36002
36003
36004fi
36005
36006  fi
36007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36008$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36009
36010    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36011      for ac_func in _sincos
36012do :
36013  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36014if test "x$ac_cv_func__sincos" = x""yes; then :
36015  cat >>confdefs.h <<_ACEOF
36016#define HAVE__SINCOS 1
36017_ACEOF
36018
36019fi
36020done
36021
36022    fi
36023  fi
36024
36025
36026
36027
36028
36029  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36030$as_echo_n "checking for fpclass declaration... " >&6; }
36031  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36032    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
36033  $as_echo_n "(cached) " >&6
36034else
36035
36036
36037      ac_ext=cpp
36038ac_cpp='$CXXCPP $CPPFLAGS'
36039ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36040ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36041ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36042
36043      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36044/* end confdefs.h.  */
36045#include <math.h>
36046		      #ifdef HAVE_IEEEFP_H
36047		      #include <ieeefp.h>
36048		      #endif
36049
36050int
36051main ()
36052{
36053 fpclass(0);
36054  ;
36055  return 0;
36056}
36057_ACEOF
36058if ac_fn_cxx_try_compile "$LINENO"; then :
36059  glibcxx_cv_func_fpclass_use=yes
36060else
36061  glibcxx_cv_func_fpclass_use=no
36062fi
36063rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36064      ac_ext=c
36065ac_cpp='$CPP $CPPFLAGS'
36066ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36067ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36068ac_compiler_gnu=$ac_cv_c_compiler_gnu
36069
36070
36071fi
36072
36073  fi
36074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36075$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36076
36077  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36078    for ac_func in fpclass
36079do :
36080  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36081if test "x$ac_cv_func_fpclass" = x""yes; then :
36082  cat >>confdefs.h <<_ACEOF
36083#define HAVE_FPCLASS 1
36084_ACEOF
36085
36086fi
36087done
36088
36089  else
36090
36091  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36092$as_echo_n "checking for _fpclass declaration... " >&6; }
36093  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36094    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
36095  $as_echo_n "(cached) " >&6
36096else
36097
36098
36099      ac_ext=cpp
36100ac_cpp='$CXXCPP $CPPFLAGS'
36101ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36102ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36103ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36104
36105      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36106/* end confdefs.h.  */
36107#include <math.h>
36108		      #ifdef HAVE_IEEEFP_H
36109		      #include <ieeefp.h>
36110		      #endif
36111
36112int
36113main ()
36114{
36115 _fpclass(0);
36116  ;
36117  return 0;
36118}
36119_ACEOF
36120if ac_fn_cxx_try_compile "$LINENO"; then :
36121  glibcxx_cv_func__fpclass_use=yes
36122else
36123  glibcxx_cv_func__fpclass_use=no
36124fi
36125rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36126      ac_ext=c
36127ac_cpp='$CPP $CPPFLAGS'
36128ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36129ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36130ac_compiler_gnu=$ac_cv_c_compiler_gnu
36131
36132
36133fi
36134
36135  fi
36136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36137$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36138
36139    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36140      for ac_func in _fpclass
36141do :
36142  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36143if test "x$ac_cv_func__fpclass" = x""yes; then :
36144  cat >>confdefs.h <<_ACEOF
36145#define HAVE__FPCLASS 1
36146_ACEOF
36147
36148fi
36149done
36150
36151    fi
36152  fi
36153
36154
36155
36156
36157
36158  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36159$as_echo_n "checking for qfpclass declaration... " >&6; }
36160  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36161    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
36162  $as_echo_n "(cached) " >&6
36163else
36164
36165
36166      ac_ext=cpp
36167ac_cpp='$CXXCPP $CPPFLAGS'
36168ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36169ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36170ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36171
36172      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36173/* end confdefs.h.  */
36174#include <math.h>
36175		      #ifdef HAVE_IEEEFP_H
36176		      #include <ieeefp.h>
36177		      #endif
36178
36179int
36180main ()
36181{
36182 qfpclass(0);
36183  ;
36184  return 0;
36185}
36186_ACEOF
36187if ac_fn_cxx_try_compile "$LINENO"; then :
36188  glibcxx_cv_func_qfpclass_use=yes
36189else
36190  glibcxx_cv_func_qfpclass_use=no
36191fi
36192rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36193      ac_ext=c
36194ac_cpp='$CPP $CPPFLAGS'
36195ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36196ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36197ac_compiler_gnu=$ac_cv_c_compiler_gnu
36198
36199
36200fi
36201
36202  fi
36203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36204$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36205
36206  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36207    for ac_func in qfpclass
36208do :
36209  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36210if test "x$ac_cv_func_qfpclass" = x""yes; then :
36211  cat >>confdefs.h <<_ACEOF
36212#define HAVE_QFPCLASS 1
36213_ACEOF
36214
36215fi
36216done
36217
36218  else
36219
36220  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36221$as_echo_n "checking for _qfpclass declaration... " >&6; }
36222  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36223    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
36224  $as_echo_n "(cached) " >&6
36225else
36226
36227
36228      ac_ext=cpp
36229ac_cpp='$CXXCPP $CPPFLAGS'
36230ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36231ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36232ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36233
36234      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36235/* end confdefs.h.  */
36236#include <math.h>
36237		      #ifdef HAVE_IEEEFP_H
36238		      #include <ieeefp.h>
36239		      #endif
36240
36241int
36242main ()
36243{
36244 _qfpclass(0);
36245  ;
36246  return 0;
36247}
36248_ACEOF
36249if ac_fn_cxx_try_compile "$LINENO"; then :
36250  glibcxx_cv_func__qfpclass_use=yes
36251else
36252  glibcxx_cv_func__qfpclass_use=no
36253fi
36254rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36255      ac_ext=c
36256ac_cpp='$CPP $CPPFLAGS'
36257ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36258ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36259ac_compiler_gnu=$ac_cv_c_compiler_gnu
36260
36261
36262fi
36263
36264  fi
36265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36266$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36267
36268    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36269      for ac_func in _qfpclass
36270do :
36271  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36272if test "x$ac_cv_func__qfpclass" = x""yes; then :
36273  cat >>confdefs.h <<_ACEOF
36274#define HAVE__QFPCLASS 1
36275_ACEOF
36276
36277fi
36278done
36279
36280    fi
36281  fi
36282
36283
36284
36285
36286
36287  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36288$as_echo_n "checking for hypot declaration... " >&6; }
36289  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36290    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
36291  $as_echo_n "(cached) " >&6
36292else
36293
36294
36295      ac_ext=cpp
36296ac_cpp='$CXXCPP $CPPFLAGS'
36297ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36298ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36299ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36300
36301      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36302/* end confdefs.h.  */
36303#include <math.h>
36304int
36305main ()
36306{
36307 hypot(0, 0);
36308  ;
36309  return 0;
36310}
36311_ACEOF
36312if ac_fn_cxx_try_compile "$LINENO"; then :
36313  glibcxx_cv_func_hypot_use=yes
36314else
36315  glibcxx_cv_func_hypot_use=no
36316fi
36317rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36318      ac_ext=c
36319ac_cpp='$CPP $CPPFLAGS'
36320ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36321ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36322ac_compiler_gnu=$ac_cv_c_compiler_gnu
36323
36324
36325fi
36326
36327  fi
36328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36329$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36330
36331  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36332    for ac_func in hypot
36333do :
36334  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36335if test "x$ac_cv_func_hypot" = x""yes; then :
36336  cat >>confdefs.h <<_ACEOF
36337#define HAVE_HYPOT 1
36338_ACEOF
36339
36340fi
36341done
36342
36343  else
36344
36345  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36346$as_echo_n "checking for _hypot declaration... " >&6; }
36347  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36348    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
36349  $as_echo_n "(cached) " >&6
36350else
36351
36352
36353      ac_ext=cpp
36354ac_cpp='$CXXCPP $CPPFLAGS'
36355ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36356ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36357ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36358
36359      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36360/* end confdefs.h.  */
36361#include <math.h>
36362int
36363main ()
36364{
36365 _hypot(0, 0);
36366  ;
36367  return 0;
36368}
36369_ACEOF
36370if ac_fn_cxx_try_compile "$LINENO"; then :
36371  glibcxx_cv_func__hypot_use=yes
36372else
36373  glibcxx_cv_func__hypot_use=no
36374fi
36375rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36376      ac_ext=c
36377ac_cpp='$CPP $CPPFLAGS'
36378ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36379ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36380ac_compiler_gnu=$ac_cv_c_compiler_gnu
36381
36382
36383fi
36384
36385  fi
36386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36387$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36388
36389    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36390      for ac_func in _hypot
36391do :
36392  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36393if test "x$ac_cv_func__hypot" = x""yes; then :
36394  cat >>confdefs.h <<_ACEOF
36395#define HAVE__HYPOT 1
36396_ACEOF
36397
36398fi
36399done
36400
36401    fi
36402  fi
36403
36404
36405
36406
36407
36408    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36409$as_echo_n "checking for float trig functions... " >&6; }
36410  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
36411  $as_echo_n "(cached) " >&6
36412else
36413
36414
36415    ac_ext=cpp
36416ac_cpp='$CXXCPP $CPPFLAGS'
36417ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36418ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36419ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36420
36421    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36422/* end confdefs.h.  */
36423#include <math.h>
36424int
36425main ()
36426{
36427acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36428  ;
36429  return 0;
36430}
36431_ACEOF
36432if ac_fn_cxx_try_compile "$LINENO"; then :
36433  glibcxx_cv_func_float_trig_use=yes
36434else
36435  glibcxx_cv_func_float_trig_use=no
36436fi
36437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36438    ac_ext=c
36439ac_cpp='$CPP $CPPFLAGS'
36440ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36441ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36442ac_compiler_gnu=$ac_cv_c_compiler_gnu
36443
36444fi
36445
36446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36447$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36448  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36449    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36450do :
36451  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36452ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36453eval as_val=\$$as_ac_var
36454   if test "x$as_val" = x""yes; then :
36455  cat >>confdefs.h <<_ACEOF
36456#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36457_ACEOF
36458
36459fi
36460done
36461
36462  else
36463    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36464$as_echo_n "checking for _float trig functions... " >&6; }
36465    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36466  $as_echo_n "(cached) " >&6
36467else
36468
36469
36470      ac_ext=cpp
36471ac_cpp='$CXXCPP $CPPFLAGS'
36472ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36473ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36474ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36475
36476      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36477/* end confdefs.h.  */
36478#include <math.h>
36479int
36480main ()
36481{
36482_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36483  ;
36484  return 0;
36485}
36486_ACEOF
36487if ac_fn_cxx_try_compile "$LINENO"; then :
36488  glibcxx_cv_func__float_trig_use=yes
36489else
36490  glibcxx_cv_func__float_trig_use=no
36491fi
36492rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36493      ac_ext=c
36494ac_cpp='$CPP $CPPFLAGS'
36495ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36496ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36497ac_compiler_gnu=$ac_cv_c_compiler_gnu
36498
36499fi
36500
36501    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36502$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36503    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36504      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36505do :
36506  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36507ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36508eval as_val=\$$as_ac_var
36509   if test "x$as_val" = x""yes; then :
36510  cat >>confdefs.h <<_ACEOF
36511#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36512_ACEOF
36513
36514fi
36515done
36516
36517    fi
36518  fi
36519
36520
36521
36522
36523
36524    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36525$as_echo_n "checking for float round functions... " >&6; }
36526  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36527  $as_echo_n "(cached) " >&6
36528else
36529
36530
36531    ac_ext=cpp
36532ac_cpp='$CXXCPP $CPPFLAGS'
36533ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36534ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36535ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36536
36537    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36538/* end confdefs.h.  */
36539#include <math.h>
36540int
36541main ()
36542{
36543ceilf (0); floorf (0);
36544  ;
36545  return 0;
36546}
36547_ACEOF
36548if ac_fn_cxx_try_compile "$LINENO"; then :
36549  glibcxx_cv_func_float_round_use=yes
36550else
36551  glibcxx_cv_func_float_round_use=no
36552fi
36553rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36554    ac_ext=c
36555ac_cpp='$CPP $CPPFLAGS'
36556ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36557ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36558ac_compiler_gnu=$ac_cv_c_compiler_gnu
36559
36560fi
36561
36562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36563$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36564  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36565    for ac_func in ceilf floorf
36566do :
36567  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36568ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36569eval as_val=\$$as_ac_var
36570   if test "x$as_val" = x""yes; then :
36571  cat >>confdefs.h <<_ACEOF
36572#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36573_ACEOF
36574
36575fi
36576done
36577
36578  else
36579    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36580$as_echo_n "checking for _float round functions... " >&6; }
36581    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36582  $as_echo_n "(cached) " >&6
36583else
36584
36585
36586      ac_ext=cpp
36587ac_cpp='$CXXCPP $CPPFLAGS'
36588ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36589ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36590ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36591
36592      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36593/* end confdefs.h.  */
36594#include <math.h>
36595int
36596main ()
36597{
36598_ceilf (0); _floorf (0);
36599  ;
36600  return 0;
36601}
36602_ACEOF
36603if ac_fn_cxx_try_compile "$LINENO"; then :
36604  glibcxx_cv_func__float_round_use=yes
36605else
36606  glibcxx_cv_func__float_round_use=no
36607fi
36608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36609      ac_ext=c
36610ac_cpp='$CPP $CPPFLAGS'
36611ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36612ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36613ac_compiler_gnu=$ac_cv_c_compiler_gnu
36614
36615fi
36616
36617    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36618$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36619    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36620      for ac_func in _ceilf _floorf
36621do :
36622  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36623ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36624eval as_val=\$$as_ac_var
36625   if test "x$as_val" = x""yes; then :
36626  cat >>confdefs.h <<_ACEOF
36627#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36628_ACEOF
36629
36630fi
36631done
36632
36633    fi
36634  fi
36635
36636
36637
36638
36639
36640
36641  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36642$as_echo_n "checking for expf declaration... " >&6; }
36643  if test x${glibcxx_cv_func_expf_use+set} != xset; then
36644    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36645  $as_echo_n "(cached) " >&6
36646else
36647
36648
36649      ac_ext=cpp
36650ac_cpp='$CXXCPP $CPPFLAGS'
36651ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36652ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36653ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36654
36655      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36656/* end confdefs.h.  */
36657#include <math.h>
36658		      #ifdef HAVE_IEEEFP_H
36659		      #include <ieeefp.h>
36660		      #endif
36661
36662int
36663main ()
36664{
36665 expf(0);
36666  ;
36667  return 0;
36668}
36669_ACEOF
36670if ac_fn_cxx_try_compile "$LINENO"; then :
36671  glibcxx_cv_func_expf_use=yes
36672else
36673  glibcxx_cv_func_expf_use=no
36674fi
36675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36676      ac_ext=c
36677ac_cpp='$CPP $CPPFLAGS'
36678ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36679ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36680ac_compiler_gnu=$ac_cv_c_compiler_gnu
36681
36682
36683fi
36684
36685  fi
36686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36687$as_echo "$glibcxx_cv_func_expf_use" >&6; }
36688
36689  if test x$glibcxx_cv_func_expf_use = x"yes"; then
36690    for ac_func in expf
36691do :
36692  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36693if test "x$ac_cv_func_expf" = x""yes; then :
36694  cat >>confdefs.h <<_ACEOF
36695#define HAVE_EXPF 1
36696_ACEOF
36697
36698fi
36699done
36700
36701  else
36702
36703  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36704$as_echo_n "checking for _expf declaration... " >&6; }
36705  if test x${glibcxx_cv_func__expf_use+set} != xset; then
36706    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36707  $as_echo_n "(cached) " >&6
36708else
36709
36710
36711      ac_ext=cpp
36712ac_cpp='$CXXCPP $CPPFLAGS'
36713ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36714ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36715ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36716
36717      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36718/* end confdefs.h.  */
36719#include <math.h>
36720		      #ifdef HAVE_IEEEFP_H
36721		      #include <ieeefp.h>
36722		      #endif
36723
36724int
36725main ()
36726{
36727 _expf(0);
36728  ;
36729  return 0;
36730}
36731_ACEOF
36732if ac_fn_cxx_try_compile "$LINENO"; then :
36733  glibcxx_cv_func__expf_use=yes
36734else
36735  glibcxx_cv_func__expf_use=no
36736fi
36737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36738      ac_ext=c
36739ac_cpp='$CPP $CPPFLAGS'
36740ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36741ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36742ac_compiler_gnu=$ac_cv_c_compiler_gnu
36743
36744
36745fi
36746
36747  fi
36748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36749$as_echo "$glibcxx_cv_func__expf_use" >&6; }
36750
36751    if test x$glibcxx_cv_func__expf_use = x"yes"; then
36752      for ac_func in _expf
36753do :
36754  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36755if test "x$ac_cv_func__expf" = x""yes; then :
36756  cat >>confdefs.h <<_ACEOF
36757#define HAVE__EXPF 1
36758_ACEOF
36759
36760fi
36761done
36762
36763    fi
36764  fi
36765
36766
36767
36768
36769
36770  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36771$as_echo_n "checking for isnanf declaration... " >&6; }
36772  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36773    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36774  $as_echo_n "(cached) " >&6
36775else
36776
36777
36778      ac_ext=cpp
36779ac_cpp='$CXXCPP $CPPFLAGS'
36780ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36781ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36782ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36783
36784      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36785/* end confdefs.h.  */
36786#include <math.h>
36787		      #ifdef HAVE_IEEEFP_H
36788		      #include <ieeefp.h>
36789		      #endif
36790
36791int
36792main ()
36793{
36794 isnanf(0);
36795  ;
36796  return 0;
36797}
36798_ACEOF
36799if ac_fn_cxx_try_compile "$LINENO"; then :
36800  glibcxx_cv_func_isnanf_use=yes
36801else
36802  glibcxx_cv_func_isnanf_use=no
36803fi
36804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36805      ac_ext=c
36806ac_cpp='$CPP $CPPFLAGS'
36807ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36808ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36809ac_compiler_gnu=$ac_cv_c_compiler_gnu
36810
36811
36812fi
36813
36814  fi
36815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36816$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36817
36818  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36819    for ac_func in isnanf
36820do :
36821  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36822if test "x$ac_cv_func_isnanf" = x""yes; then :
36823  cat >>confdefs.h <<_ACEOF
36824#define HAVE_ISNANF 1
36825_ACEOF
36826
36827fi
36828done
36829
36830  else
36831
36832  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36833$as_echo_n "checking for _isnanf declaration... " >&6; }
36834  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36835    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36836  $as_echo_n "(cached) " >&6
36837else
36838
36839
36840      ac_ext=cpp
36841ac_cpp='$CXXCPP $CPPFLAGS'
36842ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36843ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36844ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36845
36846      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36847/* end confdefs.h.  */
36848#include <math.h>
36849		      #ifdef HAVE_IEEEFP_H
36850		      #include <ieeefp.h>
36851		      #endif
36852
36853int
36854main ()
36855{
36856 _isnanf(0);
36857  ;
36858  return 0;
36859}
36860_ACEOF
36861if ac_fn_cxx_try_compile "$LINENO"; then :
36862  glibcxx_cv_func__isnanf_use=yes
36863else
36864  glibcxx_cv_func__isnanf_use=no
36865fi
36866rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36867      ac_ext=c
36868ac_cpp='$CPP $CPPFLAGS'
36869ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36870ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36871ac_compiler_gnu=$ac_cv_c_compiler_gnu
36872
36873
36874fi
36875
36876  fi
36877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36878$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36879
36880    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36881      for ac_func in _isnanf
36882do :
36883  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36884if test "x$ac_cv_func__isnanf" = x""yes; then :
36885  cat >>confdefs.h <<_ACEOF
36886#define HAVE__ISNANF 1
36887_ACEOF
36888
36889fi
36890done
36891
36892    fi
36893  fi
36894
36895
36896
36897
36898
36899  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36900$as_echo_n "checking for isinff declaration... " >&6; }
36901  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36902    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36903  $as_echo_n "(cached) " >&6
36904else
36905
36906
36907      ac_ext=cpp
36908ac_cpp='$CXXCPP $CPPFLAGS'
36909ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36910ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36911ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36912
36913      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36914/* end confdefs.h.  */
36915#include <math.h>
36916		      #ifdef HAVE_IEEEFP_H
36917		      #include <ieeefp.h>
36918		      #endif
36919
36920int
36921main ()
36922{
36923 isinff(0);
36924  ;
36925  return 0;
36926}
36927_ACEOF
36928if ac_fn_cxx_try_compile "$LINENO"; then :
36929  glibcxx_cv_func_isinff_use=yes
36930else
36931  glibcxx_cv_func_isinff_use=no
36932fi
36933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36934      ac_ext=c
36935ac_cpp='$CPP $CPPFLAGS'
36936ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36937ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36938ac_compiler_gnu=$ac_cv_c_compiler_gnu
36939
36940
36941fi
36942
36943  fi
36944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36945$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36946
36947  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36948    for ac_func in isinff
36949do :
36950  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36951if test "x$ac_cv_func_isinff" = x""yes; then :
36952  cat >>confdefs.h <<_ACEOF
36953#define HAVE_ISINFF 1
36954_ACEOF
36955
36956fi
36957done
36958
36959  else
36960
36961  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36962$as_echo_n "checking for _isinff declaration... " >&6; }
36963  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36964    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36965  $as_echo_n "(cached) " >&6
36966else
36967
36968
36969      ac_ext=cpp
36970ac_cpp='$CXXCPP $CPPFLAGS'
36971ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36972ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36973ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36974
36975      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36976/* end confdefs.h.  */
36977#include <math.h>
36978		      #ifdef HAVE_IEEEFP_H
36979		      #include <ieeefp.h>
36980		      #endif
36981
36982int
36983main ()
36984{
36985 _isinff(0);
36986  ;
36987  return 0;
36988}
36989_ACEOF
36990if ac_fn_cxx_try_compile "$LINENO"; then :
36991  glibcxx_cv_func__isinff_use=yes
36992else
36993  glibcxx_cv_func__isinff_use=no
36994fi
36995rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36996      ac_ext=c
36997ac_cpp='$CPP $CPPFLAGS'
36998ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36999ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37000ac_compiler_gnu=$ac_cv_c_compiler_gnu
37001
37002
37003fi
37004
37005  fi
37006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37007$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37008
37009    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37010      for ac_func in _isinff
37011do :
37012  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37013if test "x$ac_cv_func__isinff" = x""yes; then :
37014  cat >>confdefs.h <<_ACEOF
37015#define HAVE__ISINFF 1
37016_ACEOF
37017
37018fi
37019done
37020
37021    fi
37022  fi
37023
37024
37025
37026
37027
37028  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37029$as_echo_n "checking for atan2f declaration... " >&6; }
37030  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37031    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
37032  $as_echo_n "(cached) " >&6
37033else
37034
37035
37036      ac_ext=cpp
37037ac_cpp='$CXXCPP $CPPFLAGS'
37038ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37039ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37040ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37041
37042      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37043/* end confdefs.h.  */
37044#include <math.h>
37045int
37046main ()
37047{
37048 atan2f(0, 0);
37049  ;
37050  return 0;
37051}
37052_ACEOF
37053if ac_fn_cxx_try_compile "$LINENO"; then :
37054  glibcxx_cv_func_atan2f_use=yes
37055else
37056  glibcxx_cv_func_atan2f_use=no
37057fi
37058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37059      ac_ext=c
37060ac_cpp='$CPP $CPPFLAGS'
37061ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37062ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37063ac_compiler_gnu=$ac_cv_c_compiler_gnu
37064
37065
37066fi
37067
37068  fi
37069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37070$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37071
37072  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37073    for ac_func in atan2f
37074do :
37075  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37076if test "x$ac_cv_func_atan2f" = x""yes; then :
37077  cat >>confdefs.h <<_ACEOF
37078#define HAVE_ATAN2F 1
37079_ACEOF
37080
37081fi
37082done
37083
37084  else
37085
37086  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37087$as_echo_n "checking for _atan2f declaration... " >&6; }
37088  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37089    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
37090  $as_echo_n "(cached) " >&6
37091else
37092
37093
37094      ac_ext=cpp
37095ac_cpp='$CXXCPP $CPPFLAGS'
37096ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37097ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37098ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37099
37100      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37101/* end confdefs.h.  */
37102#include <math.h>
37103int
37104main ()
37105{
37106 _atan2f(0, 0);
37107  ;
37108  return 0;
37109}
37110_ACEOF
37111if ac_fn_cxx_try_compile "$LINENO"; then :
37112  glibcxx_cv_func__atan2f_use=yes
37113else
37114  glibcxx_cv_func__atan2f_use=no
37115fi
37116rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37117      ac_ext=c
37118ac_cpp='$CPP $CPPFLAGS'
37119ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37120ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37121ac_compiler_gnu=$ac_cv_c_compiler_gnu
37122
37123
37124fi
37125
37126  fi
37127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37128$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37129
37130    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37131      for ac_func in _atan2f
37132do :
37133  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37134if test "x$ac_cv_func__atan2f" = x""yes; then :
37135  cat >>confdefs.h <<_ACEOF
37136#define HAVE__ATAN2F 1
37137_ACEOF
37138
37139fi
37140done
37141
37142    fi
37143  fi
37144
37145
37146
37147
37148
37149  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37150$as_echo_n "checking for fabsf declaration... " >&6; }
37151  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37152    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
37153  $as_echo_n "(cached) " >&6
37154else
37155
37156
37157      ac_ext=cpp
37158ac_cpp='$CXXCPP $CPPFLAGS'
37159ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37160ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37161ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37162
37163      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37164/* end confdefs.h.  */
37165#include <math.h>
37166		      #ifdef HAVE_IEEEFP_H
37167		      #include <ieeefp.h>
37168		      #endif
37169
37170int
37171main ()
37172{
37173 fabsf(0);
37174  ;
37175  return 0;
37176}
37177_ACEOF
37178if ac_fn_cxx_try_compile "$LINENO"; then :
37179  glibcxx_cv_func_fabsf_use=yes
37180else
37181  glibcxx_cv_func_fabsf_use=no
37182fi
37183rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37184      ac_ext=c
37185ac_cpp='$CPP $CPPFLAGS'
37186ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37187ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37188ac_compiler_gnu=$ac_cv_c_compiler_gnu
37189
37190
37191fi
37192
37193  fi
37194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37195$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37196
37197  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37198    for ac_func in fabsf
37199do :
37200  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37201if test "x$ac_cv_func_fabsf" = x""yes; then :
37202  cat >>confdefs.h <<_ACEOF
37203#define HAVE_FABSF 1
37204_ACEOF
37205
37206fi
37207done
37208
37209  else
37210
37211  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37212$as_echo_n "checking for _fabsf declaration... " >&6; }
37213  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37214    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
37215  $as_echo_n "(cached) " >&6
37216else
37217
37218
37219      ac_ext=cpp
37220ac_cpp='$CXXCPP $CPPFLAGS'
37221ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37222ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37223ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37224
37225      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37226/* end confdefs.h.  */
37227#include <math.h>
37228		      #ifdef HAVE_IEEEFP_H
37229		      #include <ieeefp.h>
37230		      #endif
37231
37232int
37233main ()
37234{
37235 _fabsf(0);
37236  ;
37237  return 0;
37238}
37239_ACEOF
37240if ac_fn_cxx_try_compile "$LINENO"; then :
37241  glibcxx_cv_func__fabsf_use=yes
37242else
37243  glibcxx_cv_func__fabsf_use=no
37244fi
37245rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37246      ac_ext=c
37247ac_cpp='$CPP $CPPFLAGS'
37248ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37249ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37250ac_compiler_gnu=$ac_cv_c_compiler_gnu
37251
37252
37253fi
37254
37255  fi
37256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37257$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37258
37259    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37260      for ac_func in _fabsf
37261do :
37262  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37263if test "x$ac_cv_func__fabsf" = x""yes; then :
37264  cat >>confdefs.h <<_ACEOF
37265#define HAVE__FABSF 1
37266_ACEOF
37267
37268fi
37269done
37270
37271    fi
37272  fi
37273
37274
37275
37276
37277
37278  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37279$as_echo_n "checking for fmodf declaration... " >&6; }
37280  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37281    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
37282  $as_echo_n "(cached) " >&6
37283else
37284
37285
37286      ac_ext=cpp
37287ac_cpp='$CXXCPP $CPPFLAGS'
37288ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37289ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37290ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37291
37292      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37293/* end confdefs.h.  */
37294#include <math.h>
37295int
37296main ()
37297{
37298 fmodf(0, 0);
37299  ;
37300  return 0;
37301}
37302_ACEOF
37303if ac_fn_cxx_try_compile "$LINENO"; then :
37304  glibcxx_cv_func_fmodf_use=yes
37305else
37306  glibcxx_cv_func_fmodf_use=no
37307fi
37308rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37309      ac_ext=c
37310ac_cpp='$CPP $CPPFLAGS'
37311ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37312ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37313ac_compiler_gnu=$ac_cv_c_compiler_gnu
37314
37315
37316fi
37317
37318  fi
37319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37320$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37321
37322  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37323    for ac_func in fmodf
37324do :
37325  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37326if test "x$ac_cv_func_fmodf" = x""yes; then :
37327  cat >>confdefs.h <<_ACEOF
37328#define HAVE_FMODF 1
37329_ACEOF
37330
37331fi
37332done
37333
37334  else
37335
37336  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37337$as_echo_n "checking for _fmodf declaration... " >&6; }
37338  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37339    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
37340  $as_echo_n "(cached) " >&6
37341else
37342
37343
37344      ac_ext=cpp
37345ac_cpp='$CXXCPP $CPPFLAGS'
37346ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37347ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37348ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37349
37350      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37351/* end confdefs.h.  */
37352#include <math.h>
37353int
37354main ()
37355{
37356 _fmodf(0, 0);
37357  ;
37358  return 0;
37359}
37360_ACEOF
37361if ac_fn_cxx_try_compile "$LINENO"; then :
37362  glibcxx_cv_func__fmodf_use=yes
37363else
37364  glibcxx_cv_func__fmodf_use=no
37365fi
37366rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37367      ac_ext=c
37368ac_cpp='$CPP $CPPFLAGS'
37369ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37370ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37371ac_compiler_gnu=$ac_cv_c_compiler_gnu
37372
37373
37374fi
37375
37376  fi
37377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37378$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37379
37380    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37381      for ac_func in _fmodf
37382do :
37383  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37384if test "x$ac_cv_func__fmodf" = x""yes; then :
37385  cat >>confdefs.h <<_ACEOF
37386#define HAVE__FMODF 1
37387_ACEOF
37388
37389fi
37390done
37391
37392    fi
37393  fi
37394
37395
37396
37397
37398
37399  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37400$as_echo_n "checking for frexpf declaration... " >&6; }
37401  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37402    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
37403  $as_echo_n "(cached) " >&6
37404else
37405
37406
37407      ac_ext=cpp
37408ac_cpp='$CXXCPP $CPPFLAGS'
37409ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37410ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37411ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37412
37413      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37414/* end confdefs.h.  */
37415#include <math.h>
37416int
37417main ()
37418{
37419 frexpf(0, 0);
37420  ;
37421  return 0;
37422}
37423_ACEOF
37424if ac_fn_cxx_try_compile "$LINENO"; then :
37425  glibcxx_cv_func_frexpf_use=yes
37426else
37427  glibcxx_cv_func_frexpf_use=no
37428fi
37429rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37430      ac_ext=c
37431ac_cpp='$CPP $CPPFLAGS'
37432ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37433ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37434ac_compiler_gnu=$ac_cv_c_compiler_gnu
37435
37436
37437fi
37438
37439  fi
37440  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37441$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37442
37443  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37444    for ac_func in frexpf
37445do :
37446  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37447if test "x$ac_cv_func_frexpf" = x""yes; then :
37448  cat >>confdefs.h <<_ACEOF
37449#define HAVE_FREXPF 1
37450_ACEOF
37451
37452fi
37453done
37454
37455  else
37456
37457  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37458$as_echo_n "checking for _frexpf declaration... " >&6; }
37459  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37460    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37461  $as_echo_n "(cached) " >&6
37462else
37463
37464
37465      ac_ext=cpp
37466ac_cpp='$CXXCPP $CPPFLAGS'
37467ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37468ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37469ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37470
37471      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37472/* end confdefs.h.  */
37473#include <math.h>
37474int
37475main ()
37476{
37477 _frexpf(0, 0);
37478  ;
37479  return 0;
37480}
37481_ACEOF
37482if ac_fn_cxx_try_compile "$LINENO"; then :
37483  glibcxx_cv_func__frexpf_use=yes
37484else
37485  glibcxx_cv_func__frexpf_use=no
37486fi
37487rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37488      ac_ext=c
37489ac_cpp='$CPP $CPPFLAGS'
37490ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37491ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37492ac_compiler_gnu=$ac_cv_c_compiler_gnu
37493
37494
37495fi
37496
37497  fi
37498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37499$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37500
37501    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37502      for ac_func in _frexpf
37503do :
37504  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37505if test "x$ac_cv_func__frexpf" = x""yes; then :
37506  cat >>confdefs.h <<_ACEOF
37507#define HAVE__FREXPF 1
37508_ACEOF
37509
37510fi
37511done
37512
37513    fi
37514  fi
37515
37516
37517
37518
37519
37520  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37521$as_echo_n "checking for hypotf declaration... " >&6; }
37522  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37523    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37524  $as_echo_n "(cached) " >&6
37525else
37526
37527
37528      ac_ext=cpp
37529ac_cpp='$CXXCPP $CPPFLAGS'
37530ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37531ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37532ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37533
37534      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37535/* end confdefs.h.  */
37536#include <math.h>
37537int
37538main ()
37539{
37540 hypotf(0, 0);
37541  ;
37542  return 0;
37543}
37544_ACEOF
37545if ac_fn_cxx_try_compile "$LINENO"; then :
37546  glibcxx_cv_func_hypotf_use=yes
37547else
37548  glibcxx_cv_func_hypotf_use=no
37549fi
37550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37551      ac_ext=c
37552ac_cpp='$CPP $CPPFLAGS'
37553ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37554ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37555ac_compiler_gnu=$ac_cv_c_compiler_gnu
37556
37557
37558fi
37559
37560  fi
37561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37562$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37563
37564  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37565    for ac_func in hypotf
37566do :
37567  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37568if test "x$ac_cv_func_hypotf" = x""yes; then :
37569  cat >>confdefs.h <<_ACEOF
37570#define HAVE_HYPOTF 1
37571_ACEOF
37572
37573fi
37574done
37575
37576  else
37577
37578  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37579$as_echo_n "checking for _hypotf declaration... " >&6; }
37580  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37581    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37582  $as_echo_n "(cached) " >&6
37583else
37584
37585
37586      ac_ext=cpp
37587ac_cpp='$CXXCPP $CPPFLAGS'
37588ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37589ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37590ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37591
37592      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37593/* end confdefs.h.  */
37594#include <math.h>
37595int
37596main ()
37597{
37598 _hypotf(0, 0);
37599  ;
37600  return 0;
37601}
37602_ACEOF
37603if ac_fn_cxx_try_compile "$LINENO"; then :
37604  glibcxx_cv_func__hypotf_use=yes
37605else
37606  glibcxx_cv_func__hypotf_use=no
37607fi
37608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37609      ac_ext=c
37610ac_cpp='$CPP $CPPFLAGS'
37611ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37612ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37613ac_compiler_gnu=$ac_cv_c_compiler_gnu
37614
37615
37616fi
37617
37618  fi
37619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37620$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37621
37622    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37623      for ac_func in _hypotf
37624do :
37625  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37626if test "x$ac_cv_func__hypotf" = x""yes; then :
37627  cat >>confdefs.h <<_ACEOF
37628#define HAVE__HYPOTF 1
37629_ACEOF
37630
37631fi
37632done
37633
37634    fi
37635  fi
37636
37637
37638
37639
37640
37641  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37642$as_echo_n "checking for ldexpf declaration... " >&6; }
37643  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37644    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37645  $as_echo_n "(cached) " >&6
37646else
37647
37648
37649      ac_ext=cpp
37650ac_cpp='$CXXCPP $CPPFLAGS'
37651ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37652ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37653ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37654
37655      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37656/* end confdefs.h.  */
37657#include <math.h>
37658int
37659main ()
37660{
37661 ldexpf(0, 0);
37662  ;
37663  return 0;
37664}
37665_ACEOF
37666if ac_fn_cxx_try_compile "$LINENO"; then :
37667  glibcxx_cv_func_ldexpf_use=yes
37668else
37669  glibcxx_cv_func_ldexpf_use=no
37670fi
37671rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37672      ac_ext=c
37673ac_cpp='$CPP $CPPFLAGS'
37674ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37675ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37676ac_compiler_gnu=$ac_cv_c_compiler_gnu
37677
37678
37679fi
37680
37681  fi
37682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37683$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37684
37685  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37686    for ac_func in ldexpf
37687do :
37688  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37689if test "x$ac_cv_func_ldexpf" = x""yes; then :
37690  cat >>confdefs.h <<_ACEOF
37691#define HAVE_LDEXPF 1
37692_ACEOF
37693
37694fi
37695done
37696
37697  else
37698
37699  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37700$as_echo_n "checking for _ldexpf declaration... " >&6; }
37701  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37702    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37703  $as_echo_n "(cached) " >&6
37704else
37705
37706
37707      ac_ext=cpp
37708ac_cpp='$CXXCPP $CPPFLAGS'
37709ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37710ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37711ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37712
37713      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37714/* end confdefs.h.  */
37715#include <math.h>
37716int
37717main ()
37718{
37719 _ldexpf(0, 0);
37720  ;
37721  return 0;
37722}
37723_ACEOF
37724if ac_fn_cxx_try_compile "$LINENO"; then :
37725  glibcxx_cv_func__ldexpf_use=yes
37726else
37727  glibcxx_cv_func__ldexpf_use=no
37728fi
37729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37730      ac_ext=c
37731ac_cpp='$CPP $CPPFLAGS'
37732ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37733ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37734ac_compiler_gnu=$ac_cv_c_compiler_gnu
37735
37736
37737fi
37738
37739  fi
37740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37741$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37742
37743    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37744      for ac_func in _ldexpf
37745do :
37746  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37747if test "x$ac_cv_func__ldexpf" = x""yes; then :
37748  cat >>confdefs.h <<_ACEOF
37749#define HAVE__LDEXPF 1
37750_ACEOF
37751
37752fi
37753done
37754
37755    fi
37756  fi
37757
37758
37759
37760
37761
37762  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37763$as_echo_n "checking for logf declaration... " >&6; }
37764  if test x${glibcxx_cv_func_logf_use+set} != xset; then
37765    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37766  $as_echo_n "(cached) " >&6
37767else
37768
37769
37770      ac_ext=cpp
37771ac_cpp='$CXXCPP $CPPFLAGS'
37772ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37773ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37774ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37775
37776      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37777/* end confdefs.h.  */
37778#include <math.h>
37779		      #ifdef HAVE_IEEEFP_H
37780		      #include <ieeefp.h>
37781		      #endif
37782
37783int
37784main ()
37785{
37786 logf(0);
37787  ;
37788  return 0;
37789}
37790_ACEOF
37791if ac_fn_cxx_try_compile "$LINENO"; then :
37792  glibcxx_cv_func_logf_use=yes
37793else
37794  glibcxx_cv_func_logf_use=no
37795fi
37796rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37797      ac_ext=c
37798ac_cpp='$CPP $CPPFLAGS'
37799ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37800ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37801ac_compiler_gnu=$ac_cv_c_compiler_gnu
37802
37803
37804fi
37805
37806  fi
37807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37808$as_echo "$glibcxx_cv_func_logf_use" >&6; }
37809
37810  if test x$glibcxx_cv_func_logf_use = x"yes"; then
37811    for ac_func in logf
37812do :
37813  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37814if test "x$ac_cv_func_logf" = x""yes; then :
37815  cat >>confdefs.h <<_ACEOF
37816#define HAVE_LOGF 1
37817_ACEOF
37818
37819fi
37820done
37821
37822  else
37823
37824  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37825$as_echo_n "checking for _logf declaration... " >&6; }
37826  if test x${glibcxx_cv_func__logf_use+set} != xset; then
37827    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37828  $as_echo_n "(cached) " >&6
37829else
37830
37831
37832      ac_ext=cpp
37833ac_cpp='$CXXCPP $CPPFLAGS'
37834ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37835ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37836ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37837
37838      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37839/* end confdefs.h.  */
37840#include <math.h>
37841		      #ifdef HAVE_IEEEFP_H
37842		      #include <ieeefp.h>
37843		      #endif
37844
37845int
37846main ()
37847{
37848 _logf(0);
37849  ;
37850  return 0;
37851}
37852_ACEOF
37853if ac_fn_cxx_try_compile "$LINENO"; then :
37854  glibcxx_cv_func__logf_use=yes
37855else
37856  glibcxx_cv_func__logf_use=no
37857fi
37858rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37859      ac_ext=c
37860ac_cpp='$CPP $CPPFLAGS'
37861ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37862ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37863ac_compiler_gnu=$ac_cv_c_compiler_gnu
37864
37865
37866fi
37867
37868  fi
37869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37870$as_echo "$glibcxx_cv_func__logf_use" >&6; }
37871
37872    if test x$glibcxx_cv_func__logf_use = x"yes"; then
37873      for ac_func in _logf
37874do :
37875  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37876if test "x$ac_cv_func__logf" = x""yes; then :
37877  cat >>confdefs.h <<_ACEOF
37878#define HAVE__LOGF 1
37879_ACEOF
37880
37881fi
37882done
37883
37884    fi
37885  fi
37886
37887
37888
37889
37890
37891  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37892$as_echo_n "checking for log10f declaration... " >&6; }
37893  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37894    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37895  $as_echo_n "(cached) " >&6
37896else
37897
37898
37899      ac_ext=cpp
37900ac_cpp='$CXXCPP $CPPFLAGS'
37901ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37902ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37903ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37904
37905      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37906/* end confdefs.h.  */
37907#include <math.h>
37908		      #ifdef HAVE_IEEEFP_H
37909		      #include <ieeefp.h>
37910		      #endif
37911
37912int
37913main ()
37914{
37915 log10f(0);
37916  ;
37917  return 0;
37918}
37919_ACEOF
37920if ac_fn_cxx_try_compile "$LINENO"; then :
37921  glibcxx_cv_func_log10f_use=yes
37922else
37923  glibcxx_cv_func_log10f_use=no
37924fi
37925rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37926      ac_ext=c
37927ac_cpp='$CPP $CPPFLAGS'
37928ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37929ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37930ac_compiler_gnu=$ac_cv_c_compiler_gnu
37931
37932
37933fi
37934
37935  fi
37936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37937$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37938
37939  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37940    for ac_func in log10f
37941do :
37942  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37943if test "x$ac_cv_func_log10f" = x""yes; then :
37944  cat >>confdefs.h <<_ACEOF
37945#define HAVE_LOG10F 1
37946_ACEOF
37947
37948fi
37949done
37950
37951  else
37952
37953  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37954$as_echo_n "checking for _log10f declaration... " >&6; }
37955  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37956    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37957  $as_echo_n "(cached) " >&6
37958else
37959
37960
37961      ac_ext=cpp
37962ac_cpp='$CXXCPP $CPPFLAGS'
37963ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37964ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37965ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37966
37967      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37968/* end confdefs.h.  */
37969#include <math.h>
37970		      #ifdef HAVE_IEEEFP_H
37971		      #include <ieeefp.h>
37972		      #endif
37973
37974int
37975main ()
37976{
37977 _log10f(0);
37978  ;
37979  return 0;
37980}
37981_ACEOF
37982if ac_fn_cxx_try_compile "$LINENO"; then :
37983  glibcxx_cv_func__log10f_use=yes
37984else
37985  glibcxx_cv_func__log10f_use=no
37986fi
37987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37988      ac_ext=c
37989ac_cpp='$CPP $CPPFLAGS'
37990ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37991ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37992ac_compiler_gnu=$ac_cv_c_compiler_gnu
37993
37994
37995fi
37996
37997  fi
37998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37999$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38000
38001    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38002      for ac_func in _log10f
38003do :
38004  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38005if test "x$ac_cv_func__log10f" = x""yes; then :
38006  cat >>confdefs.h <<_ACEOF
38007#define HAVE__LOG10F 1
38008_ACEOF
38009
38010fi
38011done
38012
38013    fi
38014  fi
38015
38016
38017
38018
38019
38020  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38021$as_echo_n "checking for modff declaration... " >&6; }
38022  if test x${glibcxx_cv_func_modff_use+set} != xset; then
38023    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
38024  $as_echo_n "(cached) " >&6
38025else
38026
38027
38028      ac_ext=cpp
38029ac_cpp='$CXXCPP $CPPFLAGS'
38030ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38031ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38032ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38033
38034      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38035/* end confdefs.h.  */
38036#include <math.h>
38037int
38038main ()
38039{
38040 modff(0, 0);
38041  ;
38042  return 0;
38043}
38044_ACEOF
38045if ac_fn_cxx_try_compile "$LINENO"; then :
38046  glibcxx_cv_func_modff_use=yes
38047else
38048  glibcxx_cv_func_modff_use=no
38049fi
38050rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38051      ac_ext=c
38052ac_cpp='$CPP $CPPFLAGS'
38053ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38054ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38055ac_compiler_gnu=$ac_cv_c_compiler_gnu
38056
38057
38058fi
38059
38060  fi
38061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38062$as_echo "$glibcxx_cv_func_modff_use" >&6; }
38063
38064  if test x$glibcxx_cv_func_modff_use = x"yes"; then
38065    for ac_func in modff
38066do :
38067  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38068if test "x$ac_cv_func_modff" = x""yes; then :
38069  cat >>confdefs.h <<_ACEOF
38070#define HAVE_MODFF 1
38071_ACEOF
38072
38073fi
38074done
38075
38076  else
38077
38078  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38079$as_echo_n "checking for _modff declaration... " >&6; }
38080  if test x${glibcxx_cv_func__modff_use+set} != xset; then
38081    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
38082  $as_echo_n "(cached) " >&6
38083else
38084
38085
38086      ac_ext=cpp
38087ac_cpp='$CXXCPP $CPPFLAGS'
38088ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38089ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38090ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38091
38092      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38093/* end confdefs.h.  */
38094#include <math.h>
38095int
38096main ()
38097{
38098 _modff(0, 0);
38099  ;
38100  return 0;
38101}
38102_ACEOF
38103if ac_fn_cxx_try_compile "$LINENO"; then :
38104  glibcxx_cv_func__modff_use=yes
38105else
38106  glibcxx_cv_func__modff_use=no
38107fi
38108rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38109      ac_ext=c
38110ac_cpp='$CPP $CPPFLAGS'
38111ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38112ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38113ac_compiler_gnu=$ac_cv_c_compiler_gnu
38114
38115
38116fi
38117
38118  fi
38119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38120$as_echo "$glibcxx_cv_func__modff_use" >&6; }
38121
38122    if test x$glibcxx_cv_func__modff_use = x"yes"; then
38123      for ac_func in _modff
38124do :
38125  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38126if test "x$ac_cv_func__modff" = x""yes; then :
38127  cat >>confdefs.h <<_ACEOF
38128#define HAVE__MODFF 1
38129_ACEOF
38130
38131fi
38132done
38133
38134    fi
38135  fi
38136
38137
38138
38139
38140
38141  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38142$as_echo_n "checking for modf declaration... " >&6; }
38143  if test x${glibcxx_cv_func_modf_use+set} != xset; then
38144    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
38145  $as_echo_n "(cached) " >&6
38146else
38147
38148
38149      ac_ext=cpp
38150ac_cpp='$CXXCPP $CPPFLAGS'
38151ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38152ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38153ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38154
38155      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38156/* end confdefs.h.  */
38157#include <math.h>
38158int
38159main ()
38160{
38161 modf(0, 0);
38162  ;
38163  return 0;
38164}
38165_ACEOF
38166if ac_fn_cxx_try_compile "$LINENO"; then :
38167  glibcxx_cv_func_modf_use=yes
38168else
38169  glibcxx_cv_func_modf_use=no
38170fi
38171rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38172      ac_ext=c
38173ac_cpp='$CPP $CPPFLAGS'
38174ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38175ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38176ac_compiler_gnu=$ac_cv_c_compiler_gnu
38177
38178
38179fi
38180
38181  fi
38182  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38183$as_echo "$glibcxx_cv_func_modf_use" >&6; }
38184
38185  if test x$glibcxx_cv_func_modf_use = x"yes"; then
38186    for ac_func in modf
38187do :
38188  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38189if test "x$ac_cv_func_modf" = x""yes; then :
38190  cat >>confdefs.h <<_ACEOF
38191#define HAVE_MODF 1
38192_ACEOF
38193
38194fi
38195done
38196
38197  else
38198
38199  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38200$as_echo_n "checking for _modf declaration... " >&6; }
38201  if test x${glibcxx_cv_func__modf_use+set} != xset; then
38202    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
38203  $as_echo_n "(cached) " >&6
38204else
38205
38206
38207      ac_ext=cpp
38208ac_cpp='$CXXCPP $CPPFLAGS'
38209ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38210ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38211ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38212
38213      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38214/* end confdefs.h.  */
38215#include <math.h>
38216int
38217main ()
38218{
38219 _modf(0, 0);
38220  ;
38221  return 0;
38222}
38223_ACEOF
38224if ac_fn_cxx_try_compile "$LINENO"; then :
38225  glibcxx_cv_func__modf_use=yes
38226else
38227  glibcxx_cv_func__modf_use=no
38228fi
38229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38230      ac_ext=c
38231ac_cpp='$CPP $CPPFLAGS'
38232ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38233ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38234ac_compiler_gnu=$ac_cv_c_compiler_gnu
38235
38236
38237fi
38238
38239  fi
38240  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38241$as_echo "$glibcxx_cv_func__modf_use" >&6; }
38242
38243    if test x$glibcxx_cv_func__modf_use = x"yes"; then
38244      for ac_func in _modf
38245do :
38246  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38247if test "x$ac_cv_func__modf" = x""yes; then :
38248  cat >>confdefs.h <<_ACEOF
38249#define HAVE__MODF 1
38250_ACEOF
38251
38252fi
38253done
38254
38255    fi
38256  fi
38257
38258
38259
38260
38261
38262  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38263$as_echo_n "checking for powf declaration... " >&6; }
38264  if test x${glibcxx_cv_func_powf_use+set} != xset; then
38265    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
38266  $as_echo_n "(cached) " >&6
38267else
38268
38269
38270      ac_ext=cpp
38271ac_cpp='$CXXCPP $CPPFLAGS'
38272ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38273ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38274ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38275
38276      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38277/* end confdefs.h.  */
38278#include <math.h>
38279int
38280main ()
38281{
38282 powf(0, 0);
38283  ;
38284  return 0;
38285}
38286_ACEOF
38287if ac_fn_cxx_try_compile "$LINENO"; then :
38288  glibcxx_cv_func_powf_use=yes
38289else
38290  glibcxx_cv_func_powf_use=no
38291fi
38292rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38293      ac_ext=c
38294ac_cpp='$CPP $CPPFLAGS'
38295ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38296ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38297ac_compiler_gnu=$ac_cv_c_compiler_gnu
38298
38299
38300fi
38301
38302  fi
38303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38304$as_echo "$glibcxx_cv_func_powf_use" >&6; }
38305
38306  if test x$glibcxx_cv_func_powf_use = x"yes"; then
38307    for ac_func in powf
38308do :
38309  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38310if test "x$ac_cv_func_powf" = x""yes; then :
38311  cat >>confdefs.h <<_ACEOF
38312#define HAVE_POWF 1
38313_ACEOF
38314
38315fi
38316done
38317
38318  else
38319
38320  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38321$as_echo_n "checking for _powf declaration... " >&6; }
38322  if test x${glibcxx_cv_func__powf_use+set} != xset; then
38323    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
38324  $as_echo_n "(cached) " >&6
38325else
38326
38327
38328      ac_ext=cpp
38329ac_cpp='$CXXCPP $CPPFLAGS'
38330ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38331ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38332ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38333
38334      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38335/* end confdefs.h.  */
38336#include <math.h>
38337int
38338main ()
38339{
38340 _powf(0, 0);
38341  ;
38342  return 0;
38343}
38344_ACEOF
38345if ac_fn_cxx_try_compile "$LINENO"; then :
38346  glibcxx_cv_func__powf_use=yes
38347else
38348  glibcxx_cv_func__powf_use=no
38349fi
38350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38351      ac_ext=c
38352ac_cpp='$CPP $CPPFLAGS'
38353ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38354ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38355ac_compiler_gnu=$ac_cv_c_compiler_gnu
38356
38357
38358fi
38359
38360  fi
38361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38362$as_echo "$glibcxx_cv_func__powf_use" >&6; }
38363
38364    if test x$glibcxx_cv_func__powf_use = x"yes"; then
38365      for ac_func in _powf
38366do :
38367  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38368if test "x$ac_cv_func__powf" = x""yes; then :
38369  cat >>confdefs.h <<_ACEOF
38370#define HAVE__POWF 1
38371_ACEOF
38372
38373fi
38374done
38375
38376    fi
38377  fi
38378
38379
38380
38381
38382
38383  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38384$as_echo_n "checking for sqrtf declaration... " >&6; }
38385  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38386    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
38387  $as_echo_n "(cached) " >&6
38388else
38389
38390
38391      ac_ext=cpp
38392ac_cpp='$CXXCPP $CPPFLAGS'
38393ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38394ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38395ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38396
38397      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38398/* end confdefs.h.  */
38399#include <math.h>
38400		      #ifdef HAVE_IEEEFP_H
38401		      #include <ieeefp.h>
38402		      #endif
38403
38404int
38405main ()
38406{
38407 sqrtf(0);
38408  ;
38409  return 0;
38410}
38411_ACEOF
38412if ac_fn_cxx_try_compile "$LINENO"; then :
38413  glibcxx_cv_func_sqrtf_use=yes
38414else
38415  glibcxx_cv_func_sqrtf_use=no
38416fi
38417rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38418      ac_ext=c
38419ac_cpp='$CPP $CPPFLAGS'
38420ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38421ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38422ac_compiler_gnu=$ac_cv_c_compiler_gnu
38423
38424
38425fi
38426
38427  fi
38428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38429$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38430
38431  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38432    for ac_func in sqrtf
38433do :
38434  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38435if test "x$ac_cv_func_sqrtf" = x""yes; then :
38436  cat >>confdefs.h <<_ACEOF
38437#define HAVE_SQRTF 1
38438_ACEOF
38439
38440fi
38441done
38442
38443  else
38444
38445  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38446$as_echo_n "checking for _sqrtf declaration... " >&6; }
38447  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38448    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38449  $as_echo_n "(cached) " >&6
38450else
38451
38452
38453      ac_ext=cpp
38454ac_cpp='$CXXCPP $CPPFLAGS'
38455ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38456ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38457ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38458
38459      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38460/* end confdefs.h.  */
38461#include <math.h>
38462		      #ifdef HAVE_IEEEFP_H
38463		      #include <ieeefp.h>
38464		      #endif
38465
38466int
38467main ()
38468{
38469 _sqrtf(0);
38470  ;
38471  return 0;
38472}
38473_ACEOF
38474if ac_fn_cxx_try_compile "$LINENO"; then :
38475  glibcxx_cv_func__sqrtf_use=yes
38476else
38477  glibcxx_cv_func__sqrtf_use=no
38478fi
38479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38480      ac_ext=c
38481ac_cpp='$CPP $CPPFLAGS'
38482ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38483ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38484ac_compiler_gnu=$ac_cv_c_compiler_gnu
38485
38486
38487fi
38488
38489  fi
38490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38491$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38492
38493    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38494      for ac_func in _sqrtf
38495do :
38496  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38497if test "x$ac_cv_func__sqrtf" = x""yes; then :
38498  cat >>confdefs.h <<_ACEOF
38499#define HAVE__SQRTF 1
38500_ACEOF
38501
38502fi
38503done
38504
38505    fi
38506  fi
38507
38508
38509
38510
38511
38512  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38513$as_echo_n "checking for sincosf declaration... " >&6; }
38514  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38515    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38516  $as_echo_n "(cached) " >&6
38517else
38518
38519
38520      ac_ext=cpp
38521ac_cpp='$CXXCPP $CPPFLAGS'
38522ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38523ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38524ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38525
38526      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38527/* end confdefs.h.  */
38528#include <math.h>
38529int
38530main ()
38531{
38532 sincosf(0, 0, 0);
38533  ;
38534  return 0;
38535}
38536_ACEOF
38537if ac_fn_cxx_try_compile "$LINENO"; then :
38538  glibcxx_cv_func_sincosf_use=yes
38539else
38540  glibcxx_cv_func_sincosf_use=no
38541fi
38542rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38543      ac_ext=c
38544ac_cpp='$CPP $CPPFLAGS'
38545ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38546ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38547ac_compiler_gnu=$ac_cv_c_compiler_gnu
38548
38549
38550fi
38551
38552  fi
38553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38554$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38555
38556  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38557    for ac_func in sincosf
38558do :
38559  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38560if test "x$ac_cv_func_sincosf" = x""yes; then :
38561  cat >>confdefs.h <<_ACEOF
38562#define HAVE_SINCOSF 1
38563_ACEOF
38564
38565fi
38566done
38567
38568  else
38569
38570  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38571$as_echo_n "checking for _sincosf declaration... " >&6; }
38572  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38573    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38574  $as_echo_n "(cached) " >&6
38575else
38576
38577
38578      ac_ext=cpp
38579ac_cpp='$CXXCPP $CPPFLAGS'
38580ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38581ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38582ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38583
38584      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38585/* end confdefs.h.  */
38586#include <math.h>
38587int
38588main ()
38589{
38590 _sincosf(0, 0, 0);
38591  ;
38592  return 0;
38593}
38594_ACEOF
38595if ac_fn_cxx_try_compile "$LINENO"; then :
38596  glibcxx_cv_func__sincosf_use=yes
38597else
38598  glibcxx_cv_func__sincosf_use=no
38599fi
38600rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38601      ac_ext=c
38602ac_cpp='$CPP $CPPFLAGS'
38603ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38604ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38605ac_compiler_gnu=$ac_cv_c_compiler_gnu
38606
38607
38608fi
38609
38610  fi
38611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38612$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38613
38614    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38615      for ac_func in _sincosf
38616do :
38617  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38618if test "x$ac_cv_func__sincosf" = x""yes; then :
38619  cat >>confdefs.h <<_ACEOF
38620#define HAVE__SINCOSF 1
38621_ACEOF
38622
38623fi
38624done
38625
38626    fi
38627  fi
38628
38629
38630
38631
38632
38633  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38634$as_echo_n "checking for finitef declaration... " >&6; }
38635  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38636    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38637  $as_echo_n "(cached) " >&6
38638else
38639
38640
38641      ac_ext=cpp
38642ac_cpp='$CXXCPP $CPPFLAGS'
38643ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38644ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38645ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38646
38647      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38648/* end confdefs.h.  */
38649#include <math.h>
38650		      #ifdef HAVE_IEEEFP_H
38651		      #include <ieeefp.h>
38652		      #endif
38653
38654int
38655main ()
38656{
38657 finitef(0);
38658  ;
38659  return 0;
38660}
38661_ACEOF
38662if ac_fn_cxx_try_compile "$LINENO"; then :
38663  glibcxx_cv_func_finitef_use=yes
38664else
38665  glibcxx_cv_func_finitef_use=no
38666fi
38667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38668      ac_ext=c
38669ac_cpp='$CPP $CPPFLAGS'
38670ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38671ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38672ac_compiler_gnu=$ac_cv_c_compiler_gnu
38673
38674
38675fi
38676
38677  fi
38678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38679$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38680
38681  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38682    for ac_func in finitef
38683do :
38684  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38685if test "x$ac_cv_func_finitef" = x""yes; then :
38686  cat >>confdefs.h <<_ACEOF
38687#define HAVE_FINITEF 1
38688_ACEOF
38689
38690fi
38691done
38692
38693  else
38694
38695  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38696$as_echo_n "checking for _finitef declaration... " >&6; }
38697  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38698    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38699  $as_echo_n "(cached) " >&6
38700else
38701
38702
38703      ac_ext=cpp
38704ac_cpp='$CXXCPP $CPPFLAGS'
38705ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38706ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38707ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38708
38709      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38710/* end confdefs.h.  */
38711#include <math.h>
38712		      #ifdef HAVE_IEEEFP_H
38713		      #include <ieeefp.h>
38714		      #endif
38715
38716int
38717main ()
38718{
38719 _finitef(0);
38720  ;
38721  return 0;
38722}
38723_ACEOF
38724if ac_fn_cxx_try_compile "$LINENO"; then :
38725  glibcxx_cv_func__finitef_use=yes
38726else
38727  glibcxx_cv_func__finitef_use=no
38728fi
38729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38730      ac_ext=c
38731ac_cpp='$CPP $CPPFLAGS'
38732ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38733ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38734ac_compiler_gnu=$ac_cv_c_compiler_gnu
38735
38736
38737fi
38738
38739  fi
38740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38741$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38742
38743    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38744      for ac_func in _finitef
38745do :
38746  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38747if test "x$ac_cv_func__finitef" = x""yes; then :
38748  cat >>confdefs.h <<_ACEOF
38749#define HAVE__FINITEF 1
38750_ACEOF
38751
38752fi
38753done
38754
38755    fi
38756  fi
38757
38758
38759
38760
38761
38762    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38763$as_echo_n "checking for long double trig functions... " >&6; }
38764  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38765  $as_echo_n "(cached) " >&6
38766else
38767
38768
38769    ac_ext=cpp
38770ac_cpp='$CXXCPP $CPPFLAGS'
38771ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38772ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38773ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38774
38775    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38776/* end confdefs.h.  */
38777#include <math.h>
38778int
38779main ()
38780{
38781acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38782  ;
38783  return 0;
38784}
38785_ACEOF
38786if ac_fn_cxx_try_compile "$LINENO"; then :
38787  glibcxx_cv_func_long_double_trig_use=yes
38788else
38789  glibcxx_cv_func_long_double_trig_use=no
38790fi
38791rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38792    ac_ext=c
38793ac_cpp='$CPP $CPPFLAGS'
38794ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38796ac_compiler_gnu=$ac_cv_c_compiler_gnu
38797
38798fi
38799
38800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38801$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38802  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38803    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38804do :
38805  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38806ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38807eval as_val=\$$as_ac_var
38808   if test "x$as_val" = x""yes; then :
38809  cat >>confdefs.h <<_ACEOF
38810#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38811_ACEOF
38812
38813fi
38814done
38815
38816  else
38817    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38818$as_echo_n "checking for _long double trig functions... " >&6; }
38819    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38820  $as_echo_n "(cached) " >&6
38821else
38822
38823
38824      ac_ext=cpp
38825ac_cpp='$CXXCPP $CPPFLAGS'
38826ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38827ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38828ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38829
38830      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38831/* end confdefs.h.  */
38832#include <math.h>
38833int
38834main ()
38835{
38836_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38837  ;
38838  return 0;
38839}
38840_ACEOF
38841if ac_fn_cxx_try_compile "$LINENO"; then :
38842  glibcxx_cv_func__long_double_trig_use=yes
38843else
38844  glibcxx_cv_func__long_double_trig_use=no
38845fi
38846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38847      ac_ext=c
38848ac_cpp='$CPP $CPPFLAGS'
38849ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38850ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38851ac_compiler_gnu=$ac_cv_c_compiler_gnu
38852
38853fi
38854
38855    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38856$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38857    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38858      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38859do :
38860  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38861ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38862eval as_val=\$$as_ac_var
38863   if test "x$as_val" = x""yes; then :
38864  cat >>confdefs.h <<_ACEOF
38865#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38866_ACEOF
38867
38868fi
38869done
38870
38871    fi
38872  fi
38873
38874
38875
38876
38877
38878    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38879$as_echo_n "checking for long double round functions... " >&6; }
38880  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38881  $as_echo_n "(cached) " >&6
38882else
38883
38884
38885    ac_ext=cpp
38886ac_cpp='$CXXCPP $CPPFLAGS'
38887ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38888ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38889ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38890
38891    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38892/* end confdefs.h.  */
38893#include <math.h>
38894int
38895main ()
38896{
38897ceill (0); floorl (0);
38898  ;
38899  return 0;
38900}
38901_ACEOF
38902if ac_fn_cxx_try_compile "$LINENO"; then :
38903  glibcxx_cv_func_long_double_round_use=yes
38904else
38905  glibcxx_cv_func_long_double_round_use=no
38906fi
38907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38908    ac_ext=c
38909ac_cpp='$CPP $CPPFLAGS'
38910ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38911ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38912ac_compiler_gnu=$ac_cv_c_compiler_gnu
38913
38914fi
38915
38916  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38917$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38918  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38919    for ac_func in ceill floorl
38920do :
38921  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38922ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38923eval as_val=\$$as_ac_var
38924   if test "x$as_val" = x""yes; then :
38925  cat >>confdefs.h <<_ACEOF
38926#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38927_ACEOF
38928
38929fi
38930done
38931
38932  else
38933    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38934$as_echo_n "checking for _long double round functions... " >&6; }
38935    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38936  $as_echo_n "(cached) " >&6
38937else
38938
38939
38940      ac_ext=cpp
38941ac_cpp='$CXXCPP $CPPFLAGS'
38942ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38943ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38944ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38945
38946      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38947/* end confdefs.h.  */
38948#include <math.h>
38949int
38950main ()
38951{
38952_ceill (0); _floorl (0);
38953  ;
38954  return 0;
38955}
38956_ACEOF
38957if ac_fn_cxx_try_compile "$LINENO"; then :
38958  glibcxx_cv_func__long_double_round_use=yes
38959else
38960  glibcxx_cv_func__long_double_round_use=no
38961fi
38962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38963      ac_ext=c
38964ac_cpp='$CPP $CPPFLAGS'
38965ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38966ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38967ac_compiler_gnu=$ac_cv_c_compiler_gnu
38968
38969fi
38970
38971    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38972$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38973    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38974      for ac_func in _ceill _floorl
38975do :
38976  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38977ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38978eval as_val=\$$as_ac_var
38979   if test "x$as_val" = x""yes; then :
38980  cat >>confdefs.h <<_ACEOF
38981#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38982_ACEOF
38983
38984fi
38985done
38986
38987    fi
38988  fi
38989
38990
38991
38992
38993
38994
38995  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38996$as_echo_n "checking for isnanl declaration... " >&6; }
38997  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38998    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38999  $as_echo_n "(cached) " >&6
39000else
39001
39002
39003      ac_ext=cpp
39004ac_cpp='$CXXCPP $CPPFLAGS'
39005ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39006ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39007ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39008
39009      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39010/* end confdefs.h.  */
39011#include <math.h>
39012		      #ifdef HAVE_IEEEFP_H
39013		      #include <ieeefp.h>
39014		      #endif
39015
39016int
39017main ()
39018{
39019 isnanl(0);
39020  ;
39021  return 0;
39022}
39023_ACEOF
39024if ac_fn_cxx_try_compile "$LINENO"; then :
39025  glibcxx_cv_func_isnanl_use=yes
39026else
39027  glibcxx_cv_func_isnanl_use=no
39028fi
39029rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39030      ac_ext=c
39031ac_cpp='$CPP $CPPFLAGS'
39032ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39033ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39034ac_compiler_gnu=$ac_cv_c_compiler_gnu
39035
39036
39037fi
39038
39039  fi
39040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39041$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39042
39043  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39044    for ac_func in isnanl
39045do :
39046  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39047if test "x$ac_cv_func_isnanl" = x""yes; then :
39048  cat >>confdefs.h <<_ACEOF
39049#define HAVE_ISNANL 1
39050_ACEOF
39051
39052fi
39053done
39054
39055  else
39056
39057  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39058$as_echo_n "checking for _isnanl declaration... " >&6; }
39059  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39060    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
39061  $as_echo_n "(cached) " >&6
39062else
39063
39064
39065      ac_ext=cpp
39066ac_cpp='$CXXCPP $CPPFLAGS'
39067ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39068ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39069ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39070
39071      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39072/* end confdefs.h.  */
39073#include <math.h>
39074		      #ifdef HAVE_IEEEFP_H
39075		      #include <ieeefp.h>
39076		      #endif
39077
39078int
39079main ()
39080{
39081 _isnanl(0);
39082  ;
39083  return 0;
39084}
39085_ACEOF
39086if ac_fn_cxx_try_compile "$LINENO"; then :
39087  glibcxx_cv_func__isnanl_use=yes
39088else
39089  glibcxx_cv_func__isnanl_use=no
39090fi
39091rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39092      ac_ext=c
39093ac_cpp='$CPP $CPPFLAGS'
39094ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39095ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39096ac_compiler_gnu=$ac_cv_c_compiler_gnu
39097
39098
39099fi
39100
39101  fi
39102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39103$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39104
39105    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39106      for ac_func in _isnanl
39107do :
39108  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39109if test "x$ac_cv_func__isnanl" = x""yes; then :
39110  cat >>confdefs.h <<_ACEOF
39111#define HAVE__ISNANL 1
39112_ACEOF
39113
39114fi
39115done
39116
39117    fi
39118  fi
39119
39120
39121
39122
39123
39124  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39125$as_echo_n "checking for isinfl declaration... " >&6; }
39126  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39127    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
39128  $as_echo_n "(cached) " >&6
39129else
39130
39131
39132      ac_ext=cpp
39133ac_cpp='$CXXCPP $CPPFLAGS'
39134ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39135ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39136ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39137
39138      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39139/* end confdefs.h.  */
39140#include <math.h>
39141		      #ifdef HAVE_IEEEFP_H
39142		      #include <ieeefp.h>
39143		      #endif
39144
39145int
39146main ()
39147{
39148 isinfl(0);
39149  ;
39150  return 0;
39151}
39152_ACEOF
39153if ac_fn_cxx_try_compile "$LINENO"; then :
39154  glibcxx_cv_func_isinfl_use=yes
39155else
39156  glibcxx_cv_func_isinfl_use=no
39157fi
39158rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39159      ac_ext=c
39160ac_cpp='$CPP $CPPFLAGS'
39161ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39162ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39163ac_compiler_gnu=$ac_cv_c_compiler_gnu
39164
39165
39166fi
39167
39168  fi
39169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39170$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39171
39172  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39173    for ac_func in isinfl
39174do :
39175  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39176if test "x$ac_cv_func_isinfl" = x""yes; then :
39177  cat >>confdefs.h <<_ACEOF
39178#define HAVE_ISINFL 1
39179_ACEOF
39180
39181fi
39182done
39183
39184  else
39185
39186  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39187$as_echo_n "checking for _isinfl declaration... " >&6; }
39188  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39189    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
39190  $as_echo_n "(cached) " >&6
39191else
39192
39193
39194      ac_ext=cpp
39195ac_cpp='$CXXCPP $CPPFLAGS'
39196ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39197ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39198ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39199
39200      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39201/* end confdefs.h.  */
39202#include <math.h>
39203		      #ifdef HAVE_IEEEFP_H
39204		      #include <ieeefp.h>
39205		      #endif
39206
39207int
39208main ()
39209{
39210 _isinfl(0);
39211  ;
39212  return 0;
39213}
39214_ACEOF
39215if ac_fn_cxx_try_compile "$LINENO"; then :
39216  glibcxx_cv_func__isinfl_use=yes
39217else
39218  glibcxx_cv_func__isinfl_use=no
39219fi
39220rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39221      ac_ext=c
39222ac_cpp='$CPP $CPPFLAGS'
39223ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39224ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39225ac_compiler_gnu=$ac_cv_c_compiler_gnu
39226
39227
39228fi
39229
39230  fi
39231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39232$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39233
39234    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39235      for ac_func in _isinfl
39236do :
39237  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39238if test "x$ac_cv_func__isinfl" = x""yes; then :
39239  cat >>confdefs.h <<_ACEOF
39240#define HAVE__ISINFL 1
39241_ACEOF
39242
39243fi
39244done
39245
39246    fi
39247  fi
39248
39249
39250
39251
39252
39253  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39254$as_echo_n "checking for atan2l declaration... " >&6; }
39255  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39256    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
39257  $as_echo_n "(cached) " >&6
39258else
39259
39260
39261      ac_ext=cpp
39262ac_cpp='$CXXCPP $CPPFLAGS'
39263ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39264ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39265ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39266
39267      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39268/* end confdefs.h.  */
39269#include <math.h>
39270int
39271main ()
39272{
39273 atan2l(0, 0);
39274  ;
39275  return 0;
39276}
39277_ACEOF
39278if ac_fn_cxx_try_compile "$LINENO"; then :
39279  glibcxx_cv_func_atan2l_use=yes
39280else
39281  glibcxx_cv_func_atan2l_use=no
39282fi
39283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39284      ac_ext=c
39285ac_cpp='$CPP $CPPFLAGS'
39286ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39287ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39288ac_compiler_gnu=$ac_cv_c_compiler_gnu
39289
39290
39291fi
39292
39293  fi
39294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39295$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39296
39297  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39298    for ac_func in atan2l
39299do :
39300  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39301if test "x$ac_cv_func_atan2l" = x""yes; then :
39302  cat >>confdefs.h <<_ACEOF
39303#define HAVE_ATAN2L 1
39304_ACEOF
39305
39306fi
39307done
39308
39309  else
39310
39311  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39312$as_echo_n "checking for _atan2l declaration... " >&6; }
39313  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39314    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
39315  $as_echo_n "(cached) " >&6
39316else
39317
39318
39319      ac_ext=cpp
39320ac_cpp='$CXXCPP $CPPFLAGS'
39321ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39322ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39323ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39324
39325      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39326/* end confdefs.h.  */
39327#include <math.h>
39328int
39329main ()
39330{
39331 _atan2l(0, 0);
39332  ;
39333  return 0;
39334}
39335_ACEOF
39336if ac_fn_cxx_try_compile "$LINENO"; then :
39337  glibcxx_cv_func__atan2l_use=yes
39338else
39339  glibcxx_cv_func__atan2l_use=no
39340fi
39341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39342      ac_ext=c
39343ac_cpp='$CPP $CPPFLAGS'
39344ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39345ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39346ac_compiler_gnu=$ac_cv_c_compiler_gnu
39347
39348
39349fi
39350
39351  fi
39352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39353$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39354
39355    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39356      for ac_func in _atan2l
39357do :
39358  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39359if test "x$ac_cv_func__atan2l" = x""yes; then :
39360  cat >>confdefs.h <<_ACEOF
39361#define HAVE__ATAN2L 1
39362_ACEOF
39363
39364fi
39365done
39366
39367    fi
39368  fi
39369
39370
39371
39372
39373
39374  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39375$as_echo_n "checking for expl declaration... " >&6; }
39376  if test x${glibcxx_cv_func_expl_use+set} != xset; then
39377    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
39378  $as_echo_n "(cached) " >&6
39379else
39380
39381
39382      ac_ext=cpp
39383ac_cpp='$CXXCPP $CPPFLAGS'
39384ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39385ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39386ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39387
39388      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39389/* end confdefs.h.  */
39390#include <math.h>
39391		      #ifdef HAVE_IEEEFP_H
39392		      #include <ieeefp.h>
39393		      #endif
39394
39395int
39396main ()
39397{
39398 expl(0);
39399  ;
39400  return 0;
39401}
39402_ACEOF
39403if ac_fn_cxx_try_compile "$LINENO"; then :
39404  glibcxx_cv_func_expl_use=yes
39405else
39406  glibcxx_cv_func_expl_use=no
39407fi
39408rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39409      ac_ext=c
39410ac_cpp='$CPP $CPPFLAGS'
39411ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39412ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39413ac_compiler_gnu=$ac_cv_c_compiler_gnu
39414
39415
39416fi
39417
39418  fi
39419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39420$as_echo "$glibcxx_cv_func_expl_use" >&6; }
39421
39422  if test x$glibcxx_cv_func_expl_use = x"yes"; then
39423    for ac_func in expl
39424do :
39425  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39426if test "x$ac_cv_func_expl" = x""yes; then :
39427  cat >>confdefs.h <<_ACEOF
39428#define HAVE_EXPL 1
39429_ACEOF
39430
39431fi
39432done
39433
39434  else
39435
39436  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39437$as_echo_n "checking for _expl declaration... " >&6; }
39438  if test x${glibcxx_cv_func__expl_use+set} != xset; then
39439    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39440  $as_echo_n "(cached) " >&6
39441else
39442
39443
39444      ac_ext=cpp
39445ac_cpp='$CXXCPP $CPPFLAGS'
39446ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39447ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39448ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39449
39450      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39451/* end confdefs.h.  */
39452#include <math.h>
39453		      #ifdef HAVE_IEEEFP_H
39454		      #include <ieeefp.h>
39455		      #endif
39456
39457int
39458main ()
39459{
39460 _expl(0);
39461  ;
39462  return 0;
39463}
39464_ACEOF
39465if ac_fn_cxx_try_compile "$LINENO"; then :
39466  glibcxx_cv_func__expl_use=yes
39467else
39468  glibcxx_cv_func__expl_use=no
39469fi
39470rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39471      ac_ext=c
39472ac_cpp='$CPP $CPPFLAGS'
39473ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39474ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39475ac_compiler_gnu=$ac_cv_c_compiler_gnu
39476
39477
39478fi
39479
39480  fi
39481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39482$as_echo "$glibcxx_cv_func__expl_use" >&6; }
39483
39484    if test x$glibcxx_cv_func__expl_use = x"yes"; then
39485      for ac_func in _expl
39486do :
39487  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39488if test "x$ac_cv_func__expl" = x""yes; then :
39489  cat >>confdefs.h <<_ACEOF
39490#define HAVE__EXPL 1
39491_ACEOF
39492
39493fi
39494done
39495
39496    fi
39497  fi
39498
39499
39500
39501
39502
39503  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39504$as_echo_n "checking for fabsl declaration... " >&6; }
39505  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39506    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39507  $as_echo_n "(cached) " >&6
39508else
39509
39510
39511      ac_ext=cpp
39512ac_cpp='$CXXCPP $CPPFLAGS'
39513ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39514ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39515ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39516
39517      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39518/* end confdefs.h.  */
39519#include <math.h>
39520		      #ifdef HAVE_IEEEFP_H
39521		      #include <ieeefp.h>
39522		      #endif
39523
39524int
39525main ()
39526{
39527 fabsl(0);
39528  ;
39529  return 0;
39530}
39531_ACEOF
39532if ac_fn_cxx_try_compile "$LINENO"; then :
39533  glibcxx_cv_func_fabsl_use=yes
39534else
39535  glibcxx_cv_func_fabsl_use=no
39536fi
39537rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39538      ac_ext=c
39539ac_cpp='$CPP $CPPFLAGS'
39540ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39541ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39542ac_compiler_gnu=$ac_cv_c_compiler_gnu
39543
39544
39545fi
39546
39547  fi
39548  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39549$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39550
39551  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39552    for ac_func in fabsl
39553do :
39554  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39555if test "x$ac_cv_func_fabsl" = x""yes; then :
39556  cat >>confdefs.h <<_ACEOF
39557#define HAVE_FABSL 1
39558_ACEOF
39559
39560fi
39561done
39562
39563  else
39564
39565  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39566$as_echo_n "checking for _fabsl declaration... " >&6; }
39567  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39568    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39569  $as_echo_n "(cached) " >&6
39570else
39571
39572
39573      ac_ext=cpp
39574ac_cpp='$CXXCPP $CPPFLAGS'
39575ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39576ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39577ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39578
39579      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39580/* end confdefs.h.  */
39581#include <math.h>
39582		      #ifdef HAVE_IEEEFP_H
39583		      #include <ieeefp.h>
39584		      #endif
39585
39586int
39587main ()
39588{
39589 _fabsl(0);
39590  ;
39591  return 0;
39592}
39593_ACEOF
39594if ac_fn_cxx_try_compile "$LINENO"; then :
39595  glibcxx_cv_func__fabsl_use=yes
39596else
39597  glibcxx_cv_func__fabsl_use=no
39598fi
39599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39600      ac_ext=c
39601ac_cpp='$CPP $CPPFLAGS'
39602ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39603ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39604ac_compiler_gnu=$ac_cv_c_compiler_gnu
39605
39606
39607fi
39608
39609  fi
39610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39611$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39612
39613    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39614      for ac_func in _fabsl
39615do :
39616  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39617if test "x$ac_cv_func__fabsl" = x""yes; then :
39618  cat >>confdefs.h <<_ACEOF
39619#define HAVE__FABSL 1
39620_ACEOF
39621
39622fi
39623done
39624
39625    fi
39626  fi
39627
39628
39629
39630
39631
39632  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39633$as_echo_n "checking for fmodl declaration... " >&6; }
39634  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39635    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39636  $as_echo_n "(cached) " >&6
39637else
39638
39639
39640      ac_ext=cpp
39641ac_cpp='$CXXCPP $CPPFLAGS'
39642ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39643ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39644ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39645
39646      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39647/* end confdefs.h.  */
39648#include <math.h>
39649int
39650main ()
39651{
39652 fmodl(0, 0);
39653  ;
39654  return 0;
39655}
39656_ACEOF
39657if ac_fn_cxx_try_compile "$LINENO"; then :
39658  glibcxx_cv_func_fmodl_use=yes
39659else
39660  glibcxx_cv_func_fmodl_use=no
39661fi
39662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39663      ac_ext=c
39664ac_cpp='$CPP $CPPFLAGS'
39665ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39666ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39667ac_compiler_gnu=$ac_cv_c_compiler_gnu
39668
39669
39670fi
39671
39672  fi
39673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39674$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39675
39676  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39677    for ac_func in fmodl
39678do :
39679  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39680if test "x$ac_cv_func_fmodl" = x""yes; then :
39681  cat >>confdefs.h <<_ACEOF
39682#define HAVE_FMODL 1
39683_ACEOF
39684
39685fi
39686done
39687
39688  else
39689
39690  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39691$as_echo_n "checking for _fmodl declaration... " >&6; }
39692  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39693    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39694  $as_echo_n "(cached) " >&6
39695else
39696
39697
39698      ac_ext=cpp
39699ac_cpp='$CXXCPP $CPPFLAGS'
39700ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39701ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39702ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39703
39704      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39705/* end confdefs.h.  */
39706#include <math.h>
39707int
39708main ()
39709{
39710 _fmodl(0, 0);
39711  ;
39712  return 0;
39713}
39714_ACEOF
39715if ac_fn_cxx_try_compile "$LINENO"; then :
39716  glibcxx_cv_func__fmodl_use=yes
39717else
39718  glibcxx_cv_func__fmodl_use=no
39719fi
39720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39721      ac_ext=c
39722ac_cpp='$CPP $CPPFLAGS'
39723ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39724ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39725ac_compiler_gnu=$ac_cv_c_compiler_gnu
39726
39727
39728fi
39729
39730  fi
39731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39732$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39733
39734    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39735      for ac_func in _fmodl
39736do :
39737  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39738if test "x$ac_cv_func__fmodl" = x""yes; then :
39739  cat >>confdefs.h <<_ACEOF
39740#define HAVE__FMODL 1
39741_ACEOF
39742
39743fi
39744done
39745
39746    fi
39747  fi
39748
39749
39750
39751
39752
39753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39754$as_echo_n "checking for frexpl declaration... " >&6; }
39755  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39756    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39757  $as_echo_n "(cached) " >&6
39758else
39759
39760
39761      ac_ext=cpp
39762ac_cpp='$CXXCPP $CPPFLAGS'
39763ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39764ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39765ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39766
39767      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39768/* end confdefs.h.  */
39769#include <math.h>
39770int
39771main ()
39772{
39773 frexpl(0, 0);
39774  ;
39775  return 0;
39776}
39777_ACEOF
39778if ac_fn_cxx_try_compile "$LINENO"; then :
39779  glibcxx_cv_func_frexpl_use=yes
39780else
39781  glibcxx_cv_func_frexpl_use=no
39782fi
39783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39784      ac_ext=c
39785ac_cpp='$CPP $CPPFLAGS'
39786ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39787ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39788ac_compiler_gnu=$ac_cv_c_compiler_gnu
39789
39790
39791fi
39792
39793  fi
39794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39795$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39796
39797  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39798    for ac_func in frexpl
39799do :
39800  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39801if test "x$ac_cv_func_frexpl" = x""yes; then :
39802  cat >>confdefs.h <<_ACEOF
39803#define HAVE_FREXPL 1
39804_ACEOF
39805
39806fi
39807done
39808
39809  else
39810
39811  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39812$as_echo_n "checking for _frexpl declaration... " >&6; }
39813  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39814    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39815  $as_echo_n "(cached) " >&6
39816else
39817
39818
39819      ac_ext=cpp
39820ac_cpp='$CXXCPP $CPPFLAGS'
39821ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39822ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39823ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39824
39825      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39826/* end confdefs.h.  */
39827#include <math.h>
39828int
39829main ()
39830{
39831 _frexpl(0, 0);
39832  ;
39833  return 0;
39834}
39835_ACEOF
39836if ac_fn_cxx_try_compile "$LINENO"; then :
39837  glibcxx_cv_func__frexpl_use=yes
39838else
39839  glibcxx_cv_func__frexpl_use=no
39840fi
39841rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39842      ac_ext=c
39843ac_cpp='$CPP $CPPFLAGS'
39844ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39845ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39846ac_compiler_gnu=$ac_cv_c_compiler_gnu
39847
39848
39849fi
39850
39851  fi
39852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39853$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39854
39855    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39856      for ac_func in _frexpl
39857do :
39858  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39859if test "x$ac_cv_func__frexpl" = x""yes; then :
39860  cat >>confdefs.h <<_ACEOF
39861#define HAVE__FREXPL 1
39862_ACEOF
39863
39864fi
39865done
39866
39867    fi
39868  fi
39869
39870
39871
39872
39873
39874  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39875$as_echo_n "checking for hypotl declaration... " >&6; }
39876  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39877    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39878  $as_echo_n "(cached) " >&6
39879else
39880
39881
39882      ac_ext=cpp
39883ac_cpp='$CXXCPP $CPPFLAGS'
39884ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39885ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39886ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39887
39888      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39889/* end confdefs.h.  */
39890#include <math.h>
39891int
39892main ()
39893{
39894 hypotl(0, 0);
39895  ;
39896  return 0;
39897}
39898_ACEOF
39899if ac_fn_cxx_try_compile "$LINENO"; then :
39900  glibcxx_cv_func_hypotl_use=yes
39901else
39902  glibcxx_cv_func_hypotl_use=no
39903fi
39904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39905      ac_ext=c
39906ac_cpp='$CPP $CPPFLAGS'
39907ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39908ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39909ac_compiler_gnu=$ac_cv_c_compiler_gnu
39910
39911
39912fi
39913
39914  fi
39915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39916$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39917
39918  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39919    for ac_func in hypotl
39920do :
39921  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39922if test "x$ac_cv_func_hypotl" = x""yes; then :
39923  cat >>confdefs.h <<_ACEOF
39924#define HAVE_HYPOTL 1
39925_ACEOF
39926
39927fi
39928done
39929
39930  else
39931
39932  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39933$as_echo_n "checking for _hypotl declaration... " >&6; }
39934  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39935    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39936  $as_echo_n "(cached) " >&6
39937else
39938
39939
39940      ac_ext=cpp
39941ac_cpp='$CXXCPP $CPPFLAGS'
39942ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39943ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39944ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39945
39946      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39947/* end confdefs.h.  */
39948#include <math.h>
39949int
39950main ()
39951{
39952 _hypotl(0, 0);
39953  ;
39954  return 0;
39955}
39956_ACEOF
39957if ac_fn_cxx_try_compile "$LINENO"; then :
39958  glibcxx_cv_func__hypotl_use=yes
39959else
39960  glibcxx_cv_func__hypotl_use=no
39961fi
39962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39963      ac_ext=c
39964ac_cpp='$CPP $CPPFLAGS'
39965ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39966ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39967ac_compiler_gnu=$ac_cv_c_compiler_gnu
39968
39969
39970fi
39971
39972  fi
39973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39974$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39975
39976    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39977      for ac_func in _hypotl
39978do :
39979  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39980if test "x$ac_cv_func__hypotl" = x""yes; then :
39981  cat >>confdefs.h <<_ACEOF
39982#define HAVE__HYPOTL 1
39983_ACEOF
39984
39985fi
39986done
39987
39988    fi
39989  fi
39990
39991
39992
39993
39994
39995  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39996$as_echo_n "checking for ldexpl declaration... " >&6; }
39997  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39998    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39999  $as_echo_n "(cached) " >&6
40000else
40001
40002
40003      ac_ext=cpp
40004ac_cpp='$CXXCPP $CPPFLAGS'
40005ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40006ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40007ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40008
40009      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40010/* end confdefs.h.  */
40011#include <math.h>
40012int
40013main ()
40014{
40015 ldexpl(0, 0);
40016  ;
40017  return 0;
40018}
40019_ACEOF
40020if ac_fn_cxx_try_compile "$LINENO"; then :
40021  glibcxx_cv_func_ldexpl_use=yes
40022else
40023  glibcxx_cv_func_ldexpl_use=no
40024fi
40025rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40026      ac_ext=c
40027ac_cpp='$CPP $CPPFLAGS'
40028ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40029ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40030ac_compiler_gnu=$ac_cv_c_compiler_gnu
40031
40032
40033fi
40034
40035  fi
40036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40037$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40038
40039  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40040    for ac_func in ldexpl
40041do :
40042  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40043if test "x$ac_cv_func_ldexpl" = x""yes; then :
40044  cat >>confdefs.h <<_ACEOF
40045#define HAVE_LDEXPL 1
40046_ACEOF
40047
40048fi
40049done
40050
40051  else
40052
40053  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40054$as_echo_n "checking for _ldexpl declaration... " >&6; }
40055  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40056    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
40057  $as_echo_n "(cached) " >&6
40058else
40059
40060
40061      ac_ext=cpp
40062ac_cpp='$CXXCPP $CPPFLAGS'
40063ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40064ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40065ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40066
40067      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40068/* end confdefs.h.  */
40069#include <math.h>
40070int
40071main ()
40072{
40073 _ldexpl(0, 0);
40074  ;
40075  return 0;
40076}
40077_ACEOF
40078if ac_fn_cxx_try_compile "$LINENO"; then :
40079  glibcxx_cv_func__ldexpl_use=yes
40080else
40081  glibcxx_cv_func__ldexpl_use=no
40082fi
40083rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40084      ac_ext=c
40085ac_cpp='$CPP $CPPFLAGS'
40086ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40087ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40088ac_compiler_gnu=$ac_cv_c_compiler_gnu
40089
40090
40091fi
40092
40093  fi
40094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40095$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40096
40097    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40098      for ac_func in _ldexpl
40099do :
40100  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40101if test "x$ac_cv_func__ldexpl" = x""yes; then :
40102  cat >>confdefs.h <<_ACEOF
40103#define HAVE__LDEXPL 1
40104_ACEOF
40105
40106fi
40107done
40108
40109    fi
40110  fi
40111
40112
40113
40114
40115
40116  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40117$as_echo_n "checking for logl declaration... " >&6; }
40118  if test x${glibcxx_cv_func_logl_use+set} != xset; then
40119    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
40120  $as_echo_n "(cached) " >&6
40121else
40122
40123
40124      ac_ext=cpp
40125ac_cpp='$CXXCPP $CPPFLAGS'
40126ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40127ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40128ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40129
40130      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40131/* end confdefs.h.  */
40132#include <math.h>
40133		      #ifdef HAVE_IEEEFP_H
40134		      #include <ieeefp.h>
40135		      #endif
40136
40137int
40138main ()
40139{
40140 logl(0);
40141  ;
40142  return 0;
40143}
40144_ACEOF
40145if ac_fn_cxx_try_compile "$LINENO"; then :
40146  glibcxx_cv_func_logl_use=yes
40147else
40148  glibcxx_cv_func_logl_use=no
40149fi
40150rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40151      ac_ext=c
40152ac_cpp='$CPP $CPPFLAGS'
40153ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40154ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40155ac_compiler_gnu=$ac_cv_c_compiler_gnu
40156
40157
40158fi
40159
40160  fi
40161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40162$as_echo "$glibcxx_cv_func_logl_use" >&6; }
40163
40164  if test x$glibcxx_cv_func_logl_use = x"yes"; then
40165    for ac_func in logl
40166do :
40167  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40168if test "x$ac_cv_func_logl" = x""yes; then :
40169  cat >>confdefs.h <<_ACEOF
40170#define HAVE_LOGL 1
40171_ACEOF
40172
40173fi
40174done
40175
40176  else
40177
40178  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40179$as_echo_n "checking for _logl declaration... " >&6; }
40180  if test x${glibcxx_cv_func__logl_use+set} != xset; then
40181    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
40182  $as_echo_n "(cached) " >&6
40183else
40184
40185
40186      ac_ext=cpp
40187ac_cpp='$CXXCPP $CPPFLAGS'
40188ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40189ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40190ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40191
40192      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40193/* end confdefs.h.  */
40194#include <math.h>
40195		      #ifdef HAVE_IEEEFP_H
40196		      #include <ieeefp.h>
40197		      #endif
40198
40199int
40200main ()
40201{
40202 _logl(0);
40203  ;
40204  return 0;
40205}
40206_ACEOF
40207if ac_fn_cxx_try_compile "$LINENO"; then :
40208  glibcxx_cv_func__logl_use=yes
40209else
40210  glibcxx_cv_func__logl_use=no
40211fi
40212rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40213      ac_ext=c
40214ac_cpp='$CPP $CPPFLAGS'
40215ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40216ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40217ac_compiler_gnu=$ac_cv_c_compiler_gnu
40218
40219
40220fi
40221
40222  fi
40223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40224$as_echo "$glibcxx_cv_func__logl_use" >&6; }
40225
40226    if test x$glibcxx_cv_func__logl_use = x"yes"; then
40227      for ac_func in _logl
40228do :
40229  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40230if test "x$ac_cv_func__logl" = x""yes; then :
40231  cat >>confdefs.h <<_ACEOF
40232#define HAVE__LOGL 1
40233_ACEOF
40234
40235fi
40236done
40237
40238    fi
40239  fi
40240
40241
40242
40243
40244
40245  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40246$as_echo_n "checking for log10l declaration... " >&6; }
40247  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40248    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
40249  $as_echo_n "(cached) " >&6
40250else
40251
40252
40253      ac_ext=cpp
40254ac_cpp='$CXXCPP $CPPFLAGS'
40255ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40256ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40257ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40258
40259      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40260/* end confdefs.h.  */
40261#include <math.h>
40262		      #ifdef HAVE_IEEEFP_H
40263		      #include <ieeefp.h>
40264		      #endif
40265
40266int
40267main ()
40268{
40269 log10l(0);
40270  ;
40271  return 0;
40272}
40273_ACEOF
40274if ac_fn_cxx_try_compile "$LINENO"; then :
40275  glibcxx_cv_func_log10l_use=yes
40276else
40277  glibcxx_cv_func_log10l_use=no
40278fi
40279rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40280      ac_ext=c
40281ac_cpp='$CPP $CPPFLAGS'
40282ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40283ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40284ac_compiler_gnu=$ac_cv_c_compiler_gnu
40285
40286
40287fi
40288
40289  fi
40290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40291$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40292
40293  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40294    for ac_func in log10l
40295do :
40296  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40297if test "x$ac_cv_func_log10l" = x""yes; then :
40298  cat >>confdefs.h <<_ACEOF
40299#define HAVE_LOG10L 1
40300_ACEOF
40301
40302fi
40303done
40304
40305  else
40306
40307  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40308$as_echo_n "checking for _log10l declaration... " >&6; }
40309  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40310    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
40311  $as_echo_n "(cached) " >&6
40312else
40313
40314
40315      ac_ext=cpp
40316ac_cpp='$CXXCPP $CPPFLAGS'
40317ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40318ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40319ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40320
40321      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40322/* end confdefs.h.  */
40323#include <math.h>
40324		      #ifdef HAVE_IEEEFP_H
40325		      #include <ieeefp.h>
40326		      #endif
40327
40328int
40329main ()
40330{
40331 _log10l(0);
40332  ;
40333  return 0;
40334}
40335_ACEOF
40336if ac_fn_cxx_try_compile "$LINENO"; then :
40337  glibcxx_cv_func__log10l_use=yes
40338else
40339  glibcxx_cv_func__log10l_use=no
40340fi
40341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40342      ac_ext=c
40343ac_cpp='$CPP $CPPFLAGS'
40344ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40345ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40346ac_compiler_gnu=$ac_cv_c_compiler_gnu
40347
40348
40349fi
40350
40351  fi
40352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40353$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40354
40355    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40356      for ac_func in _log10l
40357do :
40358  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40359if test "x$ac_cv_func__log10l" = x""yes; then :
40360  cat >>confdefs.h <<_ACEOF
40361#define HAVE__LOG10L 1
40362_ACEOF
40363
40364fi
40365done
40366
40367    fi
40368  fi
40369
40370
40371
40372
40373
40374  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40375$as_echo_n "checking for modfl declaration... " >&6; }
40376  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40377    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
40378  $as_echo_n "(cached) " >&6
40379else
40380
40381
40382      ac_ext=cpp
40383ac_cpp='$CXXCPP $CPPFLAGS'
40384ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40385ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40386ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40387
40388      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40389/* end confdefs.h.  */
40390#include <math.h>
40391int
40392main ()
40393{
40394 modfl(0, 0);
40395  ;
40396  return 0;
40397}
40398_ACEOF
40399if ac_fn_cxx_try_compile "$LINENO"; then :
40400  glibcxx_cv_func_modfl_use=yes
40401else
40402  glibcxx_cv_func_modfl_use=no
40403fi
40404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40405      ac_ext=c
40406ac_cpp='$CPP $CPPFLAGS'
40407ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40408ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40409ac_compiler_gnu=$ac_cv_c_compiler_gnu
40410
40411
40412fi
40413
40414  fi
40415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40416$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40417
40418  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40419    for ac_func in modfl
40420do :
40421  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40422if test "x$ac_cv_func_modfl" = x""yes; then :
40423  cat >>confdefs.h <<_ACEOF
40424#define HAVE_MODFL 1
40425_ACEOF
40426
40427fi
40428done
40429
40430  else
40431
40432  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40433$as_echo_n "checking for _modfl declaration... " >&6; }
40434  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40435    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40436  $as_echo_n "(cached) " >&6
40437else
40438
40439
40440      ac_ext=cpp
40441ac_cpp='$CXXCPP $CPPFLAGS'
40442ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40443ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40444ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40445
40446      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40447/* end confdefs.h.  */
40448#include <math.h>
40449int
40450main ()
40451{
40452 _modfl(0, 0);
40453  ;
40454  return 0;
40455}
40456_ACEOF
40457if ac_fn_cxx_try_compile "$LINENO"; then :
40458  glibcxx_cv_func__modfl_use=yes
40459else
40460  glibcxx_cv_func__modfl_use=no
40461fi
40462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40463      ac_ext=c
40464ac_cpp='$CPP $CPPFLAGS'
40465ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40466ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40467ac_compiler_gnu=$ac_cv_c_compiler_gnu
40468
40469
40470fi
40471
40472  fi
40473  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40474$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40475
40476    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40477      for ac_func in _modfl
40478do :
40479  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40480if test "x$ac_cv_func__modfl" = x""yes; then :
40481  cat >>confdefs.h <<_ACEOF
40482#define HAVE__MODFL 1
40483_ACEOF
40484
40485fi
40486done
40487
40488    fi
40489  fi
40490
40491
40492
40493
40494
40495  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40496$as_echo_n "checking for powl declaration... " >&6; }
40497  if test x${glibcxx_cv_func_powl_use+set} != xset; then
40498    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40499  $as_echo_n "(cached) " >&6
40500else
40501
40502
40503      ac_ext=cpp
40504ac_cpp='$CXXCPP $CPPFLAGS'
40505ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40506ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40507ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40508
40509      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40510/* end confdefs.h.  */
40511#include <math.h>
40512int
40513main ()
40514{
40515 powl(0, 0);
40516  ;
40517  return 0;
40518}
40519_ACEOF
40520if ac_fn_cxx_try_compile "$LINENO"; then :
40521  glibcxx_cv_func_powl_use=yes
40522else
40523  glibcxx_cv_func_powl_use=no
40524fi
40525rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40526      ac_ext=c
40527ac_cpp='$CPP $CPPFLAGS'
40528ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40529ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40530ac_compiler_gnu=$ac_cv_c_compiler_gnu
40531
40532
40533fi
40534
40535  fi
40536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40537$as_echo "$glibcxx_cv_func_powl_use" >&6; }
40538
40539  if test x$glibcxx_cv_func_powl_use = x"yes"; then
40540    for ac_func in powl
40541do :
40542  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40543if test "x$ac_cv_func_powl" = x""yes; then :
40544  cat >>confdefs.h <<_ACEOF
40545#define HAVE_POWL 1
40546_ACEOF
40547
40548fi
40549done
40550
40551  else
40552
40553  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40554$as_echo_n "checking for _powl declaration... " >&6; }
40555  if test x${glibcxx_cv_func__powl_use+set} != xset; then
40556    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40557  $as_echo_n "(cached) " >&6
40558else
40559
40560
40561      ac_ext=cpp
40562ac_cpp='$CXXCPP $CPPFLAGS'
40563ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40564ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40565ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40566
40567      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40568/* end confdefs.h.  */
40569#include <math.h>
40570int
40571main ()
40572{
40573 _powl(0, 0);
40574  ;
40575  return 0;
40576}
40577_ACEOF
40578if ac_fn_cxx_try_compile "$LINENO"; then :
40579  glibcxx_cv_func__powl_use=yes
40580else
40581  glibcxx_cv_func__powl_use=no
40582fi
40583rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40584      ac_ext=c
40585ac_cpp='$CPP $CPPFLAGS'
40586ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40587ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40588ac_compiler_gnu=$ac_cv_c_compiler_gnu
40589
40590
40591fi
40592
40593  fi
40594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40595$as_echo "$glibcxx_cv_func__powl_use" >&6; }
40596
40597    if test x$glibcxx_cv_func__powl_use = x"yes"; then
40598      for ac_func in _powl
40599do :
40600  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40601if test "x$ac_cv_func__powl" = x""yes; then :
40602  cat >>confdefs.h <<_ACEOF
40603#define HAVE__POWL 1
40604_ACEOF
40605
40606fi
40607done
40608
40609    fi
40610  fi
40611
40612
40613
40614
40615
40616  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40617$as_echo_n "checking for sqrtl declaration... " >&6; }
40618  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40619    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40620  $as_echo_n "(cached) " >&6
40621else
40622
40623
40624      ac_ext=cpp
40625ac_cpp='$CXXCPP $CPPFLAGS'
40626ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40627ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40628ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40629
40630      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40631/* end confdefs.h.  */
40632#include <math.h>
40633		      #ifdef HAVE_IEEEFP_H
40634		      #include <ieeefp.h>
40635		      #endif
40636
40637int
40638main ()
40639{
40640 sqrtl(0);
40641  ;
40642  return 0;
40643}
40644_ACEOF
40645if ac_fn_cxx_try_compile "$LINENO"; then :
40646  glibcxx_cv_func_sqrtl_use=yes
40647else
40648  glibcxx_cv_func_sqrtl_use=no
40649fi
40650rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40651      ac_ext=c
40652ac_cpp='$CPP $CPPFLAGS'
40653ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40654ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40655ac_compiler_gnu=$ac_cv_c_compiler_gnu
40656
40657
40658fi
40659
40660  fi
40661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40662$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40663
40664  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40665    for ac_func in sqrtl
40666do :
40667  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40668if test "x$ac_cv_func_sqrtl" = x""yes; then :
40669  cat >>confdefs.h <<_ACEOF
40670#define HAVE_SQRTL 1
40671_ACEOF
40672
40673fi
40674done
40675
40676  else
40677
40678  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40679$as_echo_n "checking for _sqrtl declaration... " >&6; }
40680  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40681    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40682  $as_echo_n "(cached) " >&6
40683else
40684
40685
40686      ac_ext=cpp
40687ac_cpp='$CXXCPP $CPPFLAGS'
40688ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40689ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40690ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40691
40692      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40693/* end confdefs.h.  */
40694#include <math.h>
40695		      #ifdef HAVE_IEEEFP_H
40696		      #include <ieeefp.h>
40697		      #endif
40698
40699int
40700main ()
40701{
40702 _sqrtl(0);
40703  ;
40704  return 0;
40705}
40706_ACEOF
40707if ac_fn_cxx_try_compile "$LINENO"; then :
40708  glibcxx_cv_func__sqrtl_use=yes
40709else
40710  glibcxx_cv_func__sqrtl_use=no
40711fi
40712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40713      ac_ext=c
40714ac_cpp='$CPP $CPPFLAGS'
40715ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40716ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40717ac_compiler_gnu=$ac_cv_c_compiler_gnu
40718
40719
40720fi
40721
40722  fi
40723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40724$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40725
40726    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40727      for ac_func in _sqrtl
40728do :
40729  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40730if test "x$ac_cv_func__sqrtl" = x""yes; then :
40731  cat >>confdefs.h <<_ACEOF
40732#define HAVE__SQRTL 1
40733_ACEOF
40734
40735fi
40736done
40737
40738    fi
40739  fi
40740
40741
40742
40743
40744
40745  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40746$as_echo_n "checking for sincosl declaration... " >&6; }
40747  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40748    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40749  $as_echo_n "(cached) " >&6
40750else
40751
40752
40753      ac_ext=cpp
40754ac_cpp='$CXXCPP $CPPFLAGS'
40755ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40756ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40757ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40758
40759      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40760/* end confdefs.h.  */
40761#include <math.h>
40762int
40763main ()
40764{
40765 sincosl(0, 0, 0);
40766  ;
40767  return 0;
40768}
40769_ACEOF
40770if ac_fn_cxx_try_compile "$LINENO"; then :
40771  glibcxx_cv_func_sincosl_use=yes
40772else
40773  glibcxx_cv_func_sincosl_use=no
40774fi
40775rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40776      ac_ext=c
40777ac_cpp='$CPP $CPPFLAGS'
40778ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40779ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40780ac_compiler_gnu=$ac_cv_c_compiler_gnu
40781
40782
40783fi
40784
40785  fi
40786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40787$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40788
40789  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40790    for ac_func in sincosl
40791do :
40792  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40793if test "x$ac_cv_func_sincosl" = x""yes; then :
40794  cat >>confdefs.h <<_ACEOF
40795#define HAVE_SINCOSL 1
40796_ACEOF
40797
40798fi
40799done
40800
40801  else
40802
40803  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40804$as_echo_n "checking for _sincosl declaration... " >&6; }
40805  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40806    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40807  $as_echo_n "(cached) " >&6
40808else
40809
40810
40811      ac_ext=cpp
40812ac_cpp='$CXXCPP $CPPFLAGS'
40813ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40814ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40815ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40816
40817      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40818/* end confdefs.h.  */
40819#include <math.h>
40820int
40821main ()
40822{
40823 _sincosl(0, 0, 0);
40824  ;
40825  return 0;
40826}
40827_ACEOF
40828if ac_fn_cxx_try_compile "$LINENO"; then :
40829  glibcxx_cv_func__sincosl_use=yes
40830else
40831  glibcxx_cv_func__sincosl_use=no
40832fi
40833rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40834      ac_ext=c
40835ac_cpp='$CPP $CPPFLAGS'
40836ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40837ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40838ac_compiler_gnu=$ac_cv_c_compiler_gnu
40839
40840
40841fi
40842
40843  fi
40844  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40845$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40846
40847    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40848      for ac_func in _sincosl
40849do :
40850  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40851if test "x$ac_cv_func__sincosl" = x""yes; then :
40852  cat >>confdefs.h <<_ACEOF
40853#define HAVE__SINCOSL 1
40854_ACEOF
40855
40856fi
40857done
40858
40859    fi
40860  fi
40861
40862
40863
40864
40865
40866  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40867$as_echo_n "checking for finitel declaration... " >&6; }
40868  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40869    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40870  $as_echo_n "(cached) " >&6
40871else
40872
40873
40874      ac_ext=cpp
40875ac_cpp='$CXXCPP $CPPFLAGS'
40876ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40877ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40878ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40879
40880      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40881/* end confdefs.h.  */
40882#include <math.h>
40883		      #ifdef HAVE_IEEEFP_H
40884		      #include <ieeefp.h>
40885		      #endif
40886
40887int
40888main ()
40889{
40890 finitel(0);
40891  ;
40892  return 0;
40893}
40894_ACEOF
40895if ac_fn_cxx_try_compile "$LINENO"; then :
40896  glibcxx_cv_func_finitel_use=yes
40897else
40898  glibcxx_cv_func_finitel_use=no
40899fi
40900rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40901      ac_ext=c
40902ac_cpp='$CPP $CPPFLAGS'
40903ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40904ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40905ac_compiler_gnu=$ac_cv_c_compiler_gnu
40906
40907
40908fi
40909
40910  fi
40911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40912$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40913
40914  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40915    for ac_func in finitel
40916do :
40917  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40918if test "x$ac_cv_func_finitel" = x""yes; then :
40919  cat >>confdefs.h <<_ACEOF
40920#define HAVE_FINITEL 1
40921_ACEOF
40922
40923fi
40924done
40925
40926  else
40927
40928  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40929$as_echo_n "checking for _finitel declaration... " >&6; }
40930  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40931    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40932  $as_echo_n "(cached) " >&6
40933else
40934
40935
40936      ac_ext=cpp
40937ac_cpp='$CXXCPP $CPPFLAGS'
40938ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40939ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40940ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40941
40942      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40943/* end confdefs.h.  */
40944#include <math.h>
40945		      #ifdef HAVE_IEEEFP_H
40946		      #include <ieeefp.h>
40947		      #endif
40948
40949int
40950main ()
40951{
40952 _finitel(0);
40953  ;
40954  return 0;
40955}
40956_ACEOF
40957if ac_fn_cxx_try_compile "$LINENO"; then :
40958  glibcxx_cv_func__finitel_use=yes
40959else
40960  glibcxx_cv_func__finitel_use=no
40961fi
40962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40963      ac_ext=c
40964ac_cpp='$CPP $CPPFLAGS'
40965ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40966ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40967ac_compiler_gnu=$ac_cv_c_compiler_gnu
40968
40969
40970fi
40971
40972  fi
40973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40974$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40975
40976    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40977      for ac_func in _finitel
40978do :
40979  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40980if test "x$ac_cv_func__finitel" = x""yes; then :
40981  cat >>confdefs.h <<_ACEOF
40982#define HAVE__FINITEL 1
40983_ACEOF
40984
40985fi
40986done
40987
40988    fi
40989  fi
40990
40991
40992
40993
40994  LIBS="$ac_save_LIBS"
40995  CXXFLAGS="$ac_save_CXXFLAGS"
40996
40997
40998  ac_test_CXXFLAGS="${CXXFLAGS+set}"
40999  ac_save_CXXFLAGS="$CXXFLAGS"
41000  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41001
41002
41003  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41004$as_echo_n "checking for at_quick_exit declaration... " >&6; }
41005  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41006    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
41007  $as_echo_n "(cached) " >&6
41008else
41009
41010
41011      ac_ext=cpp
41012ac_cpp='$CXXCPP $CPPFLAGS'
41013ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41014ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41015ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41016
41017      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41018/* end confdefs.h.  */
41019#include <stdlib.h>
41020int
41021main ()
41022{
41023 at_quick_exit(0);
41024  ;
41025  return 0;
41026}
41027_ACEOF
41028if ac_fn_cxx_try_compile "$LINENO"; then :
41029  glibcxx_cv_func_at_quick_exit_use=yes
41030else
41031  glibcxx_cv_func_at_quick_exit_use=no
41032fi
41033rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41034      ac_ext=c
41035ac_cpp='$CPP $CPPFLAGS'
41036ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41037ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41038ac_compiler_gnu=$ac_cv_c_compiler_gnu
41039
41040
41041fi
41042
41043  fi
41044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41045$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41046  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41047    for ac_func in at_quick_exit
41048do :
41049  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41050if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
41051  cat >>confdefs.h <<_ACEOF
41052#define HAVE_AT_QUICK_EXIT 1
41053_ACEOF
41054
41055fi
41056done
41057
41058  fi
41059
41060
41061  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41062$as_echo_n "checking for quick_exit declaration... " >&6; }
41063  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41064    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
41065  $as_echo_n "(cached) " >&6
41066else
41067
41068
41069      ac_ext=cpp
41070ac_cpp='$CXXCPP $CPPFLAGS'
41071ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41072ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41073ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41074
41075      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41076/* end confdefs.h.  */
41077#include <stdlib.h>
41078int
41079main ()
41080{
41081 quick_exit(0);
41082  ;
41083  return 0;
41084}
41085_ACEOF
41086if ac_fn_cxx_try_compile "$LINENO"; then :
41087  glibcxx_cv_func_quick_exit_use=yes
41088else
41089  glibcxx_cv_func_quick_exit_use=no
41090fi
41091rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41092      ac_ext=c
41093ac_cpp='$CPP $CPPFLAGS'
41094ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41095ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41096ac_compiler_gnu=$ac_cv_c_compiler_gnu
41097
41098
41099fi
41100
41101  fi
41102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41103$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41104  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41105    for ac_func in quick_exit
41106do :
41107  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41108if test "x$ac_cv_func_quick_exit" = x""yes; then :
41109  cat >>confdefs.h <<_ACEOF
41110#define HAVE_QUICK_EXIT 1
41111_ACEOF
41112
41113fi
41114done
41115
41116  fi
41117
41118
41119  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41120$as_echo_n "checking for strtold declaration... " >&6; }
41121  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41122    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
41123  $as_echo_n "(cached) " >&6
41124else
41125
41126
41127      ac_ext=cpp
41128ac_cpp='$CXXCPP $CPPFLAGS'
41129ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41130ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41131ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41132
41133      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41134/* end confdefs.h.  */
41135#include <stdlib.h>
41136int
41137main ()
41138{
41139 strtold(0, 0);
41140  ;
41141  return 0;
41142}
41143_ACEOF
41144if ac_fn_cxx_try_compile "$LINENO"; then :
41145  glibcxx_cv_func_strtold_use=yes
41146else
41147  glibcxx_cv_func_strtold_use=no
41148fi
41149rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41150      ac_ext=c
41151ac_cpp='$CPP $CPPFLAGS'
41152ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41153ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41154ac_compiler_gnu=$ac_cv_c_compiler_gnu
41155
41156
41157fi
41158
41159  fi
41160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41161$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41162  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41163    for ac_func in strtold
41164do :
41165  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41166if test "x$ac_cv_func_strtold" = x""yes; then :
41167  cat >>confdefs.h <<_ACEOF
41168#define HAVE_STRTOLD 1
41169_ACEOF
41170
41171fi
41172done
41173
41174  fi
41175
41176
41177
41178
41179  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41180$as_echo_n "checking for strtof declaration... " >&6; }
41181  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41182    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
41183  $as_echo_n "(cached) " >&6
41184else
41185
41186
41187      ac_ext=cpp
41188ac_cpp='$CXXCPP $CPPFLAGS'
41189ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41190ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41191ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41192
41193      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41194/* end confdefs.h.  */
41195#include <stdlib.h>
41196int
41197main ()
41198{
41199 strtof(0, 0);
41200  ;
41201  return 0;
41202}
41203_ACEOF
41204if ac_fn_cxx_try_compile "$LINENO"; then :
41205  glibcxx_cv_func_strtof_use=yes
41206else
41207  glibcxx_cv_func_strtof_use=no
41208fi
41209rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41210      ac_ext=c
41211ac_cpp='$CPP $CPPFLAGS'
41212ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41213ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41214ac_compiler_gnu=$ac_cv_c_compiler_gnu
41215
41216
41217fi
41218
41219  fi
41220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41221$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41222  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41223    for ac_func in strtof
41224do :
41225  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41226if test "x$ac_cv_func_strtof" = x""yes; then :
41227  cat >>confdefs.h <<_ACEOF
41228#define HAVE_STRTOF 1
41229_ACEOF
41230
41231fi
41232done
41233
41234  fi
41235
41236
41237
41238
41239  CXXFLAGS="$ac_save_CXXFLAGS"
41240
41241
41242
41243
41244
41245
41246  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41247$as_echo_n "checking for iconv... " >&6; }
41248if test "${am_cv_func_iconv+set}" = set; then :
41249  $as_echo_n "(cached) " >&6
41250else
41251
41252    am_cv_func_iconv="no, consider installing GNU libiconv"
41253    am_cv_lib_iconv=no
41254                    am_save_CPPFLAGS="$CPPFLAGS"
41255    CPPFLAGS="$CPPFLAGS $INCICONV"
41256    if test x$gcc_no_link = xyes; then
41257  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41258fi
41259cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41260/* end confdefs.h.  */
41261#include <stdlib.h>
41262#include <iconv.h>
41263int
41264main ()
41265{
41266iconv_t cd = iconv_open("","");
41267       iconv(cd,NULL,NULL,NULL,NULL);
41268       iconv_close(cd);
41269  ;
41270  return 0;
41271}
41272_ACEOF
41273if ac_fn_c_try_link "$LINENO"; then :
41274  am_cv_func_iconv=yes
41275fi
41276rm -f core conftest.err conftest.$ac_objext \
41277    conftest$ac_exeext conftest.$ac_ext
41278    CPPFLAGS="$am_save_CPPFLAGS"
41279
41280    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41281      for _libs in .libs _libs; do
41282        am_save_CPPFLAGS="$CPPFLAGS"
41283        am_save_LIBS="$LIBS"
41284        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41285        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41286        if test x$gcc_no_link = xyes; then
41287  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41288fi
41289cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41290/* end confdefs.h.  */
41291#include <stdlib.h>
41292#include <iconv.h>
41293int
41294main ()
41295{
41296iconv_t cd = iconv_open("","");
41297           iconv(cd,NULL,NULL,NULL,NULL);
41298           iconv_close(cd);
41299  ;
41300  return 0;
41301}
41302_ACEOF
41303if ac_fn_c_try_link "$LINENO"; then :
41304  INCICONV="-I../libiconv/include"
41305          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41306          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41307          am_cv_lib_iconv=yes
41308          am_cv_func_iconv=yes
41309fi
41310rm -f core conftest.err conftest.$ac_objext \
41311    conftest$ac_exeext conftest.$ac_ext
41312        CPPFLAGS="$am_save_CPPFLAGS"
41313        LIBS="$am_save_LIBS"
41314        if test "$am_cv_func_iconv" = "yes"; then
41315          break
41316        fi
41317      done
41318    fi
41319
41320    if test "$am_cv_func_iconv" != yes; then
41321      am_save_CPPFLAGS="$CPPFLAGS"
41322      am_save_LIBS="$LIBS"
41323      CPPFLAGS="$LIBS $INCICONV"
41324      LIBS="$LIBS $LIBICONV"
41325      if test x$gcc_no_link = xyes; then
41326  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41327fi
41328cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41329/* end confdefs.h.  */
41330#include <stdlib.h>
41331#include <iconv.h>
41332int
41333main ()
41334{
41335iconv_t cd = iconv_open("","");
41336         iconv(cd,NULL,NULL,NULL,NULL);
41337         iconv_close(cd);
41338  ;
41339  return 0;
41340}
41341_ACEOF
41342if ac_fn_c_try_link "$LINENO"; then :
41343  am_cv_lib_iconv=yes
41344        am_cv_func_iconv=yes
41345fi
41346rm -f core conftest.err conftest.$ac_objext \
41347    conftest$ac_exeext conftest.$ac_ext
41348      CPPFLAGS="$am_save_CPPFLAGS"
41349      LIBS="$am_save_LIBS"
41350    fi
41351
41352fi
41353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41354$as_echo "$am_cv_func_iconv" >&6; }
41355  if test "$am_cv_func_iconv" = yes; then
41356
41357$as_echo "#define HAVE_ICONV 1" >>confdefs.h
41358
41359  fi
41360  if test "$am_cv_lib_iconv" = yes; then
41361
41362  for element in $INCICONV; do
41363    haveit=
41364    for x in $CPPFLAGS; do
41365
41366  acl_save_prefix="$prefix"
41367  prefix="$acl_final_prefix"
41368  acl_save_exec_prefix="$exec_prefix"
41369  exec_prefix="$acl_final_exec_prefix"
41370  eval x=\"$x\"
41371  exec_prefix="$acl_save_exec_prefix"
41372  prefix="$acl_save_prefix"
41373
41374      if test "X$x" = "X$element"; then
41375        haveit=yes
41376        break
41377      fi
41378    done
41379    if test -z "$haveit"; then
41380      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41381    fi
41382  done
41383
41384    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41385$as_echo_n "checking how to link with libiconv... " >&6; }
41386    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41387$as_echo "$LIBICONV" >&6; }
41388  else
41389    LIBICONV=
41390    LTLIBICONV=
41391  fi
41392
41393
41394
41395  if test "$am_cv_func_iconv" = yes; then
41396    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41397$as_echo_n "checking for iconv declaration... " >&6; }
41398    if test "${am_cv_proto_iconv+set}" = set; then :
41399  $as_echo_n "(cached) " >&6
41400else
41401
41402      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41403/* end confdefs.h.  */
41404
41405#include <stdlib.h>
41406#include <iconv.h>
41407extern
41408#ifdef __cplusplus
41409"C"
41410#endif
41411#if defined(__STDC__) || defined(__cplusplus)
41412size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41413#else
41414size_t iconv();
41415#endif
41416
41417int
41418main ()
41419{
41420
41421  ;
41422  return 0;
41423}
41424_ACEOF
41425if ac_fn_c_try_compile "$LINENO"; then :
41426  am_cv_proto_iconv_arg1=""
41427else
41428  am_cv_proto_iconv_arg1="const"
41429fi
41430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41431      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);"
41432fi
41433
41434    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41435    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41436         }$am_cv_proto_iconv" >&5
41437$as_echo "${ac_t:-
41438         }$am_cv_proto_iconv" >&6; }
41439
41440cat >>confdefs.h <<_ACEOF
41441#define ICONV_CONST $am_cv_proto_iconv_arg1
41442_ACEOF
41443
41444  fi
41445
41446    ;;
41447
41448  *-aix*)
41449
41450  # If we're not using GNU ld, then there's no point in even trying these
41451  # tests.  Check for that first.  We should have already tested for gld
41452  # by now (in libtool), but require it now just to be safe...
41453  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41454  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41455
41456
41457
41458  # The name set by libtool depends on the version of libtool.  Shame on us
41459  # for depending on an impl detail, but c'est la vie.  Older versions used
41460  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41461  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41462  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
41463  # set (hence we're using an older libtool), then set it.
41464  if test x${with_gnu_ld+set} != xset; then
41465    if test x${ac_cv_prog_gnu_ld+set} != xset; then
41466      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
41467      with_gnu_ld=no
41468    else
41469      with_gnu_ld=$ac_cv_prog_gnu_ld
41470    fi
41471  fi
41472
41473  # Start by getting the version number.  I think the libtool test already
41474  # does some of this, but throws away the result.
41475  glibcxx_ld_is_gold=no
41476  if test x"$with_gnu_ld" = x"yes"; then
41477    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41478$as_echo_n "checking for ld version... " >&6; }
41479
41480    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41481      glibcxx_ld_is_gold=yes
41482    fi
41483    ldver=`$LD --version 2>/dev/null |
41484	   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'`
41485
41486    glibcxx_gnu_ld_version=`echo $ldver | \
41487	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41488    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41489$as_echo "$glibcxx_gnu_ld_version" >&6; }
41490  fi
41491
41492  # Set --gc-sections.
41493  glibcxx_have_gc_sections=no
41494  if test "$glibcxx_ld_is_gold" = "yes"; then
41495    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41496      glibcxx_have_gc_sections=yes
41497    fi
41498  else
41499    glibcxx_gcsections_min_ld=21602
41500    if test x"$with_gnu_ld" = x"yes" &&
41501	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41502      glibcxx_have_gc_sections=yes
41503    fi
41504  fi
41505  if test "$glibcxx_have_gc_sections" = "yes"; then
41506    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
41507    # NB: This flag only works reliably after 2.16.1. Configure tests
41508    # for this are difficult, so hard wire a value that should work.
41509
41510    ac_test_CFLAGS="${CFLAGS+set}"
41511    ac_save_CFLAGS="$CFLAGS"
41512    CFLAGS='-Wl,--gc-sections'
41513
41514    # Check for -Wl,--gc-sections
41515    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41516$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41517    if test x$gcc_no_link = xyes; then
41518  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41519fi
41520cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41521/* end confdefs.h.  */
41522 int one(void) { return 1; }
41523     int two(void) { return 2; }
41524
41525int
41526main ()
41527{
41528 two();
41529  ;
41530  return 0;
41531}
41532_ACEOF
41533if ac_fn_c_try_link "$LINENO"; then :
41534  ac_gcsections=yes
41535else
41536  ac_gcsections=no
41537fi
41538rm -f core conftest.err conftest.$ac_objext \
41539    conftest$ac_exeext conftest.$ac_ext
41540    if test "$ac_gcsections" = "yes"; then
41541      rm -f conftest.c
41542      touch conftest.c
41543      if $CC -c conftest.c; then
41544	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41545	   grep "Warning: gc-sections option ignored" > /dev/null; then
41546	  ac_gcsections=no
41547	fi
41548      fi
41549      rm -f conftest.c conftest.o conftest
41550    fi
41551    if test "$ac_gcsections" = "yes"; then
41552      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41553    fi
41554    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41555$as_echo "$ac_gcsections" >&6; }
41556
41557    if test "$ac_test_CFLAGS" = set; then
41558      CFLAGS="$ac_save_CFLAGS"
41559    else
41560      # this is the suspicious part
41561      CFLAGS=''
41562    fi
41563  fi
41564
41565  # Set -z,relro.
41566  # Note this is only for shared objects.
41567  ac_ld_relro=no
41568  if test x"$with_gnu_ld" = x"yes"; then
41569    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41570$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41571    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41572    if test -n "$cxx_z_relo"; then
41573      OPT_LDFLAGS="-Wl,-z,relro"
41574      ac_ld_relro=yes
41575    fi
41576    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41577$as_echo "$ac_ld_relro" >&6; }
41578  fi
41579
41580  # Set linker optimization flags.
41581  if test x"$with_gnu_ld" = x"yes"; then
41582    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41583  fi
41584
41585
41586
41587
41588
41589  ac_test_CXXFLAGS="${CXXFLAGS+set}"
41590  ac_save_CXXFLAGS="$CXXFLAGS"
41591  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41592
41593    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41594$as_echo_n "checking for sin in -lm... " >&6; }
41595if test "${ac_cv_lib_m_sin+set}" = set; then :
41596  $as_echo_n "(cached) " >&6
41597else
41598  ac_check_lib_save_LIBS=$LIBS
41599LIBS="-lm  $LIBS"
41600if test x$gcc_no_link = xyes; then
41601  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41602fi
41603cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41604/* end confdefs.h.  */
41605
41606/* Override any GCC internal prototype to avoid an error.
41607   Use char because int might match the return type of a GCC
41608   builtin and then its argument prototype would still apply.  */
41609#ifdef __cplusplus
41610extern "C"
41611#endif
41612char sin ();
41613int
41614main ()
41615{
41616return sin ();
41617  ;
41618  return 0;
41619}
41620_ACEOF
41621if ac_fn_c_try_link "$LINENO"; then :
41622  ac_cv_lib_m_sin=yes
41623else
41624  ac_cv_lib_m_sin=no
41625fi
41626rm -f core conftest.err conftest.$ac_objext \
41627    conftest$ac_exeext conftest.$ac_ext
41628LIBS=$ac_check_lib_save_LIBS
41629fi
41630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41631$as_echo "$ac_cv_lib_m_sin" >&6; }
41632if test "x$ac_cv_lib_m_sin" = x""yes; then :
41633  libm="-lm"
41634fi
41635
41636  ac_save_LIBS="$LIBS"
41637  LIBS="$LIBS $libm"
41638
41639
41640
41641  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41642$as_echo_n "checking for isinf declaration... " >&6; }
41643  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41644    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41645  $as_echo_n "(cached) " >&6
41646else
41647
41648
41649      ac_ext=cpp
41650ac_cpp='$CXXCPP $CPPFLAGS'
41651ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41652ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41653ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41654
41655      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41656/* end confdefs.h.  */
41657#include <math.h>
41658		      #ifdef HAVE_IEEEFP_H
41659		      #include <ieeefp.h>
41660		      #endif
41661
41662int
41663main ()
41664{
41665 isinf(0);
41666  ;
41667  return 0;
41668}
41669_ACEOF
41670if ac_fn_cxx_try_compile "$LINENO"; then :
41671  glibcxx_cv_func_isinf_use=yes
41672else
41673  glibcxx_cv_func_isinf_use=no
41674fi
41675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41676      ac_ext=c
41677ac_cpp='$CPP $CPPFLAGS'
41678ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41679ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41680ac_compiler_gnu=$ac_cv_c_compiler_gnu
41681
41682
41683fi
41684
41685  fi
41686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41687$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41688
41689  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41690    for ac_func in isinf
41691do :
41692  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41693if test "x$ac_cv_func_isinf" = x""yes; then :
41694  cat >>confdefs.h <<_ACEOF
41695#define HAVE_ISINF 1
41696_ACEOF
41697
41698fi
41699done
41700
41701  else
41702
41703  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41704$as_echo_n "checking for _isinf declaration... " >&6; }
41705  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41706    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41707  $as_echo_n "(cached) " >&6
41708else
41709
41710
41711      ac_ext=cpp
41712ac_cpp='$CXXCPP $CPPFLAGS'
41713ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41714ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41715ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41716
41717      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41718/* end confdefs.h.  */
41719#include <math.h>
41720		      #ifdef HAVE_IEEEFP_H
41721		      #include <ieeefp.h>
41722		      #endif
41723
41724int
41725main ()
41726{
41727 _isinf(0);
41728  ;
41729  return 0;
41730}
41731_ACEOF
41732if ac_fn_cxx_try_compile "$LINENO"; then :
41733  glibcxx_cv_func__isinf_use=yes
41734else
41735  glibcxx_cv_func__isinf_use=no
41736fi
41737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41738      ac_ext=c
41739ac_cpp='$CPP $CPPFLAGS'
41740ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41741ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41742ac_compiler_gnu=$ac_cv_c_compiler_gnu
41743
41744
41745fi
41746
41747  fi
41748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41749$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41750
41751    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41752      for ac_func in _isinf
41753do :
41754  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41755if test "x$ac_cv_func__isinf" = x""yes; then :
41756  cat >>confdefs.h <<_ACEOF
41757#define HAVE__ISINF 1
41758_ACEOF
41759
41760fi
41761done
41762
41763    fi
41764  fi
41765
41766
41767
41768
41769
41770  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41771$as_echo_n "checking for isnan declaration... " >&6; }
41772  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41773    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41774  $as_echo_n "(cached) " >&6
41775else
41776
41777
41778      ac_ext=cpp
41779ac_cpp='$CXXCPP $CPPFLAGS'
41780ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41781ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41782ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41783
41784      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41785/* end confdefs.h.  */
41786#include <math.h>
41787		      #ifdef HAVE_IEEEFP_H
41788		      #include <ieeefp.h>
41789		      #endif
41790
41791int
41792main ()
41793{
41794 isnan(0);
41795  ;
41796  return 0;
41797}
41798_ACEOF
41799if ac_fn_cxx_try_compile "$LINENO"; then :
41800  glibcxx_cv_func_isnan_use=yes
41801else
41802  glibcxx_cv_func_isnan_use=no
41803fi
41804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41805      ac_ext=c
41806ac_cpp='$CPP $CPPFLAGS'
41807ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41808ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41809ac_compiler_gnu=$ac_cv_c_compiler_gnu
41810
41811
41812fi
41813
41814  fi
41815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41816$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41817
41818  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41819    for ac_func in isnan
41820do :
41821  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41822if test "x$ac_cv_func_isnan" = x""yes; then :
41823  cat >>confdefs.h <<_ACEOF
41824#define HAVE_ISNAN 1
41825_ACEOF
41826
41827fi
41828done
41829
41830  else
41831
41832  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41833$as_echo_n "checking for _isnan declaration... " >&6; }
41834  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41835    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41836  $as_echo_n "(cached) " >&6
41837else
41838
41839
41840      ac_ext=cpp
41841ac_cpp='$CXXCPP $CPPFLAGS'
41842ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41843ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41844ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41845
41846      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41847/* end confdefs.h.  */
41848#include <math.h>
41849		      #ifdef HAVE_IEEEFP_H
41850		      #include <ieeefp.h>
41851		      #endif
41852
41853int
41854main ()
41855{
41856 _isnan(0);
41857  ;
41858  return 0;
41859}
41860_ACEOF
41861if ac_fn_cxx_try_compile "$LINENO"; then :
41862  glibcxx_cv_func__isnan_use=yes
41863else
41864  glibcxx_cv_func__isnan_use=no
41865fi
41866rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41867      ac_ext=c
41868ac_cpp='$CPP $CPPFLAGS'
41869ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41870ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41871ac_compiler_gnu=$ac_cv_c_compiler_gnu
41872
41873
41874fi
41875
41876  fi
41877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41878$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41879
41880    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41881      for ac_func in _isnan
41882do :
41883  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41884if test "x$ac_cv_func__isnan" = x""yes; then :
41885  cat >>confdefs.h <<_ACEOF
41886#define HAVE__ISNAN 1
41887_ACEOF
41888
41889fi
41890done
41891
41892    fi
41893  fi
41894
41895
41896
41897
41898
41899  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41900$as_echo_n "checking for finite declaration... " >&6; }
41901  if test x${glibcxx_cv_func_finite_use+set} != xset; then
41902    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41903  $as_echo_n "(cached) " >&6
41904else
41905
41906
41907      ac_ext=cpp
41908ac_cpp='$CXXCPP $CPPFLAGS'
41909ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41910ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41911ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41912
41913      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41914/* end confdefs.h.  */
41915#include <math.h>
41916		      #ifdef HAVE_IEEEFP_H
41917		      #include <ieeefp.h>
41918		      #endif
41919
41920int
41921main ()
41922{
41923 finite(0);
41924  ;
41925  return 0;
41926}
41927_ACEOF
41928if ac_fn_cxx_try_compile "$LINENO"; then :
41929  glibcxx_cv_func_finite_use=yes
41930else
41931  glibcxx_cv_func_finite_use=no
41932fi
41933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41934      ac_ext=c
41935ac_cpp='$CPP $CPPFLAGS'
41936ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41937ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41938ac_compiler_gnu=$ac_cv_c_compiler_gnu
41939
41940
41941fi
41942
41943  fi
41944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41945$as_echo "$glibcxx_cv_func_finite_use" >&6; }
41946
41947  if test x$glibcxx_cv_func_finite_use = x"yes"; then
41948    for ac_func in finite
41949do :
41950  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41951if test "x$ac_cv_func_finite" = x""yes; then :
41952  cat >>confdefs.h <<_ACEOF
41953#define HAVE_FINITE 1
41954_ACEOF
41955
41956fi
41957done
41958
41959  else
41960
41961  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41962$as_echo_n "checking for _finite declaration... " >&6; }
41963  if test x${glibcxx_cv_func__finite_use+set} != xset; then
41964    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41965  $as_echo_n "(cached) " >&6
41966else
41967
41968
41969      ac_ext=cpp
41970ac_cpp='$CXXCPP $CPPFLAGS'
41971ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41972ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41973ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41974
41975      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41976/* end confdefs.h.  */
41977#include <math.h>
41978		      #ifdef HAVE_IEEEFP_H
41979		      #include <ieeefp.h>
41980		      #endif
41981
41982int
41983main ()
41984{
41985 _finite(0);
41986  ;
41987  return 0;
41988}
41989_ACEOF
41990if ac_fn_cxx_try_compile "$LINENO"; then :
41991  glibcxx_cv_func__finite_use=yes
41992else
41993  glibcxx_cv_func__finite_use=no
41994fi
41995rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41996      ac_ext=c
41997ac_cpp='$CPP $CPPFLAGS'
41998ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41999ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42000ac_compiler_gnu=$ac_cv_c_compiler_gnu
42001
42002
42003fi
42004
42005  fi
42006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
42007$as_echo "$glibcxx_cv_func__finite_use" >&6; }
42008
42009    if test x$glibcxx_cv_func__finite_use = x"yes"; then
42010      for ac_func in _finite
42011do :
42012  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
42013if test "x$ac_cv_func__finite" = x""yes; then :
42014  cat >>confdefs.h <<_ACEOF
42015#define HAVE__FINITE 1
42016_ACEOF
42017
42018fi
42019done
42020
42021    fi
42022  fi
42023
42024
42025
42026
42027
42028  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
42029$as_echo_n "checking for sincos declaration... " >&6; }
42030  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
42031    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
42032  $as_echo_n "(cached) " >&6
42033else
42034
42035
42036      ac_ext=cpp
42037ac_cpp='$CXXCPP $CPPFLAGS'
42038ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42039ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42040ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42041
42042      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42043/* end confdefs.h.  */
42044#include <math.h>
42045int
42046main ()
42047{
42048 sincos(0, 0, 0);
42049  ;
42050  return 0;
42051}
42052_ACEOF
42053if ac_fn_cxx_try_compile "$LINENO"; then :
42054  glibcxx_cv_func_sincos_use=yes
42055else
42056  glibcxx_cv_func_sincos_use=no
42057fi
42058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42059      ac_ext=c
42060ac_cpp='$CPP $CPPFLAGS'
42061ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42062ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42063ac_compiler_gnu=$ac_cv_c_compiler_gnu
42064
42065
42066fi
42067
42068  fi
42069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42070$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42071
42072  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
42073    for ac_func in sincos
42074do :
42075  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
42076if test "x$ac_cv_func_sincos" = x""yes; then :
42077  cat >>confdefs.h <<_ACEOF
42078#define HAVE_SINCOS 1
42079_ACEOF
42080
42081fi
42082done
42083
42084  else
42085
42086  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
42087$as_echo_n "checking for _sincos declaration... " >&6; }
42088  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
42089    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
42090  $as_echo_n "(cached) " >&6
42091else
42092
42093
42094      ac_ext=cpp
42095ac_cpp='$CXXCPP $CPPFLAGS'
42096ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42097ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42098ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42099
42100      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42101/* end confdefs.h.  */
42102#include <math.h>
42103int
42104main ()
42105{
42106 _sincos(0, 0, 0);
42107  ;
42108  return 0;
42109}
42110_ACEOF
42111if ac_fn_cxx_try_compile "$LINENO"; then :
42112  glibcxx_cv_func__sincos_use=yes
42113else
42114  glibcxx_cv_func__sincos_use=no
42115fi
42116rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42117      ac_ext=c
42118ac_cpp='$CPP $CPPFLAGS'
42119ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42120ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42121ac_compiler_gnu=$ac_cv_c_compiler_gnu
42122
42123
42124fi
42125
42126  fi
42127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42128$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42129
42130    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42131      for ac_func in _sincos
42132do :
42133  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42134if test "x$ac_cv_func__sincos" = x""yes; then :
42135  cat >>confdefs.h <<_ACEOF
42136#define HAVE__SINCOS 1
42137_ACEOF
42138
42139fi
42140done
42141
42142    fi
42143  fi
42144
42145
42146
42147
42148
42149  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42150$as_echo_n "checking for fpclass declaration... " >&6; }
42151  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42152    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
42153  $as_echo_n "(cached) " >&6
42154else
42155
42156
42157      ac_ext=cpp
42158ac_cpp='$CXXCPP $CPPFLAGS'
42159ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42160ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42161ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42162
42163      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42164/* end confdefs.h.  */
42165#include <math.h>
42166		      #ifdef HAVE_IEEEFP_H
42167		      #include <ieeefp.h>
42168		      #endif
42169
42170int
42171main ()
42172{
42173 fpclass(0);
42174  ;
42175  return 0;
42176}
42177_ACEOF
42178if ac_fn_cxx_try_compile "$LINENO"; then :
42179  glibcxx_cv_func_fpclass_use=yes
42180else
42181  glibcxx_cv_func_fpclass_use=no
42182fi
42183rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42184      ac_ext=c
42185ac_cpp='$CPP $CPPFLAGS'
42186ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42187ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42188ac_compiler_gnu=$ac_cv_c_compiler_gnu
42189
42190
42191fi
42192
42193  fi
42194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42195$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42196
42197  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42198    for ac_func in fpclass
42199do :
42200  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42201if test "x$ac_cv_func_fpclass" = x""yes; then :
42202  cat >>confdefs.h <<_ACEOF
42203#define HAVE_FPCLASS 1
42204_ACEOF
42205
42206fi
42207done
42208
42209  else
42210
42211  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42212$as_echo_n "checking for _fpclass declaration... " >&6; }
42213  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42214    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
42215  $as_echo_n "(cached) " >&6
42216else
42217
42218
42219      ac_ext=cpp
42220ac_cpp='$CXXCPP $CPPFLAGS'
42221ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42222ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42223ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42224
42225      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42226/* end confdefs.h.  */
42227#include <math.h>
42228		      #ifdef HAVE_IEEEFP_H
42229		      #include <ieeefp.h>
42230		      #endif
42231
42232int
42233main ()
42234{
42235 _fpclass(0);
42236  ;
42237  return 0;
42238}
42239_ACEOF
42240if ac_fn_cxx_try_compile "$LINENO"; then :
42241  glibcxx_cv_func__fpclass_use=yes
42242else
42243  glibcxx_cv_func__fpclass_use=no
42244fi
42245rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42246      ac_ext=c
42247ac_cpp='$CPP $CPPFLAGS'
42248ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42249ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42250ac_compiler_gnu=$ac_cv_c_compiler_gnu
42251
42252
42253fi
42254
42255  fi
42256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42257$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42258
42259    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42260      for ac_func in _fpclass
42261do :
42262  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42263if test "x$ac_cv_func__fpclass" = x""yes; then :
42264  cat >>confdefs.h <<_ACEOF
42265#define HAVE__FPCLASS 1
42266_ACEOF
42267
42268fi
42269done
42270
42271    fi
42272  fi
42273
42274
42275
42276
42277
42278  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42279$as_echo_n "checking for qfpclass declaration... " >&6; }
42280  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42281    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
42282  $as_echo_n "(cached) " >&6
42283else
42284
42285
42286      ac_ext=cpp
42287ac_cpp='$CXXCPP $CPPFLAGS'
42288ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42289ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42290ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42291
42292      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42293/* end confdefs.h.  */
42294#include <math.h>
42295		      #ifdef HAVE_IEEEFP_H
42296		      #include <ieeefp.h>
42297		      #endif
42298
42299int
42300main ()
42301{
42302 qfpclass(0);
42303  ;
42304  return 0;
42305}
42306_ACEOF
42307if ac_fn_cxx_try_compile "$LINENO"; then :
42308  glibcxx_cv_func_qfpclass_use=yes
42309else
42310  glibcxx_cv_func_qfpclass_use=no
42311fi
42312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42313      ac_ext=c
42314ac_cpp='$CPP $CPPFLAGS'
42315ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42316ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42317ac_compiler_gnu=$ac_cv_c_compiler_gnu
42318
42319
42320fi
42321
42322  fi
42323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42324$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42325
42326  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42327    for ac_func in qfpclass
42328do :
42329  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42330if test "x$ac_cv_func_qfpclass" = x""yes; then :
42331  cat >>confdefs.h <<_ACEOF
42332#define HAVE_QFPCLASS 1
42333_ACEOF
42334
42335fi
42336done
42337
42338  else
42339
42340  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42341$as_echo_n "checking for _qfpclass declaration... " >&6; }
42342  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42343    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
42344  $as_echo_n "(cached) " >&6
42345else
42346
42347
42348      ac_ext=cpp
42349ac_cpp='$CXXCPP $CPPFLAGS'
42350ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42351ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42352ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42353
42354      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42355/* end confdefs.h.  */
42356#include <math.h>
42357		      #ifdef HAVE_IEEEFP_H
42358		      #include <ieeefp.h>
42359		      #endif
42360
42361int
42362main ()
42363{
42364 _qfpclass(0);
42365  ;
42366  return 0;
42367}
42368_ACEOF
42369if ac_fn_cxx_try_compile "$LINENO"; then :
42370  glibcxx_cv_func__qfpclass_use=yes
42371else
42372  glibcxx_cv_func__qfpclass_use=no
42373fi
42374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42375      ac_ext=c
42376ac_cpp='$CPP $CPPFLAGS'
42377ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42378ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42379ac_compiler_gnu=$ac_cv_c_compiler_gnu
42380
42381
42382fi
42383
42384  fi
42385  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42386$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42387
42388    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42389      for ac_func in _qfpclass
42390do :
42391  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42392if test "x$ac_cv_func__qfpclass" = x""yes; then :
42393  cat >>confdefs.h <<_ACEOF
42394#define HAVE__QFPCLASS 1
42395_ACEOF
42396
42397fi
42398done
42399
42400    fi
42401  fi
42402
42403
42404
42405
42406
42407  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42408$as_echo_n "checking for hypot declaration... " >&6; }
42409  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42410    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
42411  $as_echo_n "(cached) " >&6
42412else
42413
42414
42415      ac_ext=cpp
42416ac_cpp='$CXXCPP $CPPFLAGS'
42417ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42418ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42419ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42420
42421      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42422/* end confdefs.h.  */
42423#include <math.h>
42424int
42425main ()
42426{
42427 hypot(0, 0);
42428  ;
42429  return 0;
42430}
42431_ACEOF
42432if ac_fn_cxx_try_compile "$LINENO"; then :
42433  glibcxx_cv_func_hypot_use=yes
42434else
42435  glibcxx_cv_func_hypot_use=no
42436fi
42437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42438      ac_ext=c
42439ac_cpp='$CPP $CPPFLAGS'
42440ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42441ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42442ac_compiler_gnu=$ac_cv_c_compiler_gnu
42443
42444
42445fi
42446
42447  fi
42448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42449$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42450
42451  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42452    for ac_func in hypot
42453do :
42454  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42455if test "x$ac_cv_func_hypot" = x""yes; then :
42456  cat >>confdefs.h <<_ACEOF
42457#define HAVE_HYPOT 1
42458_ACEOF
42459
42460fi
42461done
42462
42463  else
42464
42465  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42466$as_echo_n "checking for _hypot declaration... " >&6; }
42467  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42468    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42469  $as_echo_n "(cached) " >&6
42470else
42471
42472
42473      ac_ext=cpp
42474ac_cpp='$CXXCPP $CPPFLAGS'
42475ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42476ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42477ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42478
42479      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42480/* end confdefs.h.  */
42481#include <math.h>
42482int
42483main ()
42484{
42485 _hypot(0, 0);
42486  ;
42487  return 0;
42488}
42489_ACEOF
42490if ac_fn_cxx_try_compile "$LINENO"; then :
42491  glibcxx_cv_func__hypot_use=yes
42492else
42493  glibcxx_cv_func__hypot_use=no
42494fi
42495rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42496      ac_ext=c
42497ac_cpp='$CPP $CPPFLAGS'
42498ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42499ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42500ac_compiler_gnu=$ac_cv_c_compiler_gnu
42501
42502
42503fi
42504
42505  fi
42506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42507$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42508
42509    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42510      for ac_func in _hypot
42511do :
42512  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42513if test "x$ac_cv_func__hypot" = x""yes; then :
42514  cat >>confdefs.h <<_ACEOF
42515#define HAVE__HYPOT 1
42516_ACEOF
42517
42518fi
42519done
42520
42521    fi
42522  fi
42523
42524
42525
42526
42527
42528    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42529$as_echo_n "checking for float trig functions... " >&6; }
42530  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42531  $as_echo_n "(cached) " >&6
42532else
42533
42534
42535    ac_ext=cpp
42536ac_cpp='$CXXCPP $CPPFLAGS'
42537ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42538ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42539ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42540
42541    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42542/* end confdefs.h.  */
42543#include <math.h>
42544int
42545main ()
42546{
42547acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42548  ;
42549  return 0;
42550}
42551_ACEOF
42552if ac_fn_cxx_try_compile "$LINENO"; then :
42553  glibcxx_cv_func_float_trig_use=yes
42554else
42555  glibcxx_cv_func_float_trig_use=no
42556fi
42557rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42558    ac_ext=c
42559ac_cpp='$CPP $CPPFLAGS'
42560ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42561ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42562ac_compiler_gnu=$ac_cv_c_compiler_gnu
42563
42564fi
42565
42566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42567$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42568  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42569    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42570do :
42571  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42572ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42573eval as_val=\$$as_ac_var
42574   if test "x$as_val" = x""yes; then :
42575  cat >>confdefs.h <<_ACEOF
42576#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42577_ACEOF
42578
42579fi
42580done
42581
42582  else
42583    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42584$as_echo_n "checking for _float trig functions... " >&6; }
42585    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42586  $as_echo_n "(cached) " >&6
42587else
42588
42589
42590      ac_ext=cpp
42591ac_cpp='$CXXCPP $CPPFLAGS'
42592ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42593ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42594ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42595
42596      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42597/* end confdefs.h.  */
42598#include <math.h>
42599int
42600main ()
42601{
42602_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42603  ;
42604  return 0;
42605}
42606_ACEOF
42607if ac_fn_cxx_try_compile "$LINENO"; then :
42608  glibcxx_cv_func__float_trig_use=yes
42609else
42610  glibcxx_cv_func__float_trig_use=no
42611fi
42612rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42613      ac_ext=c
42614ac_cpp='$CPP $CPPFLAGS'
42615ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42616ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42617ac_compiler_gnu=$ac_cv_c_compiler_gnu
42618
42619fi
42620
42621    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42622$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42623    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42624      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42625do :
42626  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42627ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42628eval as_val=\$$as_ac_var
42629   if test "x$as_val" = x""yes; then :
42630  cat >>confdefs.h <<_ACEOF
42631#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42632_ACEOF
42633
42634fi
42635done
42636
42637    fi
42638  fi
42639
42640
42641
42642
42643
42644    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42645$as_echo_n "checking for float round functions... " >&6; }
42646  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42647  $as_echo_n "(cached) " >&6
42648else
42649
42650
42651    ac_ext=cpp
42652ac_cpp='$CXXCPP $CPPFLAGS'
42653ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42654ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42655ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42656
42657    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42658/* end confdefs.h.  */
42659#include <math.h>
42660int
42661main ()
42662{
42663ceilf (0); floorf (0);
42664  ;
42665  return 0;
42666}
42667_ACEOF
42668if ac_fn_cxx_try_compile "$LINENO"; then :
42669  glibcxx_cv_func_float_round_use=yes
42670else
42671  glibcxx_cv_func_float_round_use=no
42672fi
42673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42674    ac_ext=c
42675ac_cpp='$CPP $CPPFLAGS'
42676ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42677ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42678ac_compiler_gnu=$ac_cv_c_compiler_gnu
42679
42680fi
42681
42682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42683$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42684  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42685    for ac_func in ceilf floorf
42686do :
42687  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42688ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42689eval as_val=\$$as_ac_var
42690   if test "x$as_val" = x""yes; then :
42691  cat >>confdefs.h <<_ACEOF
42692#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42693_ACEOF
42694
42695fi
42696done
42697
42698  else
42699    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42700$as_echo_n "checking for _float round functions... " >&6; }
42701    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42702  $as_echo_n "(cached) " >&6
42703else
42704
42705
42706      ac_ext=cpp
42707ac_cpp='$CXXCPP $CPPFLAGS'
42708ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42709ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42710ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42711
42712      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42713/* end confdefs.h.  */
42714#include <math.h>
42715int
42716main ()
42717{
42718_ceilf (0); _floorf (0);
42719  ;
42720  return 0;
42721}
42722_ACEOF
42723if ac_fn_cxx_try_compile "$LINENO"; then :
42724  glibcxx_cv_func__float_round_use=yes
42725else
42726  glibcxx_cv_func__float_round_use=no
42727fi
42728rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42729      ac_ext=c
42730ac_cpp='$CPP $CPPFLAGS'
42731ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42732ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42733ac_compiler_gnu=$ac_cv_c_compiler_gnu
42734
42735fi
42736
42737    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42738$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42739    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42740      for ac_func in _ceilf _floorf
42741do :
42742  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42743ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42744eval as_val=\$$as_ac_var
42745   if test "x$as_val" = x""yes; then :
42746  cat >>confdefs.h <<_ACEOF
42747#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42748_ACEOF
42749
42750fi
42751done
42752
42753    fi
42754  fi
42755
42756
42757
42758
42759
42760
42761  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42762$as_echo_n "checking for expf declaration... " >&6; }
42763  if test x${glibcxx_cv_func_expf_use+set} != xset; then
42764    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42765  $as_echo_n "(cached) " >&6
42766else
42767
42768
42769      ac_ext=cpp
42770ac_cpp='$CXXCPP $CPPFLAGS'
42771ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42772ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42773ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42774
42775      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42776/* end confdefs.h.  */
42777#include <math.h>
42778		      #ifdef HAVE_IEEEFP_H
42779		      #include <ieeefp.h>
42780		      #endif
42781
42782int
42783main ()
42784{
42785 expf(0);
42786  ;
42787  return 0;
42788}
42789_ACEOF
42790if ac_fn_cxx_try_compile "$LINENO"; then :
42791  glibcxx_cv_func_expf_use=yes
42792else
42793  glibcxx_cv_func_expf_use=no
42794fi
42795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42796      ac_ext=c
42797ac_cpp='$CPP $CPPFLAGS'
42798ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42799ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42800ac_compiler_gnu=$ac_cv_c_compiler_gnu
42801
42802
42803fi
42804
42805  fi
42806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42807$as_echo "$glibcxx_cv_func_expf_use" >&6; }
42808
42809  if test x$glibcxx_cv_func_expf_use = x"yes"; then
42810    for ac_func in expf
42811do :
42812  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42813if test "x$ac_cv_func_expf" = x""yes; then :
42814  cat >>confdefs.h <<_ACEOF
42815#define HAVE_EXPF 1
42816_ACEOF
42817
42818fi
42819done
42820
42821  else
42822
42823  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42824$as_echo_n "checking for _expf declaration... " >&6; }
42825  if test x${glibcxx_cv_func__expf_use+set} != xset; then
42826    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42827  $as_echo_n "(cached) " >&6
42828else
42829
42830
42831      ac_ext=cpp
42832ac_cpp='$CXXCPP $CPPFLAGS'
42833ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42834ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42835ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42836
42837      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42838/* end confdefs.h.  */
42839#include <math.h>
42840		      #ifdef HAVE_IEEEFP_H
42841		      #include <ieeefp.h>
42842		      #endif
42843
42844int
42845main ()
42846{
42847 _expf(0);
42848  ;
42849  return 0;
42850}
42851_ACEOF
42852if ac_fn_cxx_try_compile "$LINENO"; then :
42853  glibcxx_cv_func__expf_use=yes
42854else
42855  glibcxx_cv_func__expf_use=no
42856fi
42857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42858      ac_ext=c
42859ac_cpp='$CPP $CPPFLAGS'
42860ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42861ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42862ac_compiler_gnu=$ac_cv_c_compiler_gnu
42863
42864
42865fi
42866
42867  fi
42868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42869$as_echo "$glibcxx_cv_func__expf_use" >&6; }
42870
42871    if test x$glibcxx_cv_func__expf_use = x"yes"; then
42872      for ac_func in _expf
42873do :
42874  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42875if test "x$ac_cv_func__expf" = x""yes; then :
42876  cat >>confdefs.h <<_ACEOF
42877#define HAVE__EXPF 1
42878_ACEOF
42879
42880fi
42881done
42882
42883    fi
42884  fi
42885
42886
42887
42888
42889
42890  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42891$as_echo_n "checking for isnanf declaration... " >&6; }
42892  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42893    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42894  $as_echo_n "(cached) " >&6
42895else
42896
42897
42898      ac_ext=cpp
42899ac_cpp='$CXXCPP $CPPFLAGS'
42900ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42901ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42902ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42903
42904      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42905/* end confdefs.h.  */
42906#include <math.h>
42907		      #ifdef HAVE_IEEEFP_H
42908		      #include <ieeefp.h>
42909		      #endif
42910
42911int
42912main ()
42913{
42914 isnanf(0);
42915  ;
42916  return 0;
42917}
42918_ACEOF
42919if ac_fn_cxx_try_compile "$LINENO"; then :
42920  glibcxx_cv_func_isnanf_use=yes
42921else
42922  glibcxx_cv_func_isnanf_use=no
42923fi
42924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42925      ac_ext=c
42926ac_cpp='$CPP $CPPFLAGS'
42927ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42928ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42929ac_compiler_gnu=$ac_cv_c_compiler_gnu
42930
42931
42932fi
42933
42934  fi
42935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42936$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42937
42938  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42939    for ac_func in isnanf
42940do :
42941  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42942if test "x$ac_cv_func_isnanf" = x""yes; then :
42943  cat >>confdefs.h <<_ACEOF
42944#define HAVE_ISNANF 1
42945_ACEOF
42946
42947fi
42948done
42949
42950  else
42951
42952  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42953$as_echo_n "checking for _isnanf declaration... " >&6; }
42954  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42955    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42956  $as_echo_n "(cached) " >&6
42957else
42958
42959
42960      ac_ext=cpp
42961ac_cpp='$CXXCPP $CPPFLAGS'
42962ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42963ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42964ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42965
42966      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42967/* end confdefs.h.  */
42968#include <math.h>
42969		      #ifdef HAVE_IEEEFP_H
42970		      #include <ieeefp.h>
42971		      #endif
42972
42973int
42974main ()
42975{
42976 _isnanf(0);
42977  ;
42978  return 0;
42979}
42980_ACEOF
42981if ac_fn_cxx_try_compile "$LINENO"; then :
42982  glibcxx_cv_func__isnanf_use=yes
42983else
42984  glibcxx_cv_func__isnanf_use=no
42985fi
42986rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42987      ac_ext=c
42988ac_cpp='$CPP $CPPFLAGS'
42989ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42990ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42991ac_compiler_gnu=$ac_cv_c_compiler_gnu
42992
42993
42994fi
42995
42996  fi
42997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42998$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42999
43000    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
43001      for ac_func in _isnanf
43002do :
43003  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
43004if test "x$ac_cv_func__isnanf" = x""yes; then :
43005  cat >>confdefs.h <<_ACEOF
43006#define HAVE__ISNANF 1
43007_ACEOF
43008
43009fi
43010done
43011
43012    fi
43013  fi
43014
43015
43016
43017
43018
43019  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
43020$as_echo_n "checking for isinff declaration... " >&6; }
43021  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
43022    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
43023  $as_echo_n "(cached) " >&6
43024else
43025
43026
43027      ac_ext=cpp
43028ac_cpp='$CXXCPP $CPPFLAGS'
43029ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43030ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43031ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43032
43033      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43034/* end confdefs.h.  */
43035#include <math.h>
43036		      #ifdef HAVE_IEEEFP_H
43037		      #include <ieeefp.h>
43038		      #endif
43039
43040int
43041main ()
43042{
43043 isinff(0);
43044  ;
43045  return 0;
43046}
43047_ACEOF
43048if ac_fn_cxx_try_compile "$LINENO"; then :
43049  glibcxx_cv_func_isinff_use=yes
43050else
43051  glibcxx_cv_func_isinff_use=no
43052fi
43053rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43054      ac_ext=c
43055ac_cpp='$CPP $CPPFLAGS'
43056ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43057ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43058ac_compiler_gnu=$ac_cv_c_compiler_gnu
43059
43060
43061fi
43062
43063  fi
43064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43065$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43066
43067  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
43068    for ac_func in isinff
43069do :
43070  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
43071if test "x$ac_cv_func_isinff" = x""yes; then :
43072  cat >>confdefs.h <<_ACEOF
43073#define HAVE_ISINFF 1
43074_ACEOF
43075
43076fi
43077done
43078
43079  else
43080
43081  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
43082$as_echo_n "checking for _isinff declaration... " >&6; }
43083  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
43084    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
43085  $as_echo_n "(cached) " >&6
43086else
43087
43088
43089      ac_ext=cpp
43090ac_cpp='$CXXCPP $CPPFLAGS'
43091ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43092ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43093ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43094
43095      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43096/* end confdefs.h.  */
43097#include <math.h>
43098		      #ifdef HAVE_IEEEFP_H
43099		      #include <ieeefp.h>
43100		      #endif
43101
43102int
43103main ()
43104{
43105 _isinff(0);
43106  ;
43107  return 0;
43108}
43109_ACEOF
43110if ac_fn_cxx_try_compile "$LINENO"; then :
43111  glibcxx_cv_func__isinff_use=yes
43112else
43113  glibcxx_cv_func__isinff_use=no
43114fi
43115rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43116      ac_ext=c
43117ac_cpp='$CPP $CPPFLAGS'
43118ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43119ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43120ac_compiler_gnu=$ac_cv_c_compiler_gnu
43121
43122
43123fi
43124
43125  fi
43126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43127$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43128
43129    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43130      for ac_func in _isinff
43131do :
43132  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43133if test "x$ac_cv_func__isinff" = x""yes; then :
43134  cat >>confdefs.h <<_ACEOF
43135#define HAVE__ISINFF 1
43136_ACEOF
43137
43138fi
43139done
43140
43141    fi
43142  fi
43143
43144
43145
43146
43147
43148  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43149$as_echo_n "checking for atan2f declaration... " >&6; }
43150  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43151    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
43152  $as_echo_n "(cached) " >&6
43153else
43154
43155
43156      ac_ext=cpp
43157ac_cpp='$CXXCPP $CPPFLAGS'
43158ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43159ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43160ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43161
43162      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43163/* end confdefs.h.  */
43164#include <math.h>
43165int
43166main ()
43167{
43168 atan2f(0, 0);
43169  ;
43170  return 0;
43171}
43172_ACEOF
43173if ac_fn_cxx_try_compile "$LINENO"; then :
43174  glibcxx_cv_func_atan2f_use=yes
43175else
43176  glibcxx_cv_func_atan2f_use=no
43177fi
43178rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43179      ac_ext=c
43180ac_cpp='$CPP $CPPFLAGS'
43181ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43182ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43183ac_compiler_gnu=$ac_cv_c_compiler_gnu
43184
43185
43186fi
43187
43188  fi
43189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43190$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43191
43192  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43193    for ac_func in atan2f
43194do :
43195  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43196if test "x$ac_cv_func_atan2f" = x""yes; then :
43197  cat >>confdefs.h <<_ACEOF
43198#define HAVE_ATAN2F 1
43199_ACEOF
43200
43201fi
43202done
43203
43204  else
43205
43206  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43207$as_echo_n "checking for _atan2f declaration... " >&6; }
43208  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43209    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
43210  $as_echo_n "(cached) " >&6
43211else
43212
43213
43214      ac_ext=cpp
43215ac_cpp='$CXXCPP $CPPFLAGS'
43216ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43217ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43218ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43219
43220      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43221/* end confdefs.h.  */
43222#include <math.h>
43223int
43224main ()
43225{
43226 _atan2f(0, 0);
43227  ;
43228  return 0;
43229}
43230_ACEOF
43231if ac_fn_cxx_try_compile "$LINENO"; then :
43232  glibcxx_cv_func__atan2f_use=yes
43233else
43234  glibcxx_cv_func__atan2f_use=no
43235fi
43236rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43237      ac_ext=c
43238ac_cpp='$CPP $CPPFLAGS'
43239ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43240ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43241ac_compiler_gnu=$ac_cv_c_compiler_gnu
43242
43243
43244fi
43245
43246  fi
43247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43248$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43249
43250    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43251      for ac_func in _atan2f
43252do :
43253  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43254if test "x$ac_cv_func__atan2f" = x""yes; then :
43255  cat >>confdefs.h <<_ACEOF
43256#define HAVE__ATAN2F 1
43257_ACEOF
43258
43259fi
43260done
43261
43262    fi
43263  fi
43264
43265
43266
43267
43268
43269  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43270$as_echo_n "checking for fabsf declaration... " >&6; }
43271  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43272    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
43273  $as_echo_n "(cached) " >&6
43274else
43275
43276
43277      ac_ext=cpp
43278ac_cpp='$CXXCPP $CPPFLAGS'
43279ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43280ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43281ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43282
43283      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43284/* end confdefs.h.  */
43285#include <math.h>
43286		      #ifdef HAVE_IEEEFP_H
43287		      #include <ieeefp.h>
43288		      #endif
43289
43290int
43291main ()
43292{
43293 fabsf(0);
43294  ;
43295  return 0;
43296}
43297_ACEOF
43298if ac_fn_cxx_try_compile "$LINENO"; then :
43299  glibcxx_cv_func_fabsf_use=yes
43300else
43301  glibcxx_cv_func_fabsf_use=no
43302fi
43303rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43304      ac_ext=c
43305ac_cpp='$CPP $CPPFLAGS'
43306ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43307ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43308ac_compiler_gnu=$ac_cv_c_compiler_gnu
43309
43310
43311fi
43312
43313  fi
43314  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43315$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43316
43317  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43318    for ac_func in fabsf
43319do :
43320  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43321if test "x$ac_cv_func_fabsf" = x""yes; then :
43322  cat >>confdefs.h <<_ACEOF
43323#define HAVE_FABSF 1
43324_ACEOF
43325
43326fi
43327done
43328
43329  else
43330
43331  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43332$as_echo_n "checking for _fabsf declaration... " >&6; }
43333  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43334    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
43335  $as_echo_n "(cached) " >&6
43336else
43337
43338
43339      ac_ext=cpp
43340ac_cpp='$CXXCPP $CPPFLAGS'
43341ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43342ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43343ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43344
43345      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43346/* end confdefs.h.  */
43347#include <math.h>
43348		      #ifdef HAVE_IEEEFP_H
43349		      #include <ieeefp.h>
43350		      #endif
43351
43352int
43353main ()
43354{
43355 _fabsf(0);
43356  ;
43357  return 0;
43358}
43359_ACEOF
43360if ac_fn_cxx_try_compile "$LINENO"; then :
43361  glibcxx_cv_func__fabsf_use=yes
43362else
43363  glibcxx_cv_func__fabsf_use=no
43364fi
43365rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43366      ac_ext=c
43367ac_cpp='$CPP $CPPFLAGS'
43368ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43369ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43370ac_compiler_gnu=$ac_cv_c_compiler_gnu
43371
43372
43373fi
43374
43375  fi
43376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43377$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43378
43379    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43380      for ac_func in _fabsf
43381do :
43382  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43383if test "x$ac_cv_func__fabsf" = x""yes; then :
43384  cat >>confdefs.h <<_ACEOF
43385#define HAVE__FABSF 1
43386_ACEOF
43387
43388fi
43389done
43390
43391    fi
43392  fi
43393
43394
43395
43396
43397
43398  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43399$as_echo_n "checking for fmodf declaration... " >&6; }
43400  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43401    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
43402  $as_echo_n "(cached) " >&6
43403else
43404
43405
43406      ac_ext=cpp
43407ac_cpp='$CXXCPP $CPPFLAGS'
43408ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43409ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43410ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43411
43412      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43413/* end confdefs.h.  */
43414#include <math.h>
43415int
43416main ()
43417{
43418 fmodf(0, 0);
43419  ;
43420  return 0;
43421}
43422_ACEOF
43423if ac_fn_cxx_try_compile "$LINENO"; then :
43424  glibcxx_cv_func_fmodf_use=yes
43425else
43426  glibcxx_cv_func_fmodf_use=no
43427fi
43428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43429      ac_ext=c
43430ac_cpp='$CPP $CPPFLAGS'
43431ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43432ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43433ac_compiler_gnu=$ac_cv_c_compiler_gnu
43434
43435
43436fi
43437
43438  fi
43439  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43440$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43441
43442  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43443    for ac_func in fmodf
43444do :
43445  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43446if test "x$ac_cv_func_fmodf" = x""yes; then :
43447  cat >>confdefs.h <<_ACEOF
43448#define HAVE_FMODF 1
43449_ACEOF
43450
43451fi
43452done
43453
43454  else
43455
43456  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43457$as_echo_n "checking for _fmodf declaration... " >&6; }
43458  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43459    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43460  $as_echo_n "(cached) " >&6
43461else
43462
43463
43464      ac_ext=cpp
43465ac_cpp='$CXXCPP $CPPFLAGS'
43466ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43467ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43468ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43469
43470      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43471/* end confdefs.h.  */
43472#include <math.h>
43473int
43474main ()
43475{
43476 _fmodf(0, 0);
43477  ;
43478  return 0;
43479}
43480_ACEOF
43481if ac_fn_cxx_try_compile "$LINENO"; then :
43482  glibcxx_cv_func__fmodf_use=yes
43483else
43484  glibcxx_cv_func__fmodf_use=no
43485fi
43486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43487      ac_ext=c
43488ac_cpp='$CPP $CPPFLAGS'
43489ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43490ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43491ac_compiler_gnu=$ac_cv_c_compiler_gnu
43492
43493
43494fi
43495
43496  fi
43497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43498$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43499
43500    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43501      for ac_func in _fmodf
43502do :
43503  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43504if test "x$ac_cv_func__fmodf" = x""yes; then :
43505  cat >>confdefs.h <<_ACEOF
43506#define HAVE__FMODF 1
43507_ACEOF
43508
43509fi
43510done
43511
43512    fi
43513  fi
43514
43515
43516
43517
43518
43519  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43520$as_echo_n "checking for frexpf declaration... " >&6; }
43521  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43522    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43523  $as_echo_n "(cached) " >&6
43524else
43525
43526
43527      ac_ext=cpp
43528ac_cpp='$CXXCPP $CPPFLAGS'
43529ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43530ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43531ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43532
43533      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43534/* end confdefs.h.  */
43535#include <math.h>
43536int
43537main ()
43538{
43539 frexpf(0, 0);
43540  ;
43541  return 0;
43542}
43543_ACEOF
43544if ac_fn_cxx_try_compile "$LINENO"; then :
43545  glibcxx_cv_func_frexpf_use=yes
43546else
43547  glibcxx_cv_func_frexpf_use=no
43548fi
43549rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43550      ac_ext=c
43551ac_cpp='$CPP $CPPFLAGS'
43552ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43553ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43554ac_compiler_gnu=$ac_cv_c_compiler_gnu
43555
43556
43557fi
43558
43559  fi
43560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43561$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43562
43563  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43564    for ac_func in frexpf
43565do :
43566  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43567if test "x$ac_cv_func_frexpf" = x""yes; then :
43568  cat >>confdefs.h <<_ACEOF
43569#define HAVE_FREXPF 1
43570_ACEOF
43571
43572fi
43573done
43574
43575  else
43576
43577  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43578$as_echo_n "checking for _frexpf declaration... " >&6; }
43579  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43580    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43581  $as_echo_n "(cached) " >&6
43582else
43583
43584
43585      ac_ext=cpp
43586ac_cpp='$CXXCPP $CPPFLAGS'
43587ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43588ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43589ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43590
43591      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43592/* end confdefs.h.  */
43593#include <math.h>
43594int
43595main ()
43596{
43597 _frexpf(0, 0);
43598  ;
43599  return 0;
43600}
43601_ACEOF
43602if ac_fn_cxx_try_compile "$LINENO"; then :
43603  glibcxx_cv_func__frexpf_use=yes
43604else
43605  glibcxx_cv_func__frexpf_use=no
43606fi
43607rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43608      ac_ext=c
43609ac_cpp='$CPP $CPPFLAGS'
43610ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43611ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43612ac_compiler_gnu=$ac_cv_c_compiler_gnu
43613
43614
43615fi
43616
43617  fi
43618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43619$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43620
43621    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43622      for ac_func in _frexpf
43623do :
43624  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43625if test "x$ac_cv_func__frexpf" = x""yes; then :
43626  cat >>confdefs.h <<_ACEOF
43627#define HAVE__FREXPF 1
43628_ACEOF
43629
43630fi
43631done
43632
43633    fi
43634  fi
43635
43636
43637
43638
43639
43640  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43641$as_echo_n "checking for hypotf declaration... " >&6; }
43642  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43643    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43644  $as_echo_n "(cached) " >&6
43645else
43646
43647
43648      ac_ext=cpp
43649ac_cpp='$CXXCPP $CPPFLAGS'
43650ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43651ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43652ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43653
43654      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43655/* end confdefs.h.  */
43656#include <math.h>
43657int
43658main ()
43659{
43660 hypotf(0, 0);
43661  ;
43662  return 0;
43663}
43664_ACEOF
43665if ac_fn_cxx_try_compile "$LINENO"; then :
43666  glibcxx_cv_func_hypotf_use=yes
43667else
43668  glibcxx_cv_func_hypotf_use=no
43669fi
43670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43671      ac_ext=c
43672ac_cpp='$CPP $CPPFLAGS'
43673ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43674ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43675ac_compiler_gnu=$ac_cv_c_compiler_gnu
43676
43677
43678fi
43679
43680  fi
43681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43682$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43683
43684  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43685    for ac_func in hypotf
43686do :
43687  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43688if test "x$ac_cv_func_hypotf" = x""yes; then :
43689  cat >>confdefs.h <<_ACEOF
43690#define HAVE_HYPOTF 1
43691_ACEOF
43692
43693fi
43694done
43695
43696  else
43697
43698  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43699$as_echo_n "checking for _hypotf declaration... " >&6; }
43700  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43701    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43702  $as_echo_n "(cached) " >&6
43703else
43704
43705
43706      ac_ext=cpp
43707ac_cpp='$CXXCPP $CPPFLAGS'
43708ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43709ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43710ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43711
43712      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43713/* end confdefs.h.  */
43714#include <math.h>
43715int
43716main ()
43717{
43718 _hypotf(0, 0);
43719  ;
43720  return 0;
43721}
43722_ACEOF
43723if ac_fn_cxx_try_compile "$LINENO"; then :
43724  glibcxx_cv_func__hypotf_use=yes
43725else
43726  glibcxx_cv_func__hypotf_use=no
43727fi
43728rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43729      ac_ext=c
43730ac_cpp='$CPP $CPPFLAGS'
43731ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43732ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43733ac_compiler_gnu=$ac_cv_c_compiler_gnu
43734
43735
43736fi
43737
43738  fi
43739  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43740$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43741
43742    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43743      for ac_func in _hypotf
43744do :
43745  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43746if test "x$ac_cv_func__hypotf" = x""yes; then :
43747  cat >>confdefs.h <<_ACEOF
43748#define HAVE__HYPOTF 1
43749_ACEOF
43750
43751fi
43752done
43753
43754    fi
43755  fi
43756
43757
43758
43759
43760
43761  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43762$as_echo_n "checking for ldexpf declaration... " >&6; }
43763  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43764    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43765  $as_echo_n "(cached) " >&6
43766else
43767
43768
43769      ac_ext=cpp
43770ac_cpp='$CXXCPP $CPPFLAGS'
43771ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43772ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43773ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43774
43775      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43776/* end confdefs.h.  */
43777#include <math.h>
43778int
43779main ()
43780{
43781 ldexpf(0, 0);
43782  ;
43783  return 0;
43784}
43785_ACEOF
43786if ac_fn_cxx_try_compile "$LINENO"; then :
43787  glibcxx_cv_func_ldexpf_use=yes
43788else
43789  glibcxx_cv_func_ldexpf_use=no
43790fi
43791rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43792      ac_ext=c
43793ac_cpp='$CPP $CPPFLAGS'
43794ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43796ac_compiler_gnu=$ac_cv_c_compiler_gnu
43797
43798
43799fi
43800
43801  fi
43802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43803$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43804
43805  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43806    for ac_func in ldexpf
43807do :
43808  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43809if test "x$ac_cv_func_ldexpf" = x""yes; then :
43810  cat >>confdefs.h <<_ACEOF
43811#define HAVE_LDEXPF 1
43812_ACEOF
43813
43814fi
43815done
43816
43817  else
43818
43819  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43820$as_echo_n "checking for _ldexpf declaration... " >&6; }
43821  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43822    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43823  $as_echo_n "(cached) " >&6
43824else
43825
43826
43827      ac_ext=cpp
43828ac_cpp='$CXXCPP $CPPFLAGS'
43829ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43830ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43831ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43832
43833      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43834/* end confdefs.h.  */
43835#include <math.h>
43836int
43837main ()
43838{
43839 _ldexpf(0, 0);
43840  ;
43841  return 0;
43842}
43843_ACEOF
43844if ac_fn_cxx_try_compile "$LINENO"; then :
43845  glibcxx_cv_func__ldexpf_use=yes
43846else
43847  glibcxx_cv_func__ldexpf_use=no
43848fi
43849rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43850      ac_ext=c
43851ac_cpp='$CPP $CPPFLAGS'
43852ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43853ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43854ac_compiler_gnu=$ac_cv_c_compiler_gnu
43855
43856
43857fi
43858
43859  fi
43860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43861$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43862
43863    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43864      for ac_func in _ldexpf
43865do :
43866  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43867if test "x$ac_cv_func__ldexpf" = x""yes; then :
43868  cat >>confdefs.h <<_ACEOF
43869#define HAVE__LDEXPF 1
43870_ACEOF
43871
43872fi
43873done
43874
43875    fi
43876  fi
43877
43878
43879
43880
43881
43882  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43883$as_echo_n "checking for logf declaration... " >&6; }
43884  if test x${glibcxx_cv_func_logf_use+set} != xset; then
43885    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43886  $as_echo_n "(cached) " >&6
43887else
43888
43889
43890      ac_ext=cpp
43891ac_cpp='$CXXCPP $CPPFLAGS'
43892ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43893ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43894ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43895
43896      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43897/* end confdefs.h.  */
43898#include <math.h>
43899		      #ifdef HAVE_IEEEFP_H
43900		      #include <ieeefp.h>
43901		      #endif
43902
43903int
43904main ()
43905{
43906 logf(0);
43907  ;
43908  return 0;
43909}
43910_ACEOF
43911if ac_fn_cxx_try_compile "$LINENO"; then :
43912  glibcxx_cv_func_logf_use=yes
43913else
43914  glibcxx_cv_func_logf_use=no
43915fi
43916rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43917      ac_ext=c
43918ac_cpp='$CPP $CPPFLAGS'
43919ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43920ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43921ac_compiler_gnu=$ac_cv_c_compiler_gnu
43922
43923
43924fi
43925
43926  fi
43927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43928$as_echo "$glibcxx_cv_func_logf_use" >&6; }
43929
43930  if test x$glibcxx_cv_func_logf_use = x"yes"; then
43931    for ac_func in logf
43932do :
43933  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43934if test "x$ac_cv_func_logf" = x""yes; then :
43935  cat >>confdefs.h <<_ACEOF
43936#define HAVE_LOGF 1
43937_ACEOF
43938
43939fi
43940done
43941
43942  else
43943
43944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43945$as_echo_n "checking for _logf declaration... " >&6; }
43946  if test x${glibcxx_cv_func__logf_use+set} != xset; then
43947    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43948  $as_echo_n "(cached) " >&6
43949else
43950
43951
43952      ac_ext=cpp
43953ac_cpp='$CXXCPP $CPPFLAGS'
43954ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43955ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43956ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43957
43958      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43959/* end confdefs.h.  */
43960#include <math.h>
43961		      #ifdef HAVE_IEEEFP_H
43962		      #include <ieeefp.h>
43963		      #endif
43964
43965int
43966main ()
43967{
43968 _logf(0);
43969  ;
43970  return 0;
43971}
43972_ACEOF
43973if ac_fn_cxx_try_compile "$LINENO"; then :
43974  glibcxx_cv_func__logf_use=yes
43975else
43976  glibcxx_cv_func__logf_use=no
43977fi
43978rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43979      ac_ext=c
43980ac_cpp='$CPP $CPPFLAGS'
43981ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43982ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43983ac_compiler_gnu=$ac_cv_c_compiler_gnu
43984
43985
43986fi
43987
43988  fi
43989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43990$as_echo "$glibcxx_cv_func__logf_use" >&6; }
43991
43992    if test x$glibcxx_cv_func__logf_use = x"yes"; then
43993      for ac_func in _logf
43994do :
43995  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43996if test "x$ac_cv_func__logf" = x""yes; then :
43997  cat >>confdefs.h <<_ACEOF
43998#define HAVE__LOGF 1
43999_ACEOF
44000
44001fi
44002done
44003
44004    fi
44005  fi
44006
44007
44008
44009
44010
44011  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
44012$as_echo_n "checking for log10f declaration... " >&6; }
44013  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
44014    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
44015  $as_echo_n "(cached) " >&6
44016else
44017
44018
44019      ac_ext=cpp
44020ac_cpp='$CXXCPP $CPPFLAGS'
44021ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44022ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44023ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44024
44025      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44026/* end confdefs.h.  */
44027#include <math.h>
44028		      #ifdef HAVE_IEEEFP_H
44029		      #include <ieeefp.h>
44030		      #endif
44031
44032int
44033main ()
44034{
44035 log10f(0);
44036  ;
44037  return 0;
44038}
44039_ACEOF
44040if ac_fn_cxx_try_compile "$LINENO"; then :
44041  glibcxx_cv_func_log10f_use=yes
44042else
44043  glibcxx_cv_func_log10f_use=no
44044fi
44045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44046      ac_ext=c
44047ac_cpp='$CPP $CPPFLAGS'
44048ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44049ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44050ac_compiler_gnu=$ac_cv_c_compiler_gnu
44051
44052
44053fi
44054
44055  fi
44056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
44057$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
44058
44059  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
44060    for ac_func in log10f
44061do :
44062  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
44063if test "x$ac_cv_func_log10f" = x""yes; then :
44064  cat >>confdefs.h <<_ACEOF
44065#define HAVE_LOG10F 1
44066_ACEOF
44067
44068fi
44069done
44070
44071  else
44072
44073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
44074$as_echo_n "checking for _log10f declaration... " >&6; }
44075  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
44076    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
44077  $as_echo_n "(cached) " >&6
44078else
44079
44080
44081      ac_ext=cpp
44082ac_cpp='$CXXCPP $CPPFLAGS'
44083ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44084ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44085ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44086
44087      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44088/* end confdefs.h.  */
44089#include <math.h>
44090		      #ifdef HAVE_IEEEFP_H
44091		      #include <ieeefp.h>
44092		      #endif
44093
44094int
44095main ()
44096{
44097 _log10f(0);
44098  ;
44099  return 0;
44100}
44101_ACEOF
44102if ac_fn_cxx_try_compile "$LINENO"; then :
44103  glibcxx_cv_func__log10f_use=yes
44104else
44105  glibcxx_cv_func__log10f_use=no
44106fi
44107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44108      ac_ext=c
44109ac_cpp='$CPP $CPPFLAGS'
44110ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44111ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44112ac_compiler_gnu=$ac_cv_c_compiler_gnu
44113
44114
44115fi
44116
44117  fi
44118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44119$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44120
44121    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44122      for ac_func in _log10f
44123do :
44124  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44125if test "x$ac_cv_func__log10f" = x""yes; then :
44126  cat >>confdefs.h <<_ACEOF
44127#define HAVE__LOG10F 1
44128_ACEOF
44129
44130fi
44131done
44132
44133    fi
44134  fi
44135
44136
44137
44138
44139
44140  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44141$as_echo_n "checking for modff declaration... " >&6; }
44142  if test x${glibcxx_cv_func_modff_use+set} != xset; then
44143    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
44144  $as_echo_n "(cached) " >&6
44145else
44146
44147
44148      ac_ext=cpp
44149ac_cpp='$CXXCPP $CPPFLAGS'
44150ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44151ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44152ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44153
44154      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44155/* end confdefs.h.  */
44156#include <math.h>
44157int
44158main ()
44159{
44160 modff(0, 0);
44161  ;
44162  return 0;
44163}
44164_ACEOF
44165if ac_fn_cxx_try_compile "$LINENO"; then :
44166  glibcxx_cv_func_modff_use=yes
44167else
44168  glibcxx_cv_func_modff_use=no
44169fi
44170rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44171      ac_ext=c
44172ac_cpp='$CPP $CPPFLAGS'
44173ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44174ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44175ac_compiler_gnu=$ac_cv_c_compiler_gnu
44176
44177
44178fi
44179
44180  fi
44181  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44182$as_echo "$glibcxx_cv_func_modff_use" >&6; }
44183
44184  if test x$glibcxx_cv_func_modff_use = x"yes"; then
44185    for ac_func in modff
44186do :
44187  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44188if test "x$ac_cv_func_modff" = x""yes; then :
44189  cat >>confdefs.h <<_ACEOF
44190#define HAVE_MODFF 1
44191_ACEOF
44192
44193fi
44194done
44195
44196  else
44197
44198  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44199$as_echo_n "checking for _modff declaration... " >&6; }
44200  if test x${glibcxx_cv_func__modff_use+set} != xset; then
44201    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
44202  $as_echo_n "(cached) " >&6
44203else
44204
44205
44206      ac_ext=cpp
44207ac_cpp='$CXXCPP $CPPFLAGS'
44208ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44209ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44210ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44211
44212      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44213/* end confdefs.h.  */
44214#include <math.h>
44215int
44216main ()
44217{
44218 _modff(0, 0);
44219  ;
44220  return 0;
44221}
44222_ACEOF
44223if ac_fn_cxx_try_compile "$LINENO"; then :
44224  glibcxx_cv_func__modff_use=yes
44225else
44226  glibcxx_cv_func__modff_use=no
44227fi
44228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44229      ac_ext=c
44230ac_cpp='$CPP $CPPFLAGS'
44231ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44232ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44233ac_compiler_gnu=$ac_cv_c_compiler_gnu
44234
44235
44236fi
44237
44238  fi
44239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44240$as_echo "$glibcxx_cv_func__modff_use" >&6; }
44241
44242    if test x$glibcxx_cv_func__modff_use = x"yes"; then
44243      for ac_func in _modff
44244do :
44245  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44246if test "x$ac_cv_func__modff" = x""yes; then :
44247  cat >>confdefs.h <<_ACEOF
44248#define HAVE__MODFF 1
44249_ACEOF
44250
44251fi
44252done
44253
44254    fi
44255  fi
44256
44257
44258
44259
44260
44261  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44262$as_echo_n "checking for modf declaration... " >&6; }
44263  if test x${glibcxx_cv_func_modf_use+set} != xset; then
44264    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
44265  $as_echo_n "(cached) " >&6
44266else
44267
44268
44269      ac_ext=cpp
44270ac_cpp='$CXXCPP $CPPFLAGS'
44271ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44272ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44273ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44274
44275      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44276/* end confdefs.h.  */
44277#include <math.h>
44278int
44279main ()
44280{
44281 modf(0, 0);
44282  ;
44283  return 0;
44284}
44285_ACEOF
44286if ac_fn_cxx_try_compile "$LINENO"; then :
44287  glibcxx_cv_func_modf_use=yes
44288else
44289  glibcxx_cv_func_modf_use=no
44290fi
44291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44292      ac_ext=c
44293ac_cpp='$CPP $CPPFLAGS'
44294ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44295ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44296ac_compiler_gnu=$ac_cv_c_compiler_gnu
44297
44298
44299fi
44300
44301  fi
44302  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44303$as_echo "$glibcxx_cv_func_modf_use" >&6; }
44304
44305  if test x$glibcxx_cv_func_modf_use = x"yes"; then
44306    for ac_func in modf
44307do :
44308  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44309if test "x$ac_cv_func_modf" = x""yes; then :
44310  cat >>confdefs.h <<_ACEOF
44311#define HAVE_MODF 1
44312_ACEOF
44313
44314fi
44315done
44316
44317  else
44318
44319  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44320$as_echo_n "checking for _modf declaration... " >&6; }
44321  if test x${glibcxx_cv_func__modf_use+set} != xset; then
44322    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
44323  $as_echo_n "(cached) " >&6
44324else
44325
44326
44327      ac_ext=cpp
44328ac_cpp='$CXXCPP $CPPFLAGS'
44329ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44330ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44331ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44332
44333      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44334/* end confdefs.h.  */
44335#include <math.h>
44336int
44337main ()
44338{
44339 _modf(0, 0);
44340  ;
44341  return 0;
44342}
44343_ACEOF
44344if ac_fn_cxx_try_compile "$LINENO"; then :
44345  glibcxx_cv_func__modf_use=yes
44346else
44347  glibcxx_cv_func__modf_use=no
44348fi
44349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44350      ac_ext=c
44351ac_cpp='$CPP $CPPFLAGS'
44352ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44353ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44354ac_compiler_gnu=$ac_cv_c_compiler_gnu
44355
44356
44357fi
44358
44359  fi
44360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44361$as_echo "$glibcxx_cv_func__modf_use" >&6; }
44362
44363    if test x$glibcxx_cv_func__modf_use = x"yes"; then
44364      for ac_func in _modf
44365do :
44366  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44367if test "x$ac_cv_func__modf" = x""yes; then :
44368  cat >>confdefs.h <<_ACEOF
44369#define HAVE__MODF 1
44370_ACEOF
44371
44372fi
44373done
44374
44375    fi
44376  fi
44377
44378
44379
44380
44381
44382  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44383$as_echo_n "checking for powf declaration... " >&6; }
44384  if test x${glibcxx_cv_func_powf_use+set} != xset; then
44385    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
44386  $as_echo_n "(cached) " >&6
44387else
44388
44389
44390      ac_ext=cpp
44391ac_cpp='$CXXCPP $CPPFLAGS'
44392ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44393ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44394ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44395
44396      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44397/* end confdefs.h.  */
44398#include <math.h>
44399int
44400main ()
44401{
44402 powf(0, 0);
44403  ;
44404  return 0;
44405}
44406_ACEOF
44407if ac_fn_cxx_try_compile "$LINENO"; then :
44408  glibcxx_cv_func_powf_use=yes
44409else
44410  glibcxx_cv_func_powf_use=no
44411fi
44412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44413      ac_ext=c
44414ac_cpp='$CPP $CPPFLAGS'
44415ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44416ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44417ac_compiler_gnu=$ac_cv_c_compiler_gnu
44418
44419
44420fi
44421
44422  fi
44423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44424$as_echo "$glibcxx_cv_func_powf_use" >&6; }
44425
44426  if test x$glibcxx_cv_func_powf_use = x"yes"; then
44427    for ac_func in powf
44428do :
44429  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44430if test "x$ac_cv_func_powf" = x""yes; then :
44431  cat >>confdefs.h <<_ACEOF
44432#define HAVE_POWF 1
44433_ACEOF
44434
44435fi
44436done
44437
44438  else
44439
44440  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44441$as_echo_n "checking for _powf declaration... " >&6; }
44442  if test x${glibcxx_cv_func__powf_use+set} != xset; then
44443    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44444  $as_echo_n "(cached) " >&6
44445else
44446
44447
44448      ac_ext=cpp
44449ac_cpp='$CXXCPP $CPPFLAGS'
44450ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44451ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44452ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44453
44454      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44455/* end confdefs.h.  */
44456#include <math.h>
44457int
44458main ()
44459{
44460 _powf(0, 0);
44461  ;
44462  return 0;
44463}
44464_ACEOF
44465if ac_fn_cxx_try_compile "$LINENO"; then :
44466  glibcxx_cv_func__powf_use=yes
44467else
44468  glibcxx_cv_func__powf_use=no
44469fi
44470rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44471      ac_ext=c
44472ac_cpp='$CPP $CPPFLAGS'
44473ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44474ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44475ac_compiler_gnu=$ac_cv_c_compiler_gnu
44476
44477
44478fi
44479
44480  fi
44481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44482$as_echo "$glibcxx_cv_func__powf_use" >&6; }
44483
44484    if test x$glibcxx_cv_func__powf_use = x"yes"; then
44485      for ac_func in _powf
44486do :
44487  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44488if test "x$ac_cv_func__powf" = x""yes; then :
44489  cat >>confdefs.h <<_ACEOF
44490#define HAVE__POWF 1
44491_ACEOF
44492
44493fi
44494done
44495
44496    fi
44497  fi
44498
44499
44500
44501
44502
44503  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44504$as_echo_n "checking for sqrtf declaration... " >&6; }
44505  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44506    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44507  $as_echo_n "(cached) " >&6
44508else
44509
44510
44511      ac_ext=cpp
44512ac_cpp='$CXXCPP $CPPFLAGS'
44513ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44514ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44515ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44516
44517      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44518/* end confdefs.h.  */
44519#include <math.h>
44520		      #ifdef HAVE_IEEEFP_H
44521		      #include <ieeefp.h>
44522		      #endif
44523
44524int
44525main ()
44526{
44527 sqrtf(0);
44528  ;
44529  return 0;
44530}
44531_ACEOF
44532if ac_fn_cxx_try_compile "$LINENO"; then :
44533  glibcxx_cv_func_sqrtf_use=yes
44534else
44535  glibcxx_cv_func_sqrtf_use=no
44536fi
44537rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44538      ac_ext=c
44539ac_cpp='$CPP $CPPFLAGS'
44540ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44541ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44542ac_compiler_gnu=$ac_cv_c_compiler_gnu
44543
44544
44545fi
44546
44547  fi
44548  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44549$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44550
44551  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44552    for ac_func in sqrtf
44553do :
44554  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44555if test "x$ac_cv_func_sqrtf" = x""yes; then :
44556  cat >>confdefs.h <<_ACEOF
44557#define HAVE_SQRTF 1
44558_ACEOF
44559
44560fi
44561done
44562
44563  else
44564
44565  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44566$as_echo_n "checking for _sqrtf declaration... " >&6; }
44567  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44568    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44569  $as_echo_n "(cached) " >&6
44570else
44571
44572
44573      ac_ext=cpp
44574ac_cpp='$CXXCPP $CPPFLAGS'
44575ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44576ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44577ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44578
44579      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44580/* end confdefs.h.  */
44581#include <math.h>
44582		      #ifdef HAVE_IEEEFP_H
44583		      #include <ieeefp.h>
44584		      #endif
44585
44586int
44587main ()
44588{
44589 _sqrtf(0);
44590  ;
44591  return 0;
44592}
44593_ACEOF
44594if ac_fn_cxx_try_compile "$LINENO"; then :
44595  glibcxx_cv_func__sqrtf_use=yes
44596else
44597  glibcxx_cv_func__sqrtf_use=no
44598fi
44599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44600      ac_ext=c
44601ac_cpp='$CPP $CPPFLAGS'
44602ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44603ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44604ac_compiler_gnu=$ac_cv_c_compiler_gnu
44605
44606
44607fi
44608
44609  fi
44610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44611$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44612
44613    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44614      for ac_func in _sqrtf
44615do :
44616  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44617if test "x$ac_cv_func__sqrtf" = x""yes; then :
44618  cat >>confdefs.h <<_ACEOF
44619#define HAVE__SQRTF 1
44620_ACEOF
44621
44622fi
44623done
44624
44625    fi
44626  fi
44627
44628
44629
44630
44631
44632  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44633$as_echo_n "checking for sincosf declaration... " >&6; }
44634  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44635    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44636  $as_echo_n "(cached) " >&6
44637else
44638
44639
44640      ac_ext=cpp
44641ac_cpp='$CXXCPP $CPPFLAGS'
44642ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44643ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44644ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44645
44646      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44647/* end confdefs.h.  */
44648#include <math.h>
44649int
44650main ()
44651{
44652 sincosf(0, 0, 0);
44653  ;
44654  return 0;
44655}
44656_ACEOF
44657if ac_fn_cxx_try_compile "$LINENO"; then :
44658  glibcxx_cv_func_sincosf_use=yes
44659else
44660  glibcxx_cv_func_sincosf_use=no
44661fi
44662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44663      ac_ext=c
44664ac_cpp='$CPP $CPPFLAGS'
44665ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44666ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44667ac_compiler_gnu=$ac_cv_c_compiler_gnu
44668
44669
44670fi
44671
44672  fi
44673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44674$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44675
44676  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44677    for ac_func in sincosf
44678do :
44679  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44680if test "x$ac_cv_func_sincosf" = x""yes; then :
44681  cat >>confdefs.h <<_ACEOF
44682#define HAVE_SINCOSF 1
44683_ACEOF
44684
44685fi
44686done
44687
44688  else
44689
44690  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44691$as_echo_n "checking for _sincosf declaration... " >&6; }
44692  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44693    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44694  $as_echo_n "(cached) " >&6
44695else
44696
44697
44698      ac_ext=cpp
44699ac_cpp='$CXXCPP $CPPFLAGS'
44700ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44701ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44702ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44703
44704      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44705/* end confdefs.h.  */
44706#include <math.h>
44707int
44708main ()
44709{
44710 _sincosf(0, 0, 0);
44711  ;
44712  return 0;
44713}
44714_ACEOF
44715if ac_fn_cxx_try_compile "$LINENO"; then :
44716  glibcxx_cv_func__sincosf_use=yes
44717else
44718  glibcxx_cv_func__sincosf_use=no
44719fi
44720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44721      ac_ext=c
44722ac_cpp='$CPP $CPPFLAGS'
44723ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44724ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44725ac_compiler_gnu=$ac_cv_c_compiler_gnu
44726
44727
44728fi
44729
44730  fi
44731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44732$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44733
44734    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44735      for ac_func in _sincosf
44736do :
44737  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44738if test "x$ac_cv_func__sincosf" = x""yes; then :
44739  cat >>confdefs.h <<_ACEOF
44740#define HAVE__SINCOSF 1
44741_ACEOF
44742
44743fi
44744done
44745
44746    fi
44747  fi
44748
44749
44750
44751
44752
44753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44754$as_echo_n "checking for finitef declaration... " >&6; }
44755  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44756    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44757  $as_echo_n "(cached) " >&6
44758else
44759
44760
44761      ac_ext=cpp
44762ac_cpp='$CXXCPP $CPPFLAGS'
44763ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44764ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44765ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44766
44767      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44768/* end confdefs.h.  */
44769#include <math.h>
44770		      #ifdef HAVE_IEEEFP_H
44771		      #include <ieeefp.h>
44772		      #endif
44773
44774int
44775main ()
44776{
44777 finitef(0);
44778  ;
44779  return 0;
44780}
44781_ACEOF
44782if ac_fn_cxx_try_compile "$LINENO"; then :
44783  glibcxx_cv_func_finitef_use=yes
44784else
44785  glibcxx_cv_func_finitef_use=no
44786fi
44787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44788      ac_ext=c
44789ac_cpp='$CPP $CPPFLAGS'
44790ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44791ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44792ac_compiler_gnu=$ac_cv_c_compiler_gnu
44793
44794
44795fi
44796
44797  fi
44798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44799$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44800
44801  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44802    for ac_func in finitef
44803do :
44804  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44805if test "x$ac_cv_func_finitef" = x""yes; then :
44806  cat >>confdefs.h <<_ACEOF
44807#define HAVE_FINITEF 1
44808_ACEOF
44809
44810fi
44811done
44812
44813  else
44814
44815  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44816$as_echo_n "checking for _finitef declaration... " >&6; }
44817  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44818    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44819  $as_echo_n "(cached) " >&6
44820else
44821
44822
44823      ac_ext=cpp
44824ac_cpp='$CXXCPP $CPPFLAGS'
44825ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44826ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44827ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44828
44829      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44830/* end confdefs.h.  */
44831#include <math.h>
44832		      #ifdef HAVE_IEEEFP_H
44833		      #include <ieeefp.h>
44834		      #endif
44835
44836int
44837main ()
44838{
44839 _finitef(0);
44840  ;
44841  return 0;
44842}
44843_ACEOF
44844if ac_fn_cxx_try_compile "$LINENO"; then :
44845  glibcxx_cv_func__finitef_use=yes
44846else
44847  glibcxx_cv_func__finitef_use=no
44848fi
44849rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44850      ac_ext=c
44851ac_cpp='$CPP $CPPFLAGS'
44852ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44853ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44854ac_compiler_gnu=$ac_cv_c_compiler_gnu
44855
44856
44857fi
44858
44859  fi
44860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44861$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44862
44863    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44864      for ac_func in _finitef
44865do :
44866  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44867if test "x$ac_cv_func__finitef" = x""yes; then :
44868  cat >>confdefs.h <<_ACEOF
44869#define HAVE__FINITEF 1
44870_ACEOF
44871
44872fi
44873done
44874
44875    fi
44876  fi
44877
44878
44879
44880
44881
44882    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44883$as_echo_n "checking for long double trig functions... " >&6; }
44884  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44885  $as_echo_n "(cached) " >&6
44886else
44887
44888
44889    ac_ext=cpp
44890ac_cpp='$CXXCPP $CPPFLAGS'
44891ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44892ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44893ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44894
44895    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44896/* end confdefs.h.  */
44897#include <math.h>
44898int
44899main ()
44900{
44901acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44902  ;
44903  return 0;
44904}
44905_ACEOF
44906if ac_fn_cxx_try_compile "$LINENO"; then :
44907  glibcxx_cv_func_long_double_trig_use=yes
44908else
44909  glibcxx_cv_func_long_double_trig_use=no
44910fi
44911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44912    ac_ext=c
44913ac_cpp='$CPP $CPPFLAGS'
44914ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44915ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44916ac_compiler_gnu=$ac_cv_c_compiler_gnu
44917
44918fi
44919
44920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44921$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44922  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44923    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44924do :
44925  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44926ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44927eval as_val=\$$as_ac_var
44928   if test "x$as_val" = x""yes; then :
44929  cat >>confdefs.h <<_ACEOF
44930#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44931_ACEOF
44932
44933fi
44934done
44935
44936  else
44937    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44938$as_echo_n "checking for _long double trig functions... " >&6; }
44939    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44940  $as_echo_n "(cached) " >&6
44941else
44942
44943
44944      ac_ext=cpp
44945ac_cpp='$CXXCPP $CPPFLAGS'
44946ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44947ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44948ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44949
44950      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44951/* end confdefs.h.  */
44952#include <math.h>
44953int
44954main ()
44955{
44956_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44957  ;
44958  return 0;
44959}
44960_ACEOF
44961if ac_fn_cxx_try_compile "$LINENO"; then :
44962  glibcxx_cv_func__long_double_trig_use=yes
44963else
44964  glibcxx_cv_func__long_double_trig_use=no
44965fi
44966rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44967      ac_ext=c
44968ac_cpp='$CPP $CPPFLAGS'
44969ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44970ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44971ac_compiler_gnu=$ac_cv_c_compiler_gnu
44972
44973fi
44974
44975    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44976$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44977    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44978      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44979do :
44980  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44981ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44982eval as_val=\$$as_ac_var
44983   if test "x$as_val" = x""yes; then :
44984  cat >>confdefs.h <<_ACEOF
44985#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44986_ACEOF
44987
44988fi
44989done
44990
44991    fi
44992  fi
44993
44994
44995
44996
44997
44998    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44999$as_echo_n "checking for long double round functions... " >&6; }
45000  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
45001  $as_echo_n "(cached) " >&6
45002else
45003
45004
45005    ac_ext=cpp
45006ac_cpp='$CXXCPP $CPPFLAGS'
45007ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45008ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45009ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45010
45011    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45012/* end confdefs.h.  */
45013#include <math.h>
45014int
45015main ()
45016{
45017ceill (0); floorl (0);
45018  ;
45019  return 0;
45020}
45021_ACEOF
45022if ac_fn_cxx_try_compile "$LINENO"; then :
45023  glibcxx_cv_func_long_double_round_use=yes
45024else
45025  glibcxx_cv_func_long_double_round_use=no
45026fi
45027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45028    ac_ext=c
45029ac_cpp='$CPP $CPPFLAGS'
45030ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45031ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45032ac_compiler_gnu=$ac_cv_c_compiler_gnu
45033
45034fi
45035
45036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
45037$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
45038  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
45039    for ac_func in ceill floorl
45040do :
45041  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45042ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45043eval as_val=\$$as_ac_var
45044   if test "x$as_val" = x""yes; then :
45045  cat >>confdefs.h <<_ACEOF
45046#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45047_ACEOF
45048
45049fi
45050done
45051
45052  else
45053    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
45054$as_echo_n "checking for _long double round functions... " >&6; }
45055    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
45056  $as_echo_n "(cached) " >&6
45057else
45058
45059
45060      ac_ext=cpp
45061ac_cpp='$CXXCPP $CPPFLAGS'
45062ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45063ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45064ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45065
45066      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45067/* end confdefs.h.  */
45068#include <math.h>
45069int
45070main ()
45071{
45072_ceill (0); _floorl (0);
45073  ;
45074  return 0;
45075}
45076_ACEOF
45077if ac_fn_cxx_try_compile "$LINENO"; then :
45078  glibcxx_cv_func__long_double_round_use=yes
45079else
45080  glibcxx_cv_func__long_double_round_use=no
45081fi
45082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45083      ac_ext=c
45084ac_cpp='$CPP $CPPFLAGS'
45085ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45086ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45087ac_compiler_gnu=$ac_cv_c_compiler_gnu
45088
45089fi
45090
45091    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
45092$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
45093    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
45094      for ac_func in _ceill _floorl
45095do :
45096  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45097ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45098eval as_val=\$$as_ac_var
45099   if test "x$as_val" = x""yes; then :
45100  cat >>confdefs.h <<_ACEOF
45101#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45102_ACEOF
45103
45104fi
45105done
45106
45107    fi
45108  fi
45109
45110
45111
45112
45113
45114
45115  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45116$as_echo_n "checking for isnanl declaration... " >&6; }
45117  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45118    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
45119  $as_echo_n "(cached) " >&6
45120else
45121
45122
45123      ac_ext=cpp
45124ac_cpp='$CXXCPP $CPPFLAGS'
45125ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45126ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45127ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45128
45129      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45130/* end confdefs.h.  */
45131#include <math.h>
45132		      #ifdef HAVE_IEEEFP_H
45133		      #include <ieeefp.h>
45134		      #endif
45135
45136int
45137main ()
45138{
45139 isnanl(0);
45140  ;
45141  return 0;
45142}
45143_ACEOF
45144if ac_fn_cxx_try_compile "$LINENO"; then :
45145  glibcxx_cv_func_isnanl_use=yes
45146else
45147  glibcxx_cv_func_isnanl_use=no
45148fi
45149rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45150      ac_ext=c
45151ac_cpp='$CPP $CPPFLAGS'
45152ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45153ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45154ac_compiler_gnu=$ac_cv_c_compiler_gnu
45155
45156
45157fi
45158
45159  fi
45160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45161$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45162
45163  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45164    for ac_func in isnanl
45165do :
45166  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45167if test "x$ac_cv_func_isnanl" = x""yes; then :
45168  cat >>confdefs.h <<_ACEOF
45169#define HAVE_ISNANL 1
45170_ACEOF
45171
45172fi
45173done
45174
45175  else
45176
45177  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45178$as_echo_n "checking for _isnanl declaration... " >&6; }
45179  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45180    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
45181  $as_echo_n "(cached) " >&6
45182else
45183
45184
45185      ac_ext=cpp
45186ac_cpp='$CXXCPP $CPPFLAGS'
45187ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45188ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45189ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45190
45191      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45192/* end confdefs.h.  */
45193#include <math.h>
45194		      #ifdef HAVE_IEEEFP_H
45195		      #include <ieeefp.h>
45196		      #endif
45197
45198int
45199main ()
45200{
45201 _isnanl(0);
45202  ;
45203  return 0;
45204}
45205_ACEOF
45206if ac_fn_cxx_try_compile "$LINENO"; then :
45207  glibcxx_cv_func__isnanl_use=yes
45208else
45209  glibcxx_cv_func__isnanl_use=no
45210fi
45211rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45212      ac_ext=c
45213ac_cpp='$CPP $CPPFLAGS'
45214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45216ac_compiler_gnu=$ac_cv_c_compiler_gnu
45217
45218
45219fi
45220
45221  fi
45222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45223$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45224
45225    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45226      for ac_func in _isnanl
45227do :
45228  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45229if test "x$ac_cv_func__isnanl" = x""yes; then :
45230  cat >>confdefs.h <<_ACEOF
45231#define HAVE__ISNANL 1
45232_ACEOF
45233
45234fi
45235done
45236
45237    fi
45238  fi
45239
45240
45241
45242
45243
45244  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45245$as_echo_n "checking for isinfl declaration... " >&6; }
45246  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45247    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
45248  $as_echo_n "(cached) " >&6
45249else
45250
45251
45252      ac_ext=cpp
45253ac_cpp='$CXXCPP $CPPFLAGS'
45254ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45255ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45256ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45257
45258      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45259/* end confdefs.h.  */
45260#include <math.h>
45261		      #ifdef HAVE_IEEEFP_H
45262		      #include <ieeefp.h>
45263		      #endif
45264
45265int
45266main ()
45267{
45268 isinfl(0);
45269  ;
45270  return 0;
45271}
45272_ACEOF
45273if ac_fn_cxx_try_compile "$LINENO"; then :
45274  glibcxx_cv_func_isinfl_use=yes
45275else
45276  glibcxx_cv_func_isinfl_use=no
45277fi
45278rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45279      ac_ext=c
45280ac_cpp='$CPP $CPPFLAGS'
45281ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45282ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45283ac_compiler_gnu=$ac_cv_c_compiler_gnu
45284
45285
45286fi
45287
45288  fi
45289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45290$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45291
45292  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45293    for ac_func in isinfl
45294do :
45295  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45296if test "x$ac_cv_func_isinfl" = x""yes; then :
45297  cat >>confdefs.h <<_ACEOF
45298#define HAVE_ISINFL 1
45299_ACEOF
45300
45301fi
45302done
45303
45304  else
45305
45306  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45307$as_echo_n "checking for _isinfl declaration... " >&6; }
45308  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45309    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
45310  $as_echo_n "(cached) " >&6
45311else
45312
45313
45314      ac_ext=cpp
45315ac_cpp='$CXXCPP $CPPFLAGS'
45316ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45317ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45318ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45319
45320      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45321/* end confdefs.h.  */
45322#include <math.h>
45323		      #ifdef HAVE_IEEEFP_H
45324		      #include <ieeefp.h>
45325		      #endif
45326
45327int
45328main ()
45329{
45330 _isinfl(0);
45331  ;
45332  return 0;
45333}
45334_ACEOF
45335if ac_fn_cxx_try_compile "$LINENO"; then :
45336  glibcxx_cv_func__isinfl_use=yes
45337else
45338  glibcxx_cv_func__isinfl_use=no
45339fi
45340rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45341      ac_ext=c
45342ac_cpp='$CPP $CPPFLAGS'
45343ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45344ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45345ac_compiler_gnu=$ac_cv_c_compiler_gnu
45346
45347
45348fi
45349
45350  fi
45351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45352$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45353
45354    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45355      for ac_func in _isinfl
45356do :
45357  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45358if test "x$ac_cv_func__isinfl" = x""yes; then :
45359  cat >>confdefs.h <<_ACEOF
45360#define HAVE__ISINFL 1
45361_ACEOF
45362
45363fi
45364done
45365
45366    fi
45367  fi
45368
45369
45370
45371
45372
45373  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45374$as_echo_n "checking for atan2l declaration... " >&6; }
45375  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45376    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
45377  $as_echo_n "(cached) " >&6
45378else
45379
45380
45381      ac_ext=cpp
45382ac_cpp='$CXXCPP $CPPFLAGS'
45383ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45384ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45385ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45386
45387      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45388/* end confdefs.h.  */
45389#include <math.h>
45390int
45391main ()
45392{
45393 atan2l(0, 0);
45394  ;
45395  return 0;
45396}
45397_ACEOF
45398if ac_fn_cxx_try_compile "$LINENO"; then :
45399  glibcxx_cv_func_atan2l_use=yes
45400else
45401  glibcxx_cv_func_atan2l_use=no
45402fi
45403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45404      ac_ext=c
45405ac_cpp='$CPP $CPPFLAGS'
45406ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45407ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45408ac_compiler_gnu=$ac_cv_c_compiler_gnu
45409
45410
45411fi
45412
45413  fi
45414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45415$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45416
45417  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45418    for ac_func in atan2l
45419do :
45420  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45421if test "x$ac_cv_func_atan2l" = x""yes; then :
45422  cat >>confdefs.h <<_ACEOF
45423#define HAVE_ATAN2L 1
45424_ACEOF
45425
45426fi
45427done
45428
45429  else
45430
45431  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45432$as_echo_n "checking for _atan2l declaration... " >&6; }
45433  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45434    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45435  $as_echo_n "(cached) " >&6
45436else
45437
45438
45439      ac_ext=cpp
45440ac_cpp='$CXXCPP $CPPFLAGS'
45441ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45442ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45443ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45444
45445      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45446/* end confdefs.h.  */
45447#include <math.h>
45448int
45449main ()
45450{
45451 _atan2l(0, 0);
45452  ;
45453  return 0;
45454}
45455_ACEOF
45456if ac_fn_cxx_try_compile "$LINENO"; then :
45457  glibcxx_cv_func__atan2l_use=yes
45458else
45459  glibcxx_cv_func__atan2l_use=no
45460fi
45461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45462      ac_ext=c
45463ac_cpp='$CPP $CPPFLAGS'
45464ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45465ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45466ac_compiler_gnu=$ac_cv_c_compiler_gnu
45467
45468
45469fi
45470
45471  fi
45472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45473$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45474
45475    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45476      for ac_func in _atan2l
45477do :
45478  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45479if test "x$ac_cv_func__atan2l" = x""yes; then :
45480  cat >>confdefs.h <<_ACEOF
45481#define HAVE__ATAN2L 1
45482_ACEOF
45483
45484fi
45485done
45486
45487    fi
45488  fi
45489
45490
45491
45492
45493
45494  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45495$as_echo_n "checking for expl declaration... " >&6; }
45496  if test x${glibcxx_cv_func_expl_use+set} != xset; then
45497    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45498  $as_echo_n "(cached) " >&6
45499else
45500
45501
45502      ac_ext=cpp
45503ac_cpp='$CXXCPP $CPPFLAGS'
45504ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45505ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45506ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45507
45508      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45509/* end confdefs.h.  */
45510#include <math.h>
45511		      #ifdef HAVE_IEEEFP_H
45512		      #include <ieeefp.h>
45513		      #endif
45514
45515int
45516main ()
45517{
45518 expl(0);
45519  ;
45520  return 0;
45521}
45522_ACEOF
45523if ac_fn_cxx_try_compile "$LINENO"; then :
45524  glibcxx_cv_func_expl_use=yes
45525else
45526  glibcxx_cv_func_expl_use=no
45527fi
45528rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45529      ac_ext=c
45530ac_cpp='$CPP $CPPFLAGS'
45531ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45532ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45533ac_compiler_gnu=$ac_cv_c_compiler_gnu
45534
45535
45536fi
45537
45538  fi
45539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45540$as_echo "$glibcxx_cv_func_expl_use" >&6; }
45541
45542  if test x$glibcxx_cv_func_expl_use = x"yes"; then
45543    for ac_func in expl
45544do :
45545  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45546if test "x$ac_cv_func_expl" = x""yes; then :
45547  cat >>confdefs.h <<_ACEOF
45548#define HAVE_EXPL 1
45549_ACEOF
45550
45551fi
45552done
45553
45554  else
45555
45556  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45557$as_echo_n "checking for _expl declaration... " >&6; }
45558  if test x${glibcxx_cv_func__expl_use+set} != xset; then
45559    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45560  $as_echo_n "(cached) " >&6
45561else
45562
45563
45564      ac_ext=cpp
45565ac_cpp='$CXXCPP $CPPFLAGS'
45566ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45567ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45568ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45569
45570      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45571/* end confdefs.h.  */
45572#include <math.h>
45573		      #ifdef HAVE_IEEEFP_H
45574		      #include <ieeefp.h>
45575		      #endif
45576
45577int
45578main ()
45579{
45580 _expl(0);
45581  ;
45582  return 0;
45583}
45584_ACEOF
45585if ac_fn_cxx_try_compile "$LINENO"; then :
45586  glibcxx_cv_func__expl_use=yes
45587else
45588  glibcxx_cv_func__expl_use=no
45589fi
45590rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45591      ac_ext=c
45592ac_cpp='$CPP $CPPFLAGS'
45593ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45594ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45595ac_compiler_gnu=$ac_cv_c_compiler_gnu
45596
45597
45598fi
45599
45600  fi
45601  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45602$as_echo "$glibcxx_cv_func__expl_use" >&6; }
45603
45604    if test x$glibcxx_cv_func__expl_use = x"yes"; then
45605      for ac_func in _expl
45606do :
45607  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45608if test "x$ac_cv_func__expl" = x""yes; then :
45609  cat >>confdefs.h <<_ACEOF
45610#define HAVE__EXPL 1
45611_ACEOF
45612
45613fi
45614done
45615
45616    fi
45617  fi
45618
45619
45620
45621
45622
45623  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45624$as_echo_n "checking for fabsl declaration... " >&6; }
45625  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45626    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45627  $as_echo_n "(cached) " >&6
45628else
45629
45630
45631      ac_ext=cpp
45632ac_cpp='$CXXCPP $CPPFLAGS'
45633ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45634ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45635ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45636
45637      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45638/* end confdefs.h.  */
45639#include <math.h>
45640		      #ifdef HAVE_IEEEFP_H
45641		      #include <ieeefp.h>
45642		      #endif
45643
45644int
45645main ()
45646{
45647 fabsl(0);
45648  ;
45649  return 0;
45650}
45651_ACEOF
45652if ac_fn_cxx_try_compile "$LINENO"; then :
45653  glibcxx_cv_func_fabsl_use=yes
45654else
45655  glibcxx_cv_func_fabsl_use=no
45656fi
45657rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45658      ac_ext=c
45659ac_cpp='$CPP $CPPFLAGS'
45660ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45661ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45662ac_compiler_gnu=$ac_cv_c_compiler_gnu
45663
45664
45665fi
45666
45667  fi
45668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45669$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45670
45671  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45672    for ac_func in fabsl
45673do :
45674  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45675if test "x$ac_cv_func_fabsl" = x""yes; then :
45676  cat >>confdefs.h <<_ACEOF
45677#define HAVE_FABSL 1
45678_ACEOF
45679
45680fi
45681done
45682
45683  else
45684
45685  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45686$as_echo_n "checking for _fabsl declaration... " >&6; }
45687  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45688    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45689  $as_echo_n "(cached) " >&6
45690else
45691
45692
45693      ac_ext=cpp
45694ac_cpp='$CXXCPP $CPPFLAGS'
45695ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45696ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45697ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45698
45699      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45700/* end confdefs.h.  */
45701#include <math.h>
45702		      #ifdef HAVE_IEEEFP_H
45703		      #include <ieeefp.h>
45704		      #endif
45705
45706int
45707main ()
45708{
45709 _fabsl(0);
45710  ;
45711  return 0;
45712}
45713_ACEOF
45714if ac_fn_cxx_try_compile "$LINENO"; then :
45715  glibcxx_cv_func__fabsl_use=yes
45716else
45717  glibcxx_cv_func__fabsl_use=no
45718fi
45719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45720      ac_ext=c
45721ac_cpp='$CPP $CPPFLAGS'
45722ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45723ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45724ac_compiler_gnu=$ac_cv_c_compiler_gnu
45725
45726
45727fi
45728
45729  fi
45730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45731$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45732
45733    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45734      for ac_func in _fabsl
45735do :
45736  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45737if test "x$ac_cv_func__fabsl" = x""yes; then :
45738  cat >>confdefs.h <<_ACEOF
45739#define HAVE__FABSL 1
45740_ACEOF
45741
45742fi
45743done
45744
45745    fi
45746  fi
45747
45748
45749
45750
45751
45752  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45753$as_echo_n "checking for fmodl declaration... " >&6; }
45754  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45755    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45756  $as_echo_n "(cached) " >&6
45757else
45758
45759
45760      ac_ext=cpp
45761ac_cpp='$CXXCPP $CPPFLAGS'
45762ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45763ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45764ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45765
45766      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45767/* end confdefs.h.  */
45768#include <math.h>
45769int
45770main ()
45771{
45772 fmodl(0, 0);
45773  ;
45774  return 0;
45775}
45776_ACEOF
45777if ac_fn_cxx_try_compile "$LINENO"; then :
45778  glibcxx_cv_func_fmodl_use=yes
45779else
45780  glibcxx_cv_func_fmodl_use=no
45781fi
45782rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45783      ac_ext=c
45784ac_cpp='$CPP $CPPFLAGS'
45785ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45786ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45787ac_compiler_gnu=$ac_cv_c_compiler_gnu
45788
45789
45790fi
45791
45792  fi
45793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45794$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45795
45796  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45797    for ac_func in fmodl
45798do :
45799  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45800if test "x$ac_cv_func_fmodl" = x""yes; then :
45801  cat >>confdefs.h <<_ACEOF
45802#define HAVE_FMODL 1
45803_ACEOF
45804
45805fi
45806done
45807
45808  else
45809
45810  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45811$as_echo_n "checking for _fmodl declaration... " >&6; }
45812  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45813    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45814  $as_echo_n "(cached) " >&6
45815else
45816
45817
45818      ac_ext=cpp
45819ac_cpp='$CXXCPP $CPPFLAGS'
45820ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45821ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45822ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45823
45824      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45825/* end confdefs.h.  */
45826#include <math.h>
45827int
45828main ()
45829{
45830 _fmodl(0, 0);
45831  ;
45832  return 0;
45833}
45834_ACEOF
45835if ac_fn_cxx_try_compile "$LINENO"; then :
45836  glibcxx_cv_func__fmodl_use=yes
45837else
45838  glibcxx_cv_func__fmodl_use=no
45839fi
45840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45841      ac_ext=c
45842ac_cpp='$CPP $CPPFLAGS'
45843ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45844ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45845ac_compiler_gnu=$ac_cv_c_compiler_gnu
45846
45847
45848fi
45849
45850  fi
45851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45852$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45853
45854    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45855      for ac_func in _fmodl
45856do :
45857  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45858if test "x$ac_cv_func__fmodl" = x""yes; then :
45859  cat >>confdefs.h <<_ACEOF
45860#define HAVE__FMODL 1
45861_ACEOF
45862
45863fi
45864done
45865
45866    fi
45867  fi
45868
45869
45870
45871
45872
45873  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45874$as_echo_n "checking for frexpl declaration... " >&6; }
45875  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45876    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45877  $as_echo_n "(cached) " >&6
45878else
45879
45880
45881      ac_ext=cpp
45882ac_cpp='$CXXCPP $CPPFLAGS'
45883ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45884ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45885ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45886
45887      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45888/* end confdefs.h.  */
45889#include <math.h>
45890int
45891main ()
45892{
45893 frexpl(0, 0);
45894  ;
45895  return 0;
45896}
45897_ACEOF
45898if ac_fn_cxx_try_compile "$LINENO"; then :
45899  glibcxx_cv_func_frexpl_use=yes
45900else
45901  glibcxx_cv_func_frexpl_use=no
45902fi
45903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45904      ac_ext=c
45905ac_cpp='$CPP $CPPFLAGS'
45906ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45907ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45908ac_compiler_gnu=$ac_cv_c_compiler_gnu
45909
45910
45911fi
45912
45913  fi
45914  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45915$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45916
45917  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45918    for ac_func in frexpl
45919do :
45920  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45921if test "x$ac_cv_func_frexpl" = x""yes; then :
45922  cat >>confdefs.h <<_ACEOF
45923#define HAVE_FREXPL 1
45924_ACEOF
45925
45926fi
45927done
45928
45929  else
45930
45931  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45932$as_echo_n "checking for _frexpl declaration... " >&6; }
45933  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45934    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45935  $as_echo_n "(cached) " >&6
45936else
45937
45938
45939      ac_ext=cpp
45940ac_cpp='$CXXCPP $CPPFLAGS'
45941ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45942ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45943ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45944
45945      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45946/* end confdefs.h.  */
45947#include <math.h>
45948int
45949main ()
45950{
45951 _frexpl(0, 0);
45952  ;
45953  return 0;
45954}
45955_ACEOF
45956if ac_fn_cxx_try_compile "$LINENO"; then :
45957  glibcxx_cv_func__frexpl_use=yes
45958else
45959  glibcxx_cv_func__frexpl_use=no
45960fi
45961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45962      ac_ext=c
45963ac_cpp='$CPP $CPPFLAGS'
45964ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45965ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45966ac_compiler_gnu=$ac_cv_c_compiler_gnu
45967
45968
45969fi
45970
45971  fi
45972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45973$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45974
45975    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45976      for ac_func in _frexpl
45977do :
45978  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45979if test "x$ac_cv_func__frexpl" = x""yes; then :
45980  cat >>confdefs.h <<_ACEOF
45981#define HAVE__FREXPL 1
45982_ACEOF
45983
45984fi
45985done
45986
45987    fi
45988  fi
45989
45990
45991
45992
45993
45994  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45995$as_echo_n "checking for hypotl declaration... " >&6; }
45996  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45997    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45998  $as_echo_n "(cached) " >&6
45999else
46000
46001
46002      ac_ext=cpp
46003ac_cpp='$CXXCPP $CPPFLAGS'
46004ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46005ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46006ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46007
46008      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46009/* end confdefs.h.  */
46010#include <math.h>
46011int
46012main ()
46013{
46014 hypotl(0, 0);
46015  ;
46016  return 0;
46017}
46018_ACEOF
46019if ac_fn_cxx_try_compile "$LINENO"; then :
46020  glibcxx_cv_func_hypotl_use=yes
46021else
46022  glibcxx_cv_func_hypotl_use=no
46023fi
46024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46025      ac_ext=c
46026ac_cpp='$CPP $CPPFLAGS'
46027ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46028ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46029ac_compiler_gnu=$ac_cv_c_compiler_gnu
46030
46031
46032fi
46033
46034  fi
46035  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
46036$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
46037
46038  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46039    for ac_func in hypotl
46040do :
46041  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
46042if test "x$ac_cv_func_hypotl" = x""yes; then :
46043  cat >>confdefs.h <<_ACEOF
46044#define HAVE_HYPOTL 1
46045_ACEOF
46046
46047fi
46048done
46049
46050  else
46051
46052  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
46053$as_echo_n "checking for _hypotl declaration... " >&6; }
46054  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46055    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
46056  $as_echo_n "(cached) " >&6
46057else
46058
46059
46060      ac_ext=cpp
46061ac_cpp='$CXXCPP $CPPFLAGS'
46062ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46063ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46064ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46065
46066      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46067/* end confdefs.h.  */
46068#include <math.h>
46069int
46070main ()
46071{
46072 _hypotl(0, 0);
46073  ;
46074  return 0;
46075}
46076_ACEOF
46077if ac_fn_cxx_try_compile "$LINENO"; then :
46078  glibcxx_cv_func__hypotl_use=yes
46079else
46080  glibcxx_cv_func__hypotl_use=no
46081fi
46082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46083      ac_ext=c
46084ac_cpp='$CPP $CPPFLAGS'
46085ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46086ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46087ac_compiler_gnu=$ac_cv_c_compiler_gnu
46088
46089
46090fi
46091
46092  fi
46093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
46094$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
46095
46096    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46097      for ac_func in _hypotl
46098do :
46099  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
46100if test "x$ac_cv_func__hypotl" = x""yes; then :
46101  cat >>confdefs.h <<_ACEOF
46102#define HAVE__HYPOTL 1
46103_ACEOF
46104
46105fi
46106done
46107
46108    fi
46109  fi
46110
46111
46112
46113
46114
46115  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46116$as_echo_n "checking for ldexpl declaration... " >&6; }
46117  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46118    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
46119  $as_echo_n "(cached) " >&6
46120else
46121
46122
46123      ac_ext=cpp
46124ac_cpp='$CXXCPP $CPPFLAGS'
46125ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46126ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46127ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46128
46129      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46130/* end confdefs.h.  */
46131#include <math.h>
46132int
46133main ()
46134{
46135 ldexpl(0, 0);
46136  ;
46137  return 0;
46138}
46139_ACEOF
46140if ac_fn_cxx_try_compile "$LINENO"; then :
46141  glibcxx_cv_func_ldexpl_use=yes
46142else
46143  glibcxx_cv_func_ldexpl_use=no
46144fi
46145rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46146      ac_ext=c
46147ac_cpp='$CPP $CPPFLAGS'
46148ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46149ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46150ac_compiler_gnu=$ac_cv_c_compiler_gnu
46151
46152
46153fi
46154
46155  fi
46156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46157$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46158
46159  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46160    for ac_func in ldexpl
46161do :
46162  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46163if test "x$ac_cv_func_ldexpl" = x""yes; then :
46164  cat >>confdefs.h <<_ACEOF
46165#define HAVE_LDEXPL 1
46166_ACEOF
46167
46168fi
46169done
46170
46171  else
46172
46173  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46174$as_echo_n "checking for _ldexpl declaration... " >&6; }
46175  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46176    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
46177  $as_echo_n "(cached) " >&6
46178else
46179
46180
46181      ac_ext=cpp
46182ac_cpp='$CXXCPP $CPPFLAGS'
46183ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46184ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46185ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46186
46187      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46188/* end confdefs.h.  */
46189#include <math.h>
46190int
46191main ()
46192{
46193 _ldexpl(0, 0);
46194  ;
46195  return 0;
46196}
46197_ACEOF
46198if ac_fn_cxx_try_compile "$LINENO"; then :
46199  glibcxx_cv_func__ldexpl_use=yes
46200else
46201  glibcxx_cv_func__ldexpl_use=no
46202fi
46203rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46204      ac_ext=c
46205ac_cpp='$CPP $CPPFLAGS'
46206ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46207ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46208ac_compiler_gnu=$ac_cv_c_compiler_gnu
46209
46210
46211fi
46212
46213  fi
46214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46215$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46216
46217    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46218      for ac_func in _ldexpl
46219do :
46220  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46221if test "x$ac_cv_func__ldexpl" = x""yes; then :
46222  cat >>confdefs.h <<_ACEOF
46223#define HAVE__LDEXPL 1
46224_ACEOF
46225
46226fi
46227done
46228
46229    fi
46230  fi
46231
46232
46233
46234
46235
46236  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46237$as_echo_n "checking for logl declaration... " >&6; }
46238  if test x${glibcxx_cv_func_logl_use+set} != xset; then
46239    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
46240  $as_echo_n "(cached) " >&6
46241else
46242
46243
46244      ac_ext=cpp
46245ac_cpp='$CXXCPP $CPPFLAGS'
46246ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46247ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46248ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46249
46250      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46251/* end confdefs.h.  */
46252#include <math.h>
46253		      #ifdef HAVE_IEEEFP_H
46254		      #include <ieeefp.h>
46255		      #endif
46256
46257int
46258main ()
46259{
46260 logl(0);
46261  ;
46262  return 0;
46263}
46264_ACEOF
46265if ac_fn_cxx_try_compile "$LINENO"; then :
46266  glibcxx_cv_func_logl_use=yes
46267else
46268  glibcxx_cv_func_logl_use=no
46269fi
46270rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46271      ac_ext=c
46272ac_cpp='$CPP $CPPFLAGS'
46273ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46274ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46275ac_compiler_gnu=$ac_cv_c_compiler_gnu
46276
46277
46278fi
46279
46280  fi
46281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46282$as_echo "$glibcxx_cv_func_logl_use" >&6; }
46283
46284  if test x$glibcxx_cv_func_logl_use = x"yes"; then
46285    for ac_func in logl
46286do :
46287  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46288if test "x$ac_cv_func_logl" = x""yes; then :
46289  cat >>confdefs.h <<_ACEOF
46290#define HAVE_LOGL 1
46291_ACEOF
46292
46293fi
46294done
46295
46296  else
46297
46298  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46299$as_echo_n "checking for _logl declaration... " >&6; }
46300  if test x${glibcxx_cv_func__logl_use+set} != xset; then
46301    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
46302  $as_echo_n "(cached) " >&6
46303else
46304
46305
46306      ac_ext=cpp
46307ac_cpp='$CXXCPP $CPPFLAGS'
46308ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46309ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46310ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46311
46312      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46313/* end confdefs.h.  */
46314#include <math.h>
46315		      #ifdef HAVE_IEEEFP_H
46316		      #include <ieeefp.h>
46317		      #endif
46318
46319int
46320main ()
46321{
46322 _logl(0);
46323  ;
46324  return 0;
46325}
46326_ACEOF
46327if ac_fn_cxx_try_compile "$LINENO"; then :
46328  glibcxx_cv_func__logl_use=yes
46329else
46330  glibcxx_cv_func__logl_use=no
46331fi
46332rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46333      ac_ext=c
46334ac_cpp='$CPP $CPPFLAGS'
46335ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46336ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46337ac_compiler_gnu=$ac_cv_c_compiler_gnu
46338
46339
46340fi
46341
46342  fi
46343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46344$as_echo "$glibcxx_cv_func__logl_use" >&6; }
46345
46346    if test x$glibcxx_cv_func__logl_use = x"yes"; then
46347      for ac_func in _logl
46348do :
46349  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46350if test "x$ac_cv_func__logl" = x""yes; then :
46351  cat >>confdefs.h <<_ACEOF
46352#define HAVE__LOGL 1
46353_ACEOF
46354
46355fi
46356done
46357
46358    fi
46359  fi
46360
46361
46362
46363
46364
46365  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46366$as_echo_n "checking for log10l declaration... " >&6; }
46367  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46368    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
46369  $as_echo_n "(cached) " >&6
46370else
46371
46372
46373      ac_ext=cpp
46374ac_cpp='$CXXCPP $CPPFLAGS'
46375ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46376ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46377ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46378
46379      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46380/* end confdefs.h.  */
46381#include <math.h>
46382		      #ifdef HAVE_IEEEFP_H
46383		      #include <ieeefp.h>
46384		      #endif
46385
46386int
46387main ()
46388{
46389 log10l(0);
46390  ;
46391  return 0;
46392}
46393_ACEOF
46394if ac_fn_cxx_try_compile "$LINENO"; then :
46395  glibcxx_cv_func_log10l_use=yes
46396else
46397  glibcxx_cv_func_log10l_use=no
46398fi
46399rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46400      ac_ext=c
46401ac_cpp='$CPP $CPPFLAGS'
46402ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46403ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46404ac_compiler_gnu=$ac_cv_c_compiler_gnu
46405
46406
46407fi
46408
46409  fi
46410  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46411$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46412
46413  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46414    for ac_func in log10l
46415do :
46416  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46417if test "x$ac_cv_func_log10l" = x""yes; then :
46418  cat >>confdefs.h <<_ACEOF
46419#define HAVE_LOG10L 1
46420_ACEOF
46421
46422fi
46423done
46424
46425  else
46426
46427  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46428$as_echo_n "checking for _log10l declaration... " >&6; }
46429  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46430    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46431  $as_echo_n "(cached) " >&6
46432else
46433
46434
46435      ac_ext=cpp
46436ac_cpp='$CXXCPP $CPPFLAGS'
46437ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46438ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46439ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46440
46441      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46442/* end confdefs.h.  */
46443#include <math.h>
46444		      #ifdef HAVE_IEEEFP_H
46445		      #include <ieeefp.h>
46446		      #endif
46447
46448int
46449main ()
46450{
46451 _log10l(0);
46452  ;
46453  return 0;
46454}
46455_ACEOF
46456if ac_fn_cxx_try_compile "$LINENO"; then :
46457  glibcxx_cv_func__log10l_use=yes
46458else
46459  glibcxx_cv_func__log10l_use=no
46460fi
46461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46462      ac_ext=c
46463ac_cpp='$CPP $CPPFLAGS'
46464ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46465ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46466ac_compiler_gnu=$ac_cv_c_compiler_gnu
46467
46468
46469fi
46470
46471  fi
46472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46473$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46474
46475    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46476      for ac_func in _log10l
46477do :
46478  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46479if test "x$ac_cv_func__log10l" = x""yes; then :
46480  cat >>confdefs.h <<_ACEOF
46481#define HAVE__LOG10L 1
46482_ACEOF
46483
46484fi
46485done
46486
46487    fi
46488  fi
46489
46490
46491
46492
46493
46494  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46495$as_echo_n "checking for modfl declaration... " >&6; }
46496  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46497    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46498  $as_echo_n "(cached) " >&6
46499else
46500
46501
46502      ac_ext=cpp
46503ac_cpp='$CXXCPP $CPPFLAGS'
46504ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46505ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46506ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46507
46508      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46509/* end confdefs.h.  */
46510#include <math.h>
46511int
46512main ()
46513{
46514 modfl(0, 0);
46515  ;
46516  return 0;
46517}
46518_ACEOF
46519if ac_fn_cxx_try_compile "$LINENO"; then :
46520  glibcxx_cv_func_modfl_use=yes
46521else
46522  glibcxx_cv_func_modfl_use=no
46523fi
46524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46525      ac_ext=c
46526ac_cpp='$CPP $CPPFLAGS'
46527ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46528ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46529ac_compiler_gnu=$ac_cv_c_compiler_gnu
46530
46531
46532fi
46533
46534  fi
46535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46536$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46537
46538  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46539    for ac_func in modfl
46540do :
46541  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46542if test "x$ac_cv_func_modfl" = x""yes; then :
46543  cat >>confdefs.h <<_ACEOF
46544#define HAVE_MODFL 1
46545_ACEOF
46546
46547fi
46548done
46549
46550  else
46551
46552  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46553$as_echo_n "checking for _modfl declaration... " >&6; }
46554  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46555    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46556  $as_echo_n "(cached) " >&6
46557else
46558
46559
46560      ac_ext=cpp
46561ac_cpp='$CXXCPP $CPPFLAGS'
46562ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46563ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46564ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46565
46566      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46567/* end confdefs.h.  */
46568#include <math.h>
46569int
46570main ()
46571{
46572 _modfl(0, 0);
46573  ;
46574  return 0;
46575}
46576_ACEOF
46577if ac_fn_cxx_try_compile "$LINENO"; then :
46578  glibcxx_cv_func__modfl_use=yes
46579else
46580  glibcxx_cv_func__modfl_use=no
46581fi
46582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46583      ac_ext=c
46584ac_cpp='$CPP $CPPFLAGS'
46585ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46586ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46587ac_compiler_gnu=$ac_cv_c_compiler_gnu
46588
46589
46590fi
46591
46592  fi
46593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46594$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46595
46596    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46597      for ac_func in _modfl
46598do :
46599  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46600if test "x$ac_cv_func__modfl" = x""yes; then :
46601  cat >>confdefs.h <<_ACEOF
46602#define HAVE__MODFL 1
46603_ACEOF
46604
46605fi
46606done
46607
46608    fi
46609  fi
46610
46611
46612
46613
46614
46615  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46616$as_echo_n "checking for powl declaration... " >&6; }
46617  if test x${glibcxx_cv_func_powl_use+set} != xset; then
46618    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46619  $as_echo_n "(cached) " >&6
46620else
46621
46622
46623      ac_ext=cpp
46624ac_cpp='$CXXCPP $CPPFLAGS'
46625ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46626ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46627ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46628
46629      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46630/* end confdefs.h.  */
46631#include <math.h>
46632int
46633main ()
46634{
46635 powl(0, 0);
46636  ;
46637  return 0;
46638}
46639_ACEOF
46640if ac_fn_cxx_try_compile "$LINENO"; then :
46641  glibcxx_cv_func_powl_use=yes
46642else
46643  glibcxx_cv_func_powl_use=no
46644fi
46645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46646      ac_ext=c
46647ac_cpp='$CPP $CPPFLAGS'
46648ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46649ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46650ac_compiler_gnu=$ac_cv_c_compiler_gnu
46651
46652
46653fi
46654
46655  fi
46656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46657$as_echo "$glibcxx_cv_func_powl_use" >&6; }
46658
46659  if test x$glibcxx_cv_func_powl_use = x"yes"; then
46660    for ac_func in powl
46661do :
46662  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46663if test "x$ac_cv_func_powl" = x""yes; then :
46664  cat >>confdefs.h <<_ACEOF
46665#define HAVE_POWL 1
46666_ACEOF
46667
46668fi
46669done
46670
46671  else
46672
46673  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46674$as_echo_n "checking for _powl declaration... " >&6; }
46675  if test x${glibcxx_cv_func__powl_use+set} != xset; then
46676    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46677  $as_echo_n "(cached) " >&6
46678else
46679
46680
46681      ac_ext=cpp
46682ac_cpp='$CXXCPP $CPPFLAGS'
46683ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46684ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46685ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46686
46687      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46688/* end confdefs.h.  */
46689#include <math.h>
46690int
46691main ()
46692{
46693 _powl(0, 0);
46694  ;
46695  return 0;
46696}
46697_ACEOF
46698if ac_fn_cxx_try_compile "$LINENO"; then :
46699  glibcxx_cv_func__powl_use=yes
46700else
46701  glibcxx_cv_func__powl_use=no
46702fi
46703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46704      ac_ext=c
46705ac_cpp='$CPP $CPPFLAGS'
46706ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46707ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46708ac_compiler_gnu=$ac_cv_c_compiler_gnu
46709
46710
46711fi
46712
46713  fi
46714  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46715$as_echo "$glibcxx_cv_func__powl_use" >&6; }
46716
46717    if test x$glibcxx_cv_func__powl_use = x"yes"; then
46718      for ac_func in _powl
46719do :
46720  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46721if test "x$ac_cv_func__powl" = x""yes; then :
46722  cat >>confdefs.h <<_ACEOF
46723#define HAVE__POWL 1
46724_ACEOF
46725
46726fi
46727done
46728
46729    fi
46730  fi
46731
46732
46733
46734
46735
46736  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46737$as_echo_n "checking for sqrtl declaration... " >&6; }
46738  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46739    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46740  $as_echo_n "(cached) " >&6
46741else
46742
46743
46744      ac_ext=cpp
46745ac_cpp='$CXXCPP $CPPFLAGS'
46746ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46747ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46748ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46749
46750      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46751/* end confdefs.h.  */
46752#include <math.h>
46753		      #ifdef HAVE_IEEEFP_H
46754		      #include <ieeefp.h>
46755		      #endif
46756
46757int
46758main ()
46759{
46760 sqrtl(0);
46761  ;
46762  return 0;
46763}
46764_ACEOF
46765if ac_fn_cxx_try_compile "$LINENO"; then :
46766  glibcxx_cv_func_sqrtl_use=yes
46767else
46768  glibcxx_cv_func_sqrtl_use=no
46769fi
46770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46771      ac_ext=c
46772ac_cpp='$CPP $CPPFLAGS'
46773ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46774ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46775ac_compiler_gnu=$ac_cv_c_compiler_gnu
46776
46777
46778fi
46779
46780  fi
46781  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46782$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46783
46784  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46785    for ac_func in sqrtl
46786do :
46787  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46788if test "x$ac_cv_func_sqrtl" = x""yes; then :
46789  cat >>confdefs.h <<_ACEOF
46790#define HAVE_SQRTL 1
46791_ACEOF
46792
46793fi
46794done
46795
46796  else
46797
46798  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46799$as_echo_n "checking for _sqrtl declaration... " >&6; }
46800  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46801    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46802  $as_echo_n "(cached) " >&6
46803else
46804
46805
46806      ac_ext=cpp
46807ac_cpp='$CXXCPP $CPPFLAGS'
46808ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46809ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46810ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46811
46812      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46813/* end confdefs.h.  */
46814#include <math.h>
46815		      #ifdef HAVE_IEEEFP_H
46816		      #include <ieeefp.h>
46817		      #endif
46818
46819int
46820main ()
46821{
46822 _sqrtl(0);
46823  ;
46824  return 0;
46825}
46826_ACEOF
46827if ac_fn_cxx_try_compile "$LINENO"; then :
46828  glibcxx_cv_func__sqrtl_use=yes
46829else
46830  glibcxx_cv_func__sqrtl_use=no
46831fi
46832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46833      ac_ext=c
46834ac_cpp='$CPP $CPPFLAGS'
46835ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46836ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46837ac_compiler_gnu=$ac_cv_c_compiler_gnu
46838
46839
46840fi
46841
46842  fi
46843  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46844$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46845
46846    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46847      for ac_func in _sqrtl
46848do :
46849  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46850if test "x$ac_cv_func__sqrtl" = x""yes; then :
46851  cat >>confdefs.h <<_ACEOF
46852#define HAVE__SQRTL 1
46853_ACEOF
46854
46855fi
46856done
46857
46858    fi
46859  fi
46860
46861
46862
46863
46864
46865  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46866$as_echo_n "checking for sincosl declaration... " >&6; }
46867  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46868    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46869  $as_echo_n "(cached) " >&6
46870else
46871
46872
46873      ac_ext=cpp
46874ac_cpp='$CXXCPP $CPPFLAGS'
46875ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46876ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46877ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46878
46879      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46880/* end confdefs.h.  */
46881#include <math.h>
46882int
46883main ()
46884{
46885 sincosl(0, 0, 0);
46886  ;
46887  return 0;
46888}
46889_ACEOF
46890if ac_fn_cxx_try_compile "$LINENO"; then :
46891  glibcxx_cv_func_sincosl_use=yes
46892else
46893  glibcxx_cv_func_sincosl_use=no
46894fi
46895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46896      ac_ext=c
46897ac_cpp='$CPP $CPPFLAGS'
46898ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46899ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46900ac_compiler_gnu=$ac_cv_c_compiler_gnu
46901
46902
46903fi
46904
46905  fi
46906  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46907$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46908
46909  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46910    for ac_func in sincosl
46911do :
46912  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46913if test "x$ac_cv_func_sincosl" = x""yes; then :
46914  cat >>confdefs.h <<_ACEOF
46915#define HAVE_SINCOSL 1
46916_ACEOF
46917
46918fi
46919done
46920
46921  else
46922
46923  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46924$as_echo_n "checking for _sincosl declaration... " >&6; }
46925  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46926    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46927  $as_echo_n "(cached) " >&6
46928else
46929
46930
46931      ac_ext=cpp
46932ac_cpp='$CXXCPP $CPPFLAGS'
46933ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46934ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46935ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46936
46937      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46938/* end confdefs.h.  */
46939#include <math.h>
46940int
46941main ()
46942{
46943 _sincosl(0, 0, 0);
46944  ;
46945  return 0;
46946}
46947_ACEOF
46948if ac_fn_cxx_try_compile "$LINENO"; then :
46949  glibcxx_cv_func__sincosl_use=yes
46950else
46951  glibcxx_cv_func__sincosl_use=no
46952fi
46953rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46954      ac_ext=c
46955ac_cpp='$CPP $CPPFLAGS'
46956ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46957ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46958ac_compiler_gnu=$ac_cv_c_compiler_gnu
46959
46960
46961fi
46962
46963  fi
46964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46965$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46966
46967    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46968      for ac_func in _sincosl
46969do :
46970  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46971if test "x$ac_cv_func__sincosl" = x""yes; then :
46972  cat >>confdefs.h <<_ACEOF
46973#define HAVE__SINCOSL 1
46974_ACEOF
46975
46976fi
46977done
46978
46979    fi
46980  fi
46981
46982
46983
46984
46985
46986  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46987$as_echo_n "checking for finitel declaration... " >&6; }
46988  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46989    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46990  $as_echo_n "(cached) " >&6
46991else
46992
46993
46994      ac_ext=cpp
46995ac_cpp='$CXXCPP $CPPFLAGS'
46996ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46997ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46998ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46999
47000      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47001/* end confdefs.h.  */
47002#include <math.h>
47003		      #ifdef HAVE_IEEEFP_H
47004		      #include <ieeefp.h>
47005		      #endif
47006
47007int
47008main ()
47009{
47010 finitel(0);
47011  ;
47012  return 0;
47013}
47014_ACEOF
47015if ac_fn_cxx_try_compile "$LINENO"; then :
47016  glibcxx_cv_func_finitel_use=yes
47017else
47018  glibcxx_cv_func_finitel_use=no
47019fi
47020rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47021      ac_ext=c
47022ac_cpp='$CPP $CPPFLAGS'
47023ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47024ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47025ac_compiler_gnu=$ac_cv_c_compiler_gnu
47026
47027
47028fi
47029
47030  fi
47031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
47032$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
47033
47034  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47035    for ac_func in finitel
47036do :
47037  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
47038if test "x$ac_cv_func_finitel" = x""yes; then :
47039  cat >>confdefs.h <<_ACEOF
47040#define HAVE_FINITEL 1
47041_ACEOF
47042
47043fi
47044done
47045
47046  else
47047
47048  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
47049$as_echo_n "checking for _finitel declaration... " >&6; }
47050  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47051    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
47052  $as_echo_n "(cached) " >&6
47053else
47054
47055
47056      ac_ext=cpp
47057ac_cpp='$CXXCPP $CPPFLAGS'
47058ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47059ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47060ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47061
47062      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47063/* end confdefs.h.  */
47064#include <math.h>
47065		      #ifdef HAVE_IEEEFP_H
47066		      #include <ieeefp.h>
47067		      #endif
47068
47069int
47070main ()
47071{
47072 _finitel(0);
47073  ;
47074  return 0;
47075}
47076_ACEOF
47077if ac_fn_cxx_try_compile "$LINENO"; then :
47078  glibcxx_cv_func__finitel_use=yes
47079else
47080  glibcxx_cv_func__finitel_use=no
47081fi
47082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47083      ac_ext=c
47084ac_cpp='$CPP $CPPFLAGS'
47085ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47086ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47087ac_compiler_gnu=$ac_cv_c_compiler_gnu
47088
47089
47090fi
47091
47092  fi
47093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
47094$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
47095
47096    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47097      for ac_func in _finitel
47098do :
47099  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
47100if test "x$ac_cv_func__finitel" = x""yes; then :
47101  cat >>confdefs.h <<_ACEOF
47102#define HAVE__FINITEL 1
47103_ACEOF
47104
47105fi
47106done
47107
47108    fi
47109  fi
47110
47111
47112
47113
47114  LIBS="$ac_save_LIBS"
47115  CXXFLAGS="$ac_save_CXXFLAGS"
47116
47117
47118  ac_test_CXXFLAGS="${CXXFLAGS+set}"
47119  ac_save_CXXFLAGS="$CXXFLAGS"
47120  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47121
47122
47123  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47124$as_echo_n "checking for at_quick_exit declaration... " >&6; }
47125  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47126    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
47127  $as_echo_n "(cached) " >&6
47128else
47129
47130
47131      ac_ext=cpp
47132ac_cpp='$CXXCPP $CPPFLAGS'
47133ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47134ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47135ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47136
47137      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47138/* end confdefs.h.  */
47139#include <stdlib.h>
47140int
47141main ()
47142{
47143 at_quick_exit(0);
47144  ;
47145  return 0;
47146}
47147_ACEOF
47148if ac_fn_cxx_try_compile "$LINENO"; then :
47149  glibcxx_cv_func_at_quick_exit_use=yes
47150else
47151  glibcxx_cv_func_at_quick_exit_use=no
47152fi
47153rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47154      ac_ext=c
47155ac_cpp='$CPP $CPPFLAGS'
47156ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47157ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47158ac_compiler_gnu=$ac_cv_c_compiler_gnu
47159
47160
47161fi
47162
47163  fi
47164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47165$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47166  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47167    for ac_func in at_quick_exit
47168do :
47169  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47170if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
47171  cat >>confdefs.h <<_ACEOF
47172#define HAVE_AT_QUICK_EXIT 1
47173_ACEOF
47174
47175fi
47176done
47177
47178  fi
47179
47180
47181  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47182$as_echo_n "checking for quick_exit declaration... " >&6; }
47183  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47184    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
47185  $as_echo_n "(cached) " >&6
47186else
47187
47188
47189      ac_ext=cpp
47190ac_cpp='$CXXCPP $CPPFLAGS'
47191ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47192ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47193ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47194
47195      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47196/* end confdefs.h.  */
47197#include <stdlib.h>
47198int
47199main ()
47200{
47201 quick_exit(0);
47202  ;
47203  return 0;
47204}
47205_ACEOF
47206if ac_fn_cxx_try_compile "$LINENO"; then :
47207  glibcxx_cv_func_quick_exit_use=yes
47208else
47209  glibcxx_cv_func_quick_exit_use=no
47210fi
47211rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47212      ac_ext=c
47213ac_cpp='$CPP $CPPFLAGS'
47214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47216ac_compiler_gnu=$ac_cv_c_compiler_gnu
47217
47218
47219fi
47220
47221  fi
47222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47223$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47224  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47225    for ac_func in quick_exit
47226do :
47227  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47228if test "x$ac_cv_func_quick_exit" = x""yes; then :
47229  cat >>confdefs.h <<_ACEOF
47230#define HAVE_QUICK_EXIT 1
47231_ACEOF
47232
47233fi
47234done
47235
47236  fi
47237
47238
47239  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47240$as_echo_n "checking for strtold declaration... " >&6; }
47241  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47242    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
47243  $as_echo_n "(cached) " >&6
47244else
47245
47246
47247      ac_ext=cpp
47248ac_cpp='$CXXCPP $CPPFLAGS'
47249ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47250ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47251ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47252
47253      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47254/* end confdefs.h.  */
47255#include <stdlib.h>
47256int
47257main ()
47258{
47259 strtold(0, 0);
47260  ;
47261  return 0;
47262}
47263_ACEOF
47264if ac_fn_cxx_try_compile "$LINENO"; then :
47265  glibcxx_cv_func_strtold_use=yes
47266else
47267  glibcxx_cv_func_strtold_use=no
47268fi
47269rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47270      ac_ext=c
47271ac_cpp='$CPP $CPPFLAGS'
47272ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47273ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47274ac_compiler_gnu=$ac_cv_c_compiler_gnu
47275
47276
47277fi
47278
47279  fi
47280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47281$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47282  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47283    for ac_func in strtold
47284do :
47285  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47286if test "x$ac_cv_func_strtold" = x""yes; then :
47287  cat >>confdefs.h <<_ACEOF
47288#define HAVE_STRTOLD 1
47289_ACEOF
47290
47291fi
47292done
47293
47294  fi
47295
47296
47297
47298
47299  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47300$as_echo_n "checking for strtof declaration... " >&6; }
47301  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47302    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
47303  $as_echo_n "(cached) " >&6
47304else
47305
47306
47307      ac_ext=cpp
47308ac_cpp='$CXXCPP $CPPFLAGS'
47309ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47310ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47311ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47312
47313      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47314/* end confdefs.h.  */
47315#include <stdlib.h>
47316int
47317main ()
47318{
47319 strtof(0, 0);
47320  ;
47321  return 0;
47322}
47323_ACEOF
47324if ac_fn_cxx_try_compile "$LINENO"; then :
47325  glibcxx_cv_func_strtof_use=yes
47326else
47327  glibcxx_cv_func_strtof_use=no
47328fi
47329rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47330      ac_ext=c
47331ac_cpp='$CPP $CPPFLAGS'
47332ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47333ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47334ac_compiler_gnu=$ac_cv_c_compiler_gnu
47335
47336
47337fi
47338
47339  fi
47340  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47341$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47342  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47343    for ac_func in strtof
47344do :
47345  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47346if test "x$ac_cv_func_strtof" = x""yes; then :
47347  cat >>confdefs.h <<_ACEOF
47348#define HAVE_STRTOF 1
47349_ACEOF
47350
47351fi
47352done
47353
47354  fi
47355
47356
47357
47358
47359  CXXFLAGS="$ac_save_CXXFLAGS"
47360
47361    $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47362
47363    # We don't yet support AIX's TLS ABI.
47364    #GCC_CHECK_TLS
47365
47366
47367
47368
47369
47370  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47371$as_echo_n "checking for iconv... " >&6; }
47372if test "${am_cv_func_iconv+set}" = set; then :
47373  $as_echo_n "(cached) " >&6
47374else
47375
47376    am_cv_func_iconv="no, consider installing GNU libiconv"
47377    am_cv_lib_iconv=no
47378                    am_save_CPPFLAGS="$CPPFLAGS"
47379    CPPFLAGS="$CPPFLAGS $INCICONV"
47380    if test x$gcc_no_link = xyes; then
47381  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47382fi
47383cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47384/* end confdefs.h.  */
47385#include <stdlib.h>
47386#include <iconv.h>
47387int
47388main ()
47389{
47390iconv_t cd = iconv_open("","");
47391       iconv(cd,NULL,NULL,NULL,NULL);
47392       iconv_close(cd);
47393  ;
47394  return 0;
47395}
47396_ACEOF
47397if ac_fn_c_try_link "$LINENO"; then :
47398  am_cv_func_iconv=yes
47399fi
47400rm -f core conftest.err conftest.$ac_objext \
47401    conftest$ac_exeext conftest.$ac_ext
47402    CPPFLAGS="$am_save_CPPFLAGS"
47403
47404    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47405      for _libs in .libs _libs; do
47406        am_save_CPPFLAGS="$CPPFLAGS"
47407        am_save_LIBS="$LIBS"
47408        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47409        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47410        if test x$gcc_no_link = xyes; then
47411  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47412fi
47413cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47414/* end confdefs.h.  */
47415#include <stdlib.h>
47416#include <iconv.h>
47417int
47418main ()
47419{
47420iconv_t cd = iconv_open("","");
47421           iconv(cd,NULL,NULL,NULL,NULL);
47422           iconv_close(cd);
47423  ;
47424  return 0;
47425}
47426_ACEOF
47427if ac_fn_c_try_link "$LINENO"; then :
47428  INCICONV="-I../libiconv/include"
47429          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47430          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47431          am_cv_lib_iconv=yes
47432          am_cv_func_iconv=yes
47433fi
47434rm -f core conftest.err conftest.$ac_objext \
47435    conftest$ac_exeext conftest.$ac_ext
47436        CPPFLAGS="$am_save_CPPFLAGS"
47437        LIBS="$am_save_LIBS"
47438        if test "$am_cv_func_iconv" = "yes"; then
47439          break
47440        fi
47441      done
47442    fi
47443
47444    if test "$am_cv_func_iconv" != yes; then
47445      am_save_CPPFLAGS="$CPPFLAGS"
47446      am_save_LIBS="$LIBS"
47447      CPPFLAGS="$LIBS $INCICONV"
47448      LIBS="$LIBS $LIBICONV"
47449      if test x$gcc_no_link = xyes; then
47450  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47451fi
47452cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47453/* end confdefs.h.  */
47454#include <stdlib.h>
47455#include <iconv.h>
47456int
47457main ()
47458{
47459iconv_t cd = iconv_open("","");
47460         iconv(cd,NULL,NULL,NULL,NULL);
47461         iconv_close(cd);
47462  ;
47463  return 0;
47464}
47465_ACEOF
47466if ac_fn_c_try_link "$LINENO"; then :
47467  am_cv_lib_iconv=yes
47468        am_cv_func_iconv=yes
47469fi
47470rm -f core conftest.err conftest.$ac_objext \
47471    conftest$ac_exeext conftest.$ac_ext
47472      CPPFLAGS="$am_save_CPPFLAGS"
47473      LIBS="$am_save_LIBS"
47474    fi
47475
47476fi
47477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47478$as_echo "$am_cv_func_iconv" >&6; }
47479  if test "$am_cv_func_iconv" = yes; then
47480
47481$as_echo "#define HAVE_ICONV 1" >>confdefs.h
47482
47483  fi
47484  if test "$am_cv_lib_iconv" = yes; then
47485
47486  for element in $INCICONV; do
47487    haveit=
47488    for x in $CPPFLAGS; do
47489
47490  acl_save_prefix="$prefix"
47491  prefix="$acl_final_prefix"
47492  acl_save_exec_prefix="$exec_prefix"
47493  exec_prefix="$acl_final_exec_prefix"
47494  eval x=\"$x\"
47495  exec_prefix="$acl_save_exec_prefix"
47496  prefix="$acl_save_prefix"
47497
47498      if test "X$x" = "X$element"; then
47499        haveit=yes
47500        break
47501      fi
47502    done
47503    if test -z "$haveit"; then
47504      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47505    fi
47506  done
47507
47508    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47509$as_echo_n "checking how to link with libiconv... " >&6; }
47510    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47511$as_echo "$LIBICONV" >&6; }
47512  else
47513    LIBICONV=
47514    LTLIBICONV=
47515  fi
47516
47517
47518
47519  if test "$am_cv_func_iconv" = yes; then
47520    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47521$as_echo_n "checking for iconv declaration... " >&6; }
47522    if test "${am_cv_proto_iconv+set}" = set; then :
47523  $as_echo_n "(cached) " >&6
47524else
47525
47526      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47527/* end confdefs.h.  */
47528
47529#include <stdlib.h>
47530#include <iconv.h>
47531extern
47532#ifdef __cplusplus
47533"C"
47534#endif
47535#if defined(__STDC__) || defined(__cplusplus)
47536size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47537#else
47538size_t iconv();
47539#endif
47540
47541int
47542main ()
47543{
47544
47545  ;
47546  return 0;
47547}
47548_ACEOF
47549if ac_fn_c_try_compile "$LINENO"; then :
47550  am_cv_proto_iconv_arg1=""
47551else
47552  am_cv_proto_iconv_arg1="const"
47553fi
47554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47555      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);"
47556fi
47557
47558    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47559    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47560         }$am_cv_proto_iconv" >&5
47561$as_echo "${ac_t:-
47562         }$am_cv_proto_iconv" >&6; }
47563
47564cat >>confdefs.h <<_ACEOF
47565#define ICONV_CONST $am_cv_proto_iconv_arg1
47566_ACEOF
47567
47568  fi
47569
47570    ;;
47571
47572  *-darwin*)
47573    # Darwin versions vary, but the linker should work in a cross environment,
47574    # so we just check for all the features here.
47575    # Check for available headers.
47576
47577    # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47578
47579  ac_test_CXXFLAGS="${CXXFLAGS+set}"
47580  ac_save_CXXFLAGS="$CXXFLAGS"
47581  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47582
47583    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47584$as_echo_n "checking for sin in -lm... " >&6; }
47585if test "${ac_cv_lib_m_sin+set}" = set; then :
47586  $as_echo_n "(cached) " >&6
47587else
47588  ac_check_lib_save_LIBS=$LIBS
47589LIBS="-lm  $LIBS"
47590if test x$gcc_no_link = xyes; then
47591  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47592fi
47593cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47594/* end confdefs.h.  */
47595
47596/* Override any GCC internal prototype to avoid an error.
47597   Use char because int might match the return type of a GCC
47598   builtin and then its argument prototype would still apply.  */
47599#ifdef __cplusplus
47600extern "C"
47601#endif
47602char sin ();
47603int
47604main ()
47605{
47606return sin ();
47607  ;
47608  return 0;
47609}
47610_ACEOF
47611if ac_fn_c_try_link "$LINENO"; then :
47612  ac_cv_lib_m_sin=yes
47613else
47614  ac_cv_lib_m_sin=no
47615fi
47616rm -f core conftest.err conftest.$ac_objext \
47617    conftest$ac_exeext conftest.$ac_ext
47618LIBS=$ac_check_lib_save_LIBS
47619fi
47620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47621$as_echo "$ac_cv_lib_m_sin" >&6; }
47622if test "x$ac_cv_lib_m_sin" = x""yes; then :
47623  libm="-lm"
47624fi
47625
47626  ac_save_LIBS="$LIBS"
47627  LIBS="$LIBS $libm"
47628
47629
47630
47631  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47632$as_echo_n "checking for isinf declaration... " >&6; }
47633  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47634    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47635  $as_echo_n "(cached) " >&6
47636else
47637
47638
47639      ac_ext=cpp
47640ac_cpp='$CXXCPP $CPPFLAGS'
47641ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47642ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47643ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47644
47645      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47646/* end confdefs.h.  */
47647#include <math.h>
47648		      #ifdef HAVE_IEEEFP_H
47649		      #include <ieeefp.h>
47650		      #endif
47651
47652int
47653main ()
47654{
47655 isinf(0);
47656  ;
47657  return 0;
47658}
47659_ACEOF
47660if ac_fn_cxx_try_compile "$LINENO"; then :
47661  glibcxx_cv_func_isinf_use=yes
47662else
47663  glibcxx_cv_func_isinf_use=no
47664fi
47665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47666      ac_ext=c
47667ac_cpp='$CPP $CPPFLAGS'
47668ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47669ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47670ac_compiler_gnu=$ac_cv_c_compiler_gnu
47671
47672
47673fi
47674
47675  fi
47676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47677$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47678
47679  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47680    for ac_func in isinf
47681do :
47682  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47683if test "x$ac_cv_func_isinf" = x""yes; then :
47684  cat >>confdefs.h <<_ACEOF
47685#define HAVE_ISINF 1
47686_ACEOF
47687
47688fi
47689done
47690
47691  else
47692
47693  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47694$as_echo_n "checking for _isinf declaration... " >&6; }
47695  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47696    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47697  $as_echo_n "(cached) " >&6
47698else
47699
47700
47701      ac_ext=cpp
47702ac_cpp='$CXXCPP $CPPFLAGS'
47703ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47704ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47705ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47706
47707      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47708/* end confdefs.h.  */
47709#include <math.h>
47710		      #ifdef HAVE_IEEEFP_H
47711		      #include <ieeefp.h>
47712		      #endif
47713
47714int
47715main ()
47716{
47717 _isinf(0);
47718  ;
47719  return 0;
47720}
47721_ACEOF
47722if ac_fn_cxx_try_compile "$LINENO"; then :
47723  glibcxx_cv_func__isinf_use=yes
47724else
47725  glibcxx_cv_func__isinf_use=no
47726fi
47727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47728      ac_ext=c
47729ac_cpp='$CPP $CPPFLAGS'
47730ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47731ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47732ac_compiler_gnu=$ac_cv_c_compiler_gnu
47733
47734
47735fi
47736
47737  fi
47738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47739$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47740
47741    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47742      for ac_func in _isinf
47743do :
47744  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47745if test "x$ac_cv_func__isinf" = x""yes; then :
47746  cat >>confdefs.h <<_ACEOF
47747#define HAVE__ISINF 1
47748_ACEOF
47749
47750fi
47751done
47752
47753    fi
47754  fi
47755
47756
47757
47758
47759
47760  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47761$as_echo_n "checking for isnan declaration... " >&6; }
47762  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47763    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47764  $as_echo_n "(cached) " >&6
47765else
47766
47767
47768      ac_ext=cpp
47769ac_cpp='$CXXCPP $CPPFLAGS'
47770ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47771ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47772ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47773
47774      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47775/* end confdefs.h.  */
47776#include <math.h>
47777		      #ifdef HAVE_IEEEFP_H
47778		      #include <ieeefp.h>
47779		      #endif
47780
47781int
47782main ()
47783{
47784 isnan(0);
47785  ;
47786  return 0;
47787}
47788_ACEOF
47789if ac_fn_cxx_try_compile "$LINENO"; then :
47790  glibcxx_cv_func_isnan_use=yes
47791else
47792  glibcxx_cv_func_isnan_use=no
47793fi
47794rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47795      ac_ext=c
47796ac_cpp='$CPP $CPPFLAGS'
47797ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47798ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47799ac_compiler_gnu=$ac_cv_c_compiler_gnu
47800
47801
47802fi
47803
47804  fi
47805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47806$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47807
47808  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47809    for ac_func in isnan
47810do :
47811  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47812if test "x$ac_cv_func_isnan" = x""yes; then :
47813  cat >>confdefs.h <<_ACEOF
47814#define HAVE_ISNAN 1
47815_ACEOF
47816
47817fi
47818done
47819
47820  else
47821
47822  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47823$as_echo_n "checking for _isnan declaration... " >&6; }
47824  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47825    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47826  $as_echo_n "(cached) " >&6
47827else
47828
47829
47830      ac_ext=cpp
47831ac_cpp='$CXXCPP $CPPFLAGS'
47832ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47833ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47834ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47835
47836      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47837/* end confdefs.h.  */
47838#include <math.h>
47839		      #ifdef HAVE_IEEEFP_H
47840		      #include <ieeefp.h>
47841		      #endif
47842
47843int
47844main ()
47845{
47846 _isnan(0);
47847  ;
47848  return 0;
47849}
47850_ACEOF
47851if ac_fn_cxx_try_compile "$LINENO"; then :
47852  glibcxx_cv_func__isnan_use=yes
47853else
47854  glibcxx_cv_func__isnan_use=no
47855fi
47856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47857      ac_ext=c
47858ac_cpp='$CPP $CPPFLAGS'
47859ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47860ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47861ac_compiler_gnu=$ac_cv_c_compiler_gnu
47862
47863
47864fi
47865
47866  fi
47867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47868$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47869
47870    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47871      for ac_func in _isnan
47872do :
47873  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47874if test "x$ac_cv_func__isnan" = x""yes; then :
47875  cat >>confdefs.h <<_ACEOF
47876#define HAVE__ISNAN 1
47877_ACEOF
47878
47879fi
47880done
47881
47882    fi
47883  fi
47884
47885
47886
47887
47888
47889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47890$as_echo_n "checking for finite declaration... " >&6; }
47891  if test x${glibcxx_cv_func_finite_use+set} != xset; then
47892    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47893  $as_echo_n "(cached) " >&6
47894else
47895
47896
47897      ac_ext=cpp
47898ac_cpp='$CXXCPP $CPPFLAGS'
47899ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47900ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47901ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47902
47903      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47904/* end confdefs.h.  */
47905#include <math.h>
47906		      #ifdef HAVE_IEEEFP_H
47907		      #include <ieeefp.h>
47908		      #endif
47909
47910int
47911main ()
47912{
47913 finite(0);
47914  ;
47915  return 0;
47916}
47917_ACEOF
47918if ac_fn_cxx_try_compile "$LINENO"; then :
47919  glibcxx_cv_func_finite_use=yes
47920else
47921  glibcxx_cv_func_finite_use=no
47922fi
47923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47924      ac_ext=c
47925ac_cpp='$CPP $CPPFLAGS'
47926ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47927ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47928ac_compiler_gnu=$ac_cv_c_compiler_gnu
47929
47930
47931fi
47932
47933  fi
47934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47935$as_echo "$glibcxx_cv_func_finite_use" >&6; }
47936
47937  if test x$glibcxx_cv_func_finite_use = x"yes"; then
47938    for ac_func in finite
47939do :
47940  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47941if test "x$ac_cv_func_finite" = x""yes; then :
47942  cat >>confdefs.h <<_ACEOF
47943#define HAVE_FINITE 1
47944_ACEOF
47945
47946fi
47947done
47948
47949  else
47950
47951  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47952$as_echo_n "checking for _finite declaration... " >&6; }
47953  if test x${glibcxx_cv_func__finite_use+set} != xset; then
47954    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47955  $as_echo_n "(cached) " >&6
47956else
47957
47958
47959      ac_ext=cpp
47960ac_cpp='$CXXCPP $CPPFLAGS'
47961ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47962ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47963ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47964
47965      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47966/* end confdefs.h.  */
47967#include <math.h>
47968		      #ifdef HAVE_IEEEFP_H
47969		      #include <ieeefp.h>
47970		      #endif
47971
47972int
47973main ()
47974{
47975 _finite(0);
47976  ;
47977  return 0;
47978}
47979_ACEOF
47980if ac_fn_cxx_try_compile "$LINENO"; then :
47981  glibcxx_cv_func__finite_use=yes
47982else
47983  glibcxx_cv_func__finite_use=no
47984fi
47985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47986      ac_ext=c
47987ac_cpp='$CPP $CPPFLAGS'
47988ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47989ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47990ac_compiler_gnu=$ac_cv_c_compiler_gnu
47991
47992
47993fi
47994
47995  fi
47996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47997$as_echo "$glibcxx_cv_func__finite_use" >&6; }
47998
47999    if test x$glibcxx_cv_func__finite_use = x"yes"; then
48000      for ac_func in _finite
48001do :
48002  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48003if test "x$ac_cv_func__finite" = x""yes; then :
48004  cat >>confdefs.h <<_ACEOF
48005#define HAVE__FINITE 1
48006_ACEOF
48007
48008fi
48009done
48010
48011    fi
48012  fi
48013
48014
48015
48016
48017
48018  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48019$as_echo_n "checking for sincos declaration... " >&6; }
48020  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48021    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
48022  $as_echo_n "(cached) " >&6
48023else
48024
48025
48026      ac_ext=cpp
48027ac_cpp='$CXXCPP $CPPFLAGS'
48028ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48029ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48030ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48031
48032      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48033/* end confdefs.h.  */
48034#include <math.h>
48035int
48036main ()
48037{
48038 sincos(0, 0, 0);
48039  ;
48040  return 0;
48041}
48042_ACEOF
48043if ac_fn_cxx_try_compile "$LINENO"; then :
48044  glibcxx_cv_func_sincos_use=yes
48045else
48046  glibcxx_cv_func_sincos_use=no
48047fi
48048rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48049      ac_ext=c
48050ac_cpp='$CPP $CPPFLAGS'
48051ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48052ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48053ac_compiler_gnu=$ac_cv_c_compiler_gnu
48054
48055
48056fi
48057
48058  fi
48059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48060$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48061
48062  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48063    for ac_func in sincos
48064do :
48065  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48066if test "x$ac_cv_func_sincos" = x""yes; then :
48067  cat >>confdefs.h <<_ACEOF
48068#define HAVE_SINCOS 1
48069_ACEOF
48070
48071fi
48072done
48073
48074  else
48075
48076  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48077$as_echo_n "checking for _sincos declaration... " >&6; }
48078  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48079    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
48080  $as_echo_n "(cached) " >&6
48081else
48082
48083
48084      ac_ext=cpp
48085ac_cpp='$CXXCPP $CPPFLAGS'
48086ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48087ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48088ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48089
48090      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48091/* end confdefs.h.  */
48092#include <math.h>
48093int
48094main ()
48095{
48096 _sincos(0, 0, 0);
48097  ;
48098  return 0;
48099}
48100_ACEOF
48101if ac_fn_cxx_try_compile "$LINENO"; then :
48102  glibcxx_cv_func__sincos_use=yes
48103else
48104  glibcxx_cv_func__sincos_use=no
48105fi
48106rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48107      ac_ext=c
48108ac_cpp='$CPP $CPPFLAGS'
48109ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48110ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48111ac_compiler_gnu=$ac_cv_c_compiler_gnu
48112
48113
48114fi
48115
48116  fi
48117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48118$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48119
48120    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48121      for ac_func in _sincos
48122do :
48123  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48124if test "x$ac_cv_func__sincos" = x""yes; then :
48125  cat >>confdefs.h <<_ACEOF
48126#define HAVE__SINCOS 1
48127_ACEOF
48128
48129fi
48130done
48131
48132    fi
48133  fi
48134
48135
48136
48137
48138
48139  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48140$as_echo_n "checking for fpclass declaration... " >&6; }
48141  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48142    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
48143  $as_echo_n "(cached) " >&6
48144else
48145
48146
48147      ac_ext=cpp
48148ac_cpp='$CXXCPP $CPPFLAGS'
48149ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48150ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48151ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48152
48153      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48154/* end confdefs.h.  */
48155#include <math.h>
48156		      #ifdef HAVE_IEEEFP_H
48157		      #include <ieeefp.h>
48158		      #endif
48159
48160int
48161main ()
48162{
48163 fpclass(0);
48164  ;
48165  return 0;
48166}
48167_ACEOF
48168if ac_fn_cxx_try_compile "$LINENO"; then :
48169  glibcxx_cv_func_fpclass_use=yes
48170else
48171  glibcxx_cv_func_fpclass_use=no
48172fi
48173rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48174      ac_ext=c
48175ac_cpp='$CPP $CPPFLAGS'
48176ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48177ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48178ac_compiler_gnu=$ac_cv_c_compiler_gnu
48179
48180
48181fi
48182
48183  fi
48184  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48185$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48186
48187  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48188    for ac_func in fpclass
48189do :
48190  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48191if test "x$ac_cv_func_fpclass" = x""yes; then :
48192  cat >>confdefs.h <<_ACEOF
48193#define HAVE_FPCLASS 1
48194_ACEOF
48195
48196fi
48197done
48198
48199  else
48200
48201  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48202$as_echo_n "checking for _fpclass declaration... " >&6; }
48203  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48204    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
48205  $as_echo_n "(cached) " >&6
48206else
48207
48208
48209      ac_ext=cpp
48210ac_cpp='$CXXCPP $CPPFLAGS'
48211ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48212ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48213ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48214
48215      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48216/* end confdefs.h.  */
48217#include <math.h>
48218		      #ifdef HAVE_IEEEFP_H
48219		      #include <ieeefp.h>
48220		      #endif
48221
48222int
48223main ()
48224{
48225 _fpclass(0);
48226  ;
48227  return 0;
48228}
48229_ACEOF
48230if ac_fn_cxx_try_compile "$LINENO"; then :
48231  glibcxx_cv_func__fpclass_use=yes
48232else
48233  glibcxx_cv_func__fpclass_use=no
48234fi
48235rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48236      ac_ext=c
48237ac_cpp='$CPP $CPPFLAGS'
48238ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48239ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48240ac_compiler_gnu=$ac_cv_c_compiler_gnu
48241
48242
48243fi
48244
48245  fi
48246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48247$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48248
48249    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48250      for ac_func in _fpclass
48251do :
48252  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48253if test "x$ac_cv_func__fpclass" = x""yes; then :
48254  cat >>confdefs.h <<_ACEOF
48255#define HAVE__FPCLASS 1
48256_ACEOF
48257
48258fi
48259done
48260
48261    fi
48262  fi
48263
48264
48265
48266
48267
48268  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48269$as_echo_n "checking for qfpclass declaration... " >&6; }
48270  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48271    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
48272  $as_echo_n "(cached) " >&6
48273else
48274
48275
48276      ac_ext=cpp
48277ac_cpp='$CXXCPP $CPPFLAGS'
48278ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48279ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48280ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48281
48282      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48283/* end confdefs.h.  */
48284#include <math.h>
48285		      #ifdef HAVE_IEEEFP_H
48286		      #include <ieeefp.h>
48287		      #endif
48288
48289int
48290main ()
48291{
48292 qfpclass(0);
48293  ;
48294  return 0;
48295}
48296_ACEOF
48297if ac_fn_cxx_try_compile "$LINENO"; then :
48298  glibcxx_cv_func_qfpclass_use=yes
48299else
48300  glibcxx_cv_func_qfpclass_use=no
48301fi
48302rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48303      ac_ext=c
48304ac_cpp='$CPP $CPPFLAGS'
48305ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48306ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48307ac_compiler_gnu=$ac_cv_c_compiler_gnu
48308
48309
48310fi
48311
48312  fi
48313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48314$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48315
48316  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48317    for ac_func in qfpclass
48318do :
48319  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48320if test "x$ac_cv_func_qfpclass" = x""yes; then :
48321  cat >>confdefs.h <<_ACEOF
48322#define HAVE_QFPCLASS 1
48323_ACEOF
48324
48325fi
48326done
48327
48328  else
48329
48330  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48331$as_echo_n "checking for _qfpclass declaration... " >&6; }
48332  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48333    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
48334  $as_echo_n "(cached) " >&6
48335else
48336
48337
48338      ac_ext=cpp
48339ac_cpp='$CXXCPP $CPPFLAGS'
48340ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48341ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48342ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48343
48344      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48345/* end confdefs.h.  */
48346#include <math.h>
48347		      #ifdef HAVE_IEEEFP_H
48348		      #include <ieeefp.h>
48349		      #endif
48350
48351int
48352main ()
48353{
48354 _qfpclass(0);
48355  ;
48356  return 0;
48357}
48358_ACEOF
48359if ac_fn_cxx_try_compile "$LINENO"; then :
48360  glibcxx_cv_func__qfpclass_use=yes
48361else
48362  glibcxx_cv_func__qfpclass_use=no
48363fi
48364rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48365      ac_ext=c
48366ac_cpp='$CPP $CPPFLAGS'
48367ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48368ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48369ac_compiler_gnu=$ac_cv_c_compiler_gnu
48370
48371
48372fi
48373
48374  fi
48375  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48376$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48377
48378    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48379      for ac_func in _qfpclass
48380do :
48381  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48382if test "x$ac_cv_func__qfpclass" = x""yes; then :
48383  cat >>confdefs.h <<_ACEOF
48384#define HAVE__QFPCLASS 1
48385_ACEOF
48386
48387fi
48388done
48389
48390    fi
48391  fi
48392
48393
48394
48395
48396
48397  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48398$as_echo_n "checking for hypot declaration... " >&6; }
48399  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48400    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
48401  $as_echo_n "(cached) " >&6
48402else
48403
48404
48405      ac_ext=cpp
48406ac_cpp='$CXXCPP $CPPFLAGS'
48407ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48408ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48409ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48410
48411      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48412/* end confdefs.h.  */
48413#include <math.h>
48414int
48415main ()
48416{
48417 hypot(0, 0);
48418  ;
48419  return 0;
48420}
48421_ACEOF
48422if ac_fn_cxx_try_compile "$LINENO"; then :
48423  glibcxx_cv_func_hypot_use=yes
48424else
48425  glibcxx_cv_func_hypot_use=no
48426fi
48427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48428      ac_ext=c
48429ac_cpp='$CPP $CPPFLAGS'
48430ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48431ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48432ac_compiler_gnu=$ac_cv_c_compiler_gnu
48433
48434
48435fi
48436
48437  fi
48438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48439$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48440
48441  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48442    for ac_func in hypot
48443do :
48444  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48445if test "x$ac_cv_func_hypot" = x""yes; then :
48446  cat >>confdefs.h <<_ACEOF
48447#define HAVE_HYPOT 1
48448_ACEOF
48449
48450fi
48451done
48452
48453  else
48454
48455  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48456$as_echo_n "checking for _hypot declaration... " >&6; }
48457  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48458    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48459  $as_echo_n "(cached) " >&6
48460else
48461
48462
48463      ac_ext=cpp
48464ac_cpp='$CXXCPP $CPPFLAGS'
48465ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48466ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48467ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48468
48469      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48470/* end confdefs.h.  */
48471#include <math.h>
48472int
48473main ()
48474{
48475 _hypot(0, 0);
48476  ;
48477  return 0;
48478}
48479_ACEOF
48480if ac_fn_cxx_try_compile "$LINENO"; then :
48481  glibcxx_cv_func__hypot_use=yes
48482else
48483  glibcxx_cv_func__hypot_use=no
48484fi
48485rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48486      ac_ext=c
48487ac_cpp='$CPP $CPPFLAGS'
48488ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48489ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48490ac_compiler_gnu=$ac_cv_c_compiler_gnu
48491
48492
48493fi
48494
48495  fi
48496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48497$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48498
48499    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48500      for ac_func in _hypot
48501do :
48502  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48503if test "x$ac_cv_func__hypot" = x""yes; then :
48504  cat >>confdefs.h <<_ACEOF
48505#define HAVE__HYPOT 1
48506_ACEOF
48507
48508fi
48509done
48510
48511    fi
48512  fi
48513
48514
48515
48516
48517
48518    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48519$as_echo_n "checking for float trig functions... " >&6; }
48520  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48521  $as_echo_n "(cached) " >&6
48522else
48523
48524
48525    ac_ext=cpp
48526ac_cpp='$CXXCPP $CPPFLAGS'
48527ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48528ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48529ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48530
48531    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48532/* end confdefs.h.  */
48533#include <math.h>
48534int
48535main ()
48536{
48537acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48538  ;
48539  return 0;
48540}
48541_ACEOF
48542if ac_fn_cxx_try_compile "$LINENO"; then :
48543  glibcxx_cv_func_float_trig_use=yes
48544else
48545  glibcxx_cv_func_float_trig_use=no
48546fi
48547rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48548    ac_ext=c
48549ac_cpp='$CPP $CPPFLAGS'
48550ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48551ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48552ac_compiler_gnu=$ac_cv_c_compiler_gnu
48553
48554fi
48555
48556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48557$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48558  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48559    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48560do :
48561  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48562ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48563eval as_val=\$$as_ac_var
48564   if test "x$as_val" = x""yes; then :
48565  cat >>confdefs.h <<_ACEOF
48566#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48567_ACEOF
48568
48569fi
48570done
48571
48572  else
48573    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48574$as_echo_n "checking for _float trig functions... " >&6; }
48575    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48576  $as_echo_n "(cached) " >&6
48577else
48578
48579
48580      ac_ext=cpp
48581ac_cpp='$CXXCPP $CPPFLAGS'
48582ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48583ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48584ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48585
48586      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48587/* end confdefs.h.  */
48588#include <math.h>
48589int
48590main ()
48591{
48592_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48593  ;
48594  return 0;
48595}
48596_ACEOF
48597if ac_fn_cxx_try_compile "$LINENO"; then :
48598  glibcxx_cv_func__float_trig_use=yes
48599else
48600  glibcxx_cv_func__float_trig_use=no
48601fi
48602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48603      ac_ext=c
48604ac_cpp='$CPP $CPPFLAGS'
48605ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48606ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48607ac_compiler_gnu=$ac_cv_c_compiler_gnu
48608
48609fi
48610
48611    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48612$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48613    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48614      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48615do :
48616  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48617ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48618eval as_val=\$$as_ac_var
48619   if test "x$as_val" = x""yes; then :
48620  cat >>confdefs.h <<_ACEOF
48621#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48622_ACEOF
48623
48624fi
48625done
48626
48627    fi
48628  fi
48629
48630
48631
48632
48633
48634    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48635$as_echo_n "checking for float round functions... " >&6; }
48636  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48637  $as_echo_n "(cached) " >&6
48638else
48639
48640
48641    ac_ext=cpp
48642ac_cpp='$CXXCPP $CPPFLAGS'
48643ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48644ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48645ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48646
48647    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48648/* end confdefs.h.  */
48649#include <math.h>
48650int
48651main ()
48652{
48653ceilf (0); floorf (0);
48654  ;
48655  return 0;
48656}
48657_ACEOF
48658if ac_fn_cxx_try_compile "$LINENO"; then :
48659  glibcxx_cv_func_float_round_use=yes
48660else
48661  glibcxx_cv_func_float_round_use=no
48662fi
48663rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48664    ac_ext=c
48665ac_cpp='$CPP $CPPFLAGS'
48666ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48667ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48668ac_compiler_gnu=$ac_cv_c_compiler_gnu
48669
48670fi
48671
48672  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48673$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48674  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48675    for ac_func in ceilf floorf
48676do :
48677  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48678ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48679eval as_val=\$$as_ac_var
48680   if test "x$as_val" = x""yes; then :
48681  cat >>confdefs.h <<_ACEOF
48682#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48683_ACEOF
48684
48685fi
48686done
48687
48688  else
48689    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48690$as_echo_n "checking for _float round functions... " >&6; }
48691    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48692  $as_echo_n "(cached) " >&6
48693else
48694
48695
48696      ac_ext=cpp
48697ac_cpp='$CXXCPP $CPPFLAGS'
48698ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48699ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48700ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48701
48702      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48703/* end confdefs.h.  */
48704#include <math.h>
48705int
48706main ()
48707{
48708_ceilf (0); _floorf (0);
48709  ;
48710  return 0;
48711}
48712_ACEOF
48713if ac_fn_cxx_try_compile "$LINENO"; then :
48714  glibcxx_cv_func__float_round_use=yes
48715else
48716  glibcxx_cv_func__float_round_use=no
48717fi
48718rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48719      ac_ext=c
48720ac_cpp='$CPP $CPPFLAGS'
48721ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48722ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48723ac_compiler_gnu=$ac_cv_c_compiler_gnu
48724
48725fi
48726
48727    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48728$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48729    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48730      for ac_func in _ceilf _floorf
48731do :
48732  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48733ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48734eval as_val=\$$as_ac_var
48735   if test "x$as_val" = x""yes; then :
48736  cat >>confdefs.h <<_ACEOF
48737#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48738_ACEOF
48739
48740fi
48741done
48742
48743    fi
48744  fi
48745
48746
48747
48748
48749
48750
48751  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48752$as_echo_n "checking for expf declaration... " >&6; }
48753  if test x${glibcxx_cv_func_expf_use+set} != xset; then
48754    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48755  $as_echo_n "(cached) " >&6
48756else
48757
48758
48759      ac_ext=cpp
48760ac_cpp='$CXXCPP $CPPFLAGS'
48761ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48762ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48763ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48764
48765      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48766/* end confdefs.h.  */
48767#include <math.h>
48768		      #ifdef HAVE_IEEEFP_H
48769		      #include <ieeefp.h>
48770		      #endif
48771
48772int
48773main ()
48774{
48775 expf(0);
48776  ;
48777  return 0;
48778}
48779_ACEOF
48780if ac_fn_cxx_try_compile "$LINENO"; then :
48781  glibcxx_cv_func_expf_use=yes
48782else
48783  glibcxx_cv_func_expf_use=no
48784fi
48785rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48786      ac_ext=c
48787ac_cpp='$CPP $CPPFLAGS'
48788ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48789ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48790ac_compiler_gnu=$ac_cv_c_compiler_gnu
48791
48792
48793fi
48794
48795  fi
48796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48797$as_echo "$glibcxx_cv_func_expf_use" >&6; }
48798
48799  if test x$glibcxx_cv_func_expf_use = x"yes"; then
48800    for ac_func in expf
48801do :
48802  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48803if test "x$ac_cv_func_expf" = x""yes; then :
48804  cat >>confdefs.h <<_ACEOF
48805#define HAVE_EXPF 1
48806_ACEOF
48807
48808fi
48809done
48810
48811  else
48812
48813  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48814$as_echo_n "checking for _expf declaration... " >&6; }
48815  if test x${glibcxx_cv_func__expf_use+set} != xset; then
48816    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48817  $as_echo_n "(cached) " >&6
48818else
48819
48820
48821      ac_ext=cpp
48822ac_cpp='$CXXCPP $CPPFLAGS'
48823ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48824ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48825ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48826
48827      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48828/* end confdefs.h.  */
48829#include <math.h>
48830		      #ifdef HAVE_IEEEFP_H
48831		      #include <ieeefp.h>
48832		      #endif
48833
48834int
48835main ()
48836{
48837 _expf(0);
48838  ;
48839  return 0;
48840}
48841_ACEOF
48842if ac_fn_cxx_try_compile "$LINENO"; then :
48843  glibcxx_cv_func__expf_use=yes
48844else
48845  glibcxx_cv_func__expf_use=no
48846fi
48847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48848      ac_ext=c
48849ac_cpp='$CPP $CPPFLAGS'
48850ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48851ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48852ac_compiler_gnu=$ac_cv_c_compiler_gnu
48853
48854
48855fi
48856
48857  fi
48858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48859$as_echo "$glibcxx_cv_func__expf_use" >&6; }
48860
48861    if test x$glibcxx_cv_func__expf_use = x"yes"; then
48862      for ac_func in _expf
48863do :
48864  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48865if test "x$ac_cv_func__expf" = x""yes; then :
48866  cat >>confdefs.h <<_ACEOF
48867#define HAVE__EXPF 1
48868_ACEOF
48869
48870fi
48871done
48872
48873    fi
48874  fi
48875
48876
48877
48878
48879
48880  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48881$as_echo_n "checking for isnanf declaration... " >&6; }
48882  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48883    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48884  $as_echo_n "(cached) " >&6
48885else
48886
48887
48888      ac_ext=cpp
48889ac_cpp='$CXXCPP $CPPFLAGS'
48890ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48891ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48892ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48893
48894      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48895/* end confdefs.h.  */
48896#include <math.h>
48897		      #ifdef HAVE_IEEEFP_H
48898		      #include <ieeefp.h>
48899		      #endif
48900
48901int
48902main ()
48903{
48904 isnanf(0);
48905  ;
48906  return 0;
48907}
48908_ACEOF
48909if ac_fn_cxx_try_compile "$LINENO"; then :
48910  glibcxx_cv_func_isnanf_use=yes
48911else
48912  glibcxx_cv_func_isnanf_use=no
48913fi
48914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48915      ac_ext=c
48916ac_cpp='$CPP $CPPFLAGS'
48917ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48918ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48919ac_compiler_gnu=$ac_cv_c_compiler_gnu
48920
48921
48922fi
48923
48924  fi
48925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48926$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48927
48928  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48929    for ac_func in isnanf
48930do :
48931  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48932if test "x$ac_cv_func_isnanf" = x""yes; then :
48933  cat >>confdefs.h <<_ACEOF
48934#define HAVE_ISNANF 1
48935_ACEOF
48936
48937fi
48938done
48939
48940  else
48941
48942  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48943$as_echo_n "checking for _isnanf declaration... " >&6; }
48944  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48945    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48946  $as_echo_n "(cached) " >&6
48947else
48948
48949
48950      ac_ext=cpp
48951ac_cpp='$CXXCPP $CPPFLAGS'
48952ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48953ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48954ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48955
48956      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48957/* end confdefs.h.  */
48958#include <math.h>
48959		      #ifdef HAVE_IEEEFP_H
48960		      #include <ieeefp.h>
48961		      #endif
48962
48963int
48964main ()
48965{
48966 _isnanf(0);
48967  ;
48968  return 0;
48969}
48970_ACEOF
48971if ac_fn_cxx_try_compile "$LINENO"; then :
48972  glibcxx_cv_func__isnanf_use=yes
48973else
48974  glibcxx_cv_func__isnanf_use=no
48975fi
48976rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48977      ac_ext=c
48978ac_cpp='$CPP $CPPFLAGS'
48979ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48980ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48981ac_compiler_gnu=$ac_cv_c_compiler_gnu
48982
48983
48984fi
48985
48986  fi
48987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48988$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48989
48990    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48991      for ac_func in _isnanf
48992do :
48993  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48994if test "x$ac_cv_func__isnanf" = x""yes; then :
48995  cat >>confdefs.h <<_ACEOF
48996#define HAVE__ISNANF 1
48997_ACEOF
48998
48999fi
49000done
49001
49002    fi
49003  fi
49004
49005
49006
49007
49008
49009  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49010$as_echo_n "checking for isinff declaration... " >&6; }
49011  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49012    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
49013  $as_echo_n "(cached) " >&6
49014else
49015
49016
49017      ac_ext=cpp
49018ac_cpp='$CXXCPP $CPPFLAGS'
49019ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49020ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49021ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49022
49023      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49024/* end confdefs.h.  */
49025#include <math.h>
49026		      #ifdef HAVE_IEEEFP_H
49027		      #include <ieeefp.h>
49028		      #endif
49029
49030int
49031main ()
49032{
49033 isinff(0);
49034  ;
49035  return 0;
49036}
49037_ACEOF
49038if ac_fn_cxx_try_compile "$LINENO"; then :
49039  glibcxx_cv_func_isinff_use=yes
49040else
49041  glibcxx_cv_func_isinff_use=no
49042fi
49043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49044      ac_ext=c
49045ac_cpp='$CPP $CPPFLAGS'
49046ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49047ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49048ac_compiler_gnu=$ac_cv_c_compiler_gnu
49049
49050
49051fi
49052
49053  fi
49054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49055$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49056
49057  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49058    for ac_func in isinff
49059do :
49060  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49061if test "x$ac_cv_func_isinff" = x""yes; then :
49062  cat >>confdefs.h <<_ACEOF
49063#define HAVE_ISINFF 1
49064_ACEOF
49065
49066fi
49067done
49068
49069  else
49070
49071  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49072$as_echo_n "checking for _isinff declaration... " >&6; }
49073  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49074    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
49075  $as_echo_n "(cached) " >&6
49076else
49077
49078
49079      ac_ext=cpp
49080ac_cpp='$CXXCPP $CPPFLAGS'
49081ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49082ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49083ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49084
49085      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49086/* end confdefs.h.  */
49087#include <math.h>
49088		      #ifdef HAVE_IEEEFP_H
49089		      #include <ieeefp.h>
49090		      #endif
49091
49092int
49093main ()
49094{
49095 _isinff(0);
49096  ;
49097  return 0;
49098}
49099_ACEOF
49100if ac_fn_cxx_try_compile "$LINENO"; then :
49101  glibcxx_cv_func__isinff_use=yes
49102else
49103  glibcxx_cv_func__isinff_use=no
49104fi
49105rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49106      ac_ext=c
49107ac_cpp='$CPP $CPPFLAGS'
49108ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49109ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49110ac_compiler_gnu=$ac_cv_c_compiler_gnu
49111
49112
49113fi
49114
49115  fi
49116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49117$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49118
49119    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49120      for ac_func in _isinff
49121do :
49122  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49123if test "x$ac_cv_func__isinff" = x""yes; then :
49124  cat >>confdefs.h <<_ACEOF
49125#define HAVE__ISINFF 1
49126_ACEOF
49127
49128fi
49129done
49130
49131    fi
49132  fi
49133
49134
49135
49136
49137
49138  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49139$as_echo_n "checking for atan2f declaration... " >&6; }
49140  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49141    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
49142  $as_echo_n "(cached) " >&6
49143else
49144
49145
49146      ac_ext=cpp
49147ac_cpp='$CXXCPP $CPPFLAGS'
49148ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49149ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49150ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49151
49152      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49153/* end confdefs.h.  */
49154#include <math.h>
49155int
49156main ()
49157{
49158 atan2f(0, 0);
49159  ;
49160  return 0;
49161}
49162_ACEOF
49163if ac_fn_cxx_try_compile "$LINENO"; then :
49164  glibcxx_cv_func_atan2f_use=yes
49165else
49166  glibcxx_cv_func_atan2f_use=no
49167fi
49168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49169      ac_ext=c
49170ac_cpp='$CPP $CPPFLAGS'
49171ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49172ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49173ac_compiler_gnu=$ac_cv_c_compiler_gnu
49174
49175
49176fi
49177
49178  fi
49179  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49180$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49181
49182  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49183    for ac_func in atan2f
49184do :
49185  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49186if test "x$ac_cv_func_atan2f" = x""yes; then :
49187  cat >>confdefs.h <<_ACEOF
49188#define HAVE_ATAN2F 1
49189_ACEOF
49190
49191fi
49192done
49193
49194  else
49195
49196  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49197$as_echo_n "checking for _atan2f declaration... " >&6; }
49198  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49199    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
49200  $as_echo_n "(cached) " >&6
49201else
49202
49203
49204      ac_ext=cpp
49205ac_cpp='$CXXCPP $CPPFLAGS'
49206ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49207ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49208ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49209
49210      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49211/* end confdefs.h.  */
49212#include <math.h>
49213int
49214main ()
49215{
49216 _atan2f(0, 0);
49217  ;
49218  return 0;
49219}
49220_ACEOF
49221if ac_fn_cxx_try_compile "$LINENO"; then :
49222  glibcxx_cv_func__atan2f_use=yes
49223else
49224  glibcxx_cv_func__atan2f_use=no
49225fi
49226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49227      ac_ext=c
49228ac_cpp='$CPP $CPPFLAGS'
49229ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49230ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49231ac_compiler_gnu=$ac_cv_c_compiler_gnu
49232
49233
49234fi
49235
49236  fi
49237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49238$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49239
49240    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49241      for ac_func in _atan2f
49242do :
49243  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49244if test "x$ac_cv_func__atan2f" = x""yes; then :
49245  cat >>confdefs.h <<_ACEOF
49246#define HAVE__ATAN2F 1
49247_ACEOF
49248
49249fi
49250done
49251
49252    fi
49253  fi
49254
49255
49256
49257
49258
49259  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49260$as_echo_n "checking for fabsf declaration... " >&6; }
49261  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49262    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
49263  $as_echo_n "(cached) " >&6
49264else
49265
49266
49267      ac_ext=cpp
49268ac_cpp='$CXXCPP $CPPFLAGS'
49269ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49270ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49271ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49272
49273      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49274/* end confdefs.h.  */
49275#include <math.h>
49276		      #ifdef HAVE_IEEEFP_H
49277		      #include <ieeefp.h>
49278		      #endif
49279
49280int
49281main ()
49282{
49283 fabsf(0);
49284  ;
49285  return 0;
49286}
49287_ACEOF
49288if ac_fn_cxx_try_compile "$LINENO"; then :
49289  glibcxx_cv_func_fabsf_use=yes
49290else
49291  glibcxx_cv_func_fabsf_use=no
49292fi
49293rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49294      ac_ext=c
49295ac_cpp='$CPP $CPPFLAGS'
49296ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49297ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49298ac_compiler_gnu=$ac_cv_c_compiler_gnu
49299
49300
49301fi
49302
49303  fi
49304  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49305$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49306
49307  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49308    for ac_func in fabsf
49309do :
49310  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49311if test "x$ac_cv_func_fabsf" = x""yes; then :
49312  cat >>confdefs.h <<_ACEOF
49313#define HAVE_FABSF 1
49314_ACEOF
49315
49316fi
49317done
49318
49319  else
49320
49321  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49322$as_echo_n "checking for _fabsf declaration... " >&6; }
49323  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49324    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
49325  $as_echo_n "(cached) " >&6
49326else
49327
49328
49329      ac_ext=cpp
49330ac_cpp='$CXXCPP $CPPFLAGS'
49331ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49332ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49333ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49334
49335      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49336/* end confdefs.h.  */
49337#include <math.h>
49338		      #ifdef HAVE_IEEEFP_H
49339		      #include <ieeefp.h>
49340		      #endif
49341
49342int
49343main ()
49344{
49345 _fabsf(0);
49346  ;
49347  return 0;
49348}
49349_ACEOF
49350if ac_fn_cxx_try_compile "$LINENO"; then :
49351  glibcxx_cv_func__fabsf_use=yes
49352else
49353  glibcxx_cv_func__fabsf_use=no
49354fi
49355rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49356      ac_ext=c
49357ac_cpp='$CPP $CPPFLAGS'
49358ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49359ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49360ac_compiler_gnu=$ac_cv_c_compiler_gnu
49361
49362
49363fi
49364
49365  fi
49366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49367$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49368
49369    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49370      for ac_func in _fabsf
49371do :
49372  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49373if test "x$ac_cv_func__fabsf" = x""yes; then :
49374  cat >>confdefs.h <<_ACEOF
49375#define HAVE__FABSF 1
49376_ACEOF
49377
49378fi
49379done
49380
49381    fi
49382  fi
49383
49384
49385
49386
49387
49388  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49389$as_echo_n "checking for fmodf declaration... " >&6; }
49390  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49391    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
49392  $as_echo_n "(cached) " >&6
49393else
49394
49395
49396      ac_ext=cpp
49397ac_cpp='$CXXCPP $CPPFLAGS'
49398ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49399ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49400ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49401
49402      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49403/* end confdefs.h.  */
49404#include <math.h>
49405int
49406main ()
49407{
49408 fmodf(0, 0);
49409  ;
49410  return 0;
49411}
49412_ACEOF
49413if ac_fn_cxx_try_compile "$LINENO"; then :
49414  glibcxx_cv_func_fmodf_use=yes
49415else
49416  glibcxx_cv_func_fmodf_use=no
49417fi
49418rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49419      ac_ext=c
49420ac_cpp='$CPP $CPPFLAGS'
49421ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49422ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49423ac_compiler_gnu=$ac_cv_c_compiler_gnu
49424
49425
49426fi
49427
49428  fi
49429  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49430$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49431
49432  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49433    for ac_func in fmodf
49434do :
49435  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49436if test "x$ac_cv_func_fmodf" = x""yes; then :
49437  cat >>confdefs.h <<_ACEOF
49438#define HAVE_FMODF 1
49439_ACEOF
49440
49441fi
49442done
49443
49444  else
49445
49446  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49447$as_echo_n "checking for _fmodf declaration... " >&6; }
49448  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49449    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49450  $as_echo_n "(cached) " >&6
49451else
49452
49453
49454      ac_ext=cpp
49455ac_cpp='$CXXCPP $CPPFLAGS'
49456ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49457ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49458ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49459
49460      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49461/* end confdefs.h.  */
49462#include <math.h>
49463int
49464main ()
49465{
49466 _fmodf(0, 0);
49467  ;
49468  return 0;
49469}
49470_ACEOF
49471if ac_fn_cxx_try_compile "$LINENO"; then :
49472  glibcxx_cv_func__fmodf_use=yes
49473else
49474  glibcxx_cv_func__fmodf_use=no
49475fi
49476rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49477      ac_ext=c
49478ac_cpp='$CPP $CPPFLAGS'
49479ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49480ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49481ac_compiler_gnu=$ac_cv_c_compiler_gnu
49482
49483
49484fi
49485
49486  fi
49487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49488$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49489
49490    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49491      for ac_func in _fmodf
49492do :
49493  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49494if test "x$ac_cv_func__fmodf" = x""yes; then :
49495  cat >>confdefs.h <<_ACEOF
49496#define HAVE__FMODF 1
49497_ACEOF
49498
49499fi
49500done
49501
49502    fi
49503  fi
49504
49505
49506
49507
49508
49509  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49510$as_echo_n "checking for frexpf declaration... " >&6; }
49511  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49512    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49513  $as_echo_n "(cached) " >&6
49514else
49515
49516
49517      ac_ext=cpp
49518ac_cpp='$CXXCPP $CPPFLAGS'
49519ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49520ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49521ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49522
49523      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49524/* end confdefs.h.  */
49525#include <math.h>
49526int
49527main ()
49528{
49529 frexpf(0, 0);
49530  ;
49531  return 0;
49532}
49533_ACEOF
49534if ac_fn_cxx_try_compile "$LINENO"; then :
49535  glibcxx_cv_func_frexpf_use=yes
49536else
49537  glibcxx_cv_func_frexpf_use=no
49538fi
49539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49540      ac_ext=c
49541ac_cpp='$CPP $CPPFLAGS'
49542ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49543ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49544ac_compiler_gnu=$ac_cv_c_compiler_gnu
49545
49546
49547fi
49548
49549  fi
49550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49551$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49552
49553  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49554    for ac_func in frexpf
49555do :
49556  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49557if test "x$ac_cv_func_frexpf" = x""yes; then :
49558  cat >>confdefs.h <<_ACEOF
49559#define HAVE_FREXPF 1
49560_ACEOF
49561
49562fi
49563done
49564
49565  else
49566
49567  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49568$as_echo_n "checking for _frexpf declaration... " >&6; }
49569  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49570    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49571  $as_echo_n "(cached) " >&6
49572else
49573
49574
49575      ac_ext=cpp
49576ac_cpp='$CXXCPP $CPPFLAGS'
49577ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49578ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49579ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49580
49581      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49582/* end confdefs.h.  */
49583#include <math.h>
49584int
49585main ()
49586{
49587 _frexpf(0, 0);
49588  ;
49589  return 0;
49590}
49591_ACEOF
49592if ac_fn_cxx_try_compile "$LINENO"; then :
49593  glibcxx_cv_func__frexpf_use=yes
49594else
49595  glibcxx_cv_func__frexpf_use=no
49596fi
49597rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49598      ac_ext=c
49599ac_cpp='$CPP $CPPFLAGS'
49600ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49601ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49602ac_compiler_gnu=$ac_cv_c_compiler_gnu
49603
49604
49605fi
49606
49607  fi
49608  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49609$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49610
49611    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49612      for ac_func in _frexpf
49613do :
49614  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49615if test "x$ac_cv_func__frexpf" = x""yes; then :
49616  cat >>confdefs.h <<_ACEOF
49617#define HAVE__FREXPF 1
49618_ACEOF
49619
49620fi
49621done
49622
49623    fi
49624  fi
49625
49626
49627
49628
49629
49630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49631$as_echo_n "checking for hypotf declaration... " >&6; }
49632  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49633    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49634  $as_echo_n "(cached) " >&6
49635else
49636
49637
49638      ac_ext=cpp
49639ac_cpp='$CXXCPP $CPPFLAGS'
49640ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49641ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49642ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49643
49644      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49645/* end confdefs.h.  */
49646#include <math.h>
49647int
49648main ()
49649{
49650 hypotf(0, 0);
49651  ;
49652  return 0;
49653}
49654_ACEOF
49655if ac_fn_cxx_try_compile "$LINENO"; then :
49656  glibcxx_cv_func_hypotf_use=yes
49657else
49658  glibcxx_cv_func_hypotf_use=no
49659fi
49660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49661      ac_ext=c
49662ac_cpp='$CPP $CPPFLAGS'
49663ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49664ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49665ac_compiler_gnu=$ac_cv_c_compiler_gnu
49666
49667
49668fi
49669
49670  fi
49671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49672$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49673
49674  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49675    for ac_func in hypotf
49676do :
49677  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49678if test "x$ac_cv_func_hypotf" = x""yes; then :
49679  cat >>confdefs.h <<_ACEOF
49680#define HAVE_HYPOTF 1
49681_ACEOF
49682
49683fi
49684done
49685
49686  else
49687
49688  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49689$as_echo_n "checking for _hypotf declaration... " >&6; }
49690  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49691    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49692  $as_echo_n "(cached) " >&6
49693else
49694
49695
49696      ac_ext=cpp
49697ac_cpp='$CXXCPP $CPPFLAGS'
49698ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49699ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49700ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49701
49702      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49703/* end confdefs.h.  */
49704#include <math.h>
49705int
49706main ()
49707{
49708 _hypotf(0, 0);
49709  ;
49710  return 0;
49711}
49712_ACEOF
49713if ac_fn_cxx_try_compile "$LINENO"; then :
49714  glibcxx_cv_func__hypotf_use=yes
49715else
49716  glibcxx_cv_func__hypotf_use=no
49717fi
49718rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49719      ac_ext=c
49720ac_cpp='$CPP $CPPFLAGS'
49721ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49722ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49723ac_compiler_gnu=$ac_cv_c_compiler_gnu
49724
49725
49726fi
49727
49728  fi
49729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49730$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49731
49732    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49733      for ac_func in _hypotf
49734do :
49735  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49736if test "x$ac_cv_func__hypotf" = x""yes; then :
49737  cat >>confdefs.h <<_ACEOF
49738#define HAVE__HYPOTF 1
49739_ACEOF
49740
49741fi
49742done
49743
49744    fi
49745  fi
49746
49747
49748
49749
49750
49751  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49752$as_echo_n "checking for ldexpf declaration... " >&6; }
49753  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49754    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49755  $as_echo_n "(cached) " >&6
49756else
49757
49758
49759      ac_ext=cpp
49760ac_cpp='$CXXCPP $CPPFLAGS'
49761ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49762ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49763ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49764
49765      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49766/* end confdefs.h.  */
49767#include <math.h>
49768int
49769main ()
49770{
49771 ldexpf(0, 0);
49772  ;
49773  return 0;
49774}
49775_ACEOF
49776if ac_fn_cxx_try_compile "$LINENO"; then :
49777  glibcxx_cv_func_ldexpf_use=yes
49778else
49779  glibcxx_cv_func_ldexpf_use=no
49780fi
49781rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49782      ac_ext=c
49783ac_cpp='$CPP $CPPFLAGS'
49784ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49785ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49786ac_compiler_gnu=$ac_cv_c_compiler_gnu
49787
49788
49789fi
49790
49791  fi
49792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49793$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49794
49795  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49796    for ac_func in ldexpf
49797do :
49798  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49799if test "x$ac_cv_func_ldexpf" = x""yes; then :
49800  cat >>confdefs.h <<_ACEOF
49801#define HAVE_LDEXPF 1
49802_ACEOF
49803
49804fi
49805done
49806
49807  else
49808
49809  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49810$as_echo_n "checking for _ldexpf declaration... " >&6; }
49811  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49812    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49813  $as_echo_n "(cached) " >&6
49814else
49815
49816
49817      ac_ext=cpp
49818ac_cpp='$CXXCPP $CPPFLAGS'
49819ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49820ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49821ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49822
49823      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49824/* end confdefs.h.  */
49825#include <math.h>
49826int
49827main ()
49828{
49829 _ldexpf(0, 0);
49830  ;
49831  return 0;
49832}
49833_ACEOF
49834if ac_fn_cxx_try_compile "$LINENO"; then :
49835  glibcxx_cv_func__ldexpf_use=yes
49836else
49837  glibcxx_cv_func__ldexpf_use=no
49838fi
49839rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49840      ac_ext=c
49841ac_cpp='$CPP $CPPFLAGS'
49842ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49843ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49844ac_compiler_gnu=$ac_cv_c_compiler_gnu
49845
49846
49847fi
49848
49849  fi
49850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49851$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49852
49853    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49854      for ac_func in _ldexpf
49855do :
49856  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49857if test "x$ac_cv_func__ldexpf" = x""yes; then :
49858  cat >>confdefs.h <<_ACEOF
49859#define HAVE__LDEXPF 1
49860_ACEOF
49861
49862fi
49863done
49864
49865    fi
49866  fi
49867
49868
49869
49870
49871
49872  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49873$as_echo_n "checking for logf declaration... " >&6; }
49874  if test x${glibcxx_cv_func_logf_use+set} != xset; then
49875    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49876  $as_echo_n "(cached) " >&6
49877else
49878
49879
49880      ac_ext=cpp
49881ac_cpp='$CXXCPP $CPPFLAGS'
49882ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49883ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49884ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49885
49886      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49887/* end confdefs.h.  */
49888#include <math.h>
49889		      #ifdef HAVE_IEEEFP_H
49890		      #include <ieeefp.h>
49891		      #endif
49892
49893int
49894main ()
49895{
49896 logf(0);
49897  ;
49898  return 0;
49899}
49900_ACEOF
49901if ac_fn_cxx_try_compile "$LINENO"; then :
49902  glibcxx_cv_func_logf_use=yes
49903else
49904  glibcxx_cv_func_logf_use=no
49905fi
49906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49907      ac_ext=c
49908ac_cpp='$CPP $CPPFLAGS'
49909ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49910ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49911ac_compiler_gnu=$ac_cv_c_compiler_gnu
49912
49913
49914fi
49915
49916  fi
49917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49918$as_echo "$glibcxx_cv_func_logf_use" >&6; }
49919
49920  if test x$glibcxx_cv_func_logf_use = x"yes"; then
49921    for ac_func in logf
49922do :
49923  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49924if test "x$ac_cv_func_logf" = x""yes; then :
49925  cat >>confdefs.h <<_ACEOF
49926#define HAVE_LOGF 1
49927_ACEOF
49928
49929fi
49930done
49931
49932  else
49933
49934  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49935$as_echo_n "checking for _logf declaration... " >&6; }
49936  if test x${glibcxx_cv_func__logf_use+set} != xset; then
49937    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49938  $as_echo_n "(cached) " >&6
49939else
49940
49941
49942      ac_ext=cpp
49943ac_cpp='$CXXCPP $CPPFLAGS'
49944ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49945ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49946ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49947
49948      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49949/* end confdefs.h.  */
49950#include <math.h>
49951		      #ifdef HAVE_IEEEFP_H
49952		      #include <ieeefp.h>
49953		      #endif
49954
49955int
49956main ()
49957{
49958 _logf(0);
49959  ;
49960  return 0;
49961}
49962_ACEOF
49963if ac_fn_cxx_try_compile "$LINENO"; then :
49964  glibcxx_cv_func__logf_use=yes
49965else
49966  glibcxx_cv_func__logf_use=no
49967fi
49968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49969      ac_ext=c
49970ac_cpp='$CPP $CPPFLAGS'
49971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49973ac_compiler_gnu=$ac_cv_c_compiler_gnu
49974
49975
49976fi
49977
49978  fi
49979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49980$as_echo "$glibcxx_cv_func__logf_use" >&6; }
49981
49982    if test x$glibcxx_cv_func__logf_use = x"yes"; then
49983      for ac_func in _logf
49984do :
49985  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49986if test "x$ac_cv_func__logf" = x""yes; then :
49987  cat >>confdefs.h <<_ACEOF
49988#define HAVE__LOGF 1
49989_ACEOF
49990
49991fi
49992done
49993
49994    fi
49995  fi
49996
49997
49998
49999
50000
50001  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50002$as_echo_n "checking for log10f declaration... " >&6; }
50003  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50004    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
50005  $as_echo_n "(cached) " >&6
50006else
50007
50008
50009      ac_ext=cpp
50010ac_cpp='$CXXCPP $CPPFLAGS'
50011ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50012ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50013ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50014
50015      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50016/* end confdefs.h.  */
50017#include <math.h>
50018		      #ifdef HAVE_IEEEFP_H
50019		      #include <ieeefp.h>
50020		      #endif
50021
50022int
50023main ()
50024{
50025 log10f(0);
50026  ;
50027  return 0;
50028}
50029_ACEOF
50030if ac_fn_cxx_try_compile "$LINENO"; then :
50031  glibcxx_cv_func_log10f_use=yes
50032else
50033  glibcxx_cv_func_log10f_use=no
50034fi
50035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50036      ac_ext=c
50037ac_cpp='$CPP $CPPFLAGS'
50038ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50039ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50040ac_compiler_gnu=$ac_cv_c_compiler_gnu
50041
50042
50043fi
50044
50045  fi
50046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50047$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50048
50049  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50050    for ac_func in log10f
50051do :
50052  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50053if test "x$ac_cv_func_log10f" = x""yes; then :
50054  cat >>confdefs.h <<_ACEOF
50055#define HAVE_LOG10F 1
50056_ACEOF
50057
50058fi
50059done
50060
50061  else
50062
50063  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50064$as_echo_n "checking for _log10f declaration... " >&6; }
50065  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50066    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
50067  $as_echo_n "(cached) " >&6
50068else
50069
50070
50071      ac_ext=cpp
50072ac_cpp='$CXXCPP $CPPFLAGS'
50073ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50074ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50075ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50076
50077      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50078/* end confdefs.h.  */
50079#include <math.h>
50080		      #ifdef HAVE_IEEEFP_H
50081		      #include <ieeefp.h>
50082		      #endif
50083
50084int
50085main ()
50086{
50087 _log10f(0);
50088  ;
50089  return 0;
50090}
50091_ACEOF
50092if ac_fn_cxx_try_compile "$LINENO"; then :
50093  glibcxx_cv_func__log10f_use=yes
50094else
50095  glibcxx_cv_func__log10f_use=no
50096fi
50097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50098      ac_ext=c
50099ac_cpp='$CPP $CPPFLAGS'
50100ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50101ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50102ac_compiler_gnu=$ac_cv_c_compiler_gnu
50103
50104
50105fi
50106
50107  fi
50108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50109$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50110
50111    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50112      for ac_func in _log10f
50113do :
50114  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50115if test "x$ac_cv_func__log10f" = x""yes; then :
50116  cat >>confdefs.h <<_ACEOF
50117#define HAVE__LOG10F 1
50118_ACEOF
50119
50120fi
50121done
50122
50123    fi
50124  fi
50125
50126
50127
50128
50129
50130  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50131$as_echo_n "checking for modff declaration... " >&6; }
50132  if test x${glibcxx_cv_func_modff_use+set} != xset; then
50133    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
50134  $as_echo_n "(cached) " >&6
50135else
50136
50137
50138      ac_ext=cpp
50139ac_cpp='$CXXCPP $CPPFLAGS'
50140ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50141ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50142ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50143
50144      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50145/* end confdefs.h.  */
50146#include <math.h>
50147int
50148main ()
50149{
50150 modff(0, 0);
50151  ;
50152  return 0;
50153}
50154_ACEOF
50155if ac_fn_cxx_try_compile "$LINENO"; then :
50156  glibcxx_cv_func_modff_use=yes
50157else
50158  glibcxx_cv_func_modff_use=no
50159fi
50160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50161      ac_ext=c
50162ac_cpp='$CPP $CPPFLAGS'
50163ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50164ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50165ac_compiler_gnu=$ac_cv_c_compiler_gnu
50166
50167
50168fi
50169
50170  fi
50171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50172$as_echo "$glibcxx_cv_func_modff_use" >&6; }
50173
50174  if test x$glibcxx_cv_func_modff_use = x"yes"; then
50175    for ac_func in modff
50176do :
50177  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50178if test "x$ac_cv_func_modff" = x""yes; then :
50179  cat >>confdefs.h <<_ACEOF
50180#define HAVE_MODFF 1
50181_ACEOF
50182
50183fi
50184done
50185
50186  else
50187
50188  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50189$as_echo_n "checking for _modff declaration... " >&6; }
50190  if test x${glibcxx_cv_func__modff_use+set} != xset; then
50191    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
50192  $as_echo_n "(cached) " >&6
50193else
50194
50195
50196      ac_ext=cpp
50197ac_cpp='$CXXCPP $CPPFLAGS'
50198ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50199ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50200ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50201
50202      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50203/* end confdefs.h.  */
50204#include <math.h>
50205int
50206main ()
50207{
50208 _modff(0, 0);
50209  ;
50210  return 0;
50211}
50212_ACEOF
50213if ac_fn_cxx_try_compile "$LINENO"; then :
50214  glibcxx_cv_func__modff_use=yes
50215else
50216  glibcxx_cv_func__modff_use=no
50217fi
50218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50219      ac_ext=c
50220ac_cpp='$CPP $CPPFLAGS'
50221ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50222ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50223ac_compiler_gnu=$ac_cv_c_compiler_gnu
50224
50225
50226fi
50227
50228  fi
50229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50230$as_echo "$glibcxx_cv_func__modff_use" >&6; }
50231
50232    if test x$glibcxx_cv_func__modff_use = x"yes"; then
50233      for ac_func in _modff
50234do :
50235  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50236if test "x$ac_cv_func__modff" = x""yes; then :
50237  cat >>confdefs.h <<_ACEOF
50238#define HAVE__MODFF 1
50239_ACEOF
50240
50241fi
50242done
50243
50244    fi
50245  fi
50246
50247
50248
50249
50250
50251  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50252$as_echo_n "checking for modf declaration... " >&6; }
50253  if test x${glibcxx_cv_func_modf_use+set} != xset; then
50254    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
50255  $as_echo_n "(cached) " >&6
50256else
50257
50258
50259      ac_ext=cpp
50260ac_cpp='$CXXCPP $CPPFLAGS'
50261ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50262ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50263ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50264
50265      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50266/* end confdefs.h.  */
50267#include <math.h>
50268int
50269main ()
50270{
50271 modf(0, 0);
50272  ;
50273  return 0;
50274}
50275_ACEOF
50276if ac_fn_cxx_try_compile "$LINENO"; then :
50277  glibcxx_cv_func_modf_use=yes
50278else
50279  glibcxx_cv_func_modf_use=no
50280fi
50281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50282      ac_ext=c
50283ac_cpp='$CPP $CPPFLAGS'
50284ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50285ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50286ac_compiler_gnu=$ac_cv_c_compiler_gnu
50287
50288
50289fi
50290
50291  fi
50292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50293$as_echo "$glibcxx_cv_func_modf_use" >&6; }
50294
50295  if test x$glibcxx_cv_func_modf_use = x"yes"; then
50296    for ac_func in modf
50297do :
50298  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50299if test "x$ac_cv_func_modf" = x""yes; then :
50300  cat >>confdefs.h <<_ACEOF
50301#define HAVE_MODF 1
50302_ACEOF
50303
50304fi
50305done
50306
50307  else
50308
50309  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50310$as_echo_n "checking for _modf declaration... " >&6; }
50311  if test x${glibcxx_cv_func__modf_use+set} != xset; then
50312    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
50313  $as_echo_n "(cached) " >&6
50314else
50315
50316
50317      ac_ext=cpp
50318ac_cpp='$CXXCPP $CPPFLAGS'
50319ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50320ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50321ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50322
50323      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50324/* end confdefs.h.  */
50325#include <math.h>
50326int
50327main ()
50328{
50329 _modf(0, 0);
50330  ;
50331  return 0;
50332}
50333_ACEOF
50334if ac_fn_cxx_try_compile "$LINENO"; then :
50335  glibcxx_cv_func__modf_use=yes
50336else
50337  glibcxx_cv_func__modf_use=no
50338fi
50339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50340      ac_ext=c
50341ac_cpp='$CPP $CPPFLAGS'
50342ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50343ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50344ac_compiler_gnu=$ac_cv_c_compiler_gnu
50345
50346
50347fi
50348
50349  fi
50350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50351$as_echo "$glibcxx_cv_func__modf_use" >&6; }
50352
50353    if test x$glibcxx_cv_func__modf_use = x"yes"; then
50354      for ac_func in _modf
50355do :
50356  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50357if test "x$ac_cv_func__modf" = x""yes; then :
50358  cat >>confdefs.h <<_ACEOF
50359#define HAVE__MODF 1
50360_ACEOF
50361
50362fi
50363done
50364
50365    fi
50366  fi
50367
50368
50369
50370
50371
50372  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50373$as_echo_n "checking for powf declaration... " >&6; }
50374  if test x${glibcxx_cv_func_powf_use+set} != xset; then
50375    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
50376  $as_echo_n "(cached) " >&6
50377else
50378
50379
50380      ac_ext=cpp
50381ac_cpp='$CXXCPP $CPPFLAGS'
50382ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50383ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50384ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50385
50386      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50387/* end confdefs.h.  */
50388#include <math.h>
50389int
50390main ()
50391{
50392 powf(0, 0);
50393  ;
50394  return 0;
50395}
50396_ACEOF
50397if ac_fn_cxx_try_compile "$LINENO"; then :
50398  glibcxx_cv_func_powf_use=yes
50399else
50400  glibcxx_cv_func_powf_use=no
50401fi
50402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50403      ac_ext=c
50404ac_cpp='$CPP $CPPFLAGS'
50405ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50406ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50407ac_compiler_gnu=$ac_cv_c_compiler_gnu
50408
50409
50410fi
50411
50412  fi
50413  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50414$as_echo "$glibcxx_cv_func_powf_use" >&6; }
50415
50416  if test x$glibcxx_cv_func_powf_use = x"yes"; then
50417    for ac_func in powf
50418do :
50419  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50420if test "x$ac_cv_func_powf" = x""yes; then :
50421  cat >>confdefs.h <<_ACEOF
50422#define HAVE_POWF 1
50423_ACEOF
50424
50425fi
50426done
50427
50428  else
50429
50430  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50431$as_echo_n "checking for _powf declaration... " >&6; }
50432  if test x${glibcxx_cv_func__powf_use+set} != xset; then
50433    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50434  $as_echo_n "(cached) " >&6
50435else
50436
50437
50438      ac_ext=cpp
50439ac_cpp='$CXXCPP $CPPFLAGS'
50440ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50441ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50442ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50443
50444      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50445/* end confdefs.h.  */
50446#include <math.h>
50447int
50448main ()
50449{
50450 _powf(0, 0);
50451  ;
50452  return 0;
50453}
50454_ACEOF
50455if ac_fn_cxx_try_compile "$LINENO"; then :
50456  glibcxx_cv_func__powf_use=yes
50457else
50458  glibcxx_cv_func__powf_use=no
50459fi
50460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50461      ac_ext=c
50462ac_cpp='$CPP $CPPFLAGS'
50463ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50464ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50465ac_compiler_gnu=$ac_cv_c_compiler_gnu
50466
50467
50468fi
50469
50470  fi
50471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50472$as_echo "$glibcxx_cv_func__powf_use" >&6; }
50473
50474    if test x$glibcxx_cv_func__powf_use = x"yes"; then
50475      for ac_func in _powf
50476do :
50477  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50478if test "x$ac_cv_func__powf" = x""yes; then :
50479  cat >>confdefs.h <<_ACEOF
50480#define HAVE__POWF 1
50481_ACEOF
50482
50483fi
50484done
50485
50486    fi
50487  fi
50488
50489
50490
50491
50492
50493  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50494$as_echo_n "checking for sqrtf declaration... " >&6; }
50495  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50496    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50497  $as_echo_n "(cached) " >&6
50498else
50499
50500
50501      ac_ext=cpp
50502ac_cpp='$CXXCPP $CPPFLAGS'
50503ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50504ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50505ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50506
50507      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50508/* end confdefs.h.  */
50509#include <math.h>
50510		      #ifdef HAVE_IEEEFP_H
50511		      #include <ieeefp.h>
50512		      #endif
50513
50514int
50515main ()
50516{
50517 sqrtf(0);
50518  ;
50519  return 0;
50520}
50521_ACEOF
50522if ac_fn_cxx_try_compile "$LINENO"; then :
50523  glibcxx_cv_func_sqrtf_use=yes
50524else
50525  glibcxx_cv_func_sqrtf_use=no
50526fi
50527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50528      ac_ext=c
50529ac_cpp='$CPP $CPPFLAGS'
50530ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50531ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50532ac_compiler_gnu=$ac_cv_c_compiler_gnu
50533
50534
50535fi
50536
50537  fi
50538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50539$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50540
50541  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50542    for ac_func in sqrtf
50543do :
50544  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50545if test "x$ac_cv_func_sqrtf" = x""yes; then :
50546  cat >>confdefs.h <<_ACEOF
50547#define HAVE_SQRTF 1
50548_ACEOF
50549
50550fi
50551done
50552
50553  else
50554
50555  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50556$as_echo_n "checking for _sqrtf declaration... " >&6; }
50557  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50558    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50559  $as_echo_n "(cached) " >&6
50560else
50561
50562
50563      ac_ext=cpp
50564ac_cpp='$CXXCPP $CPPFLAGS'
50565ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50566ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50567ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50568
50569      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50570/* end confdefs.h.  */
50571#include <math.h>
50572		      #ifdef HAVE_IEEEFP_H
50573		      #include <ieeefp.h>
50574		      #endif
50575
50576int
50577main ()
50578{
50579 _sqrtf(0);
50580  ;
50581  return 0;
50582}
50583_ACEOF
50584if ac_fn_cxx_try_compile "$LINENO"; then :
50585  glibcxx_cv_func__sqrtf_use=yes
50586else
50587  glibcxx_cv_func__sqrtf_use=no
50588fi
50589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50590      ac_ext=c
50591ac_cpp='$CPP $CPPFLAGS'
50592ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50593ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50594ac_compiler_gnu=$ac_cv_c_compiler_gnu
50595
50596
50597fi
50598
50599  fi
50600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50601$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50602
50603    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50604      for ac_func in _sqrtf
50605do :
50606  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50607if test "x$ac_cv_func__sqrtf" = x""yes; then :
50608  cat >>confdefs.h <<_ACEOF
50609#define HAVE__SQRTF 1
50610_ACEOF
50611
50612fi
50613done
50614
50615    fi
50616  fi
50617
50618
50619
50620
50621
50622  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50623$as_echo_n "checking for sincosf declaration... " >&6; }
50624  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50625    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50626  $as_echo_n "(cached) " >&6
50627else
50628
50629
50630      ac_ext=cpp
50631ac_cpp='$CXXCPP $CPPFLAGS'
50632ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50633ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50634ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50635
50636      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50637/* end confdefs.h.  */
50638#include <math.h>
50639int
50640main ()
50641{
50642 sincosf(0, 0, 0);
50643  ;
50644  return 0;
50645}
50646_ACEOF
50647if ac_fn_cxx_try_compile "$LINENO"; then :
50648  glibcxx_cv_func_sincosf_use=yes
50649else
50650  glibcxx_cv_func_sincosf_use=no
50651fi
50652rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50653      ac_ext=c
50654ac_cpp='$CPP $CPPFLAGS'
50655ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50656ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50657ac_compiler_gnu=$ac_cv_c_compiler_gnu
50658
50659
50660fi
50661
50662  fi
50663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50664$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50665
50666  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50667    for ac_func in sincosf
50668do :
50669  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50670if test "x$ac_cv_func_sincosf" = x""yes; then :
50671  cat >>confdefs.h <<_ACEOF
50672#define HAVE_SINCOSF 1
50673_ACEOF
50674
50675fi
50676done
50677
50678  else
50679
50680  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50681$as_echo_n "checking for _sincosf declaration... " >&6; }
50682  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50683    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50684  $as_echo_n "(cached) " >&6
50685else
50686
50687
50688      ac_ext=cpp
50689ac_cpp='$CXXCPP $CPPFLAGS'
50690ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50691ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50692ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50693
50694      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50695/* end confdefs.h.  */
50696#include <math.h>
50697int
50698main ()
50699{
50700 _sincosf(0, 0, 0);
50701  ;
50702  return 0;
50703}
50704_ACEOF
50705if ac_fn_cxx_try_compile "$LINENO"; then :
50706  glibcxx_cv_func__sincosf_use=yes
50707else
50708  glibcxx_cv_func__sincosf_use=no
50709fi
50710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50711      ac_ext=c
50712ac_cpp='$CPP $CPPFLAGS'
50713ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50714ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50715ac_compiler_gnu=$ac_cv_c_compiler_gnu
50716
50717
50718fi
50719
50720  fi
50721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50722$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50723
50724    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50725      for ac_func in _sincosf
50726do :
50727  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50728if test "x$ac_cv_func__sincosf" = x""yes; then :
50729  cat >>confdefs.h <<_ACEOF
50730#define HAVE__SINCOSF 1
50731_ACEOF
50732
50733fi
50734done
50735
50736    fi
50737  fi
50738
50739
50740
50741
50742
50743  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50744$as_echo_n "checking for finitef declaration... " >&6; }
50745  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50746    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50747  $as_echo_n "(cached) " >&6
50748else
50749
50750
50751      ac_ext=cpp
50752ac_cpp='$CXXCPP $CPPFLAGS'
50753ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50754ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50755ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50756
50757      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50758/* end confdefs.h.  */
50759#include <math.h>
50760		      #ifdef HAVE_IEEEFP_H
50761		      #include <ieeefp.h>
50762		      #endif
50763
50764int
50765main ()
50766{
50767 finitef(0);
50768  ;
50769  return 0;
50770}
50771_ACEOF
50772if ac_fn_cxx_try_compile "$LINENO"; then :
50773  glibcxx_cv_func_finitef_use=yes
50774else
50775  glibcxx_cv_func_finitef_use=no
50776fi
50777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50778      ac_ext=c
50779ac_cpp='$CPP $CPPFLAGS'
50780ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50781ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50782ac_compiler_gnu=$ac_cv_c_compiler_gnu
50783
50784
50785fi
50786
50787  fi
50788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50789$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50790
50791  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50792    for ac_func in finitef
50793do :
50794  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50795if test "x$ac_cv_func_finitef" = x""yes; then :
50796  cat >>confdefs.h <<_ACEOF
50797#define HAVE_FINITEF 1
50798_ACEOF
50799
50800fi
50801done
50802
50803  else
50804
50805  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50806$as_echo_n "checking for _finitef declaration... " >&6; }
50807  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50808    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50809  $as_echo_n "(cached) " >&6
50810else
50811
50812
50813      ac_ext=cpp
50814ac_cpp='$CXXCPP $CPPFLAGS'
50815ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50816ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50817ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50818
50819      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50820/* end confdefs.h.  */
50821#include <math.h>
50822		      #ifdef HAVE_IEEEFP_H
50823		      #include <ieeefp.h>
50824		      #endif
50825
50826int
50827main ()
50828{
50829 _finitef(0);
50830  ;
50831  return 0;
50832}
50833_ACEOF
50834if ac_fn_cxx_try_compile "$LINENO"; then :
50835  glibcxx_cv_func__finitef_use=yes
50836else
50837  glibcxx_cv_func__finitef_use=no
50838fi
50839rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50840      ac_ext=c
50841ac_cpp='$CPP $CPPFLAGS'
50842ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50843ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50844ac_compiler_gnu=$ac_cv_c_compiler_gnu
50845
50846
50847fi
50848
50849  fi
50850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50851$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50852
50853    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50854      for ac_func in _finitef
50855do :
50856  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50857if test "x$ac_cv_func__finitef" = x""yes; then :
50858  cat >>confdefs.h <<_ACEOF
50859#define HAVE__FINITEF 1
50860_ACEOF
50861
50862fi
50863done
50864
50865    fi
50866  fi
50867
50868
50869
50870
50871
50872    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50873$as_echo_n "checking for long double trig functions... " >&6; }
50874  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50875  $as_echo_n "(cached) " >&6
50876else
50877
50878
50879    ac_ext=cpp
50880ac_cpp='$CXXCPP $CPPFLAGS'
50881ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50882ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50883ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50884
50885    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50886/* end confdefs.h.  */
50887#include <math.h>
50888int
50889main ()
50890{
50891acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50892  ;
50893  return 0;
50894}
50895_ACEOF
50896if ac_fn_cxx_try_compile "$LINENO"; then :
50897  glibcxx_cv_func_long_double_trig_use=yes
50898else
50899  glibcxx_cv_func_long_double_trig_use=no
50900fi
50901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50902    ac_ext=c
50903ac_cpp='$CPP $CPPFLAGS'
50904ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50905ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50906ac_compiler_gnu=$ac_cv_c_compiler_gnu
50907
50908fi
50909
50910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50911$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50912  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50913    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50914do :
50915  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50916ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50917eval as_val=\$$as_ac_var
50918   if test "x$as_val" = x""yes; then :
50919  cat >>confdefs.h <<_ACEOF
50920#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50921_ACEOF
50922
50923fi
50924done
50925
50926  else
50927    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50928$as_echo_n "checking for _long double trig functions... " >&6; }
50929    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50930  $as_echo_n "(cached) " >&6
50931else
50932
50933
50934      ac_ext=cpp
50935ac_cpp='$CXXCPP $CPPFLAGS'
50936ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50937ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50938ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50939
50940      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50941/* end confdefs.h.  */
50942#include <math.h>
50943int
50944main ()
50945{
50946_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50947  ;
50948  return 0;
50949}
50950_ACEOF
50951if ac_fn_cxx_try_compile "$LINENO"; then :
50952  glibcxx_cv_func__long_double_trig_use=yes
50953else
50954  glibcxx_cv_func__long_double_trig_use=no
50955fi
50956rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50957      ac_ext=c
50958ac_cpp='$CPP $CPPFLAGS'
50959ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50960ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50961ac_compiler_gnu=$ac_cv_c_compiler_gnu
50962
50963fi
50964
50965    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50966$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50967    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50968      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50969do :
50970  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50971ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50972eval as_val=\$$as_ac_var
50973   if test "x$as_val" = x""yes; then :
50974  cat >>confdefs.h <<_ACEOF
50975#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50976_ACEOF
50977
50978fi
50979done
50980
50981    fi
50982  fi
50983
50984
50985
50986
50987
50988    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50989$as_echo_n "checking for long double round functions... " >&6; }
50990  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50991  $as_echo_n "(cached) " >&6
50992else
50993
50994
50995    ac_ext=cpp
50996ac_cpp='$CXXCPP $CPPFLAGS'
50997ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50998ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50999ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51000
51001    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51002/* end confdefs.h.  */
51003#include <math.h>
51004int
51005main ()
51006{
51007ceill (0); floorl (0);
51008  ;
51009  return 0;
51010}
51011_ACEOF
51012if ac_fn_cxx_try_compile "$LINENO"; then :
51013  glibcxx_cv_func_long_double_round_use=yes
51014else
51015  glibcxx_cv_func_long_double_round_use=no
51016fi
51017rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51018    ac_ext=c
51019ac_cpp='$CPP $CPPFLAGS'
51020ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51021ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51022ac_compiler_gnu=$ac_cv_c_compiler_gnu
51023
51024fi
51025
51026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51027$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51028  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51029    for ac_func in ceill floorl
51030do :
51031  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51032ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51033eval as_val=\$$as_ac_var
51034   if test "x$as_val" = x""yes; then :
51035  cat >>confdefs.h <<_ACEOF
51036#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51037_ACEOF
51038
51039fi
51040done
51041
51042  else
51043    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51044$as_echo_n "checking for _long double round functions... " >&6; }
51045    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
51046  $as_echo_n "(cached) " >&6
51047else
51048
51049
51050      ac_ext=cpp
51051ac_cpp='$CXXCPP $CPPFLAGS'
51052ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51053ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51054ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51055
51056      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51057/* end confdefs.h.  */
51058#include <math.h>
51059int
51060main ()
51061{
51062_ceill (0); _floorl (0);
51063  ;
51064  return 0;
51065}
51066_ACEOF
51067if ac_fn_cxx_try_compile "$LINENO"; then :
51068  glibcxx_cv_func__long_double_round_use=yes
51069else
51070  glibcxx_cv_func__long_double_round_use=no
51071fi
51072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51073      ac_ext=c
51074ac_cpp='$CPP $CPPFLAGS'
51075ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51076ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51077ac_compiler_gnu=$ac_cv_c_compiler_gnu
51078
51079fi
51080
51081    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51082$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51083    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51084      for ac_func in _ceill _floorl
51085do :
51086  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51087ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51088eval as_val=\$$as_ac_var
51089   if test "x$as_val" = x""yes; then :
51090  cat >>confdefs.h <<_ACEOF
51091#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51092_ACEOF
51093
51094fi
51095done
51096
51097    fi
51098  fi
51099
51100
51101
51102
51103
51104
51105  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51106$as_echo_n "checking for isnanl declaration... " >&6; }
51107  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51108    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
51109  $as_echo_n "(cached) " >&6
51110else
51111
51112
51113      ac_ext=cpp
51114ac_cpp='$CXXCPP $CPPFLAGS'
51115ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51116ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51117ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51118
51119      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51120/* end confdefs.h.  */
51121#include <math.h>
51122		      #ifdef HAVE_IEEEFP_H
51123		      #include <ieeefp.h>
51124		      #endif
51125
51126int
51127main ()
51128{
51129 isnanl(0);
51130  ;
51131  return 0;
51132}
51133_ACEOF
51134if ac_fn_cxx_try_compile "$LINENO"; then :
51135  glibcxx_cv_func_isnanl_use=yes
51136else
51137  glibcxx_cv_func_isnanl_use=no
51138fi
51139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51140      ac_ext=c
51141ac_cpp='$CPP $CPPFLAGS'
51142ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51143ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51144ac_compiler_gnu=$ac_cv_c_compiler_gnu
51145
51146
51147fi
51148
51149  fi
51150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51151$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51152
51153  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51154    for ac_func in isnanl
51155do :
51156  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51157if test "x$ac_cv_func_isnanl" = x""yes; then :
51158  cat >>confdefs.h <<_ACEOF
51159#define HAVE_ISNANL 1
51160_ACEOF
51161
51162fi
51163done
51164
51165  else
51166
51167  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51168$as_echo_n "checking for _isnanl declaration... " >&6; }
51169  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51170    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
51171  $as_echo_n "(cached) " >&6
51172else
51173
51174
51175      ac_ext=cpp
51176ac_cpp='$CXXCPP $CPPFLAGS'
51177ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51178ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51179ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51180
51181      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51182/* end confdefs.h.  */
51183#include <math.h>
51184		      #ifdef HAVE_IEEEFP_H
51185		      #include <ieeefp.h>
51186		      #endif
51187
51188int
51189main ()
51190{
51191 _isnanl(0);
51192  ;
51193  return 0;
51194}
51195_ACEOF
51196if ac_fn_cxx_try_compile "$LINENO"; then :
51197  glibcxx_cv_func__isnanl_use=yes
51198else
51199  glibcxx_cv_func__isnanl_use=no
51200fi
51201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51202      ac_ext=c
51203ac_cpp='$CPP $CPPFLAGS'
51204ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51205ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51206ac_compiler_gnu=$ac_cv_c_compiler_gnu
51207
51208
51209fi
51210
51211  fi
51212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51213$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51214
51215    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51216      for ac_func in _isnanl
51217do :
51218  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51219if test "x$ac_cv_func__isnanl" = x""yes; then :
51220  cat >>confdefs.h <<_ACEOF
51221#define HAVE__ISNANL 1
51222_ACEOF
51223
51224fi
51225done
51226
51227    fi
51228  fi
51229
51230
51231
51232
51233
51234  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51235$as_echo_n "checking for isinfl declaration... " >&6; }
51236  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51237    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
51238  $as_echo_n "(cached) " >&6
51239else
51240
51241
51242      ac_ext=cpp
51243ac_cpp='$CXXCPP $CPPFLAGS'
51244ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51245ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51246ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51247
51248      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51249/* end confdefs.h.  */
51250#include <math.h>
51251		      #ifdef HAVE_IEEEFP_H
51252		      #include <ieeefp.h>
51253		      #endif
51254
51255int
51256main ()
51257{
51258 isinfl(0);
51259  ;
51260  return 0;
51261}
51262_ACEOF
51263if ac_fn_cxx_try_compile "$LINENO"; then :
51264  glibcxx_cv_func_isinfl_use=yes
51265else
51266  glibcxx_cv_func_isinfl_use=no
51267fi
51268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51269      ac_ext=c
51270ac_cpp='$CPP $CPPFLAGS'
51271ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51272ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51273ac_compiler_gnu=$ac_cv_c_compiler_gnu
51274
51275
51276fi
51277
51278  fi
51279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51280$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51281
51282  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51283    for ac_func in isinfl
51284do :
51285  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51286if test "x$ac_cv_func_isinfl" = x""yes; then :
51287  cat >>confdefs.h <<_ACEOF
51288#define HAVE_ISINFL 1
51289_ACEOF
51290
51291fi
51292done
51293
51294  else
51295
51296  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51297$as_echo_n "checking for _isinfl declaration... " >&6; }
51298  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51299    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
51300  $as_echo_n "(cached) " >&6
51301else
51302
51303
51304      ac_ext=cpp
51305ac_cpp='$CXXCPP $CPPFLAGS'
51306ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51307ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51308ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51309
51310      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51311/* end confdefs.h.  */
51312#include <math.h>
51313		      #ifdef HAVE_IEEEFP_H
51314		      #include <ieeefp.h>
51315		      #endif
51316
51317int
51318main ()
51319{
51320 _isinfl(0);
51321  ;
51322  return 0;
51323}
51324_ACEOF
51325if ac_fn_cxx_try_compile "$LINENO"; then :
51326  glibcxx_cv_func__isinfl_use=yes
51327else
51328  glibcxx_cv_func__isinfl_use=no
51329fi
51330rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51331      ac_ext=c
51332ac_cpp='$CPP $CPPFLAGS'
51333ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51334ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51335ac_compiler_gnu=$ac_cv_c_compiler_gnu
51336
51337
51338fi
51339
51340  fi
51341  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51342$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51343
51344    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51345      for ac_func in _isinfl
51346do :
51347  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51348if test "x$ac_cv_func__isinfl" = x""yes; then :
51349  cat >>confdefs.h <<_ACEOF
51350#define HAVE__ISINFL 1
51351_ACEOF
51352
51353fi
51354done
51355
51356    fi
51357  fi
51358
51359
51360
51361
51362
51363  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51364$as_echo_n "checking for atan2l declaration... " >&6; }
51365  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51366    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
51367  $as_echo_n "(cached) " >&6
51368else
51369
51370
51371      ac_ext=cpp
51372ac_cpp='$CXXCPP $CPPFLAGS'
51373ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51374ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51375ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51376
51377      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51378/* end confdefs.h.  */
51379#include <math.h>
51380int
51381main ()
51382{
51383 atan2l(0, 0);
51384  ;
51385  return 0;
51386}
51387_ACEOF
51388if ac_fn_cxx_try_compile "$LINENO"; then :
51389  glibcxx_cv_func_atan2l_use=yes
51390else
51391  glibcxx_cv_func_atan2l_use=no
51392fi
51393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51394      ac_ext=c
51395ac_cpp='$CPP $CPPFLAGS'
51396ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51397ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51398ac_compiler_gnu=$ac_cv_c_compiler_gnu
51399
51400
51401fi
51402
51403  fi
51404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51405$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51406
51407  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51408    for ac_func in atan2l
51409do :
51410  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51411if test "x$ac_cv_func_atan2l" = x""yes; then :
51412  cat >>confdefs.h <<_ACEOF
51413#define HAVE_ATAN2L 1
51414_ACEOF
51415
51416fi
51417done
51418
51419  else
51420
51421  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51422$as_echo_n "checking for _atan2l declaration... " >&6; }
51423  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51424    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51425  $as_echo_n "(cached) " >&6
51426else
51427
51428
51429      ac_ext=cpp
51430ac_cpp='$CXXCPP $CPPFLAGS'
51431ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51432ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51433ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51434
51435      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51436/* end confdefs.h.  */
51437#include <math.h>
51438int
51439main ()
51440{
51441 _atan2l(0, 0);
51442  ;
51443  return 0;
51444}
51445_ACEOF
51446if ac_fn_cxx_try_compile "$LINENO"; then :
51447  glibcxx_cv_func__atan2l_use=yes
51448else
51449  glibcxx_cv_func__atan2l_use=no
51450fi
51451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51452      ac_ext=c
51453ac_cpp='$CPP $CPPFLAGS'
51454ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51455ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51456ac_compiler_gnu=$ac_cv_c_compiler_gnu
51457
51458
51459fi
51460
51461  fi
51462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51463$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51464
51465    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51466      for ac_func in _atan2l
51467do :
51468  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51469if test "x$ac_cv_func__atan2l" = x""yes; then :
51470  cat >>confdefs.h <<_ACEOF
51471#define HAVE__ATAN2L 1
51472_ACEOF
51473
51474fi
51475done
51476
51477    fi
51478  fi
51479
51480
51481
51482
51483
51484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51485$as_echo_n "checking for expl declaration... " >&6; }
51486  if test x${glibcxx_cv_func_expl_use+set} != xset; then
51487    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51488  $as_echo_n "(cached) " >&6
51489else
51490
51491
51492      ac_ext=cpp
51493ac_cpp='$CXXCPP $CPPFLAGS'
51494ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51495ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51496ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51497
51498      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51499/* end confdefs.h.  */
51500#include <math.h>
51501		      #ifdef HAVE_IEEEFP_H
51502		      #include <ieeefp.h>
51503		      #endif
51504
51505int
51506main ()
51507{
51508 expl(0);
51509  ;
51510  return 0;
51511}
51512_ACEOF
51513if ac_fn_cxx_try_compile "$LINENO"; then :
51514  glibcxx_cv_func_expl_use=yes
51515else
51516  glibcxx_cv_func_expl_use=no
51517fi
51518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51519      ac_ext=c
51520ac_cpp='$CPP $CPPFLAGS'
51521ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51522ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51523ac_compiler_gnu=$ac_cv_c_compiler_gnu
51524
51525
51526fi
51527
51528  fi
51529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51530$as_echo "$glibcxx_cv_func_expl_use" >&6; }
51531
51532  if test x$glibcxx_cv_func_expl_use = x"yes"; then
51533    for ac_func in expl
51534do :
51535  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51536if test "x$ac_cv_func_expl" = x""yes; then :
51537  cat >>confdefs.h <<_ACEOF
51538#define HAVE_EXPL 1
51539_ACEOF
51540
51541fi
51542done
51543
51544  else
51545
51546  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51547$as_echo_n "checking for _expl declaration... " >&6; }
51548  if test x${glibcxx_cv_func__expl_use+set} != xset; then
51549    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51550  $as_echo_n "(cached) " >&6
51551else
51552
51553
51554      ac_ext=cpp
51555ac_cpp='$CXXCPP $CPPFLAGS'
51556ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51557ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51558ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51559
51560      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51561/* end confdefs.h.  */
51562#include <math.h>
51563		      #ifdef HAVE_IEEEFP_H
51564		      #include <ieeefp.h>
51565		      #endif
51566
51567int
51568main ()
51569{
51570 _expl(0);
51571  ;
51572  return 0;
51573}
51574_ACEOF
51575if ac_fn_cxx_try_compile "$LINENO"; then :
51576  glibcxx_cv_func__expl_use=yes
51577else
51578  glibcxx_cv_func__expl_use=no
51579fi
51580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51581      ac_ext=c
51582ac_cpp='$CPP $CPPFLAGS'
51583ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51584ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51585ac_compiler_gnu=$ac_cv_c_compiler_gnu
51586
51587
51588fi
51589
51590  fi
51591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51592$as_echo "$glibcxx_cv_func__expl_use" >&6; }
51593
51594    if test x$glibcxx_cv_func__expl_use = x"yes"; then
51595      for ac_func in _expl
51596do :
51597  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51598if test "x$ac_cv_func__expl" = x""yes; then :
51599  cat >>confdefs.h <<_ACEOF
51600#define HAVE__EXPL 1
51601_ACEOF
51602
51603fi
51604done
51605
51606    fi
51607  fi
51608
51609
51610
51611
51612
51613  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51614$as_echo_n "checking for fabsl declaration... " >&6; }
51615  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51616    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51617  $as_echo_n "(cached) " >&6
51618else
51619
51620
51621      ac_ext=cpp
51622ac_cpp='$CXXCPP $CPPFLAGS'
51623ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51624ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51625ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51626
51627      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51628/* end confdefs.h.  */
51629#include <math.h>
51630		      #ifdef HAVE_IEEEFP_H
51631		      #include <ieeefp.h>
51632		      #endif
51633
51634int
51635main ()
51636{
51637 fabsl(0);
51638  ;
51639  return 0;
51640}
51641_ACEOF
51642if ac_fn_cxx_try_compile "$LINENO"; then :
51643  glibcxx_cv_func_fabsl_use=yes
51644else
51645  glibcxx_cv_func_fabsl_use=no
51646fi
51647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51648      ac_ext=c
51649ac_cpp='$CPP $CPPFLAGS'
51650ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51651ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51652ac_compiler_gnu=$ac_cv_c_compiler_gnu
51653
51654
51655fi
51656
51657  fi
51658  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51659$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51660
51661  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51662    for ac_func in fabsl
51663do :
51664  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51665if test "x$ac_cv_func_fabsl" = x""yes; then :
51666  cat >>confdefs.h <<_ACEOF
51667#define HAVE_FABSL 1
51668_ACEOF
51669
51670fi
51671done
51672
51673  else
51674
51675  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51676$as_echo_n "checking for _fabsl declaration... " >&6; }
51677  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51678    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51679  $as_echo_n "(cached) " >&6
51680else
51681
51682
51683      ac_ext=cpp
51684ac_cpp='$CXXCPP $CPPFLAGS'
51685ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51686ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51687ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51688
51689      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51690/* end confdefs.h.  */
51691#include <math.h>
51692		      #ifdef HAVE_IEEEFP_H
51693		      #include <ieeefp.h>
51694		      #endif
51695
51696int
51697main ()
51698{
51699 _fabsl(0);
51700  ;
51701  return 0;
51702}
51703_ACEOF
51704if ac_fn_cxx_try_compile "$LINENO"; then :
51705  glibcxx_cv_func__fabsl_use=yes
51706else
51707  glibcxx_cv_func__fabsl_use=no
51708fi
51709rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51710      ac_ext=c
51711ac_cpp='$CPP $CPPFLAGS'
51712ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51713ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51714ac_compiler_gnu=$ac_cv_c_compiler_gnu
51715
51716
51717fi
51718
51719  fi
51720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51721$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51722
51723    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51724      for ac_func in _fabsl
51725do :
51726  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51727if test "x$ac_cv_func__fabsl" = x""yes; then :
51728  cat >>confdefs.h <<_ACEOF
51729#define HAVE__FABSL 1
51730_ACEOF
51731
51732fi
51733done
51734
51735    fi
51736  fi
51737
51738
51739
51740
51741
51742  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51743$as_echo_n "checking for fmodl declaration... " >&6; }
51744  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51745    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51746  $as_echo_n "(cached) " >&6
51747else
51748
51749
51750      ac_ext=cpp
51751ac_cpp='$CXXCPP $CPPFLAGS'
51752ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51753ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51754ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51755
51756      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51757/* end confdefs.h.  */
51758#include <math.h>
51759int
51760main ()
51761{
51762 fmodl(0, 0);
51763  ;
51764  return 0;
51765}
51766_ACEOF
51767if ac_fn_cxx_try_compile "$LINENO"; then :
51768  glibcxx_cv_func_fmodl_use=yes
51769else
51770  glibcxx_cv_func_fmodl_use=no
51771fi
51772rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51773      ac_ext=c
51774ac_cpp='$CPP $CPPFLAGS'
51775ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51776ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51777ac_compiler_gnu=$ac_cv_c_compiler_gnu
51778
51779
51780fi
51781
51782  fi
51783  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51784$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51785
51786  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51787    for ac_func in fmodl
51788do :
51789  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51790if test "x$ac_cv_func_fmodl" = x""yes; then :
51791  cat >>confdefs.h <<_ACEOF
51792#define HAVE_FMODL 1
51793_ACEOF
51794
51795fi
51796done
51797
51798  else
51799
51800  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51801$as_echo_n "checking for _fmodl declaration... " >&6; }
51802  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51803    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51804  $as_echo_n "(cached) " >&6
51805else
51806
51807
51808      ac_ext=cpp
51809ac_cpp='$CXXCPP $CPPFLAGS'
51810ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51811ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51812ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51813
51814      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51815/* end confdefs.h.  */
51816#include <math.h>
51817int
51818main ()
51819{
51820 _fmodl(0, 0);
51821  ;
51822  return 0;
51823}
51824_ACEOF
51825if ac_fn_cxx_try_compile "$LINENO"; then :
51826  glibcxx_cv_func__fmodl_use=yes
51827else
51828  glibcxx_cv_func__fmodl_use=no
51829fi
51830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51831      ac_ext=c
51832ac_cpp='$CPP $CPPFLAGS'
51833ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51834ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51835ac_compiler_gnu=$ac_cv_c_compiler_gnu
51836
51837
51838fi
51839
51840  fi
51841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51842$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51843
51844    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51845      for ac_func in _fmodl
51846do :
51847  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51848if test "x$ac_cv_func__fmodl" = x""yes; then :
51849  cat >>confdefs.h <<_ACEOF
51850#define HAVE__FMODL 1
51851_ACEOF
51852
51853fi
51854done
51855
51856    fi
51857  fi
51858
51859
51860
51861
51862
51863  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51864$as_echo_n "checking for frexpl declaration... " >&6; }
51865  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51866    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51867  $as_echo_n "(cached) " >&6
51868else
51869
51870
51871      ac_ext=cpp
51872ac_cpp='$CXXCPP $CPPFLAGS'
51873ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51874ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51875ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51876
51877      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51878/* end confdefs.h.  */
51879#include <math.h>
51880int
51881main ()
51882{
51883 frexpl(0, 0);
51884  ;
51885  return 0;
51886}
51887_ACEOF
51888if ac_fn_cxx_try_compile "$LINENO"; then :
51889  glibcxx_cv_func_frexpl_use=yes
51890else
51891  glibcxx_cv_func_frexpl_use=no
51892fi
51893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51894      ac_ext=c
51895ac_cpp='$CPP $CPPFLAGS'
51896ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51897ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51898ac_compiler_gnu=$ac_cv_c_compiler_gnu
51899
51900
51901fi
51902
51903  fi
51904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51905$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51906
51907  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51908    for ac_func in frexpl
51909do :
51910  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51911if test "x$ac_cv_func_frexpl" = x""yes; then :
51912  cat >>confdefs.h <<_ACEOF
51913#define HAVE_FREXPL 1
51914_ACEOF
51915
51916fi
51917done
51918
51919  else
51920
51921  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51922$as_echo_n "checking for _frexpl declaration... " >&6; }
51923  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51924    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51925  $as_echo_n "(cached) " >&6
51926else
51927
51928
51929      ac_ext=cpp
51930ac_cpp='$CXXCPP $CPPFLAGS'
51931ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51932ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51933ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51934
51935      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51936/* end confdefs.h.  */
51937#include <math.h>
51938int
51939main ()
51940{
51941 _frexpl(0, 0);
51942  ;
51943  return 0;
51944}
51945_ACEOF
51946if ac_fn_cxx_try_compile "$LINENO"; then :
51947  glibcxx_cv_func__frexpl_use=yes
51948else
51949  glibcxx_cv_func__frexpl_use=no
51950fi
51951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51952      ac_ext=c
51953ac_cpp='$CPP $CPPFLAGS'
51954ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51955ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51956ac_compiler_gnu=$ac_cv_c_compiler_gnu
51957
51958
51959fi
51960
51961  fi
51962  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51963$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51964
51965    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51966      for ac_func in _frexpl
51967do :
51968  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51969if test "x$ac_cv_func__frexpl" = x""yes; then :
51970  cat >>confdefs.h <<_ACEOF
51971#define HAVE__FREXPL 1
51972_ACEOF
51973
51974fi
51975done
51976
51977    fi
51978  fi
51979
51980
51981
51982
51983
51984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51985$as_echo_n "checking for hypotl declaration... " >&6; }
51986  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51987    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51988  $as_echo_n "(cached) " >&6
51989else
51990
51991
51992      ac_ext=cpp
51993ac_cpp='$CXXCPP $CPPFLAGS'
51994ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51995ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51996ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51997
51998      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51999/* end confdefs.h.  */
52000#include <math.h>
52001int
52002main ()
52003{
52004 hypotl(0, 0);
52005  ;
52006  return 0;
52007}
52008_ACEOF
52009if ac_fn_cxx_try_compile "$LINENO"; then :
52010  glibcxx_cv_func_hypotl_use=yes
52011else
52012  glibcxx_cv_func_hypotl_use=no
52013fi
52014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52015      ac_ext=c
52016ac_cpp='$CPP $CPPFLAGS'
52017ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52018ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52019ac_compiler_gnu=$ac_cv_c_compiler_gnu
52020
52021
52022fi
52023
52024  fi
52025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52026$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52027
52028  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52029    for ac_func in hypotl
52030do :
52031  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52032if test "x$ac_cv_func_hypotl" = x""yes; then :
52033  cat >>confdefs.h <<_ACEOF
52034#define HAVE_HYPOTL 1
52035_ACEOF
52036
52037fi
52038done
52039
52040  else
52041
52042  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52043$as_echo_n "checking for _hypotl declaration... " >&6; }
52044  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52045    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
52046  $as_echo_n "(cached) " >&6
52047else
52048
52049
52050      ac_ext=cpp
52051ac_cpp='$CXXCPP $CPPFLAGS'
52052ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52053ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52054ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52055
52056      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52057/* end confdefs.h.  */
52058#include <math.h>
52059int
52060main ()
52061{
52062 _hypotl(0, 0);
52063  ;
52064  return 0;
52065}
52066_ACEOF
52067if ac_fn_cxx_try_compile "$LINENO"; then :
52068  glibcxx_cv_func__hypotl_use=yes
52069else
52070  glibcxx_cv_func__hypotl_use=no
52071fi
52072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52073      ac_ext=c
52074ac_cpp='$CPP $CPPFLAGS'
52075ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52076ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52077ac_compiler_gnu=$ac_cv_c_compiler_gnu
52078
52079
52080fi
52081
52082  fi
52083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52084$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52085
52086    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52087      for ac_func in _hypotl
52088do :
52089  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52090if test "x$ac_cv_func__hypotl" = x""yes; then :
52091  cat >>confdefs.h <<_ACEOF
52092#define HAVE__HYPOTL 1
52093_ACEOF
52094
52095fi
52096done
52097
52098    fi
52099  fi
52100
52101
52102
52103
52104
52105  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52106$as_echo_n "checking for ldexpl declaration... " >&6; }
52107  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52108    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
52109  $as_echo_n "(cached) " >&6
52110else
52111
52112
52113      ac_ext=cpp
52114ac_cpp='$CXXCPP $CPPFLAGS'
52115ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52116ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52117ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52118
52119      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52120/* end confdefs.h.  */
52121#include <math.h>
52122int
52123main ()
52124{
52125 ldexpl(0, 0);
52126  ;
52127  return 0;
52128}
52129_ACEOF
52130if ac_fn_cxx_try_compile "$LINENO"; then :
52131  glibcxx_cv_func_ldexpl_use=yes
52132else
52133  glibcxx_cv_func_ldexpl_use=no
52134fi
52135rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52136      ac_ext=c
52137ac_cpp='$CPP $CPPFLAGS'
52138ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52139ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52140ac_compiler_gnu=$ac_cv_c_compiler_gnu
52141
52142
52143fi
52144
52145  fi
52146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52147$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52148
52149  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52150    for ac_func in ldexpl
52151do :
52152  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52153if test "x$ac_cv_func_ldexpl" = x""yes; then :
52154  cat >>confdefs.h <<_ACEOF
52155#define HAVE_LDEXPL 1
52156_ACEOF
52157
52158fi
52159done
52160
52161  else
52162
52163  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52164$as_echo_n "checking for _ldexpl declaration... " >&6; }
52165  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52166    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
52167  $as_echo_n "(cached) " >&6
52168else
52169
52170
52171      ac_ext=cpp
52172ac_cpp='$CXXCPP $CPPFLAGS'
52173ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52174ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52175ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52176
52177      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52178/* end confdefs.h.  */
52179#include <math.h>
52180int
52181main ()
52182{
52183 _ldexpl(0, 0);
52184  ;
52185  return 0;
52186}
52187_ACEOF
52188if ac_fn_cxx_try_compile "$LINENO"; then :
52189  glibcxx_cv_func__ldexpl_use=yes
52190else
52191  glibcxx_cv_func__ldexpl_use=no
52192fi
52193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52194      ac_ext=c
52195ac_cpp='$CPP $CPPFLAGS'
52196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52198ac_compiler_gnu=$ac_cv_c_compiler_gnu
52199
52200
52201fi
52202
52203  fi
52204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52205$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52206
52207    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52208      for ac_func in _ldexpl
52209do :
52210  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52211if test "x$ac_cv_func__ldexpl" = x""yes; then :
52212  cat >>confdefs.h <<_ACEOF
52213#define HAVE__LDEXPL 1
52214_ACEOF
52215
52216fi
52217done
52218
52219    fi
52220  fi
52221
52222
52223
52224
52225
52226  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52227$as_echo_n "checking for logl declaration... " >&6; }
52228  if test x${glibcxx_cv_func_logl_use+set} != xset; then
52229    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
52230  $as_echo_n "(cached) " >&6
52231else
52232
52233
52234      ac_ext=cpp
52235ac_cpp='$CXXCPP $CPPFLAGS'
52236ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52237ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52238ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52239
52240      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52241/* end confdefs.h.  */
52242#include <math.h>
52243		      #ifdef HAVE_IEEEFP_H
52244		      #include <ieeefp.h>
52245		      #endif
52246
52247int
52248main ()
52249{
52250 logl(0);
52251  ;
52252  return 0;
52253}
52254_ACEOF
52255if ac_fn_cxx_try_compile "$LINENO"; then :
52256  glibcxx_cv_func_logl_use=yes
52257else
52258  glibcxx_cv_func_logl_use=no
52259fi
52260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52261      ac_ext=c
52262ac_cpp='$CPP $CPPFLAGS'
52263ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52264ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52265ac_compiler_gnu=$ac_cv_c_compiler_gnu
52266
52267
52268fi
52269
52270  fi
52271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52272$as_echo "$glibcxx_cv_func_logl_use" >&6; }
52273
52274  if test x$glibcxx_cv_func_logl_use = x"yes"; then
52275    for ac_func in logl
52276do :
52277  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52278if test "x$ac_cv_func_logl" = x""yes; then :
52279  cat >>confdefs.h <<_ACEOF
52280#define HAVE_LOGL 1
52281_ACEOF
52282
52283fi
52284done
52285
52286  else
52287
52288  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52289$as_echo_n "checking for _logl declaration... " >&6; }
52290  if test x${glibcxx_cv_func__logl_use+set} != xset; then
52291    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
52292  $as_echo_n "(cached) " >&6
52293else
52294
52295
52296      ac_ext=cpp
52297ac_cpp='$CXXCPP $CPPFLAGS'
52298ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52299ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52300ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52301
52302      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52303/* end confdefs.h.  */
52304#include <math.h>
52305		      #ifdef HAVE_IEEEFP_H
52306		      #include <ieeefp.h>
52307		      #endif
52308
52309int
52310main ()
52311{
52312 _logl(0);
52313  ;
52314  return 0;
52315}
52316_ACEOF
52317if ac_fn_cxx_try_compile "$LINENO"; then :
52318  glibcxx_cv_func__logl_use=yes
52319else
52320  glibcxx_cv_func__logl_use=no
52321fi
52322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52323      ac_ext=c
52324ac_cpp='$CPP $CPPFLAGS'
52325ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52326ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52327ac_compiler_gnu=$ac_cv_c_compiler_gnu
52328
52329
52330fi
52331
52332  fi
52333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52334$as_echo "$glibcxx_cv_func__logl_use" >&6; }
52335
52336    if test x$glibcxx_cv_func__logl_use = x"yes"; then
52337      for ac_func in _logl
52338do :
52339  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52340if test "x$ac_cv_func__logl" = x""yes; then :
52341  cat >>confdefs.h <<_ACEOF
52342#define HAVE__LOGL 1
52343_ACEOF
52344
52345fi
52346done
52347
52348    fi
52349  fi
52350
52351
52352
52353
52354
52355  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52356$as_echo_n "checking for log10l declaration... " >&6; }
52357  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52358    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
52359  $as_echo_n "(cached) " >&6
52360else
52361
52362
52363      ac_ext=cpp
52364ac_cpp='$CXXCPP $CPPFLAGS'
52365ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52366ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52367ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52368
52369      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52370/* end confdefs.h.  */
52371#include <math.h>
52372		      #ifdef HAVE_IEEEFP_H
52373		      #include <ieeefp.h>
52374		      #endif
52375
52376int
52377main ()
52378{
52379 log10l(0);
52380  ;
52381  return 0;
52382}
52383_ACEOF
52384if ac_fn_cxx_try_compile "$LINENO"; then :
52385  glibcxx_cv_func_log10l_use=yes
52386else
52387  glibcxx_cv_func_log10l_use=no
52388fi
52389rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52390      ac_ext=c
52391ac_cpp='$CPP $CPPFLAGS'
52392ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52393ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52394ac_compiler_gnu=$ac_cv_c_compiler_gnu
52395
52396
52397fi
52398
52399  fi
52400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52401$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52402
52403  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52404    for ac_func in log10l
52405do :
52406  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52407if test "x$ac_cv_func_log10l" = x""yes; then :
52408  cat >>confdefs.h <<_ACEOF
52409#define HAVE_LOG10L 1
52410_ACEOF
52411
52412fi
52413done
52414
52415  else
52416
52417  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52418$as_echo_n "checking for _log10l declaration... " >&6; }
52419  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52420    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
52421  $as_echo_n "(cached) " >&6
52422else
52423
52424
52425      ac_ext=cpp
52426ac_cpp='$CXXCPP $CPPFLAGS'
52427ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52428ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52429ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52430
52431      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52432/* end confdefs.h.  */
52433#include <math.h>
52434		      #ifdef HAVE_IEEEFP_H
52435		      #include <ieeefp.h>
52436		      #endif
52437
52438int
52439main ()
52440{
52441 _log10l(0);
52442  ;
52443  return 0;
52444}
52445_ACEOF
52446if ac_fn_cxx_try_compile "$LINENO"; then :
52447  glibcxx_cv_func__log10l_use=yes
52448else
52449  glibcxx_cv_func__log10l_use=no
52450fi
52451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52452      ac_ext=c
52453ac_cpp='$CPP $CPPFLAGS'
52454ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52455ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52456ac_compiler_gnu=$ac_cv_c_compiler_gnu
52457
52458
52459fi
52460
52461  fi
52462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52463$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52464
52465    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52466      for ac_func in _log10l
52467do :
52468  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52469if test "x$ac_cv_func__log10l" = x""yes; then :
52470  cat >>confdefs.h <<_ACEOF
52471#define HAVE__LOG10L 1
52472_ACEOF
52473
52474fi
52475done
52476
52477    fi
52478  fi
52479
52480
52481
52482
52483
52484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52485$as_echo_n "checking for modfl declaration... " >&6; }
52486  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52487    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52488  $as_echo_n "(cached) " >&6
52489else
52490
52491
52492      ac_ext=cpp
52493ac_cpp='$CXXCPP $CPPFLAGS'
52494ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52495ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52496ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52497
52498      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52499/* end confdefs.h.  */
52500#include <math.h>
52501int
52502main ()
52503{
52504 modfl(0, 0);
52505  ;
52506  return 0;
52507}
52508_ACEOF
52509if ac_fn_cxx_try_compile "$LINENO"; then :
52510  glibcxx_cv_func_modfl_use=yes
52511else
52512  glibcxx_cv_func_modfl_use=no
52513fi
52514rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52515      ac_ext=c
52516ac_cpp='$CPP $CPPFLAGS'
52517ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52518ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52519ac_compiler_gnu=$ac_cv_c_compiler_gnu
52520
52521
52522fi
52523
52524  fi
52525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52526$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52527
52528  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52529    for ac_func in modfl
52530do :
52531  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52532if test "x$ac_cv_func_modfl" = x""yes; then :
52533  cat >>confdefs.h <<_ACEOF
52534#define HAVE_MODFL 1
52535_ACEOF
52536
52537fi
52538done
52539
52540  else
52541
52542  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52543$as_echo_n "checking for _modfl declaration... " >&6; }
52544  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52545    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52546  $as_echo_n "(cached) " >&6
52547else
52548
52549
52550      ac_ext=cpp
52551ac_cpp='$CXXCPP $CPPFLAGS'
52552ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52553ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52554ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52555
52556      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52557/* end confdefs.h.  */
52558#include <math.h>
52559int
52560main ()
52561{
52562 _modfl(0, 0);
52563  ;
52564  return 0;
52565}
52566_ACEOF
52567if ac_fn_cxx_try_compile "$LINENO"; then :
52568  glibcxx_cv_func__modfl_use=yes
52569else
52570  glibcxx_cv_func__modfl_use=no
52571fi
52572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52573      ac_ext=c
52574ac_cpp='$CPP $CPPFLAGS'
52575ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52576ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52577ac_compiler_gnu=$ac_cv_c_compiler_gnu
52578
52579
52580fi
52581
52582  fi
52583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52584$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52585
52586    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52587      for ac_func in _modfl
52588do :
52589  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52590if test "x$ac_cv_func__modfl" = x""yes; then :
52591  cat >>confdefs.h <<_ACEOF
52592#define HAVE__MODFL 1
52593_ACEOF
52594
52595fi
52596done
52597
52598    fi
52599  fi
52600
52601
52602
52603
52604
52605  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52606$as_echo_n "checking for powl declaration... " >&6; }
52607  if test x${glibcxx_cv_func_powl_use+set} != xset; then
52608    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52609  $as_echo_n "(cached) " >&6
52610else
52611
52612
52613      ac_ext=cpp
52614ac_cpp='$CXXCPP $CPPFLAGS'
52615ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52616ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52617ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52618
52619      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52620/* end confdefs.h.  */
52621#include <math.h>
52622int
52623main ()
52624{
52625 powl(0, 0);
52626  ;
52627  return 0;
52628}
52629_ACEOF
52630if ac_fn_cxx_try_compile "$LINENO"; then :
52631  glibcxx_cv_func_powl_use=yes
52632else
52633  glibcxx_cv_func_powl_use=no
52634fi
52635rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52636      ac_ext=c
52637ac_cpp='$CPP $CPPFLAGS'
52638ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52639ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52640ac_compiler_gnu=$ac_cv_c_compiler_gnu
52641
52642
52643fi
52644
52645  fi
52646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52647$as_echo "$glibcxx_cv_func_powl_use" >&6; }
52648
52649  if test x$glibcxx_cv_func_powl_use = x"yes"; then
52650    for ac_func in powl
52651do :
52652  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52653if test "x$ac_cv_func_powl" = x""yes; then :
52654  cat >>confdefs.h <<_ACEOF
52655#define HAVE_POWL 1
52656_ACEOF
52657
52658fi
52659done
52660
52661  else
52662
52663  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52664$as_echo_n "checking for _powl declaration... " >&6; }
52665  if test x${glibcxx_cv_func__powl_use+set} != xset; then
52666    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52667  $as_echo_n "(cached) " >&6
52668else
52669
52670
52671      ac_ext=cpp
52672ac_cpp='$CXXCPP $CPPFLAGS'
52673ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52674ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52675ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52676
52677      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52678/* end confdefs.h.  */
52679#include <math.h>
52680int
52681main ()
52682{
52683 _powl(0, 0);
52684  ;
52685  return 0;
52686}
52687_ACEOF
52688if ac_fn_cxx_try_compile "$LINENO"; then :
52689  glibcxx_cv_func__powl_use=yes
52690else
52691  glibcxx_cv_func__powl_use=no
52692fi
52693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52694      ac_ext=c
52695ac_cpp='$CPP $CPPFLAGS'
52696ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52697ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52698ac_compiler_gnu=$ac_cv_c_compiler_gnu
52699
52700
52701fi
52702
52703  fi
52704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52705$as_echo "$glibcxx_cv_func__powl_use" >&6; }
52706
52707    if test x$glibcxx_cv_func__powl_use = x"yes"; then
52708      for ac_func in _powl
52709do :
52710  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52711if test "x$ac_cv_func__powl" = x""yes; then :
52712  cat >>confdefs.h <<_ACEOF
52713#define HAVE__POWL 1
52714_ACEOF
52715
52716fi
52717done
52718
52719    fi
52720  fi
52721
52722
52723
52724
52725
52726  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52727$as_echo_n "checking for sqrtl declaration... " >&6; }
52728  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52729    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52730  $as_echo_n "(cached) " >&6
52731else
52732
52733
52734      ac_ext=cpp
52735ac_cpp='$CXXCPP $CPPFLAGS'
52736ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52737ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52738ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52739
52740      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52741/* end confdefs.h.  */
52742#include <math.h>
52743		      #ifdef HAVE_IEEEFP_H
52744		      #include <ieeefp.h>
52745		      #endif
52746
52747int
52748main ()
52749{
52750 sqrtl(0);
52751  ;
52752  return 0;
52753}
52754_ACEOF
52755if ac_fn_cxx_try_compile "$LINENO"; then :
52756  glibcxx_cv_func_sqrtl_use=yes
52757else
52758  glibcxx_cv_func_sqrtl_use=no
52759fi
52760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52761      ac_ext=c
52762ac_cpp='$CPP $CPPFLAGS'
52763ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52764ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52765ac_compiler_gnu=$ac_cv_c_compiler_gnu
52766
52767
52768fi
52769
52770  fi
52771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52772$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52773
52774  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52775    for ac_func in sqrtl
52776do :
52777  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52778if test "x$ac_cv_func_sqrtl" = x""yes; then :
52779  cat >>confdefs.h <<_ACEOF
52780#define HAVE_SQRTL 1
52781_ACEOF
52782
52783fi
52784done
52785
52786  else
52787
52788  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52789$as_echo_n "checking for _sqrtl declaration... " >&6; }
52790  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52791    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52792  $as_echo_n "(cached) " >&6
52793else
52794
52795
52796      ac_ext=cpp
52797ac_cpp='$CXXCPP $CPPFLAGS'
52798ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52799ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52800ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52801
52802      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52803/* end confdefs.h.  */
52804#include <math.h>
52805		      #ifdef HAVE_IEEEFP_H
52806		      #include <ieeefp.h>
52807		      #endif
52808
52809int
52810main ()
52811{
52812 _sqrtl(0);
52813  ;
52814  return 0;
52815}
52816_ACEOF
52817if ac_fn_cxx_try_compile "$LINENO"; then :
52818  glibcxx_cv_func__sqrtl_use=yes
52819else
52820  glibcxx_cv_func__sqrtl_use=no
52821fi
52822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52823      ac_ext=c
52824ac_cpp='$CPP $CPPFLAGS'
52825ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52826ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52827ac_compiler_gnu=$ac_cv_c_compiler_gnu
52828
52829
52830fi
52831
52832  fi
52833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52834$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52835
52836    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52837      for ac_func in _sqrtl
52838do :
52839  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52840if test "x$ac_cv_func__sqrtl" = x""yes; then :
52841  cat >>confdefs.h <<_ACEOF
52842#define HAVE__SQRTL 1
52843_ACEOF
52844
52845fi
52846done
52847
52848    fi
52849  fi
52850
52851
52852
52853
52854
52855  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52856$as_echo_n "checking for sincosl declaration... " >&6; }
52857  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52858    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52859  $as_echo_n "(cached) " >&6
52860else
52861
52862
52863      ac_ext=cpp
52864ac_cpp='$CXXCPP $CPPFLAGS'
52865ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52866ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52867ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52868
52869      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52870/* end confdefs.h.  */
52871#include <math.h>
52872int
52873main ()
52874{
52875 sincosl(0, 0, 0);
52876  ;
52877  return 0;
52878}
52879_ACEOF
52880if ac_fn_cxx_try_compile "$LINENO"; then :
52881  glibcxx_cv_func_sincosl_use=yes
52882else
52883  glibcxx_cv_func_sincosl_use=no
52884fi
52885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52886      ac_ext=c
52887ac_cpp='$CPP $CPPFLAGS'
52888ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52889ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52890ac_compiler_gnu=$ac_cv_c_compiler_gnu
52891
52892
52893fi
52894
52895  fi
52896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52897$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52898
52899  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52900    for ac_func in sincosl
52901do :
52902  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52903if test "x$ac_cv_func_sincosl" = x""yes; then :
52904  cat >>confdefs.h <<_ACEOF
52905#define HAVE_SINCOSL 1
52906_ACEOF
52907
52908fi
52909done
52910
52911  else
52912
52913  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52914$as_echo_n "checking for _sincosl declaration... " >&6; }
52915  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52916    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52917  $as_echo_n "(cached) " >&6
52918else
52919
52920
52921      ac_ext=cpp
52922ac_cpp='$CXXCPP $CPPFLAGS'
52923ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52924ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52925ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52926
52927      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52928/* end confdefs.h.  */
52929#include <math.h>
52930int
52931main ()
52932{
52933 _sincosl(0, 0, 0);
52934  ;
52935  return 0;
52936}
52937_ACEOF
52938if ac_fn_cxx_try_compile "$LINENO"; then :
52939  glibcxx_cv_func__sincosl_use=yes
52940else
52941  glibcxx_cv_func__sincosl_use=no
52942fi
52943rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52944      ac_ext=c
52945ac_cpp='$CPP $CPPFLAGS'
52946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52948ac_compiler_gnu=$ac_cv_c_compiler_gnu
52949
52950
52951fi
52952
52953  fi
52954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52955$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52956
52957    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52958      for ac_func in _sincosl
52959do :
52960  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52961if test "x$ac_cv_func__sincosl" = x""yes; then :
52962  cat >>confdefs.h <<_ACEOF
52963#define HAVE__SINCOSL 1
52964_ACEOF
52965
52966fi
52967done
52968
52969    fi
52970  fi
52971
52972
52973
52974
52975
52976  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52977$as_echo_n "checking for finitel declaration... " >&6; }
52978  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52979    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52980  $as_echo_n "(cached) " >&6
52981else
52982
52983
52984      ac_ext=cpp
52985ac_cpp='$CXXCPP $CPPFLAGS'
52986ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52987ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52988ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52989
52990      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52991/* end confdefs.h.  */
52992#include <math.h>
52993		      #ifdef HAVE_IEEEFP_H
52994		      #include <ieeefp.h>
52995		      #endif
52996
52997int
52998main ()
52999{
53000 finitel(0);
53001  ;
53002  return 0;
53003}
53004_ACEOF
53005if ac_fn_cxx_try_compile "$LINENO"; then :
53006  glibcxx_cv_func_finitel_use=yes
53007else
53008  glibcxx_cv_func_finitel_use=no
53009fi
53010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53011      ac_ext=c
53012ac_cpp='$CPP $CPPFLAGS'
53013ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53014ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53015ac_compiler_gnu=$ac_cv_c_compiler_gnu
53016
53017
53018fi
53019
53020  fi
53021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53022$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53023
53024  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53025    for ac_func in finitel
53026do :
53027  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53028if test "x$ac_cv_func_finitel" = x""yes; then :
53029  cat >>confdefs.h <<_ACEOF
53030#define HAVE_FINITEL 1
53031_ACEOF
53032
53033fi
53034done
53035
53036  else
53037
53038  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53039$as_echo_n "checking for _finitel declaration... " >&6; }
53040  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53041    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
53042  $as_echo_n "(cached) " >&6
53043else
53044
53045
53046      ac_ext=cpp
53047ac_cpp='$CXXCPP $CPPFLAGS'
53048ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53049ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53050ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53051
53052      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53053/* end confdefs.h.  */
53054#include <math.h>
53055		      #ifdef HAVE_IEEEFP_H
53056		      #include <ieeefp.h>
53057		      #endif
53058
53059int
53060main ()
53061{
53062 _finitel(0);
53063  ;
53064  return 0;
53065}
53066_ACEOF
53067if ac_fn_cxx_try_compile "$LINENO"; then :
53068  glibcxx_cv_func__finitel_use=yes
53069else
53070  glibcxx_cv_func__finitel_use=no
53071fi
53072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53073      ac_ext=c
53074ac_cpp='$CPP $CPPFLAGS'
53075ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53076ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53077ac_compiler_gnu=$ac_cv_c_compiler_gnu
53078
53079
53080fi
53081
53082  fi
53083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53084$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53085
53086    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53087      for ac_func in _finitel
53088do :
53089  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53090if test "x$ac_cv_func__finitel" = x""yes; then :
53091  cat >>confdefs.h <<_ACEOF
53092#define HAVE__FINITEL 1
53093_ACEOF
53094
53095fi
53096done
53097
53098    fi
53099  fi
53100
53101
53102
53103
53104  LIBS="$ac_save_LIBS"
53105  CXXFLAGS="$ac_save_CXXFLAGS"
53106
53107
53108  ac_test_CXXFLAGS="${CXXFLAGS+set}"
53109  ac_save_CXXFLAGS="$CXXFLAGS"
53110  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53111
53112
53113  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53114$as_echo_n "checking for at_quick_exit declaration... " >&6; }
53115  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53116    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
53117  $as_echo_n "(cached) " >&6
53118else
53119
53120
53121      ac_ext=cpp
53122ac_cpp='$CXXCPP $CPPFLAGS'
53123ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53124ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53125ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53126
53127      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53128/* end confdefs.h.  */
53129#include <stdlib.h>
53130int
53131main ()
53132{
53133 at_quick_exit(0);
53134  ;
53135  return 0;
53136}
53137_ACEOF
53138if ac_fn_cxx_try_compile "$LINENO"; then :
53139  glibcxx_cv_func_at_quick_exit_use=yes
53140else
53141  glibcxx_cv_func_at_quick_exit_use=no
53142fi
53143rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53144      ac_ext=c
53145ac_cpp='$CPP $CPPFLAGS'
53146ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53147ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53148ac_compiler_gnu=$ac_cv_c_compiler_gnu
53149
53150
53151fi
53152
53153  fi
53154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53155$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53156  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53157    for ac_func in at_quick_exit
53158do :
53159  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53160if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
53161  cat >>confdefs.h <<_ACEOF
53162#define HAVE_AT_QUICK_EXIT 1
53163_ACEOF
53164
53165fi
53166done
53167
53168  fi
53169
53170
53171  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53172$as_echo_n "checking for quick_exit declaration... " >&6; }
53173  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53174    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
53175  $as_echo_n "(cached) " >&6
53176else
53177
53178
53179      ac_ext=cpp
53180ac_cpp='$CXXCPP $CPPFLAGS'
53181ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53182ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53183ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53184
53185      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53186/* end confdefs.h.  */
53187#include <stdlib.h>
53188int
53189main ()
53190{
53191 quick_exit(0);
53192  ;
53193  return 0;
53194}
53195_ACEOF
53196if ac_fn_cxx_try_compile "$LINENO"; then :
53197  glibcxx_cv_func_quick_exit_use=yes
53198else
53199  glibcxx_cv_func_quick_exit_use=no
53200fi
53201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53202      ac_ext=c
53203ac_cpp='$CPP $CPPFLAGS'
53204ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53205ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53206ac_compiler_gnu=$ac_cv_c_compiler_gnu
53207
53208
53209fi
53210
53211  fi
53212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53213$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53214  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53215    for ac_func in quick_exit
53216do :
53217  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53218if test "x$ac_cv_func_quick_exit" = x""yes; then :
53219  cat >>confdefs.h <<_ACEOF
53220#define HAVE_QUICK_EXIT 1
53221_ACEOF
53222
53223fi
53224done
53225
53226  fi
53227
53228
53229  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53230$as_echo_n "checking for strtold declaration... " >&6; }
53231  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53232    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
53233  $as_echo_n "(cached) " >&6
53234else
53235
53236
53237      ac_ext=cpp
53238ac_cpp='$CXXCPP $CPPFLAGS'
53239ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53240ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53241ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53242
53243      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53244/* end confdefs.h.  */
53245#include <stdlib.h>
53246int
53247main ()
53248{
53249 strtold(0, 0);
53250  ;
53251  return 0;
53252}
53253_ACEOF
53254if ac_fn_cxx_try_compile "$LINENO"; then :
53255  glibcxx_cv_func_strtold_use=yes
53256else
53257  glibcxx_cv_func_strtold_use=no
53258fi
53259rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53260      ac_ext=c
53261ac_cpp='$CPP $CPPFLAGS'
53262ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53263ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53264ac_compiler_gnu=$ac_cv_c_compiler_gnu
53265
53266
53267fi
53268
53269  fi
53270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53271$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53272  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53273    for ac_func in strtold
53274do :
53275  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53276if test "x$ac_cv_func_strtold" = x""yes; then :
53277  cat >>confdefs.h <<_ACEOF
53278#define HAVE_STRTOLD 1
53279_ACEOF
53280
53281fi
53282done
53283
53284  fi
53285
53286
53287
53288
53289  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53290$as_echo_n "checking for strtof declaration... " >&6; }
53291  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53292    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
53293  $as_echo_n "(cached) " >&6
53294else
53295
53296
53297      ac_ext=cpp
53298ac_cpp='$CXXCPP $CPPFLAGS'
53299ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53300ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53301ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53302
53303      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53304/* end confdefs.h.  */
53305#include <stdlib.h>
53306int
53307main ()
53308{
53309 strtof(0, 0);
53310  ;
53311  return 0;
53312}
53313_ACEOF
53314if ac_fn_cxx_try_compile "$LINENO"; then :
53315  glibcxx_cv_func_strtof_use=yes
53316else
53317  glibcxx_cv_func_strtof_use=no
53318fi
53319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53320      ac_ext=c
53321ac_cpp='$CPP $CPPFLAGS'
53322ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53324ac_compiler_gnu=$ac_cv_c_compiler_gnu
53325
53326
53327fi
53328
53329  fi
53330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53331$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53332  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53333    for ac_func in strtof
53334do :
53335  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53336if test "x$ac_cv_func_strtof" = x""yes; then :
53337  cat >>confdefs.h <<_ACEOF
53338#define HAVE_STRTOF 1
53339_ACEOF
53340
53341fi
53342done
53343
53344  fi
53345
53346
53347
53348
53349  CXXFLAGS="$ac_save_CXXFLAGS"
53350
53351    ;;
53352
53353  *djgpp)
53354    # GLIBCXX_CHECK_MATH_SUPPORT
53355    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53356
53357    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53358
53359    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53360
53361    $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53362
53363    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53364
53365    ;;
53366
53367  *-freebsd*)
53368    SECTION_FLAGS='-ffunction-sections -fdata-sections'
53369
53370
53371  # If we're not using GNU ld, then there's no point in even trying these
53372  # tests.  Check for that first.  We should have already tested for gld
53373  # by now (in libtool), but require it now just to be safe...
53374  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53375  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53376
53377
53378
53379  # The name set by libtool depends on the version of libtool.  Shame on us
53380  # for depending on an impl detail, but c'est la vie.  Older versions used
53381  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53382  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53383  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53384  # set (hence we're using an older libtool), then set it.
53385  if test x${with_gnu_ld+set} != xset; then
53386    if test x${ac_cv_prog_gnu_ld+set} != xset; then
53387      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53388      with_gnu_ld=no
53389    else
53390      with_gnu_ld=$ac_cv_prog_gnu_ld
53391    fi
53392  fi
53393
53394  # Start by getting the version number.  I think the libtool test already
53395  # does some of this, but throws away the result.
53396  glibcxx_ld_is_gold=no
53397  if test x"$with_gnu_ld" = x"yes"; then
53398    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53399$as_echo_n "checking for ld version... " >&6; }
53400
53401    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53402      glibcxx_ld_is_gold=yes
53403    fi
53404    ldver=`$LD --version 2>/dev/null |
53405	   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'`
53406
53407    glibcxx_gnu_ld_version=`echo $ldver | \
53408	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53409    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53410$as_echo "$glibcxx_gnu_ld_version" >&6; }
53411  fi
53412
53413  # Set --gc-sections.
53414  glibcxx_have_gc_sections=no
53415  if test "$glibcxx_ld_is_gold" = "yes"; then
53416    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53417      glibcxx_have_gc_sections=yes
53418    fi
53419  else
53420    glibcxx_gcsections_min_ld=21602
53421    if test x"$with_gnu_ld" = x"yes" &&
53422	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53423      glibcxx_have_gc_sections=yes
53424    fi
53425  fi
53426  if test "$glibcxx_have_gc_sections" = "yes"; then
53427    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
53428    # NB: This flag only works reliably after 2.16.1. Configure tests
53429    # for this are difficult, so hard wire a value that should work.
53430
53431    ac_test_CFLAGS="${CFLAGS+set}"
53432    ac_save_CFLAGS="$CFLAGS"
53433    CFLAGS='-Wl,--gc-sections'
53434
53435    # Check for -Wl,--gc-sections
53436    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53437$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53438    if test x$gcc_no_link = xyes; then
53439  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53440fi
53441cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53442/* end confdefs.h.  */
53443 int one(void) { return 1; }
53444     int two(void) { return 2; }
53445
53446int
53447main ()
53448{
53449 two();
53450  ;
53451  return 0;
53452}
53453_ACEOF
53454if ac_fn_c_try_link "$LINENO"; then :
53455  ac_gcsections=yes
53456else
53457  ac_gcsections=no
53458fi
53459rm -f core conftest.err conftest.$ac_objext \
53460    conftest$ac_exeext conftest.$ac_ext
53461    if test "$ac_gcsections" = "yes"; then
53462      rm -f conftest.c
53463      touch conftest.c
53464      if $CC -c conftest.c; then
53465	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53466	   grep "Warning: gc-sections option ignored" > /dev/null; then
53467	  ac_gcsections=no
53468	fi
53469      fi
53470      rm -f conftest.c conftest.o conftest
53471    fi
53472    if test "$ac_gcsections" = "yes"; then
53473      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53474    fi
53475    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53476$as_echo "$ac_gcsections" >&6; }
53477
53478    if test "$ac_test_CFLAGS" = set; then
53479      CFLAGS="$ac_save_CFLAGS"
53480    else
53481      # this is the suspicious part
53482      CFLAGS=''
53483    fi
53484  fi
53485
53486  # Set -z,relro.
53487  # Note this is only for shared objects.
53488  ac_ld_relro=no
53489  if test x"$with_gnu_ld" = x"yes"; then
53490    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53491$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53492    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53493    if test -n "$cxx_z_relo"; then
53494      OPT_LDFLAGS="-Wl,-z,relro"
53495      ac_ld_relro=yes
53496    fi
53497    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53498$as_echo "$ac_ld_relro" >&6; }
53499  fi
53500
53501  # Set linker optimization flags.
53502  if test x"$with_gnu_ld" = x"yes"; then
53503    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53504  fi
53505
53506
53507
53508
53509    $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53510
53511    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53512
53513    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53514
53515    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53516
53517    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53518
53519    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53520
53521    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53522
53523    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53524
53525    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53526
53527
53528    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53529
53530    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53531
53532    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53533
53534    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53535
53536    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53537
53538    $as_echo "#define HAVE_COSF 1" >>confdefs.h
53539
53540    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53541
53542    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53543
53544    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53545
53546    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53547
53548    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53549
53550    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53551
53552    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53553
53554    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53555
53556    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53557
53558    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53559
53560    $as_echo "#define HAVE_POWF 1" >>confdefs.h
53561
53562    $as_echo "#define HAVE_SINF 1" >>confdefs.h
53563
53564    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53565
53566    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53567
53568    $as_echo "#define HAVE_TANF 1" >>confdefs.h
53569
53570    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53571
53572    if test x"long_double_math_on_this_cpu" = x"yes"; then
53573      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53574
53575      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53576
53577      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53578
53579    fi
53580    for ac_func in __cxa_thread_atexit
53581do :
53582  ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53583if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
53584  cat >>confdefs.h <<_ACEOF
53585#define HAVE___CXA_THREAD_ATEXIT 1
53586_ACEOF
53587
53588fi
53589done
53590
53591    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
53592do :
53593  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53594ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53595eval as_val=\$$as_ac_var
53596   if test "x$as_val" = x""yes; then :
53597  cat >>confdefs.h <<_ACEOF
53598#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53599_ACEOF
53600
53601fi
53602done
53603
53604    ;;
53605
53606  *-fuchsia*)
53607    SECTION_FLAGS='-ffunction-sections -fdata-sections'
53608
53609    ;;
53610
53611  *-hpux*)
53612    SECTION_FLAGS='-ffunction-sections -fdata-sections'
53613
53614
53615  # If we're not using GNU ld, then there's no point in even trying these
53616  # tests.  Check for that first.  We should have already tested for gld
53617  # by now (in libtool), but require it now just to be safe...
53618  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53619  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53620
53621
53622
53623  # The name set by libtool depends on the version of libtool.  Shame on us
53624  # for depending on an impl detail, but c'est la vie.  Older versions used
53625  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53626  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53627  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53628  # set (hence we're using an older libtool), then set it.
53629  if test x${with_gnu_ld+set} != xset; then
53630    if test x${ac_cv_prog_gnu_ld+set} != xset; then
53631      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53632      with_gnu_ld=no
53633    else
53634      with_gnu_ld=$ac_cv_prog_gnu_ld
53635    fi
53636  fi
53637
53638  # Start by getting the version number.  I think the libtool test already
53639  # does some of this, but throws away the result.
53640  glibcxx_ld_is_gold=no
53641  if test x"$with_gnu_ld" = x"yes"; then
53642    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53643$as_echo_n "checking for ld version... " >&6; }
53644
53645    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53646      glibcxx_ld_is_gold=yes
53647    fi
53648    ldver=`$LD --version 2>/dev/null |
53649	   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'`
53650
53651    glibcxx_gnu_ld_version=`echo $ldver | \
53652	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53653    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53654$as_echo "$glibcxx_gnu_ld_version" >&6; }
53655  fi
53656
53657  # Set --gc-sections.
53658  glibcxx_have_gc_sections=no
53659  if test "$glibcxx_ld_is_gold" = "yes"; then
53660    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53661      glibcxx_have_gc_sections=yes
53662    fi
53663  else
53664    glibcxx_gcsections_min_ld=21602
53665    if test x"$with_gnu_ld" = x"yes" &&
53666	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53667      glibcxx_have_gc_sections=yes
53668    fi
53669  fi
53670  if test "$glibcxx_have_gc_sections" = "yes"; then
53671    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
53672    # NB: This flag only works reliably after 2.16.1. Configure tests
53673    # for this are difficult, so hard wire a value that should work.
53674
53675    ac_test_CFLAGS="${CFLAGS+set}"
53676    ac_save_CFLAGS="$CFLAGS"
53677    CFLAGS='-Wl,--gc-sections'
53678
53679    # Check for -Wl,--gc-sections
53680    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53681$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53682    if test x$gcc_no_link = xyes; then
53683  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53684fi
53685cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53686/* end confdefs.h.  */
53687 int one(void) { return 1; }
53688     int two(void) { return 2; }
53689
53690int
53691main ()
53692{
53693 two();
53694  ;
53695  return 0;
53696}
53697_ACEOF
53698if ac_fn_c_try_link "$LINENO"; then :
53699  ac_gcsections=yes
53700else
53701  ac_gcsections=no
53702fi
53703rm -f core conftest.err conftest.$ac_objext \
53704    conftest$ac_exeext conftest.$ac_ext
53705    if test "$ac_gcsections" = "yes"; then
53706      rm -f conftest.c
53707      touch conftest.c
53708      if $CC -c conftest.c; then
53709	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53710	   grep "Warning: gc-sections option ignored" > /dev/null; then
53711	  ac_gcsections=no
53712	fi
53713      fi
53714      rm -f conftest.c conftest.o conftest
53715    fi
53716    if test "$ac_gcsections" = "yes"; then
53717      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53718    fi
53719    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53720$as_echo "$ac_gcsections" >&6; }
53721
53722    if test "$ac_test_CFLAGS" = set; then
53723      CFLAGS="$ac_save_CFLAGS"
53724    else
53725      # this is the suspicious part
53726      CFLAGS=''
53727    fi
53728  fi
53729
53730  # Set -z,relro.
53731  # Note this is only for shared objects.
53732  ac_ld_relro=no
53733  if test x"$with_gnu_ld" = x"yes"; then
53734    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53735$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53736    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53737    if test -n "$cxx_z_relo"; then
53738      OPT_LDFLAGS="-Wl,-z,relro"
53739      ac_ld_relro=yes
53740    fi
53741    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53742$as_echo "$ac_ld_relro" >&6; }
53743  fi
53744
53745  # Set linker optimization flags.
53746  if test x"$with_gnu_ld" = x"yes"; then
53747    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53748  fi
53749
53750
53751
53752
53753
53754    # GLIBCXX_CHECK_MATH_SUPPORT
53755    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53756
53757    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53758
53759    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53760
53761    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53762
53763    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53764
53765    $as_echo "#define HAVE_COSF 1" >>confdefs.h
53766
53767    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53768
53769    $as_echo "#define HAVE_SINF 1" >>confdefs.h
53770
53771    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53772
53773    $as_echo "#define HAVE_TANF 1" >>confdefs.h
53774
53775    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53776
53777    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53778
53779    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53780
53781    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53782
53783    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53784
53785    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53786
53787    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53788
53789    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53790
53791    $as_echo "#define HAVE_MODF 1" >>confdefs.h
53792
53793    $as_echo "#define HAVE_POWF 1" >>confdefs.h
53794
53795    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53796
53797
53798    # GLIBCXX_CHECK_STDLIB_SUPPORT
53799    $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53800
53801
53802
53803
53804   # Check whether --enable-tls was given.
53805if test "${enable_tls+set}" = set; then :
53806  enableval=$enable_tls;
53807      case "$enableval" in
53808       yes|no) ;;
53809       *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53810      esac
53811
53812else
53813  enable_tls=yes
53814fi
53815
53816
53817  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53818$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53819if test "${gcc_cv_have_tls+set}" = set; then :
53820  $as_echo_n "(cached) " >&6
53821else
53822
53823    if test "$cross_compiling" = yes; then :
53824                if test x$gcc_no_link = xyes; then
53825  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53826fi
53827cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53828/* end confdefs.h.  */
53829__thread int a; int b; int main() { return a = b; }
53830_ACEOF
53831if ac_fn_c_try_link "$LINENO"; then :
53832  chktls_save_LDFLAGS="$LDFLAGS"
53833	  	  	  case $host in
53834	    *-*-linux*)
53835	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53836	      ;;
53837	  esac
53838	  chktls_save_CFLAGS="$CFLAGS"
53839	  CFLAGS="-fPIC $CFLAGS"
53840	  	  if test x$gcc_no_link = xyes; then
53841  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53842fi
53843cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53844/* end confdefs.h.  */
53845int f() { return 0; }
53846_ACEOF
53847if ac_fn_c_try_link "$LINENO"; then :
53848  if test x$gcc_no_link = xyes; then
53849  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53850fi
53851cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53852/* end confdefs.h.  */
53853__thread int a; int b; int f() { return a = b; }
53854_ACEOF
53855if ac_fn_c_try_link "$LINENO"; then :
53856  gcc_cv_have_tls=yes
53857else
53858  gcc_cv_have_tls=no
53859fi
53860rm -f core conftest.err conftest.$ac_objext \
53861    conftest$ac_exeext conftest.$ac_ext
53862else
53863  gcc_cv_have_tls=yes
53864fi
53865rm -f core conftest.err conftest.$ac_objext \
53866    conftest$ac_exeext conftest.$ac_ext
53867	  CFLAGS="$chktls_save_CFLAGS"
53868	  LDFLAGS="$chktls_save_LDFLAGS"
53869else
53870  gcc_cv_have_tls=no
53871fi
53872rm -f core conftest.err conftest.$ac_objext \
53873    conftest$ac_exeext conftest.$ac_ext
53874
53875
53876else
53877  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53878/* end confdefs.h.  */
53879__thread int a; int b; int main() { return a = b; }
53880_ACEOF
53881if ac_fn_c_try_run "$LINENO"; then :
53882                      chktls_save_LDFLAGS="$LDFLAGS"
53883      LDFLAGS="-static $LDFLAGS"
53884      if test x$gcc_no_link = xyes; then
53885  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53886fi
53887cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53888/* end confdefs.h.  */
53889int main() { return 0; }
53890_ACEOF
53891if ac_fn_c_try_link "$LINENO"; then :
53892  if test "$cross_compiling" = yes; then :
53893  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53894$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53895as_fn_error "cannot run test program while cross compiling
53896See \`config.log' for more details." "$LINENO" 5; }
53897else
53898  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53899/* end confdefs.h.  */
53900__thread int a; int b; int main() { return a = b; }
53901_ACEOF
53902if ac_fn_c_try_run "$LINENO"; then :
53903  gcc_cv_have_tls=yes
53904else
53905  gcc_cv_have_tls=no
53906fi
53907rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53908  conftest.$ac_objext conftest.beam conftest.$ac_ext
53909fi
53910
53911else
53912  gcc_cv_have_tls=yes
53913fi
53914rm -f core conftest.err conftest.$ac_objext \
53915    conftest$ac_exeext conftest.$ac_ext
53916      LDFLAGS="$chktls_save_LDFLAGS"
53917      if test $gcc_cv_have_tls = yes; then
53918						chktls_save_CFLAGS="$CFLAGS"
53919	thread_CFLAGS=failed
53920	for flag in '' '-pthread' '-lpthread'; do
53921	  CFLAGS="$flag $chktls_save_CFLAGS"
53922	  if test x$gcc_no_link = xyes; then
53923  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53924fi
53925cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53926/* end confdefs.h.  */
53927#include <pthread.h>
53928		void *g(void *d) { return NULL; }
53929int
53930main ()
53931{
53932pthread_t t; pthread_create(&t,NULL,g,NULL);
53933  ;
53934  return 0;
53935}
53936_ACEOF
53937if ac_fn_c_try_link "$LINENO"; then :
53938  thread_CFLAGS="$flag"
53939fi
53940rm -f core conftest.err conftest.$ac_objext \
53941    conftest$ac_exeext conftest.$ac_ext
53942	  if test "X$thread_CFLAGS" != Xfailed; then
53943	    break
53944	  fi
53945	done
53946	CFLAGS="$chktls_save_CFLAGS"
53947	if test "X$thread_CFLAGS" != Xfailed; then
53948	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53949 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
53950  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53951$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53952as_fn_error "cannot run test program while cross compiling
53953See \`config.log' for more details." "$LINENO" 5; }
53954else
53955  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53956/* end confdefs.h.  */
53957#include <pthread.h>
53958		__thread int a;
53959		static int *volatile a_in_other_thread;
53960		static void *
53961		thread_func (void *arg)
53962		{
53963		  a_in_other_thread = &a;
53964		  return (void *)0;
53965		}
53966int
53967main ()
53968{
53969pthread_t thread;
53970		void *thread_retval;
53971		int *volatile a_in_main_thread;
53972		a_in_main_thread = &a;
53973		if (pthread_create (&thread, (pthread_attr_t *)0,
53974				    thread_func, (void *)0))
53975		  return 0;
53976		if (pthread_join (thread, &thread_retval))
53977		  return 0;
53978		return (a_in_other_thread == a_in_main_thread);
53979  ;
53980  return 0;
53981}
53982_ACEOF
53983if ac_fn_c_try_run "$LINENO"; then :
53984  gcc_cv_have_tls=yes
53985else
53986  gcc_cv_have_tls=no
53987fi
53988rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53989  conftest.$ac_objext conftest.beam conftest.$ac_ext
53990fi
53991
53992	  CFLAGS="$chktls_save_CFLAGS"
53993	fi
53994      fi
53995else
53996  gcc_cv_have_tls=no
53997fi
53998rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53999  conftest.$ac_objext conftest.beam conftest.$ac_ext
54000fi
54001
54002fi
54003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54004$as_echo "$gcc_cv_have_tls" >&6; }
54005  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54006
54007$as_echo "#define HAVE_TLS 1" >>confdefs.h
54008
54009  fi
54010    case "$target" in
54011      *-hpux10*)
54012	$as_echo "#define HAVE_ISINF 1" >>confdefs.h
54013
54014	$as_echo "#define HAVE_ISINFF 1" >>confdefs.h
54015
54016	$as_echo "#define HAVE_ISNANF 1" >>confdefs.h
54017
54018	$as_echo "#define HAVE_FINITE 1" >>confdefs.h
54019
54020	$as_echo "#define HAVE_FINITEF 1" >>confdefs.h
54021
54022	;;
54023    esac
54024    ;;
54025  *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
54026
54027  # All these tests are for C++; save the language and the compiler flags.
54028  # The CXXFLAGS thing is suspicious, but based on similar bits previously
54029  # found in GLIBCXX_CONFIGURE.
54030
54031  ac_ext=cpp
54032ac_cpp='$CXXCPP $CPPFLAGS'
54033ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54034ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54035ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54036
54037  ac_test_CXXFLAGS="${CXXFLAGS+set}"
54038  ac_save_CXXFLAGS="$CXXFLAGS"
54039
54040  # Check for maintainer-mode bits.
54041  if test x"$USE_MAINTAINER_MODE" = xno; then
54042    WERROR=''
54043  else
54044    WERROR='-Werror'
54045  fi
54046
54047  # Check for -ffunction-sections -fdata-sections
54048  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
54049$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
54050  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
54051  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54052/* end confdefs.h.  */
54053int foo; void bar() { };
54054int
54055main ()
54056{
54057
54058  ;
54059  return 0;
54060}
54061_ACEOF
54062if ac_fn_cxx_try_compile "$LINENO"; then :
54063  ac_fdsections=yes
54064else
54065  ac_fdsections=no
54066fi
54067rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54068  if test "$ac_test_CXXFLAGS" = set; then
54069    CXXFLAGS="$ac_save_CXXFLAGS"
54070  else
54071    # this is the suspicious part
54072    CXXFLAGS=''
54073  fi
54074  if test x"$ac_fdsections" = x"yes"; then
54075    SECTION_FLAGS='-ffunction-sections -fdata-sections'
54076  fi
54077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
54078$as_echo "$ac_fdsections" >&6; }
54079
54080  ac_ext=c
54081ac_cpp='$CPP $CPPFLAGS'
54082ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54083ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54084ac_compiler_gnu=$ac_cv_c_compiler_gnu
54085
54086
54087
54088
54089
54090  # If we're not using GNU ld, then there's no point in even trying these
54091  # tests.  Check for that first.  We should have already tested for gld
54092  # by now (in libtool), but require it now just to be safe...
54093  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54094  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54095
54096
54097
54098  # The name set by libtool depends on the version of libtool.  Shame on us
54099  # for depending on an impl detail, but c'est la vie.  Older versions used
54100  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54101  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54102  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
54103  # set (hence we're using an older libtool), then set it.
54104  if test x${with_gnu_ld+set} != xset; then
54105    if test x${ac_cv_prog_gnu_ld+set} != xset; then
54106      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
54107      with_gnu_ld=no
54108    else
54109      with_gnu_ld=$ac_cv_prog_gnu_ld
54110    fi
54111  fi
54112
54113  # Start by getting the version number.  I think the libtool test already
54114  # does some of this, but throws away the result.
54115  glibcxx_ld_is_gold=no
54116  if test x"$with_gnu_ld" = x"yes"; then
54117    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54118$as_echo_n "checking for ld version... " >&6; }
54119
54120    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54121      glibcxx_ld_is_gold=yes
54122    fi
54123    ldver=`$LD --version 2>/dev/null |
54124	   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'`
54125
54126    glibcxx_gnu_ld_version=`echo $ldver | \
54127	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54128    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54129$as_echo "$glibcxx_gnu_ld_version" >&6; }
54130  fi
54131
54132  # Set --gc-sections.
54133  glibcxx_have_gc_sections=no
54134  if test "$glibcxx_ld_is_gold" = "yes"; then
54135    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54136      glibcxx_have_gc_sections=yes
54137    fi
54138  else
54139    glibcxx_gcsections_min_ld=21602
54140    if test x"$with_gnu_ld" = x"yes" &&
54141	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54142      glibcxx_have_gc_sections=yes
54143    fi
54144  fi
54145  if test "$glibcxx_have_gc_sections" = "yes"; then
54146    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
54147    # NB: This flag only works reliably after 2.16.1. Configure tests
54148    # for this are difficult, so hard wire a value that should work.
54149
54150    ac_test_CFLAGS="${CFLAGS+set}"
54151    ac_save_CFLAGS="$CFLAGS"
54152    CFLAGS='-Wl,--gc-sections'
54153
54154    # Check for -Wl,--gc-sections
54155    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54156$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54157    if test x$gcc_no_link = xyes; then
54158  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54159fi
54160cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54161/* end confdefs.h.  */
54162 int one(void) { return 1; }
54163     int two(void) { return 2; }
54164
54165int
54166main ()
54167{
54168 two();
54169  ;
54170  return 0;
54171}
54172_ACEOF
54173if ac_fn_c_try_link "$LINENO"; then :
54174  ac_gcsections=yes
54175else
54176  ac_gcsections=no
54177fi
54178rm -f core conftest.err conftest.$ac_objext \
54179    conftest$ac_exeext conftest.$ac_ext
54180    if test "$ac_gcsections" = "yes"; then
54181      rm -f conftest.c
54182      touch conftest.c
54183      if $CC -c conftest.c; then
54184	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54185	   grep "Warning: gc-sections option ignored" > /dev/null; then
54186	  ac_gcsections=no
54187	fi
54188      fi
54189      rm -f conftest.c conftest.o conftest
54190    fi
54191    if test "$ac_gcsections" = "yes"; then
54192      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54193    fi
54194    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54195$as_echo "$ac_gcsections" >&6; }
54196
54197    if test "$ac_test_CFLAGS" = set; then
54198      CFLAGS="$ac_save_CFLAGS"
54199    else
54200      # this is the suspicious part
54201      CFLAGS=''
54202    fi
54203  fi
54204
54205  # Set -z,relro.
54206  # Note this is only for shared objects.
54207  ac_ld_relro=no
54208  if test x"$with_gnu_ld" = x"yes"; then
54209    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54210$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54211    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54212    if test -n "$cxx_z_relo"; then
54213      OPT_LDFLAGS="-Wl,-z,relro"
54214      ac_ld_relro=yes
54215    fi
54216    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54217$as_echo "$ac_ld_relro" >&6; }
54218  fi
54219
54220  # Set linker optimization flags.
54221  if test x"$with_gnu_ld" = x"yes"; then
54222    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54223  fi
54224
54225
54226
54227
54228
54229  ac_test_CXXFLAGS="${CXXFLAGS+set}"
54230  ac_save_CXXFLAGS="$CXXFLAGS"
54231  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54232
54233    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54234$as_echo_n "checking for sin in -lm... " >&6; }
54235if test "${ac_cv_lib_m_sin+set}" = set; then :
54236  $as_echo_n "(cached) " >&6
54237else
54238  ac_check_lib_save_LIBS=$LIBS
54239LIBS="-lm  $LIBS"
54240if test x$gcc_no_link = xyes; then
54241  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54242fi
54243cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54244/* end confdefs.h.  */
54245
54246/* Override any GCC internal prototype to avoid an error.
54247   Use char because int might match the return type of a GCC
54248   builtin and then its argument prototype would still apply.  */
54249#ifdef __cplusplus
54250extern "C"
54251#endif
54252char sin ();
54253int
54254main ()
54255{
54256return sin ();
54257  ;
54258  return 0;
54259}
54260_ACEOF
54261if ac_fn_c_try_link "$LINENO"; then :
54262  ac_cv_lib_m_sin=yes
54263else
54264  ac_cv_lib_m_sin=no
54265fi
54266rm -f core conftest.err conftest.$ac_objext \
54267    conftest$ac_exeext conftest.$ac_ext
54268LIBS=$ac_check_lib_save_LIBS
54269fi
54270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54271$as_echo "$ac_cv_lib_m_sin" >&6; }
54272if test "x$ac_cv_lib_m_sin" = x""yes; then :
54273  libm="-lm"
54274fi
54275
54276  ac_save_LIBS="$LIBS"
54277  LIBS="$LIBS $libm"
54278
54279
54280
54281  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54282$as_echo_n "checking for isinf declaration... " >&6; }
54283  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54284    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
54285  $as_echo_n "(cached) " >&6
54286else
54287
54288
54289      ac_ext=cpp
54290ac_cpp='$CXXCPP $CPPFLAGS'
54291ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54292ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54293ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54294
54295      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54296/* end confdefs.h.  */
54297#include <math.h>
54298		      #ifdef HAVE_IEEEFP_H
54299		      #include <ieeefp.h>
54300		      #endif
54301
54302int
54303main ()
54304{
54305 isinf(0);
54306  ;
54307  return 0;
54308}
54309_ACEOF
54310if ac_fn_cxx_try_compile "$LINENO"; then :
54311  glibcxx_cv_func_isinf_use=yes
54312else
54313  glibcxx_cv_func_isinf_use=no
54314fi
54315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54316      ac_ext=c
54317ac_cpp='$CPP $CPPFLAGS'
54318ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54319ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54320ac_compiler_gnu=$ac_cv_c_compiler_gnu
54321
54322
54323fi
54324
54325  fi
54326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54327$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54328
54329  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54330    for ac_func in isinf
54331do :
54332  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54333if test "x$ac_cv_func_isinf" = x""yes; then :
54334  cat >>confdefs.h <<_ACEOF
54335#define HAVE_ISINF 1
54336_ACEOF
54337
54338fi
54339done
54340
54341  else
54342
54343  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54344$as_echo_n "checking for _isinf declaration... " >&6; }
54345  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54346    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
54347  $as_echo_n "(cached) " >&6
54348else
54349
54350
54351      ac_ext=cpp
54352ac_cpp='$CXXCPP $CPPFLAGS'
54353ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54354ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54355ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54356
54357      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54358/* end confdefs.h.  */
54359#include <math.h>
54360		      #ifdef HAVE_IEEEFP_H
54361		      #include <ieeefp.h>
54362		      #endif
54363
54364int
54365main ()
54366{
54367 _isinf(0);
54368  ;
54369  return 0;
54370}
54371_ACEOF
54372if ac_fn_cxx_try_compile "$LINENO"; then :
54373  glibcxx_cv_func__isinf_use=yes
54374else
54375  glibcxx_cv_func__isinf_use=no
54376fi
54377rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54378      ac_ext=c
54379ac_cpp='$CPP $CPPFLAGS'
54380ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54381ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54382ac_compiler_gnu=$ac_cv_c_compiler_gnu
54383
54384
54385fi
54386
54387  fi
54388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54389$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54390
54391    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54392      for ac_func in _isinf
54393do :
54394  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54395if test "x$ac_cv_func__isinf" = x""yes; then :
54396  cat >>confdefs.h <<_ACEOF
54397#define HAVE__ISINF 1
54398_ACEOF
54399
54400fi
54401done
54402
54403    fi
54404  fi
54405
54406
54407
54408
54409
54410  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54411$as_echo_n "checking for isnan declaration... " >&6; }
54412  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54413    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
54414  $as_echo_n "(cached) " >&6
54415else
54416
54417
54418      ac_ext=cpp
54419ac_cpp='$CXXCPP $CPPFLAGS'
54420ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54421ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54422ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54423
54424      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54425/* end confdefs.h.  */
54426#include <math.h>
54427		      #ifdef HAVE_IEEEFP_H
54428		      #include <ieeefp.h>
54429		      #endif
54430
54431int
54432main ()
54433{
54434 isnan(0);
54435  ;
54436  return 0;
54437}
54438_ACEOF
54439if ac_fn_cxx_try_compile "$LINENO"; then :
54440  glibcxx_cv_func_isnan_use=yes
54441else
54442  glibcxx_cv_func_isnan_use=no
54443fi
54444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54445      ac_ext=c
54446ac_cpp='$CPP $CPPFLAGS'
54447ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54448ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54449ac_compiler_gnu=$ac_cv_c_compiler_gnu
54450
54451
54452fi
54453
54454  fi
54455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54456$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54457
54458  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54459    for ac_func in isnan
54460do :
54461  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54462if test "x$ac_cv_func_isnan" = x""yes; then :
54463  cat >>confdefs.h <<_ACEOF
54464#define HAVE_ISNAN 1
54465_ACEOF
54466
54467fi
54468done
54469
54470  else
54471
54472  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54473$as_echo_n "checking for _isnan declaration... " >&6; }
54474  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54475    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54476  $as_echo_n "(cached) " >&6
54477else
54478
54479
54480      ac_ext=cpp
54481ac_cpp='$CXXCPP $CPPFLAGS'
54482ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54483ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54484ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54485
54486      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54487/* end confdefs.h.  */
54488#include <math.h>
54489		      #ifdef HAVE_IEEEFP_H
54490		      #include <ieeefp.h>
54491		      #endif
54492
54493int
54494main ()
54495{
54496 _isnan(0);
54497  ;
54498  return 0;
54499}
54500_ACEOF
54501if ac_fn_cxx_try_compile "$LINENO"; then :
54502  glibcxx_cv_func__isnan_use=yes
54503else
54504  glibcxx_cv_func__isnan_use=no
54505fi
54506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54507      ac_ext=c
54508ac_cpp='$CPP $CPPFLAGS'
54509ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54510ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54511ac_compiler_gnu=$ac_cv_c_compiler_gnu
54512
54513
54514fi
54515
54516  fi
54517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54518$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54519
54520    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54521      for ac_func in _isnan
54522do :
54523  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54524if test "x$ac_cv_func__isnan" = x""yes; then :
54525  cat >>confdefs.h <<_ACEOF
54526#define HAVE__ISNAN 1
54527_ACEOF
54528
54529fi
54530done
54531
54532    fi
54533  fi
54534
54535
54536
54537
54538
54539  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54540$as_echo_n "checking for finite declaration... " >&6; }
54541  if test x${glibcxx_cv_func_finite_use+set} != xset; then
54542    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54543  $as_echo_n "(cached) " >&6
54544else
54545
54546
54547      ac_ext=cpp
54548ac_cpp='$CXXCPP $CPPFLAGS'
54549ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54550ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54551ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54552
54553      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54554/* end confdefs.h.  */
54555#include <math.h>
54556		      #ifdef HAVE_IEEEFP_H
54557		      #include <ieeefp.h>
54558		      #endif
54559
54560int
54561main ()
54562{
54563 finite(0);
54564  ;
54565  return 0;
54566}
54567_ACEOF
54568if ac_fn_cxx_try_compile "$LINENO"; then :
54569  glibcxx_cv_func_finite_use=yes
54570else
54571  glibcxx_cv_func_finite_use=no
54572fi
54573rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54574      ac_ext=c
54575ac_cpp='$CPP $CPPFLAGS'
54576ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54577ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54578ac_compiler_gnu=$ac_cv_c_compiler_gnu
54579
54580
54581fi
54582
54583  fi
54584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54585$as_echo "$glibcxx_cv_func_finite_use" >&6; }
54586
54587  if test x$glibcxx_cv_func_finite_use = x"yes"; then
54588    for ac_func in finite
54589do :
54590  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54591if test "x$ac_cv_func_finite" = x""yes; then :
54592  cat >>confdefs.h <<_ACEOF
54593#define HAVE_FINITE 1
54594_ACEOF
54595
54596fi
54597done
54598
54599  else
54600
54601  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54602$as_echo_n "checking for _finite declaration... " >&6; }
54603  if test x${glibcxx_cv_func__finite_use+set} != xset; then
54604    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54605  $as_echo_n "(cached) " >&6
54606else
54607
54608
54609      ac_ext=cpp
54610ac_cpp='$CXXCPP $CPPFLAGS'
54611ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54612ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54613ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54614
54615      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54616/* end confdefs.h.  */
54617#include <math.h>
54618		      #ifdef HAVE_IEEEFP_H
54619		      #include <ieeefp.h>
54620		      #endif
54621
54622int
54623main ()
54624{
54625 _finite(0);
54626  ;
54627  return 0;
54628}
54629_ACEOF
54630if ac_fn_cxx_try_compile "$LINENO"; then :
54631  glibcxx_cv_func__finite_use=yes
54632else
54633  glibcxx_cv_func__finite_use=no
54634fi
54635rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54636      ac_ext=c
54637ac_cpp='$CPP $CPPFLAGS'
54638ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54639ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54640ac_compiler_gnu=$ac_cv_c_compiler_gnu
54641
54642
54643fi
54644
54645  fi
54646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54647$as_echo "$glibcxx_cv_func__finite_use" >&6; }
54648
54649    if test x$glibcxx_cv_func__finite_use = x"yes"; then
54650      for ac_func in _finite
54651do :
54652  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54653if test "x$ac_cv_func__finite" = x""yes; then :
54654  cat >>confdefs.h <<_ACEOF
54655#define HAVE__FINITE 1
54656_ACEOF
54657
54658fi
54659done
54660
54661    fi
54662  fi
54663
54664
54665
54666
54667
54668  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54669$as_echo_n "checking for sincos declaration... " >&6; }
54670  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54671    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54672  $as_echo_n "(cached) " >&6
54673else
54674
54675
54676      ac_ext=cpp
54677ac_cpp='$CXXCPP $CPPFLAGS'
54678ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54679ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54680ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54681
54682      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54683/* end confdefs.h.  */
54684#include <math.h>
54685int
54686main ()
54687{
54688 sincos(0, 0, 0);
54689  ;
54690  return 0;
54691}
54692_ACEOF
54693if ac_fn_cxx_try_compile "$LINENO"; then :
54694  glibcxx_cv_func_sincos_use=yes
54695else
54696  glibcxx_cv_func_sincos_use=no
54697fi
54698rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54699      ac_ext=c
54700ac_cpp='$CPP $CPPFLAGS'
54701ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54702ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54703ac_compiler_gnu=$ac_cv_c_compiler_gnu
54704
54705
54706fi
54707
54708  fi
54709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54710$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54711
54712  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54713    for ac_func in sincos
54714do :
54715  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54716if test "x$ac_cv_func_sincos" = x""yes; then :
54717  cat >>confdefs.h <<_ACEOF
54718#define HAVE_SINCOS 1
54719_ACEOF
54720
54721fi
54722done
54723
54724  else
54725
54726  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54727$as_echo_n "checking for _sincos declaration... " >&6; }
54728  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54729    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54730  $as_echo_n "(cached) " >&6
54731else
54732
54733
54734      ac_ext=cpp
54735ac_cpp='$CXXCPP $CPPFLAGS'
54736ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54737ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54738ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54739
54740      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54741/* end confdefs.h.  */
54742#include <math.h>
54743int
54744main ()
54745{
54746 _sincos(0, 0, 0);
54747  ;
54748  return 0;
54749}
54750_ACEOF
54751if ac_fn_cxx_try_compile "$LINENO"; then :
54752  glibcxx_cv_func__sincos_use=yes
54753else
54754  glibcxx_cv_func__sincos_use=no
54755fi
54756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54757      ac_ext=c
54758ac_cpp='$CPP $CPPFLAGS'
54759ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54760ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54761ac_compiler_gnu=$ac_cv_c_compiler_gnu
54762
54763
54764fi
54765
54766  fi
54767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54768$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54769
54770    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54771      for ac_func in _sincos
54772do :
54773  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54774if test "x$ac_cv_func__sincos" = x""yes; then :
54775  cat >>confdefs.h <<_ACEOF
54776#define HAVE__SINCOS 1
54777_ACEOF
54778
54779fi
54780done
54781
54782    fi
54783  fi
54784
54785
54786
54787
54788
54789  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54790$as_echo_n "checking for fpclass declaration... " >&6; }
54791  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54792    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54793  $as_echo_n "(cached) " >&6
54794else
54795
54796
54797      ac_ext=cpp
54798ac_cpp='$CXXCPP $CPPFLAGS'
54799ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54800ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54801ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54802
54803      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54804/* end confdefs.h.  */
54805#include <math.h>
54806		      #ifdef HAVE_IEEEFP_H
54807		      #include <ieeefp.h>
54808		      #endif
54809
54810int
54811main ()
54812{
54813 fpclass(0);
54814  ;
54815  return 0;
54816}
54817_ACEOF
54818if ac_fn_cxx_try_compile "$LINENO"; then :
54819  glibcxx_cv_func_fpclass_use=yes
54820else
54821  glibcxx_cv_func_fpclass_use=no
54822fi
54823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54824      ac_ext=c
54825ac_cpp='$CPP $CPPFLAGS'
54826ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54827ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54828ac_compiler_gnu=$ac_cv_c_compiler_gnu
54829
54830
54831fi
54832
54833  fi
54834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54835$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54836
54837  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54838    for ac_func in fpclass
54839do :
54840  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54841if test "x$ac_cv_func_fpclass" = x""yes; then :
54842  cat >>confdefs.h <<_ACEOF
54843#define HAVE_FPCLASS 1
54844_ACEOF
54845
54846fi
54847done
54848
54849  else
54850
54851  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54852$as_echo_n "checking for _fpclass declaration... " >&6; }
54853  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54854    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54855  $as_echo_n "(cached) " >&6
54856else
54857
54858
54859      ac_ext=cpp
54860ac_cpp='$CXXCPP $CPPFLAGS'
54861ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54862ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54863ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54864
54865      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54866/* end confdefs.h.  */
54867#include <math.h>
54868		      #ifdef HAVE_IEEEFP_H
54869		      #include <ieeefp.h>
54870		      #endif
54871
54872int
54873main ()
54874{
54875 _fpclass(0);
54876  ;
54877  return 0;
54878}
54879_ACEOF
54880if ac_fn_cxx_try_compile "$LINENO"; then :
54881  glibcxx_cv_func__fpclass_use=yes
54882else
54883  glibcxx_cv_func__fpclass_use=no
54884fi
54885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54886      ac_ext=c
54887ac_cpp='$CPP $CPPFLAGS'
54888ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54889ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54890ac_compiler_gnu=$ac_cv_c_compiler_gnu
54891
54892
54893fi
54894
54895  fi
54896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54897$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54898
54899    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54900      for ac_func in _fpclass
54901do :
54902  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54903if test "x$ac_cv_func__fpclass" = x""yes; then :
54904  cat >>confdefs.h <<_ACEOF
54905#define HAVE__FPCLASS 1
54906_ACEOF
54907
54908fi
54909done
54910
54911    fi
54912  fi
54913
54914
54915
54916
54917
54918  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54919$as_echo_n "checking for qfpclass declaration... " >&6; }
54920  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54921    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54922  $as_echo_n "(cached) " >&6
54923else
54924
54925
54926      ac_ext=cpp
54927ac_cpp='$CXXCPP $CPPFLAGS'
54928ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54929ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54930ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54931
54932      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54933/* end confdefs.h.  */
54934#include <math.h>
54935		      #ifdef HAVE_IEEEFP_H
54936		      #include <ieeefp.h>
54937		      #endif
54938
54939int
54940main ()
54941{
54942 qfpclass(0);
54943  ;
54944  return 0;
54945}
54946_ACEOF
54947if ac_fn_cxx_try_compile "$LINENO"; then :
54948  glibcxx_cv_func_qfpclass_use=yes
54949else
54950  glibcxx_cv_func_qfpclass_use=no
54951fi
54952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54953      ac_ext=c
54954ac_cpp='$CPP $CPPFLAGS'
54955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54957ac_compiler_gnu=$ac_cv_c_compiler_gnu
54958
54959
54960fi
54961
54962  fi
54963  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54964$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54965
54966  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54967    for ac_func in qfpclass
54968do :
54969  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54970if test "x$ac_cv_func_qfpclass" = x""yes; then :
54971  cat >>confdefs.h <<_ACEOF
54972#define HAVE_QFPCLASS 1
54973_ACEOF
54974
54975fi
54976done
54977
54978  else
54979
54980  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54981$as_echo_n "checking for _qfpclass declaration... " >&6; }
54982  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54983    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54984  $as_echo_n "(cached) " >&6
54985else
54986
54987
54988      ac_ext=cpp
54989ac_cpp='$CXXCPP $CPPFLAGS'
54990ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54991ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54992ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54993
54994      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54995/* end confdefs.h.  */
54996#include <math.h>
54997		      #ifdef HAVE_IEEEFP_H
54998		      #include <ieeefp.h>
54999		      #endif
55000
55001int
55002main ()
55003{
55004 _qfpclass(0);
55005  ;
55006  return 0;
55007}
55008_ACEOF
55009if ac_fn_cxx_try_compile "$LINENO"; then :
55010  glibcxx_cv_func__qfpclass_use=yes
55011else
55012  glibcxx_cv_func__qfpclass_use=no
55013fi
55014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55015      ac_ext=c
55016ac_cpp='$CPP $CPPFLAGS'
55017ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55018ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55019ac_compiler_gnu=$ac_cv_c_compiler_gnu
55020
55021
55022fi
55023
55024  fi
55025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55026$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55027
55028    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55029      for ac_func in _qfpclass
55030do :
55031  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55032if test "x$ac_cv_func__qfpclass" = x""yes; then :
55033  cat >>confdefs.h <<_ACEOF
55034#define HAVE__QFPCLASS 1
55035_ACEOF
55036
55037fi
55038done
55039
55040    fi
55041  fi
55042
55043
55044
55045
55046
55047  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55048$as_echo_n "checking for hypot declaration... " >&6; }
55049  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55050    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
55051  $as_echo_n "(cached) " >&6
55052else
55053
55054
55055      ac_ext=cpp
55056ac_cpp='$CXXCPP $CPPFLAGS'
55057ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55058ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55059ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55060
55061      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55062/* end confdefs.h.  */
55063#include <math.h>
55064int
55065main ()
55066{
55067 hypot(0, 0);
55068  ;
55069  return 0;
55070}
55071_ACEOF
55072if ac_fn_cxx_try_compile "$LINENO"; then :
55073  glibcxx_cv_func_hypot_use=yes
55074else
55075  glibcxx_cv_func_hypot_use=no
55076fi
55077rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55078      ac_ext=c
55079ac_cpp='$CPP $CPPFLAGS'
55080ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55081ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55082ac_compiler_gnu=$ac_cv_c_compiler_gnu
55083
55084
55085fi
55086
55087  fi
55088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55089$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55090
55091  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55092    for ac_func in hypot
55093do :
55094  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55095if test "x$ac_cv_func_hypot" = x""yes; then :
55096  cat >>confdefs.h <<_ACEOF
55097#define HAVE_HYPOT 1
55098_ACEOF
55099
55100fi
55101done
55102
55103  else
55104
55105  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55106$as_echo_n "checking for _hypot declaration... " >&6; }
55107  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55108    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
55109  $as_echo_n "(cached) " >&6
55110else
55111
55112
55113      ac_ext=cpp
55114ac_cpp='$CXXCPP $CPPFLAGS'
55115ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55116ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55117ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55118
55119      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55120/* end confdefs.h.  */
55121#include <math.h>
55122int
55123main ()
55124{
55125 _hypot(0, 0);
55126  ;
55127  return 0;
55128}
55129_ACEOF
55130if ac_fn_cxx_try_compile "$LINENO"; then :
55131  glibcxx_cv_func__hypot_use=yes
55132else
55133  glibcxx_cv_func__hypot_use=no
55134fi
55135rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55136      ac_ext=c
55137ac_cpp='$CPP $CPPFLAGS'
55138ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55139ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55140ac_compiler_gnu=$ac_cv_c_compiler_gnu
55141
55142
55143fi
55144
55145  fi
55146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55147$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55148
55149    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55150      for ac_func in _hypot
55151do :
55152  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55153if test "x$ac_cv_func__hypot" = x""yes; then :
55154  cat >>confdefs.h <<_ACEOF
55155#define HAVE__HYPOT 1
55156_ACEOF
55157
55158fi
55159done
55160
55161    fi
55162  fi
55163
55164
55165
55166
55167
55168    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55169$as_echo_n "checking for float trig functions... " >&6; }
55170  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
55171  $as_echo_n "(cached) " >&6
55172else
55173
55174
55175    ac_ext=cpp
55176ac_cpp='$CXXCPP $CPPFLAGS'
55177ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55178ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55179ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55180
55181    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55182/* end confdefs.h.  */
55183#include <math.h>
55184int
55185main ()
55186{
55187acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55188  ;
55189  return 0;
55190}
55191_ACEOF
55192if ac_fn_cxx_try_compile "$LINENO"; then :
55193  glibcxx_cv_func_float_trig_use=yes
55194else
55195  glibcxx_cv_func_float_trig_use=no
55196fi
55197rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55198    ac_ext=c
55199ac_cpp='$CPP $CPPFLAGS'
55200ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55201ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55202ac_compiler_gnu=$ac_cv_c_compiler_gnu
55203
55204fi
55205
55206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55207$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55208  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55209    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55210do :
55211  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55212ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55213eval as_val=\$$as_ac_var
55214   if test "x$as_val" = x""yes; then :
55215  cat >>confdefs.h <<_ACEOF
55216#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55217_ACEOF
55218
55219fi
55220done
55221
55222  else
55223    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55224$as_echo_n "checking for _float trig functions... " >&6; }
55225    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
55226  $as_echo_n "(cached) " >&6
55227else
55228
55229
55230      ac_ext=cpp
55231ac_cpp='$CXXCPP $CPPFLAGS'
55232ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55233ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55234ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55235
55236      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55237/* end confdefs.h.  */
55238#include <math.h>
55239int
55240main ()
55241{
55242_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55243  ;
55244  return 0;
55245}
55246_ACEOF
55247if ac_fn_cxx_try_compile "$LINENO"; then :
55248  glibcxx_cv_func__float_trig_use=yes
55249else
55250  glibcxx_cv_func__float_trig_use=no
55251fi
55252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55253      ac_ext=c
55254ac_cpp='$CPP $CPPFLAGS'
55255ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55256ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55257ac_compiler_gnu=$ac_cv_c_compiler_gnu
55258
55259fi
55260
55261    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55262$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55263    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55264      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55265do :
55266  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55267ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55268eval as_val=\$$as_ac_var
55269   if test "x$as_val" = x""yes; then :
55270  cat >>confdefs.h <<_ACEOF
55271#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55272_ACEOF
55273
55274fi
55275done
55276
55277    fi
55278  fi
55279
55280
55281
55282
55283
55284    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55285$as_echo_n "checking for float round functions... " >&6; }
55286  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
55287  $as_echo_n "(cached) " >&6
55288else
55289
55290
55291    ac_ext=cpp
55292ac_cpp='$CXXCPP $CPPFLAGS'
55293ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55294ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55295ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55296
55297    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55298/* end confdefs.h.  */
55299#include <math.h>
55300int
55301main ()
55302{
55303ceilf (0); floorf (0);
55304  ;
55305  return 0;
55306}
55307_ACEOF
55308if ac_fn_cxx_try_compile "$LINENO"; then :
55309  glibcxx_cv_func_float_round_use=yes
55310else
55311  glibcxx_cv_func_float_round_use=no
55312fi
55313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55314    ac_ext=c
55315ac_cpp='$CPP $CPPFLAGS'
55316ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55317ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55318ac_compiler_gnu=$ac_cv_c_compiler_gnu
55319
55320fi
55321
55322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55323$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55324  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55325    for ac_func in ceilf floorf
55326do :
55327  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55328ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55329eval as_val=\$$as_ac_var
55330   if test "x$as_val" = x""yes; then :
55331  cat >>confdefs.h <<_ACEOF
55332#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55333_ACEOF
55334
55335fi
55336done
55337
55338  else
55339    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55340$as_echo_n "checking for _float round functions... " >&6; }
55341    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
55342  $as_echo_n "(cached) " >&6
55343else
55344
55345
55346      ac_ext=cpp
55347ac_cpp='$CXXCPP $CPPFLAGS'
55348ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55349ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55350ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55351
55352      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55353/* end confdefs.h.  */
55354#include <math.h>
55355int
55356main ()
55357{
55358_ceilf (0); _floorf (0);
55359  ;
55360  return 0;
55361}
55362_ACEOF
55363if ac_fn_cxx_try_compile "$LINENO"; then :
55364  glibcxx_cv_func__float_round_use=yes
55365else
55366  glibcxx_cv_func__float_round_use=no
55367fi
55368rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55369      ac_ext=c
55370ac_cpp='$CPP $CPPFLAGS'
55371ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55372ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55373ac_compiler_gnu=$ac_cv_c_compiler_gnu
55374
55375fi
55376
55377    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55378$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55379    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55380      for ac_func in _ceilf _floorf
55381do :
55382  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55383ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55384eval as_val=\$$as_ac_var
55385   if test "x$as_val" = x""yes; then :
55386  cat >>confdefs.h <<_ACEOF
55387#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55388_ACEOF
55389
55390fi
55391done
55392
55393    fi
55394  fi
55395
55396
55397
55398
55399
55400
55401  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55402$as_echo_n "checking for expf declaration... " >&6; }
55403  if test x${glibcxx_cv_func_expf_use+set} != xset; then
55404    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
55405  $as_echo_n "(cached) " >&6
55406else
55407
55408
55409      ac_ext=cpp
55410ac_cpp='$CXXCPP $CPPFLAGS'
55411ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55412ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55413ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55414
55415      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55416/* end confdefs.h.  */
55417#include <math.h>
55418		      #ifdef HAVE_IEEEFP_H
55419		      #include <ieeefp.h>
55420		      #endif
55421
55422int
55423main ()
55424{
55425 expf(0);
55426  ;
55427  return 0;
55428}
55429_ACEOF
55430if ac_fn_cxx_try_compile "$LINENO"; then :
55431  glibcxx_cv_func_expf_use=yes
55432else
55433  glibcxx_cv_func_expf_use=no
55434fi
55435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55436      ac_ext=c
55437ac_cpp='$CPP $CPPFLAGS'
55438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55440ac_compiler_gnu=$ac_cv_c_compiler_gnu
55441
55442
55443fi
55444
55445  fi
55446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55447$as_echo "$glibcxx_cv_func_expf_use" >&6; }
55448
55449  if test x$glibcxx_cv_func_expf_use = x"yes"; then
55450    for ac_func in expf
55451do :
55452  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55453if test "x$ac_cv_func_expf" = x""yes; then :
55454  cat >>confdefs.h <<_ACEOF
55455#define HAVE_EXPF 1
55456_ACEOF
55457
55458fi
55459done
55460
55461  else
55462
55463  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55464$as_echo_n "checking for _expf declaration... " >&6; }
55465  if test x${glibcxx_cv_func__expf_use+set} != xset; then
55466    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55467  $as_echo_n "(cached) " >&6
55468else
55469
55470
55471      ac_ext=cpp
55472ac_cpp='$CXXCPP $CPPFLAGS'
55473ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55474ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55475ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55476
55477      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55478/* end confdefs.h.  */
55479#include <math.h>
55480		      #ifdef HAVE_IEEEFP_H
55481		      #include <ieeefp.h>
55482		      #endif
55483
55484int
55485main ()
55486{
55487 _expf(0);
55488  ;
55489  return 0;
55490}
55491_ACEOF
55492if ac_fn_cxx_try_compile "$LINENO"; then :
55493  glibcxx_cv_func__expf_use=yes
55494else
55495  glibcxx_cv_func__expf_use=no
55496fi
55497rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55498      ac_ext=c
55499ac_cpp='$CPP $CPPFLAGS'
55500ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55501ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55502ac_compiler_gnu=$ac_cv_c_compiler_gnu
55503
55504
55505fi
55506
55507  fi
55508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55509$as_echo "$glibcxx_cv_func__expf_use" >&6; }
55510
55511    if test x$glibcxx_cv_func__expf_use = x"yes"; then
55512      for ac_func in _expf
55513do :
55514  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55515if test "x$ac_cv_func__expf" = x""yes; then :
55516  cat >>confdefs.h <<_ACEOF
55517#define HAVE__EXPF 1
55518_ACEOF
55519
55520fi
55521done
55522
55523    fi
55524  fi
55525
55526
55527
55528
55529
55530  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55531$as_echo_n "checking for isnanf declaration... " >&6; }
55532  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55533    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55534  $as_echo_n "(cached) " >&6
55535else
55536
55537
55538      ac_ext=cpp
55539ac_cpp='$CXXCPP $CPPFLAGS'
55540ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55541ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55542ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55543
55544      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55545/* end confdefs.h.  */
55546#include <math.h>
55547		      #ifdef HAVE_IEEEFP_H
55548		      #include <ieeefp.h>
55549		      #endif
55550
55551int
55552main ()
55553{
55554 isnanf(0);
55555  ;
55556  return 0;
55557}
55558_ACEOF
55559if ac_fn_cxx_try_compile "$LINENO"; then :
55560  glibcxx_cv_func_isnanf_use=yes
55561else
55562  glibcxx_cv_func_isnanf_use=no
55563fi
55564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55565      ac_ext=c
55566ac_cpp='$CPP $CPPFLAGS'
55567ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55568ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55569ac_compiler_gnu=$ac_cv_c_compiler_gnu
55570
55571
55572fi
55573
55574  fi
55575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55576$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55577
55578  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55579    for ac_func in isnanf
55580do :
55581  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55582if test "x$ac_cv_func_isnanf" = x""yes; then :
55583  cat >>confdefs.h <<_ACEOF
55584#define HAVE_ISNANF 1
55585_ACEOF
55586
55587fi
55588done
55589
55590  else
55591
55592  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55593$as_echo_n "checking for _isnanf declaration... " >&6; }
55594  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55595    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55596  $as_echo_n "(cached) " >&6
55597else
55598
55599
55600      ac_ext=cpp
55601ac_cpp='$CXXCPP $CPPFLAGS'
55602ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55603ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55604ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55605
55606      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55607/* end confdefs.h.  */
55608#include <math.h>
55609		      #ifdef HAVE_IEEEFP_H
55610		      #include <ieeefp.h>
55611		      #endif
55612
55613int
55614main ()
55615{
55616 _isnanf(0);
55617  ;
55618  return 0;
55619}
55620_ACEOF
55621if ac_fn_cxx_try_compile "$LINENO"; then :
55622  glibcxx_cv_func__isnanf_use=yes
55623else
55624  glibcxx_cv_func__isnanf_use=no
55625fi
55626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55627      ac_ext=c
55628ac_cpp='$CPP $CPPFLAGS'
55629ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55630ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55631ac_compiler_gnu=$ac_cv_c_compiler_gnu
55632
55633
55634fi
55635
55636  fi
55637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55638$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55639
55640    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55641      for ac_func in _isnanf
55642do :
55643  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55644if test "x$ac_cv_func__isnanf" = x""yes; then :
55645  cat >>confdefs.h <<_ACEOF
55646#define HAVE__ISNANF 1
55647_ACEOF
55648
55649fi
55650done
55651
55652    fi
55653  fi
55654
55655
55656
55657
55658
55659  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55660$as_echo_n "checking for isinff declaration... " >&6; }
55661  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55662    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55663  $as_echo_n "(cached) " >&6
55664else
55665
55666
55667      ac_ext=cpp
55668ac_cpp='$CXXCPP $CPPFLAGS'
55669ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55670ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55671ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55672
55673      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55674/* end confdefs.h.  */
55675#include <math.h>
55676		      #ifdef HAVE_IEEEFP_H
55677		      #include <ieeefp.h>
55678		      #endif
55679
55680int
55681main ()
55682{
55683 isinff(0);
55684  ;
55685  return 0;
55686}
55687_ACEOF
55688if ac_fn_cxx_try_compile "$LINENO"; then :
55689  glibcxx_cv_func_isinff_use=yes
55690else
55691  glibcxx_cv_func_isinff_use=no
55692fi
55693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55694      ac_ext=c
55695ac_cpp='$CPP $CPPFLAGS'
55696ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55697ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55698ac_compiler_gnu=$ac_cv_c_compiler_gnu
55699
55700
55701fi
55702
55703  fi
55704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55705$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55706
55707  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55708    for ac_func in isinff
55709do :
55710  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55711if test "x$ac_cv_func_isinff" = x""yes; then :
55712  cat >>confdefs.h <<_ACEOF
55713#define HAVE_ISINFF 1
55714_ACEOF
55715
55716fi
55717done
55718
55719  else
55720
55721  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55722$as_echo_n "checking for _isinff declaration... " >&6; }
55723  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55724    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55725  $as_echo_n "(cached) " >&6
55726else
55727
55728
55729      ac_ext=cpp
55730ac_cpp='$CXXCPP $CPPFLAGS'
55731ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55732ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55733ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55734
55735      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55736/* end confdefs.h.  */
55737#include <math.h>
55738		      #ifdef HAVE_IEEEFP_H
55739		      #include <ieeefp.h>
55740		      #endif
55741
55742int
55743main ()
55744{
55745 _isinff(0);
55746  ;
55747  return 0;
55748}
55749_ACEOF
55750if ac_fn_cxx_try_compile "$LINENO"; then :
55751  glibcxx_cv_func__isinff_use=yes
55752else
55753  glibcxx_cv_func__isinff_use=no
55754fi
55755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55756      ac_ext=c
55757ac_cpp='$CPP $CPPFLAGS'
55758ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55759ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55760ac_compiler_gnu=$ac_cv_c_compiler_gnu
55761
55762
55763fi
55764
55765  fi
55766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55767$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55768
55769    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55770      for ac_func in _isinff
55771do :
55772  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55773if test "x$ac_cv_func__isinff" = x""yes; then :
55774  cat >>confdefs.h <<_ACEOF
55775#define HAVE__ISINFF 1
55776_ACEOF
55777
55778fi
55779done
55780
55781    fi
55782  fi
55783
55784
55785
55786
55787
55788  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55789$as_echo_n "checking for atan2f declaration... " >&6; }
55790  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55791    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55792  $as_echo_n "(cached) " >&6
55793else
55794
55795
55796      ac_ext=cpp
55797ac_cpp='$CXXCPP $CPPFLAGS'
55798ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55799ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55800ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55801
55802      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55803/* end confdefs.h.  */
55804#include <math.h>
55805int
55806main ()
55807{
55808 atan2f(0, 0);
55809  ;
55810  return 0;
55811}
55812_ACEOF
55813if ac_fn_cxx_try_compile "$LINENO"; then :
55814  glibcxx_cv_func_atan2f_use=yes
55815else
55816  glibcxx_cv_func_atan2f_use=no
55817fi
55818rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55819      ac_ext=c
55820ac_cpp='$CPP $CPPFLAGS'
55821ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55822ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55823ac_compiler_gnu=$ac_cv_c_compiler_gnu
55824
55825
55826fi
55827
55828  fi
55829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55830$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55831
55832  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55833    for ac_func in atan2f
55834do :
55835  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55836if test "x$ac_cv_func_atan2f" = x""yes; then :
55837  cat >>confdefs.h <<_ACEOF
55838#define HAVE_ATAN2F 1
55839_ACEOF
55840
55841fi
55842done
55843
55844  else
55845
55846  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55847$as_echo_n "checking for _atan2f declaration... " >&6; }
55848  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55849    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55850  $as_echo_n "(cached) " >&6
55851else
55852
55853
55854      ac_ext=cpp
55855ac_cpp='$CXXCPP $CPPFLAGS'
55856ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55857ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55858ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55859
55860      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55861/* end confdefs.h.  */
55862#include <math.h>
55863int
55864main ()
55865{
55866 _atan2f(0, 0);
55867  ;
55868  return 0;
55869}
55870_ACEOF
55871if ac_fn_cxx_try_compile "$LINENO"; then :
55872  glibcxx_cv_func__atan2f_use=yes
55873else
55874  glibcxx_cv_func__atan2f_use=no
55875fi
55876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55877      ac_ext=c
55878ac_cpp='$CPP $CPPFLAGS'
55879ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55880ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55881ac_compiler_gnu=$ac_cv_c_compiler_gnu
55882
55883
55884fi
55885
55886  fi
55887  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55888$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55889
55890    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55891      for ac_func in _atan2f
55892do :
55893  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55894if test "x$ac_cv_func__atan2f" = x""yes; then :
55895  cat >>confdefs.h <<_ACEOF
55896#define HAVE__ATAN2F 1
55897_ACEOF
55898
55899fi
55900done
55901
55902    fi
55903  fi
55904
55905
55906
55907
55908
55909  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55910$as_echo_n "checking for fabsf declaration... " >&6; }
55911  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55912    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55913  $as_echo_n "(cached) " >&6
55914else
55915
55916
55917      ac_ext=cpp
55918ac_cpp='$CXXCPP $CPPFLAGS'
55919ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55920ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55921ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55922
55923      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55924/* end confdefs.h.  */
55925#include <math.h>
55926		      #ifdef HAVE_IEEEFP_H
55927		      #include <ieeefp.h>
55928		      #endif
55929
55930int
55931main ()
55932{
55933 fabsf(0);
55934  ;
55935  return 0;
55936}
55937_ACEOF
55938if ac_fn_cxx_try_compile "$LINENO"; then :
55939  glibcxx_cv_func_fabsf_use=yes
55940else
55941  glibcxx_cv_func_fabsf_use=no
55942fi
55943rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55944      ac_ext=c
55945ac_cpp='$CPP $CPPFLAGS'
55946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55948ac_compiler_gnu=$ac_cv_c_compiler_gnu
55949
55950
55951fi
55952
55953  fi
55954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55955$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55956
55957  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55958    for ac_func in fabsf
55959do :
55960  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55961if test "x$ac_cv_func_fabsf" = x""yes; then :
55962  cat >>confdefs.h <<_ACEOF
55963#define HAVE_FABSF 1
55964_ACEOF
55965
55966fi
55967done
55968
55969  else
55970
55971  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55972$as_echo_n "checking for _fabsf declaration... " >&6; }
55973  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55974    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55975  $as_echo_n "(cached) " >&6
55976else
55977
55978
55979      ac_ext=cpp
55980ac_cpp='$CXXCPP $CPPFLAGS'
55981ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55982ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55983ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55984
55985      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55986/* end confdefs.h.  */
55987#include <math.h>
55988		      #ifdef HAVE_IEEEFP_H
55989		      #include <ieeefp.h>
55990		      #endif
55991
55992int
55993main ()
55994{
55995 _fabsf(0);
55996  ;
55997  return 0;
55998}
55999_ACEOF
56000if ac_fn_cxx_try_compile "$LINENO"; then :
56001  glibcxx_cv_func__fabsf_use=yes
56002else
56003  glibcxx_cv_func__fabsf_use=no
56004fi
56005rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56006      ac_ext=c
56007ac_cpp='$CPP $CPPFLAGS'
56008ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56009ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56010ac_compiler_gnu=$ac_cv_c_compiler_gnu
56011
56012
56013fi
56014
56015  fi
56016  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56017$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56018
56019    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56020      for ac_func in _fabsf
56021do :
56022  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56023if test "x$ac_cv_func__fabsf" = x""yes; then :
56024  cat >>confdefs.h <<_ACEOF
56025#define HAVE__FABSF 1
56026_ACEOF
56027
56028fi
56029done
56030
56031    fi
56032  fi
56033
56034
56035
56036
56037
56038  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56039$as_echo_n "checking for fmodf declaration... " >&6; }
56040  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56041    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
56042  $as_echo_n "(cached) " >&6
56043else
56044
56045
56046      ac_ext=cpp
56047ac_cpp='$CXXCPP $CPPFLAGS'
56048ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56049ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56050ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56051
56052      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56053/* end confdefs.h.  */
56054#include <math.h>
56055int
56056main ()
56057{
56058 fmodf(0, 0);
56059  ;
56060  return 0;
56061}
56062_ACEOF
56063if ac_fn_cxx_try_compile "$LINENO"; then :
56064  glibcxx_cv_func_fmodf_use=yes
56065else
56066  glibcxx_cv_func_fmodf_use=no
56067fi
56068rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56069      ac_ext=c
56070ac_cpp='$CPP $CPPFLAGS'
56071ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56072ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56073ac_compiler_gnu=$ac_cv_c_compiler_gnu
56074
56075
56076fi
56077
56078  fi
56079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56080$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56081
56082  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56083    for ac_func in fmodf
56084do :
56085  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56086if test "x$ac_cv_func_fmodf" = x""yes; then :
56087  cat >>confdefs.h <<_ACEOF
56088#define HAVE_FMODF 1
56089_ACEOF
56090
56091fi
56092done
56093
56094  else
56095
56096  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56097$as_echo_n "checking for _fmodf declaration... " >&6; }
56098  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56099    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
56100  $as_echo_n "(cached) " >&6
56101else
56102
56103
56104      ac_ext=cpp
56105ac_cpp='$CXXCPP $CPPFLAGS'
56106ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56107ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56108ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56109
56110      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56111/* end confdefs.h.  */
56112#include <math.h>
56113int
56114main ()
56115{
56116 _fmodf(0, 0);
56117  ;
56118  return 0;
56119}
56120_ACEOF
56121if ac_fn_cxx_try_compile "$LINENO"; then :
56122  glibcxx_cv_func__fmodf_use=yes
56123else
56124  glibcxx_cv_func__fmodf_use=no
56125fi
56126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56127      ac_ext=c
56128ac_cpp='$CPP $CPPFLAGS'
56129ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56130ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56131ac_compiler_gnu=$ac_cv_c_compiler_gnu
56132
56133
56134fi
56135
56136  fi
56137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56138$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56139
56140    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56141      for ac_func in _fmodf
56142do :
56143  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56144if test "x$ac_cv_func__fmodf" = x""yes; then :
56145  cat >>confdefs.h <<_ACEOF
56146#define HAVE__FMODF 1
56147_ACEOF
56148
56149fi
56150done
56151
56152    fi
56153  fi
56154
56155
56156
56157
56158
56159  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56160$as_echo_n "checking for frexpf declaration... " >&6; }
56161  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56162    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
56163  $as_echo_n "(cached) " >&6
56164else
56165
56166
56167      ac_ext=cpp
56168ac_cpp='$CXXCPP $CPPFLAGS'
56169ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56170ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56171ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56172
56173      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56174/* end confdefs.h.  */
56175#include <math.h>
56176int
56177main ()
56178{
56179 frexpf(0, 0);
56180  ;
56181  return 0;
56182}
56183_ACEOF
56184if ac_fn_cxx_try_compile "$LINENO"; then :
56185  glibcxx_cv_func_frexpf_use=yes
56186else
56187  glibcxx_cv_func_frexpf_use=no
56188fi
56189rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56190      ac_ext=c
56191ac_cpp='$CPP $CPPFLAGS'
56192ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56193ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56194ac_compiler_gnu=$ac_cv_c_compiler_gnu
56195
56196
56197fi
56198
56199  fi
56200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56201$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56202
56203  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56204    for ac_func in frexpf
56205do :
56206  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56207if test "x$ac_cv_func_frexpf" = x""yes; then :
56208  cat >>confdefs.h <<_ACEOF
56209#define HAVE_FREXPF 1
56210_ACEOF
56211
56212fi
56213done
56214
56215  else
56216
56217  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56218$as_echo_n "checking for _frexpf declaration... " >&6; }
56219  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56220    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
56221  $as_echo_n "(cached) " >&6
56222else
56223
56224
56225      ac_ext=cpp
56226ac_cpp='$CXXCPP $CPPFLAGS'
56227ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56228ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56229ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56230
56231      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56232/* end confdefs.h.  */
56233#include <math.h>
56234int
56235main ()
56236{
56237 _frexpf(0, 0);
56238  ;
56239  return 0;
56240}
56241_ACEOF
56242if ac_fn_cxx_try_compile "$LINENO"; then :
56243  glibcxx_cv_func__frexpf_use=yes
56244else
56245  glibcxx_cv_func__frexpf_use=no
56246fi
56247rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56248      ac_ext=c
56249ac_cpp='$CPP $CPPFLAGS'
56250ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56251ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56252ac_compiler_gnu=$ac_cv_c_compiler_gnu
56253
56254
56255fi
56256
56257  fi
56258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56259$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56260
56261    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56262      for ac_func in _frexpf
56263do :
56264  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56265if test "x$ac_cv_func__frexpf" = x""yes; then :
56266  cat >>confdefs.h <<_ACEOF
56267#define HAVE__FREXPF 1
56268_ACEOF
56269
56270fi
56271done
56272
56273    fi
56274  fi
56275
56276
56277
56278
56279
56280  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56281$as_echo_n "checking for hypotf declaration... " >&6; }
56282  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56283    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
56284  $as_echo_n "(cached) " >&6
56285else
56286
56287
56288      ac_ext=cpp
56289ac_cpp='$CXXCPP $CPPFLAGS'
56290ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56291ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56292ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56293
56294      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56295/* end confdefs.h.  */
56296#include <math.h>
56297int
56298main ()
56299{
56300 hypotf(0, 0);
56301  ;
56302  return 0;
56303}
56304_ACEOF
56305if ac_fn_cxx_try_compile "$LINENO"; then :
56306  glibcxx_cv_func_hypotf_use=yes
56307else
56308  glibcxx_cv_func_hypotf_use=no
56309fi
56310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56311      ac_ext=c
56312ac_cpp='$CPP $CPPFLAGS'
56313ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56314ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56315ac_compiler_gnu=$ac_cv_c_compiler_gnu
56316
56317
56318fi
56319
56320  fi
56321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56322$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56323
56324  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56325    for ac_func in hypotf
56326do :
56327  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56328if test "x$ac_cv_func_hypotf" = x""yes; then :
56329  cat >>confdefs.h <<_ACEOF
56330#define HAVE_HYPOTF 1
56331_ACEOF
56332
56333fi
56334done
56335
56336  else
56337
56338  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56339$as_echo_n "checking for _hypotf declaration... " >&6; }
56340  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56341    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
56342  $as_echo_n "(cached) " >&6
56343else
56344
56345
56346      ac_ext=cpp
56347ac_cpp='$CXXCPP $CPPFLAGS'
56348ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56349ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56350ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56351
56352      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56353/* end confdefs.h.  */
56354#include <math.h>
56355int
56356main ()
56357{
56358 _hypotf(0, 0);
56359  ;
56360  return 0;
56361}
56362_ACEOF
56363if ac_fn_cxx_try_compile "$LINENO"; then :
56364  glibcxx_cv_func__hypotf_use=yes
56365else
56366  glibcxx_cv_func__hypotf_use=no
56367fi
56368rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56369      ac_ext=c
56370ac_cpp='$CPP $CPPFLAGS'
56371ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56372ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56373ac_compiler_gnu=$ac_cv_c_compiler_gnu
56374
56375
56376fi
56377
56378  fi
56379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56380$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56381
56382    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56383      for ac_func in _hypotf
56384do :
56385  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56386if test "x$ac_cv_func__hypotf" = x""yes; then :
56387  cat >>confdefs.h <<_ACEOF
56388#define HAVE__HYPOTF 1
56389_ACEOF
56390
56391fi
56392done
56393
56394    fi
56395  fi
56396
56397
56398
56399
56400
56401  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56402$as_echo_n "checking for ldexpf declaration... " >&6; }
56403  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56404    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
56405  $as_echo_n "(cached) " >&6
56406else
56407
56408
56409      ac_ext=cpp
56410ac_cpp='$CXXCPP $CPPFLAGS'
56411ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56412ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56413ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56414
56415      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56416/* end confdefs.h.  */
56417#include <math.h>
56418int
56419main ()
56420{
56421 ldexpf(0, 0);
56422  ;
56423  return 0;
56424}
56425_ACEOF
56426if ac_fn_cxx_try_compile "$LINENO"; then :
56427  glibcxx_cv_func_ldexpf_use=yes
56428else
56429  glibcxx_cv_func_ldexpf_use=no
56430fi
56431rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56432      ac_ext=c
56433ac_cpp='$CPP $CPPFLAGS'
56434ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56435ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56436ac_compiler_gnu=$ac_cv_c_compiler_gnu
56437
56438
56439fi
56440
56441  fi
56442  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56443$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56444
56445  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56446    for ac_func in ldexpf
56447do :
56448  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56449if test "x$ac_cv_func_ldexpf" = x""yes; then :
56450  cat >>confdefs.h <<_ACEOF
56451#define HAVE_LDEXPF 1
56452_ACEOF
56453
56454fi
56455done
56456
56457  else
56458
56459  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56460$as_echo_n "checking for _ldexpf declaration... " >&6; }
56461  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56462    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56463  $as_echo_n "(cached) " >&6
56464else
56465
56466
56467      ac_ext=cpp
56468ac_cpp='$CXXCPP $CPPFLAGS'
56469ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56470ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56471ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56472
56473      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56474/* end confdefs.h.  */
56475#include <math.h>
56476int
56477main ()
56478{
56479 _ldexpf(0, 0);
56480  ;
56481  return 0;
56482}
56483_ACEOF
56484if ac_fn_cxx_try_compile "$LINENO"; then :
56485  glibcxx_cv_func__ldexpf_use=yes
56486else
56487  glibcxx_cv_func__ldexpf_use=no
56488fi
56489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56490      ac_ext=c
56491ac_cpp='$CPP $CPPFLAGS'
56492ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56493ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56494ac_compiler_gnu=$ac_cv_c_compiler_gnu
56495
56496
56497fi
56498
56499  fi
56500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56501$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56502
56503    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56504      for ac_func in _ldexpf
56505do :
56506  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56507if test "x$ac_cv_func__ldexpf" = x""yes; then :
56508  cat >>confdefs.h <<_ACEOF
56509#define HAVE__LDEXPF 1
56510_ACEOF
56511
56512fi
56513done
56514
56515    fi
56516  fi
56517
56518
56519
56520
56521
56522  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56523$as_echo_n "checking for logf declaration... " >&6; }
56524  if test x${glibcxx_cv_func_logf_use+set} != xset; then
56525    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56526  $as_echo_n "(cached) " >&6
56527else
56528
56529
56530      ac_ext=cpp
56531ac_cpp='$CXXCPP $CPPFLAGS'
56532ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56533ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56534ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56535
56536      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56537/* end confdefs.h.  */
56538#include <math.h>
56539		      #ifdef HAVE_IEEEFP_H
56540		      #include <ieeefp.h>
56541		      #endif
56542
56543int
56544main ()
56545{
56546 logf(0);
56547  ;
56548  return 0;
56549}
56550_ACEOF
56551if ac_fn_cxx_try_compile "$LINENO"; then :
56552  glibcxx_cv_func_logf_use=yes
56553else
56554  glibcxx_cv_func_logf_use=no
56555fi
56556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56557      ac_ext=c
56558ac_cpp='$CPP $CPPFLAGS'
56559ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56560ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56561ac_compiler_gnu=$ac_cv_c_compiler_gnu
56562
56563
56564fi
56565
56566  fi
56567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56568$as_echo "$glibcxx_cv_func_logf_use" >&6; }
56569
56570  if test x$glibcxx_cv_func_logf_use = x"yes"; then
56571    for ac_func in logf
56572do :
56573  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56574if test "x$ac_cv_func_logf" = x""yes; then :
56575  cat >>confdefs.h <<_ACEOF
56576#define HAVE_LOGF 1
56577_ACEOF
56578
56579fi
56580done
56581
56582  else
56583
56584  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56585$as_echo_n "checking for _logf declaration... " >&6; }
56586  if test x${glibcxx_cv_func__logf_use+set} != xset; then
56587    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56588  $as_echo_n "(cached) " >&6
56589else
56590
56591
56592      ac_ext=cpp
56593ac_cpp='$CXXCPP $CPPFLAGS'
56594ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56595ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56596ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56597
56598      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56599/* end confdefs.h.  */
56600#include <math.h>
56601		      #ifdef HAVE_IEEEFP_H
56602		      #include <ieeefp.h>
56603		      #endif
56604
56605int
56606main ()
56607{
56608 _logf(0);
56609  ;
56610  return 0;
56611}
56612_ACEOF
56613if ac_fn_cxx_try_compile "$LINENO"; then :
56614  glibcxx_cv_func__logf_use=yes
56615else
56616  glibcxx_cv_func__logf_use=no
56617fi
56618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56619      ac_ext=c
56620ac_cpp='$CPP $CPPFLAGS'
56621ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56622ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56623ac_compiler_gnu=$ac_cv_c_compiler_gnu
56624
56625
56626fi
56627
56628  fi
56629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56630$as_echo "$glibcxx_cv_func__logf_use" >&6; }
56631
56632    if test x$glibcxx_cv_func__logf_use = x"yes"; then
56633      for ac_func in _logf
56634do :
56635  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56636if test "x$ac_cv_func__logf" = x""yes; then :
56637  cat >>confdefs.h <<_ACEOF
56638#define HAVE__LOGF 1
56639_ACEOF
56640
56641fi
56642done
56643
56644    fi
56645  fi
56646
56647
56648
56649
56650
56651  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56652$as_echo_n "checking for log10f declaration... " >&6; }
56653  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56654    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56655  $as_echo_n "(cached) " >&6
56656else
56657
56658
56659      ac_ext=cpp
56660ac_cpp='$CXXCPP $CPPFLAGS'
56661ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56662ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56663ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56664
56665      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56666/* end confdefs.h.  */
56667#include <math.h>
56668		      #ifdef HAVE_IEEEFP_H
56669		      #include <ieeefp.h>
56670		      #endif
56671
56672int
56673main ()
56674{
56675 log10f(0);
56676  ;
56677  return 0;
56678}
56679_ACEOF
56680if ac_fn_cxx_try_compile "$LINENO"; then :
56681  glibcxx_cv_func_log10f_use=yes
56682else
56683  glibcxx_cv_func_log10f_use=no
56684fi
56685rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56686      ac_ext=c
56687ac_cpp='$CPP $CPPFLAGS'
56688ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56689ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56690ac_compiler_gnu=$ac_cv_c_compiler_gnu
56691
56692
56693fi
56694
56695  fi
56696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56697$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56698
56699  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56700    for ac_func in log10f
56701do :
56702  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56703if test "x$ac_cv_func_log10f" = x""yes; then :
56704  cat >>confdefs.h <<_ACEOF
56705#define HAVE_LOG10F 1
56706_ACEOF
56707
56708fi
56709done
56710
56711  else
56712
56713  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56714$as_echo_n "checking for _log10f declaration... " >&6; }
56715  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56716    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56717  $as_echo_n "(cached) " >&6
56718else
56719
56720
56721      ac_ext=cpp
56722ac_cpp='$CXXCPP $CPPFLAGS'
56723ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56724ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56725ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56726
56727      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56728/* end confdefs.h.  */
56729#include <math.h>
56730		      #ifdef HAVE_IEEEFP_H
56731		      #include <ieeefp.h>
56732		      #endif
56733
56734int
56735main ()
56736{
56737 _log10f(0);
56738  ;
56739  return 0;
56740}
56741_ACEOF
56742if ac_fn_cxx_try_compile "$LINENO"; then :
56743  glibcxx_cv_func__log10f_use=yes
56744else
56745  glibcxx_cv_func__log10f_use=no
56746fi
56747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56748      ac_ext=c
56749ac_cpp='$CPP $CPPFLAGS'
56750ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56751ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56752ac_compiler_gnu=$ac_cv_c_compiler_gnu
56753
56754
56755fi
56756
56757  fi
56758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56759$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56760
56761    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56762      for ac_func in _log10f
56763do :
56764  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56765if test "x$ac_cv_func__log10f" = x""yes; then :
56766  cat >>confdefs.h <<_ACEOF
56767#define HAVE__LOG10F 1
56768_ACEOF
56769
56770fi
56771done
56772
56773    fi
56774  fi
56775
56776
56777
56778
56779
56780  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56781$as_echo_n "checking for modff declaration... " >&6; }
56782  if test x${glibcxx_cv_func_modff_use+set} != xset; then
56783    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56784  $as_echo_n "(cached) " >&6
56785else
56786
56787
56788      ac_ext=cpp
56789ac_cpp='$CXXCPP $CPPFLAGS'
56790ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56791ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56792ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56793
56794      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56795/* end confdefs.h.  */
56796#include <math.h>
56797int
56798main ()
56799{
56800 modff(0, 0);
56801  ;
56802  return 0;
56803}
56804_ACEOF
56805if ac_fn_cxx_try_compile "$LINENO"; then :
56806  glibcxx_cv_func_modff_use=yes
56807else
56808  glibcxx_cv_func_modff_use=no
56809fi
56810rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56811      ac_ext=c
56812ac_cpp='$CPP $CPPFLAGS'
56813ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56814ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56815ac_compiler_gnu=$ac_cv_c_compiler_gnu
56816
56817
56818fi
56819
56820  fi
56821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56822$as_echo "$glibcxx_cv_func_modff_use" >&6; }
56823
56824  if test x$glibcxx_cv_func_modff_use = x"yes"; then
56825    for ac_func in modff
56826do :
56827  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56828if test "x$ac_cv_func_modff" = x""yes; then :
56829  cat >>confdefs.h <<_ACEOF
56830#define HAVE_MODFF 1
56831_ACEOF
56832
56833fi
56834done
56835
56836  else
56837
56838  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56839$as_echo_n "checking for _modff declaration... " >&6; }
56840  if test x${glibcxx_cv_func__modff_use+set} != xset; then
56841    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56842  $as_echo_n "(cached) " >&6
56843else
56844
56845
56846      ac_ext=cpp
56847ac_cpp='$CXXCPP $CPPFLAGS'
56848ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56849ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56850ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56851
56852      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56853/* end confdefs.h.  */
56854#include <math.h>
56855int
56856main ()
56857{
56858 _modff(0, 0);
56859  ;
56860  return 0;
56861}
56862_ACEOF
56863if ac_fn_cxx_try_compile "$LINENO"; then :
56864  glibcxx_cv_func__modff_use=yes
56865else
56866  glibcxx_cv_func__modff_use=no
56867fi
56868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56869      ac_ext=c
56870ac_cpp='$CPP $CPPFLAGS'
56871ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56872ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56873ac_compiler_gnu=$ac_cv_c_compiler_gnu
56874
56875
56876fi
56877
56878  fi
56879  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56880$as_echo "$glibcxx_cv_func__modff_use" >&6; }
56881
56882    if test x$glibcxx_cv_func__modff_use = x"yes"; then
56883      for ac_func in _modff
56884do :
56885  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56886if test "x$ac_cv_func__modff" = x""yes; then :
56887  cat >>confdefs.h <<_ACEOF
56888#define HAVE__MODFF 1
56889_ACEOF
56890
56891fi
56892done
56893
56894    fi
56895  fi
56896
56897
56898
56899
56900
56901  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56902$as_echo_n "checking for modf declaration... " >&6; }
56903  if test x${glibcxx_cv_func_modf_use+set} != xset; then
56904    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56905  $as_echo_n "(cached) " >&6
56906else
56907
56908
56909      ac_ext=cpp
56910ac_cpp='$CXXCPP $CPPFLAGS'
56911ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56912ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56913ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56914
56915      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56916/* end confdefs.h.  */
56917#include <math.h>
56918int
56919main ()
56920{
56921 modf(0, 0);
56922  ;
56923  return 0;
56924}
56925_ACEOF
56926if ac_fn_cxx_try_compile "$LINENO"; then :
56927  glibcxx_cv_func_modf_use=yes
56928else
56929  glibcxx_cv_func_modf_use=no
56930fi
56931rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56932      ac_ext=c
56933ac_cpp='$CPP $CPPFLAGS'
56934ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56935ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56936ac_compiler_gnu=$ac_cv_c_compiler_gnu
56937
56938
56939fi
56940
56941  fi
56942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56943$as_echo "$glibcxx_cv_func_modf_use" >&6; }
56944
56945  if test x$glibcxx_cv_func_modf_use = x"yes"; then
56946    for ac_func in modf
56947do :
56948  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56949if test "x$ac_cv_func_modf" = x""yes; then :
56950  cat >>confdefs.h <<_ACEOF
56951#define HAVE_MODF 1
56952_ACEOF
56953
56954fi
56955done
56956
56957  else
56958
56959  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56960$as_echo_n "checking for _modf declaration... " >&6; }
56961  if test x${glibcxx_cv_func__modf_use+set} != xset; then
56962    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56963  $as_echo_n "(cached) " >&6
56964else
56965
56966
56967      ac_ext=cpp
56968ac_cpp='$CXXCPP $CPPFLAGS'
56969ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56970ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56971ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56972
56973      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56974/* end confdefs.h.  */
56975#include <math.h>
56976int
56977main ()
56978{
56979 _modf(0, 0);
56980  ;
56981  return 0;
56982}
56983_ACEOF
56984if ac_fn_cxx_try_compile "$LINENO"; then :
56985  glibcxx_cv_func__modf_use=yes
56986else
56987  glibcxx_cv_func__modf_use=no
56988fi
56989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56990      ac_ext=c
56991ac_cpp='$CPP $CPPFLAGS'
56992ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56994ac_compiler_gnu=$ac_cv_c_compiler_gnu
56995
56996
56997fi
56998
56999  fi
57000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57001$as_echo "$glibcxx_cv_func__modf_use" >&6; }
57002
57003    if test x$glibcxx_cv_func__modf_use = x"yes"; then
57004      for ac_func in _modf
57005do :
57006  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57007if test "x$ac_cv_func__modf" = x""yes; then :
57008  cat >>confdefs.h <<_ACEOF
57009#define HAVE__MODF 1
57010_ACEOF
57011
57012fi
57013done
57014
57015    fi
57016  fi
57017
57018
57019
57020
57021
57022  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57023$as_echo_n "checking for powf declaration... " >&6; }
57024  if test x${glibcxx_cv_func_powf_use+set} != xset; then
57025    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
57026  $as_echo_n "(cached) " >&6
57027else
57028
57029
57030      ac_ext=cpp
57031ac_cpp='$CXXCPP $CPPFLAGS'
57032ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57033ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57034ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57035
57036      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57037/* end confdefs.h.  */
57038#include <math.h>
57039int
57040main ()
57041{
57042 powf(0, 0);
57043  ;
57044  return 0;
57045}
57046_ACEOF
57047if ac_fn_cxx_try_compile "$LINENO"; then :
57048  glibcxx_cv_func_powf_use=yes
57049else
57050  glibcxx_cv_func_powf_use=no
57051fi
57052rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57053      ac_ext=c
57054ac_cpp='$CPP $CPPFLAGS'
57055ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57056ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57057ac_compiler_gnu=$ac_cv_c_compiler_gnu
57058
57059
57060fi
57061
57062  fi
57063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57064$as_echo "$glibcxx_cv_func_powf_use" >&6; }
57065
57066  if test x$glibcxx_cv_func_powf_use = x"yes"; then
57067    for ac_func in powf
57068do :
57069  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57070if test "x$ac_cv_func_powf" = x""yes; then :
57071  cat >>confdefs.h <<_ACEOF
57072#define HAVE_POWF 1
57073_ACEOF
57074
57075fi
57076done
57077
57078  else
57079
57080  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57081$as_echo_n "checking for _powf declaration... " >&6; }
57082  if test x${glibcxx_cv_func__powf_use+set} != xset; then
57083    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
57084  $as_echo_n "(cached) " >&6
57085else
57086
57087
57088      ac_ext=cpp
57089ac_cpp='$CXXCPP $CPPFLAGS'
57090ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57091ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57092ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57093
57094      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57095/* end confdefs.h.  */
57096#include <math.h>
57097int
57098main ()
57099{
57100 _powf(0, 0);
57101  ;
57102  return 0;
57103}
57104_ACEOF
57105if ac_fn_cxx_try_compile "$LINENO"; then :
57106  glibcxx_cv_func__powf_use=yes
57107else
57108  glibcxx_cv_func__powf_use=no
57109fi
57110rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57111      ac_ext=c
57112ac_cpp='$CPP $CPPFLAGS'
57113ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57114ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57115ac_compiler_gnu=$ac_cv_c_compiler_gnu
57116
57117
57118fi
57119
57120  fi
57121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57122$as_echo "$glibcxx_cv_func__powf_use" >&6; }
57123
57124    if test x$glibcxx_cv_func__powf_use = x"yes"; then
57125      for ac_func in _powf
57126do :
57127  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57128if test "x$ac_cv_func__powf" = x""yes; then :
57129  cat >>confdefs.h <<_ACEOF
57130#define HAVE__POWF 1
57131_ACEOF
57132
57133fi
57134done
57135
57136    fi
57137  fi
57138
57139
57140
57141
57142
57143  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57144$as_echo_n "checking for sqrtf declaration... " >&6; }
57145  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57146    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
57147  $as_echo_n "(cached) " >&6
57148else
57149
57150
57151      ac_ext=cpp
57152ac_cpp='$CXXCPP $CPPFLAGS'
57153ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57154ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57155ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57156
57157      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57158/* end confdefs.h.  */
57159#include <math.h>
57160		      #ifdef HAVE_IEEEFP_H
57161		      #include <ieeefp.h>
57162		      #endif
57163
57164int
57165main ()
57166{
57167 sqrtf(0);
57168  ;
57169  return 0;
57170}
57171_ACEOF
57172if ac_fn_cxx_try_compile "$LINENO"; then :
57173  glibcxx_cv_func_sqrtf_use=yes
57174else
57175  glibcxx_cv_func_sqrtf_use=no
57176fi
57177rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57178      ac_ext=c
57179ac_cpp='$CPP $CPPFLAGS'
57180ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57181ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57182ac_compiler_gnu=$ac_cv_c_compiler_gnu
57183
57184
57185fi
57186
57187  fi
57188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57189$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57190
57191  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57192    for ac_func in sqrtf
57193do :
57194  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57195if test "x$ac_cv_func_sqrtf" = x""yes; then :
57196  cat >>confdefs.h <<_ACEOF
57197#define HAVE_SQRTF 1
57198_ACEOF
57199
57200fi
57201done
57202
57203  else
57204
57205  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57206$as_echo_n "checking for _sqrtf declaration... " >&6; }
57207  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57208    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
57209  $as_echo_n "(cached) " >&6
57210else
57211
57212
57213      ac_ext=cpp
57214ac_cpp='$CXXCPP $CPPFLAGS'
57215ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57216ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57217ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57218
57219      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57220/* end confdefs.h.  */
57221#include <math.h>
57222		      #ifdef HAVE_IEEEFP_H
57223		      #include <ieeefp.h>
57224		      #endif
57225
57226int
57227main ()
57228{
57229 _sqrtf(0);
57230  ;
57231  return 0;
57232}
57233_ACEOF
57234if ac_fn_cxx_try_compile "$LINENO"; then :
57235  glibcxx_cv_func__sqrtf_use=yes
57236else
57237  glibcxx_cv_func__sqrtf_use=no
57238fi
57239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57240      ac_ext=c
57241ac_cpp='$CPP $CPPFLAGS'
57242ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57243ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57244ac_compiler_gnu=$ac_cv_c_compiler_gnu
57245
57246
57247fi
57248
57249  fi
57250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57251$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57252
57253    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57254      for ac_func in _sqrtf
57255do :
57256  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57257if test "x$ac_cv_func__sqrtf" = x""yes; then :
57258  cat >>confdefs.h <<_ACEOF
57259#define HAVE__SQRTF 1
57260_ACEOF
57261
57262fi
57263done
57264
57265    fi
57266  fi
57267
57268
57269
57270
57271
57272  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57273$as_echo_n "checking for sincosf declaration... " >&6; }
57274  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57275    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
57276  $as_echo_n "(cached) " >&6
57277else
57278
57279
57280      ac_ext=cpp
57281ac_cpp='$CXXCPP $CPPFLAGS'
57282ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57283ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57284ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57285
57286      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57287/* end confdefs.h.  */
57288#include <math.h>
57289int
57290main ()
57291{
57292 sincosf(0, 0, 0);
57293  ;
57294  return 0;
57295}
57296_ACEOF
57297if ac_fn_cxx_try_compile "$LINENO"; then :
57298  glibcxx_cv_func_sincosf_use=yes
57299else
57300  glibcxx_cv_func_sincosf_use=no
57301fi
57302rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57303      ac_ext=c
57304ac_cpp='$CPP $CPPFLAGS'
57305ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57306ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57307ac_compiler_gnu=$ac_cv_c_compiler_gnu
57308
57309
57310fi
57311
57312  fi
57313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57314$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57315
57316  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57317    for ac_func in sincosf
57318do :
57319  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57320if test "x$ac_cv_func_sincosf" = x""yes; then :
57321  cat >>confdefs.h <<_ACEOF
57322#define HAVE_SINCOSF 1
57323_ACEOF
57324
57325fi
57326done
57327
57328  else
57329
57330  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57331$as_echo_n "checking for _sincosf declaration... " >&6; }
57332  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57333    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
57334  $as_echo_n "(cached) " >&6
57335else
57336
57337
57338      ac_ext=cpp
57339ac_cpp='$CXXCPP $CPPFLAGS'
57340ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57341ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57342ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57343
57344      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57345/* end confdefs.h.  */
57346#include <math.h>
57347int
57348main ()
57349{
57350 _sincosf(0, 0, 0);
57351  ;
57352  return 0;
57353}
57354_ACEOF
57355if ac_fn_cxx_try_compile "$LINENO"; then :
57356  glibcxx_cv_func__sincosf_use=yes
57357else
57358  glibcxx_cv_func__sincosf_use=no
57359fi
57360rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57361      ac_ext=c
57362ac_cpp='$CPP $CPPFLAGS'
57363ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57364ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57365ac_compiler_gnu=$ac_cv_c_compiler_gnu
57366
57367
57368fi
57369
57370  fi
57371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57372$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57373
57374    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57375      for ac_func in _sincosf
57376do :
57377  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57378if test "x$ac_cv_func__sincosf" = x""yes; then :
57379  cat >>confdefs.h <<_ACEOF
57380#define HAVE__SINCOSF 1
57381_ACEOF
57382
57383fi
57384done
57385
57386    fi
57387  fi
57388
57389
57390
57391
57392
57393  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57394$as_echo_n "checking for finitef declaration... " >&6; }
57395  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57396    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
57397  $as_echo_n "(cached) " >&6
57398else
57399
57400
57401      ac_ext=cpp
57402ac_cpp='$CXXCPP $CPPFLAGS'
57403ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57404ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57405ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57406
57407      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57408/* end confdefs.h.  */
57409#include <math.h>
57410		      #ifdef HAVE_IEEEFP_H
57411		      #include <ieeefp.h>
57412		      #endif
57413
57414int
57415main ()
57416{
57417 finitef(0);
57418  ;
57419  return 0;
57420}
57421_ACEOF
57422if ac_fn_cxx_try_compile "$LINENO"; then :
57423  glibcxx_cv_func_finitef_use=yes
57424else
57425  glibcxx_cv_func_finitef_use=no
57426fi
57427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57428      ac_ext=c
57429ac_cpp='$CPP $CPPFLAGS'
57430ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57431ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57432ac_compiler_gnu=$ac_cv_c_compiler_gnu
57433
57434
57435fi
57436
57437  fi
57438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57439$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57440
57441  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57442    for ac_func in finitef
57443do :
57444  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57445if test "x$ac_cv_func_finitef" = x""yes; then :
57446  cat >>confdefs.h <<_ACEOF
57447#define HAVE_FINITEF 1
57448_ACEOF
57449
57450fi
57451done
57452
57453  else
57454
57455  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57456$as_echo_n "checking for _finitef declaration... " >&6; }
57457  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57458    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57459  $as_echo_n "(cached) " >&6
57460else
57461
57462
57463      ac_ext=cpp
57464ac_cpp='$CXXCPP $CPPFLAGS'
57465ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57466ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57467ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57468
57469      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57470/* end confdefs.h.  */
57471#include <math.h>
57472		      #ifdef HAVE_IEEEFP_H
57473		      #include <ieeefp.h>
57474		      #endif
57475
57476int
57477main ()
57478{
57479 _finitef(0);
57480  ;
57481  return 0;
57482}
57483_ACEOF
57484if ac_fn_cxx_try_compile "$LINENO"; then :
57485  glibcxx_cv_func__finitef_use=yes
57486else
57487  glibcxx_cv_func__finitef_use=no
57488fi
57489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57490      ac_ext=c
57491ac_cpp='$CPP $CPPFLAGS'
57492ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57493ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57494ac_compiler_gnu=$ac_cv_c_compiler_gnu
57495
57496
57497fi
57498
57499  fi
57500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57501$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57502
57503    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57504      for ac_func in _finitef
57505do :
57506  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57507if test "x$ac_cv_func__finitef" = x""yes; then :
57508  cat >>confdefs.h <<_ACEOF
57509#define HAVE__FINITEF 1
57510_ACEOF
57511
57512fi
57513done
57514
57515    fi
57516  fi
57517
57518
57519
57520
57521
57522    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57523$as_echo_n "checking for long double trig functions... " >&6; }
57524  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57525  $as_echo_n "(cached) " >&6
57526else
57527
57528
57529    ac_ext=cpp
57530ac_cpp='$CXXCPP $CPPFLAGS'
57531ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57532ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57533ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57534
57535    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57536/* end confdefs.h.  */
57537#include <math.h>
57538int
57539main ()
57540{
57541acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57542  ;
57543  return 0;
57544}
57545_ACEOF
57546if ac_fn_cxx_try_compile "$LINENO"; then :
57547  glibcxx_cv_func_long_double_trig_use=yes
57548else
57549  glibcxx_cv_func_long_double_trig_use=no
57550fi
57551rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57552    ac_ext=c
57553ac_cpp='$CPP $CPPFLAGS'
57554ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57555ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57556ac_compiler_gnu=$ac_cv_c_compiler_gnu
57557
57558fi
57559
57560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57561$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57562  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57563    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57564do :
57565  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57566ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57567eval as_val=\$$as_ac_var
57568   if test "x$as_val" = x""yes; then :
57569  cat >>confdefs.h <<_ACEOF
57570#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57571_ACEOF
57572
57573fi
57574done
57575
57576  else
57577    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57578$as_echo_n "checking for _long double trig functions... " >&6; }
57579    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57580  $as_echo_n "(cached) " >&6
57581else
57582
57583
57584      ac_ext=cpp
57585ac_cpp='$CXXCPP $CPPFLAGS'
57586ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57587ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57588ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57589
57590      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57591/* end confdefs.h.  */
57592#include <math.h>
57593int
57594main ()
57595{
57596_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57597  ;
57598  return 0;
57599}
57600_ACEOF
57601if ac_fn_cxx_try_compile "$LINENO"; then :
57602  glibcxx_cv_func__long_double_trig_use=yes
57603else
57604  glibcxx_cv_func__long_double_trig_use=no
57605fi
57606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57607      ac_ext=c
57608ac_cpp='$CPP $CPPFLAGS'
57609ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57610ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57611ac_compiler_gnu=$ac_cv_c_compiler_gnu
57612
57613fi
57614
57615    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57616$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57617    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57618      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57619do :
57620  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57621ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57622eval as_val=\$$as_ac_var
57623   if test "x$as_val" = x""yes; then :
57624  cat >>confdefs.h <<_ACEOF
57625#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57626_ACEOF
57627
57628fi
57629done
57630
57631    fi
57632  fi
57633
57634
57635
57636
57637
57638    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57639$as_echo_n "checking for long double round functions... " >&6; }
57640  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57641  $as_echo_n "(cached) " >&6
57642else
57643
57644
57645    ac_ext=cpp
57646ac_cpp='$CXXCPP $CPPFLAGS'
57647ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57648ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57649ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57650
57651    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57652/* end confdefs.h.  */
57653#include <math.h>
57654int
57655main ()
57656{
57657ceill (0); floorl (0);
57658  ;
57659  return 0;
57660}
57661_ACEOF
57662if ac_fn_cxx_try_compile "$LINENO"; then :
57663  glibcxx_cv_func_long_double_round_use=yes
57664else
57665  glibcxx_cv_func_long_double_round_use=no
57666fi
57667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57668    ac_ext=c
57669ac_cpp='$CPP $CPPFLAGS'
57670ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57671ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57672ac_compiler_gnu=$ac_cv_c_compiler_gnu
57673
57674fi
57675
57676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57677$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57678  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57679    for ac_func in ceill floorl
57680do :
57681  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57682ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57683eval as_val=\$$as_ac_var
57684   if test "x$as_val" = x""yes; then :
57685  cat >>confdefs.h <<_ACEOF
57686#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57687_ACEOF
57688
57689fi
57690done
57691
57692  else
57693    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57694$as_echo_n "checking for _long double round functions... " >&6; }
57695    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57696  $as_echo_n "(cached) " >&6
57697else
57698
57699
57700      ac_ext=cpp
57701ac_cpp='$CXXCPP $CPPFLAGS'
57702ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57703ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57704ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57705
57706      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57707/* end confdefs.h.  */
57708#include <math.h>
57709int
57710main ()
57711{
57712_ceill (0); _floorl (0);
57713  ;
57714  return 0;
57715}
57716_ACEOF
57717if ac_fn_cxx_try_compile "$LINENO"; then :
57718  glibcxx_cv_func__long_double_round_use=yes
57719else
57720  glibcxx_cv_func__long_double_round_use=no
57721fi
57722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57723      ac_ext=c
57724ac_cpp='$CPP $CPPFLAGS'
57725ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57726ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57727ac_compiler_gnu=$ac_cv_c_compiler_gnu
57728
57729fi
57730
57731    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57732$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57733    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57734      for ac_func in _ceill _floorl
57735do :
57736  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57737ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57738eval as_val=\$$as_ac_var
57739   if test "x$as_val" = x""yes; then :
57740  cat >>confdefs.h <<_ACEOF
57741#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57742_ACEOF
57743
57744fi
57745done
57746
57747    fi
57748  fi
57749
57750
57751
57752
57753
57754
57755  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57756$as_echo_n "checking for isnanl declaration... " >&6; }
57757  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57758    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57759  $as_echo_n "(cached) " >&6
57760else
57761
57762
57763      ac_ext=cpp
57764ac_cpp='$CXXCPP $CPPFLAGS'
57765ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57766ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57767ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57768
57769      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57770/* end confdefs.h.  */
57771#include <math.h>
57772		      #ifdef HAVE_IEEEFP_H
57773		      #include <ieeefp.h>
57774		      #endif
57775
57776int
57777main ()
57778{
57779 isnanl(0);
57780  ;
57781  return 0;
57782}
57783_ACEOF
57784if ac_fn_cxx_try_compile "$LINENO"; then :
57785  glibcxx_cv_func_isnanl_use=yes
57786else
57787  glibcxx_cv_func_isnanl_use=no
57788fi
57789rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57790      ac_ext=c
57791ac_cpp='$CPP $CPPFLAGS'
57792ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57793ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57794ac_compiler_gnu=$ac_cv_c_compiler_gnu
57795
57796
57797fi
57798
57799  fi
57800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57801$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57802
57803  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57804    for ac_func in isnanl
57805do :
57806  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57807if test "x$ac_cv_func_isnanl" = x""yes; then :
57808  cat >>confdefs.h <<_ACEOF
57809#define HAVE_ISNANL 1
57810_ACEOF
57811
57812fi
57813done
57814
57815  else
57816
57817  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57818$as_echo_n "checking for _isnanl declaration... " >&6; }
57819  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57820    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57821  $as_echo_n "(cached) " >&6
57822else
57823
57824
57825      ac_ext=cpp
57826ac_cpp='$CXXCPP $CPPFLAGS'
57827ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57828ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57829ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57830
57831      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57832/* end confdefs.h.  */
57833#include <math.h>
57834		      #ifdef HAVE_IEEEFP_H
57835		      #include <ieeefp.h>
57836		      #endif
57837
57838int
57839main ()
57840{
57841 _isnanl(0);
57842  ;
57843  return 0;
57844}
57845_ACEOF
57846if ac_fn_cxx_try_compile "$LINENO"; then :
57847  glibcxx_cv_func__isnanl_use=yes
57848else
57849  glibcxx_cv_func__isnanl_use=no
57850fi
57851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57852      ac_ext=c
57853ac_cpp='$CPP $CPPFLAGS'
57854ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57855ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57856ac_compiler_gnu=$ac_cv_c_compiler_gnu
57857
57858
57859fi
57860
57861  fi
57862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57863$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57864
57865    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57866      for ac_func in _isnanl
57867do :
57868  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57869if test "x$ac_cv_func__isnanl" = x""yes; then :
57870  cat >>confdefs.h <<_ACEOF
57871#define HAVE__ISNANL 1
57872_ACEOF
57873
57874fi
57875done
57876
57877    fi
57878  fi
57879
57880
57881
57882
57883
57884  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57885$as_echo_n "checking for isinfl declaration... " >&6; }
57886  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57887    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57888  $as_echo_n "(cached) " >&6
57889else
57890
57891
57892      ac_ext=cpp
57893ac_cpp='$CXXCPP $CPPFLAGS'
57894ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57895ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57896ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57897
57898      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57899/* end confdefs.h.  */
57900#include <math.h>
57901		      #ifdef HAVE_IEEEFP_H
57902		      #include <ieeefp.h>
57903		      #endif
57904
57905int
57906main ()
57907{
57908 isinfl(0);
57909  ;
57910  return 0;
57911}
57912_ACEOF
57913if ac_fn_cxx_try_compile "$LINENO"; then :
57914  glibcxx_cv_func_isinfl_use=yes
57915else
57916  glibcxx_cv_func_isinfl_use=no
57917fi
57918rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57919      ac_ext=c
57920ac_cpp='$CPP $CPPFLAGS'
57921ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57922ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57923ac_compiler_gnu=$ac_cv_c_compiler_gnu
57924
57925
57926fi
57927
57928  fi
57929  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57930$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57931
57932  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57933    for ac_func in isinfl
57934do :
57935  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57936if test "x$ac_cv_func_isinfl" = x""yes; then :
57937  cat >>confdefs.h <<_ACEOF
57938#define HAVE_ISINFL 1
57939_ACEOF
57940
57941fi
57942done
57943
57944  else
57945
57946  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57947$as_echo_n "checking for _isinfl declaration... " >&6; }
57948  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57949    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57950  $as_echo_n "(cached) " >&6
57951else
57952
57953
57954      ac_ext=cpp
57955ac_cpp='$CXXCPP $CPPFLAGS'
57956ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57957ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57958ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57959
57960      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57961/* end confdefs.h.  */
57962#include <math.h>
57963		      #ifdef HAVE_IEEEFP_H
57964		      #include <ieeefp.h>
57965		      #endif
57966
57967int
57968main ()
57969{
57970 _isinfl(0);
57971  ;
57972  return 0;
57973}
57974_ACEOF
57975if ac_fn_cxx_try_compile "$LINENO"; then :
57976  glibcxx_cv_func__isinfl_use=yes
57977else
57978  glibcxx_cv_func__isinfl_use=no
57979fi
57980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57981      ac_ext=c
57982ac_cpp='$CPP $CPPFLAGS'
57983ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57984ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57985ac_compiler_gnu=$ac_cv_c_compiler_gnu
57986
57987
57988fi
57989
57990  fi
57991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57992$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57993
57994    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57995      for ac_func in _isinfl
57996do :
57997  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57998if test "x$ac_cv_func__isinfl" = x""yes; then :
57999  cat >>confdefs.h <<_ACEOF
58000#define HAVE__ISINFL 1
58001_ACEOF
58002
58003fi
58004done
58005
58006    fi
58007  fi
58008
58009
58010
58011
58012
58013  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58014$as_echo_n "checking for atan2l declaration... " >&6; }
58015  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58016    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
58017  $as_echo_n "(cached) " >&6
58018else
58019
58020
58021      ac_ext=cpp
58022ac_cpp='$CXXCPP $CPPFLAGS'
58023ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58024ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58025ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58026
58027      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58028/* end confdefs.h.  */
58029#include <math.h>
58030int
58031main ()
58032{
58033 atan2l(0, 0);
58034  ;
58035  return 0;
58036}
58037_ACEOF
58038if ac_fn_cxx_try_compile "$LINENO"; then :
58039  glibcxx_cv_func_atan2l_use=yes
58040else
58041  glibcxx_cv_func_atan2l_use=no
58042fi
58043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58044      ac_ext=c
58045ac_cpp='$CPP $CPPFLAGS'
58046ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58047ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58048ac_compiler_gnu=$ac_cv_c_compiler_gnu
58049
58050
58051fi
58052
58053  fi
58054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58055$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58056
58057  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58058    for ac_func in atan2l
58059do :
58060  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58061if test "x$ac_cv_func_atan2l" = x""yes; then :
58062  cat >>confdefs.h <<_ACEOF
58063#define HAVE_ATAN2L 1
58064_ACEOF
58065
58066fi
58067done
58068
58069  else
58070
58071  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58072$as_echo_n "checking for _atan2l declaration... " >&6; }
58073  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58074    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
58075  $as_echo_n "(cached) " >&6
58076else
58077
58078
58079      ac_ext=cpp
58080ac_cpp='$CXXCPP $CPPFLAGS'
58081ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58082ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58083ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58084
58085      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58086/* end confdefs.h.  */
58087#include <math.h>
58088int
58089main ()
58090{
58091 _atan2l(0, 0);
58092  ;
58093  return 0;
58094}
58095_ACEOF
58096if ac_fn_cxx_try_compile "$LINENO"; then :
58097  glibcxx_cv_func__atan2l_use=yes
58098else
58099  glibcxx_cv_func__atan2l_use=no
58100fi
58101rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58102      ac_ext=c
58103ac_cpp='$CPP $CPPFLAGS'
58104ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58105ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58106ac_compiler_gnu=$ac_cv_c_compiler_gnu
58107
58108
58109fi
58110
58111  fi
58112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58113$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58114
58115    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58116      for ac_func in _atan2l
58117do :
58118  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58119if test "x$ac_cv_func__atan2l" = x""yes; then :
58120  cat >>confdefs.h <<_ACEOF
58121#define HAVE__ATAN2L 1
58122_ACEOF
58123
58124fi
58125done
58126
58127    fi
58128  fi
58129
58130
58131
58132
58133
58134  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58135$as_echo_n "checking for expl declaration... " >&6; }
58136  if test x${glibcxx_cv_func_expl_use+set} != xset; then
58137    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
58138  $as_echo_n "(cached) " >&6
58139else
58140
58141
58142      ac_ext=cpp
58143ac_cpp='$CXXCPP $CPPFLAGS'
58144ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58145ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58146ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58147
58148      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58149/* end confdefs.h.  */
58150#include <math.h>
58151		      #ifdef HAVE_IEEEFP_H
58152		      #include <ieeefp.h>
58153		      #endif
58154
58155int
58156main ()
58157{
58158 expl(0);
58159  ;
58160  return 0;
58161}
58162_ACEOF
58163if ac_fn_cxx_try_compile "$LINENO"; then :
58164  glibcxx_cv_func_expl_use=yes
58165else
58166  glibcxx_cv_func_expl_use=no
58167fi
58168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58169      ac_ext=c
58170ac_cpp='$CPP $CPPFLAGS'
58171ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58172ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58173ac_compiler_gnu=$ac_cv_c_compiler_gnu
58174
58175
58176fi
58177
58178  fi
58179  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58180$as_echo "$glibcxx_cv_func_expl_use" >&6; }
58181
58182  if test x$glibcxx_cv_func_expl_use = x"yes"; then
58183    for ac_func in expl
58184do :
58185  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58186if test "x$ac_cv_func_expl" = x""yes; then :
58187  cat >>confdefs.h <<_ACEOF
58188#define HAVE_EXPL 1
58189_ACEOF
58190
58191fi
58192done
58193
58194  else
58195
58196  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58197$as_echo_n "checking for _expl declaration... " >&6; }
58198  if test x${glibcxx_cv_func__expl_use+set} != xset; then
58199    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
58200  $as_echo_n "(cached) " >&6
58201else
58202
58203
58204      ac_ext=cpp
58205ac_cpp='$CXXCPP $CPPFLAGS'
58206ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58207ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58208ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58209
58210      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58211/* end confdefs.h.  */
58212#include <math.h>
58213		      #ifdef HAVE_IEEEFP_H
58214		      #include <ieeefp.h>
58215		      #endif
58216
58217int
58218main ()
58219{
58220 _expl(0);
58221  ;
58222  return 0;
58223}
58224_ACEOF
58225if ac_fn_cxx_try_compile "$LINENO"; then :
58226  glibcxx_cv_func__expl_use=yes
58227else
58228  glibcxx_cv_func__expl_use=no
58229fi
58230rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58231      ac_ext=c
58232ac_cpp='$CPP $CPPFLAGS'
58233ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58234ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58235ac_compiler_gnu=$ac_cv_c_compiler_gnu
58236
58237
58238fi
58239
58240  fi
58241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58242$as_echo "$glibcxx_cv_func__expl_use" >&6; }
58243
58244    if test x$glibcxx_cv_func__expl_use = x"yes"; then
58245      for ac_func in _expl
58246do :
58247  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58248if test "x$ac_cv_func__expl" = x""yes; then :
58249  cat >>confdefs.h <<_ACEOF
58250#define HAVE__EXPL 1
58251_ACEOF
58252
58253fi
58254done
58255
58256    fi
58257  fi
58258
58259
58260
58261
58262
58263  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58264$as_echo_n "checking for fabsl declaration... " >&6; }
58265  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58266    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
58267  $as_echo_n "(cached) " >&6
58268else
58269
58270
58271      ac_ext=cpp
58272ac_cpp='$CXXCPP $CPPFLAGS'
58273ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58274ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58275ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58276
58277      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58278/* end confdefs.h.  */
58279#include <math.h>
58280		      #ifdef HAVE_IEEEFP_H
58281		      #include <ieeefp.h>
58282		      #endif
58283
58284int
58285main ()
58286{
58287 fabsl(0);
58288  ;
58289  return 0;
58290}
58291_ACEOF
58292if ac_fn_cxx_try_compile "$LINENO"; then :
58293  glibcxx_cv_func_fabsl_use=yes
58294else
58295  glibcxx_cv_func_fabsl_use=no
58296fi
58297rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58298      ac_ext=c
58299ac_cpp='$CPP $CPPFLAGS'
58300ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58301ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58302ac_compiler_gnu=$ac_cv_c_compiler_gnu
58303
58304
58305fi
58306
58307  fi
58308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58309$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58310
58311  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58312    for ac_func in fabsl
58313do :
58314  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58315if test "x$ac_cv_func_fabsl" = x""yes; then :
58316  cat >>confdefs.h <<_ACEOF
58317#define HAVE_FABSL 1
58318_ACEOF
58319
58320fi
58321done
58322
58323  else
58324
58325  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58326$as_echo_n "checking for _fabsl declaration... " >&6; }
58327  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58328    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
58329  $as_echo_n "(cached) " >&6
58330else
58331
58332
58333      ac_ext=cpp
58334ac_cpp='$CXXCPP $CPPFLAGS'
58335ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58336ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58337ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58338
58339      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58340/* end confdefs.h.  */
58341#include <math.h>
58342		      #ifdef HAVE_IEEEFP_H
58343		      #include <ieeefp.h>
58344		      #endif
58345
58346int
58347main ()
58348{
58349 _fabsl(0);
58350  ;
58351  return 0;
58352}
58353_ACEOF
58354if ac_fn_cxx_try_compile "$LINENO"; then :
58355  glibcxx_cv_func__fabsl_use=yes
58356else
58357  glibcxx_cv_func__fabsl_use=no
58358fi
58359rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58360      ac_ext=c
58361ac_cpp='$CPP $CPPFLAGS'
58362ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58363ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58364ac_compiler_gnu=$ac_cv_c_compiler_gnu
58365
58366
58367fi
58368
58369  fi
58370  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58371$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58372
58373    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58374      for ac_func in _fabsl
58375do :
58376  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58377if test "x$ac_cv_func__fabsl" = x""yes; then :
58378  cat >>confdefs.h <<_ACEOF
58379#define HAVE__FABSL 1
58380_ACEOF
58381
58382fi
58383done
58384
58385    fi
58386  fi
58387
58388
58389
58390
58391
58392  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58393$as_echo_n "checking for fmodl declaration... " >&6; }
58394  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58395    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
58396  $as_echo_n "(cached) " >&6
58397else
58398
58399
58400      ac_ext=cpp
58401ac_cpp='$CXXCPP $CPPFLAGS'
58402ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58403ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58404ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58405
58406      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58407/* end confdefs.h.  */
58408#include <math.h>
58409int
58410main ()
58411{
58412 fmodl(0, 0);
58413  ;
58414  return 0;
58415}
58416_ACEOF
58417if ac_fn_cxx_try_compile "$LINENO"; then :
58418  glibcxx_cv_func_fmodl_use=yes
58419else
58420  glibcxx_cv_func_fmodl_use=no
58421fi
58422rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58423      ac_ext=c
58424ac_cpp='$CPP $CPPFLAGS'
58425ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58426ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58427ac_compiler_gnu=$ac_cv_c_compiler_gnu
58428
58429
58430fi
58431
58432  fi
58433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58434$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58435
58436  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58437    for ac_func in fmodl
58438do :
58439  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58440if test "x$ac_cv_func_fmodl" = x""yes; then :
58441  cat >>confdefs.h <<_ACEOF
58442#define HAVE_FMODL 1
58443_ACEOF
58444
58445fi
58446done
58447
58448  else
58449
58450  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58451$as_echo_n "checking for _fmodl declaration... " >&6; }
58452  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58453    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
58454  $as_echo_n "(cached) " >&6
58455else
58456
58457
58458      ac_ext=cpp
58459ac_cpp='$CXXCPP $CPPFLAGS'
58460ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58461ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58462ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58463
58464      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58465/* end confdefs.h.  */
58466#include <math.h>
58467int
58468main ()
58469{
58470 _fmodl(0, 0);
58471  ;
58472  return 0;
58473}
58474_ACEOF
58475if ac_fn_cxx_try_compile "$LINENO"; then :
58476  glibcxx_cv_func__fmodl_use=yes
58477else
58478  glibcxx_cv_func__fmodl_use=no
58479fi
58480rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58481      ac_ext=c
58482ac_cpp='$CPP $CPPFLAGS'
58483ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58484ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58485ac_compiler_gnu=$ac_cv_c_compiler_gnu
58486
58487
58488fi
58489
58490  fi
58491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58492$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58493
58494    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58495      for ac_func in _fmodl
58496do :
58497  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58498if test "x$ac_cv_func__fmodl" = x""yes; then :
58499  cat >>confdefs.h <<_ACEOF
58500#define HAVE__FMODL 1
58501_ACEOF
58502
58503fi
58504done
58505
58506    fi
58507  fi
58508
58509
58510
58511
58512
58513  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58514$as_echo_n "checking for frexpl declaration... " >&6; }
58515  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58516    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58517  $as_echo_n "(cached) " >&6
58518else
58519
58520
58521      ac_ext=cpp
58522ac_cpp='$CXXCPP $CPPFLAGS'
58523ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58524ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58525ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58526
58527      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58528/* end confdefs.h.  */
58529#include <math.h>
58530int
58531main ()
58532{
58533 frexpl(0, 0);
58534  ;
58535  return 0;
58536}
58537_ACEOF
58538if ac_fn_cxx_try_compile "$LINENO"; then :
58539  glibcxx_cv_func_frexpl_use=yes
58540else
58541  glibcxx_cv_func_frexpl_use=no
58542fi
58543rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58544      ac_ext=c
58545ac_cpp='$CPP $CPPFLAGS'
58546ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58547ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58548ac_compiler_gnu=$ac_cv_c_compiler_gnu
58549
58550
58551fi
58552
58553  fi
58554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58555$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58556
58557  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58558    for ac_func in frexpl
58559do :
58560  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58561if test "x$ac_cv_func_frexpl" = x""yes; then :
58562  cat >>confdefs.h <<_ACEOF
58563#define HAVE_FREXPL 1
58564_ACEOF
58565
58566fi
58567done
58568
58569  else
58570
58571  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58572$as_echo_n "checking for _frexpl declaration... " >&6; }
58573  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58574    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58575  $as_echo_n "(cached) " >&6
58576else
58577
58578
58579      ac_ext=cpp
58580ac_cpp='$CXXCPP $CPPFLAGS'
58581ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58582ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58583ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58584
58585      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58586/* end confdefs.h.  */
58587#include <math.h>
58588int
58589main ()
58590{
58591 _frexpl(0, 0);
58592  ;
58593  return 0;
58594}
58595_ACEOF
58596if ac_fn_cxx_try_compile "$LINENO"; then :
58597  glibcxx_cv_func__frexpl_use=yes
58598else
58599  glibcxx_cv_func__frexpl_use=no
58600fi
58601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58602      ac_ext=c
58603ac_cpp='$CPP $CPPFLAGS'
58604ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58605ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58606ac_compiler_gnu=$ac_cv_c_compiler_gnu
58607
58608
58609fi
58610
58611  fi
58612  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58613$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58614
58615    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58616      for ac_func in _frexpl
58617do :
58618  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58619if test "x$ac_cv_func__frexpl" = x""yes; then :
58620  cat >>confdefs.h <<_ACEOF
58621#define HAVE__FREXPL 1
58622_ACEOF
58623
58624fi
58625done
58626
58627    fi
58628  fi
58629
58630
58631
58632
58633
58634  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58635$as_echo_n "checking for hypotl declaration... " >&6; }
58636  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58637    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58638  $as_echo_n "(cached) " >&6
58639else
58640
58641
58642      ac_ext=cpp
58643ac_cpp='$CXXCPP $CPPFLAGS'
58644ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58645ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58646ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58647
58648      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58649/* end confdefs.h.  */
58650#include <math.h>
58651int
58652main ()
58653{
58654 hypotl(0, 0);
58655  ;
58656  return 0;
58657}
58658_ACEOF
58659if ac_fn_cxx_try_compile "$LINENO"; then :
58660  glibcxx_cv_func_hypotl_use=yes
58661else
58662  glibcxx_cv_func_hypotl_use=no
58663fi
58664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58665      ac_ext=c
58666ac_cpp='$CPP $CPPFLAGS'
58667ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58668ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58669ac_compiler_gnu=$ac_cv_c_compiler_gnu
58670
58671
58672fi
58673
58674  fi
58675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58676$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58677
58678  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58679    for ac_func in hypotl
58680do :
58681  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58682if test "x$ac_cv_func_hypotl" = x""yes; then :
58683  cat >>confdefs.h <<_ACEOF
58684#define HAVE_HYPOTL 1
58685_ACEOF
58686
58687fi
58688done
58689
58690  else
58691
58692  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58693$as_echo_n "checking for _hypotl declaration... " >&6; }
58694  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58695    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58696  $as_echo_n "(cached) " >&6
58697else
58698
58699
58700      ac_ext=cpp
58701ac_cpp='$CXXCPP $CPPFLAGS'
58702ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58703ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58704ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58705
58706      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58707/* end confdefs.h.  */
58708#include <math.h>
58709int
58710main ()
58711{
58712 _hypotl(0, 0);
58713  ;
58714  return 0;
58715}
58716_ACEOF
58717if ac_fn_cxx_try_compile "$LINENO"; then :
58718  glibcxx_cv_func__hypotl_use=yes
58719else
58720  glibcxx_cv_func__hypotl_use=no
58721fi
58722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58723      ac_ext=c
58724ac_cpp='$CPP $CPPFLAGS'
58725ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58726ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58727ac_compiler_gnu=$ac_cv_c_compiler_gnu
58728
58729
58730fi
58731
58732  fi
58733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58734$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58735
58736    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58737      for ac_func in _hypotl
58738do :
58739  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58740if test "x$ac_cv_func__hypotl" = x""yes; then :
58741  cat >>confdefs.h <<_ACEOF
58742#define HAVE__HYPOTL 1
58743_ACEOF
58744
58745fi
58746done
58747
58748    fi
58749  fi
58750
58751
58752
58753
58754
58755  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58756$as_echo_n "checking for ldexpl declaration... " >&6; }
58757  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58758    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58759  $as_echo_n "(cached) " >&6
58760else
58761
58762
58763      ac_ext=cpp
58764ac_cpp='$CXXCPP $CPPFLAGS'
58765ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58766ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58767ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58768
58769      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58770/* end confdefs.h.  */
58771#include <math.h>
58772int
58773main ()
58774{
58775 ldexpl(0, 0);
58776  ;
58777  return 0;
58778}
58779_ACEOF
58780if ac_fn_cxx_try_compile "$LINENO"; then :
58781  glibcxx_cv_func_ldexpl_use=yes
58782else
58783  glibcxx_cv_func_ldexpl_use=no
58784fi
58785rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58786      ac_ext=c
58787ac_cpp='$CPP $CPPFLAGS'
58788ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58789ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58790ac_compiler_gnu=$ac_cv_c_compiler_gnu
58791
58792
58793fi
58794
58795  fi
58796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58797$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58798
58799  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58800    for ac_func in ldexpl
58801do :
58802  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58803if test "x$ac_cv_func_ldexpl" = x""yes; then :
58804  cat >>confdefs.h <<_ACEOF
58805#define HAVE_LDEXPL 1
58806_ACEOF
58807
58808fi
58809done
58810
58811  else
58812
58813  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58814$as_echo_n "checking for _ldexpl declaration... " >&6; }
58815  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58816    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58817  $as_echo_n "(cached) " >&6
58818else
58819
58820
58821      ac_ext=cpp
58822ac_cpp='$CXXCPP $CPPFLAGS'
58823ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58824ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58825ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58826
58827      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58828/* end confdefs.h.  */
58829#include <math.h>
58830int
58831main ()
58832{
58833 _ldexpl(0, 0);
58834  ;
58835  return 0;
58836}
58837_ACEOF
58838if ac_fn_cxx_try_compile "$LINENO"; then :
58839  glibcxx_cv_func__ldexpl_use=yes
58840else
58841  glibcxx_cv_func__ldexpl_use=no
58842fi
58843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58844      ac_ext=c
58845ac_cpp='$CPP $CPPFLAGS'
58846ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58847ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58848ac_compiler_gnu=$ac_cv_c_compiler_gnu
58849
58850
58851fi
58852
58853  fi
58854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58855$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58856
58857    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58858      for ac_func in _ldexpl
58859do :
58860  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58861if test "x$ac_cv_func__ldexpl" = x""yes; then :
58862  cat >>confdefs.h <<_ACEOF
58863#define HAVE__LDEXPL 1
58864_ACEOF
58865
58866fi
58867done
58868
58869    fi
58870  fi
58871
58872
58873
58874
58875
58876  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58877$as_echo_n "checking for logl declaration... " >&6; }
58878  if test x${glibcxx_cv_func_logl_use+set} != xset; then
58879    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58880  $as_echo_n "(cached) " >&6
58881else
58882
58883
58884      ac_ext=cpp
58885ac_cpp='$CXXCPP $CPPFLAGS'
58886ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58887ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58888ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58889
58890      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58891/* end confdefs.h.  */
58892#include <math.h>
58893		      #ifdef HAVE_IEEEFP_H
58894		      #include <ieeefp.h>
58895		      #endif
58896
58897int
58898main ()
58899{
58900 logl(0);
58901  ;
58902  return 0;
58903}
58904_ACEOF
58905if ac_fn_cxx_try_compile "$LINENO"; then :
58906  glibcxx_cv_func_logl_use=yes
58907else
58908  glibcxx_cv_func_logl_use=no
58909fi
58910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58911      ac_ext=c
58912ac_cpp='$CPP $CPPFLAGS'
58913ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58914ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58915ac_compiler_gnu=$ac_cv_c_compiler_gnu
58916
58917
58918fi
58919
58920  fi
58921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58922$as_echo "$glibcxx_cv_func_logl_use" >&6; }
58923
58924  if test x$glibcxx_cv_func_logl_use = x"yes"; then
58925    for ac_func in logl
58926do :
58927  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58928if test "x$ac_cv_func_logl" = x""yes; then :
58929  cat >>confdefs.h <<_ACEOF
58930#define HAVE_LOGL 1
58931_ACEOF
58932
58933fi
58934done
58935
58936  else
58937
58938  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58939$as_echo_n "checking for _logl declaration... " >&6; }
58940  if test x${glibcxx_cv_func__logl_use+set} != xset; then
58941    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58942  $as_echo_n "(cached) " >&6
58943else
58944
58945
58946      ac_ext=cpp
58947ac_cpp='$CXXCPP $CPPFLAGS'
58948ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58949ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58950ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58951
58952      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58953/* end confdefs.h.  */
58954#include <math.h>
58955		      #ifdef HAVE_IEEEFP_H
58956		      #include <ieeefp.h>
58957		      #endif
58958
58959int
58960main ()
58961{
58962 _logl(0);
58963  ;
58964  return 0;
58965}
58966_ACEOF
58967if ac_fn_cxx_try_compile "$LINENO"; then :
58968  glibcxx_cv_func__logl_use=yes
58969else
58970  glibcxx_cv_func__logl_use=no
58971fi
58972rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58973      ac_ext=c
58974ac_cpp='$CPP $CPPFLAGS'
58975ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58976ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58977ac_compiler_gnu=$ac_cv_c_compiler_gnu
58978
58979
58980fi
58981
58982  fi
58983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58984$as_echo "$glibcxx_cv_func__logl_use" >&6; }
58985
58986    if test x$glibcxx_cv_func__logl_use = x"yes"; then
58987      for ac_func in _logl
58988do :
58989  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58990if test "x$ac_cv_func__logl" = x""yes; then :
58991  cat >>confdefs.h <<_ACEOF
58992#define HAVE__LOGL 1
58993_ACEOF
58994
58995fi
58996done
58997
58998    fi
58999  fi
59000
59001
59002
59003
59004
59005  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59006$as_echo_n "checking for log10l declaration... " >&6; }
59007  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59008    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
59009  $as_echo_n "(cached) " >&6
59010else
59011
59012
59013      ac_ext=cpp
59014ac_cpp='$CXXCPP $CPPFLAGS'
59015ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59016ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59017ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59018
59019      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59020/* end confdefs.h.  */
59021#include <math.h>
59022		      #ifdef HAVE_IEEEFP_H
59023		      #include <ieeefp.h>
59024		      #endif
59025
59026int
59027main ()
59028{
59029 log10l(0);
59030  ;
59031  return 0;
59032}
59033_ACEOF
59034if ac_fn_cxx_try_compile "$LINENO"; then :
59035  glibcxx_cv_func_log10l_use=yes
59036else
59037  glibcxx_cv_func_log10l_use=no
59038fi
59039rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59040      ac_ext=c
59041ac_cpp='$CPP $CPPFLAGS'
59042ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59043ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59044ac_compiler_gnu=$ac_cv_c_compiler_gnu
59045
59046
59047fi
59048
59049  fi
59050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59051$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59052
59053  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59054    for ac_func in log10l
59055do :
59056  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59057if test "x$ac_cv_func_log10l" = x""yes; then :
59058  cat >>confdefs.h <<_ACEOF
59059#define HAVE_LOG10L 1
59060_ACEOF
59061
59062fi
59063done
59064
59065  else
59066
59067  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59068$as_echo_n "checking for _log10l declaration... " >&6; }
59069  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59070    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
59071  $as_echo_n "(cached) " >&6
59072else
59073
59074
59075      ac_ext=cpp
59076ac_cpp='$CXXCPP $CPPFLAGS'
59077ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59078ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59079ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59080
59081      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59082/* end confdefs.h.  */
59083#include <math.h>
59084		      #ifdef HAVE_IEEEFP_H
59085		      #include <ieeefp.h>
59086		      #endif
59087
59088int
59089main ()
59090{
59091 _log10l(0);
59092  ;
59093  return 0;
59094}
59095_ACEOF
59096if ac_fn_cxx_try_compile "$LINENO"; then :
59097  glibcxx_cv_func__log10l_use=yes
59098else
59099  glibcxx_cv_func__log10l_use=no
59100fi
59101rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59102      ac_ext=c
59103ac_cpp='$CPP $CPPFLAGS'
59104ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59105ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59106ac_compiler_gnu=$ac_cv_c_compiler_gnu
59107
59108
59109fi
59110
59111  fi
59112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59113$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59114
59115    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59116      for ac_func in _log10l
59117do :
59118  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59119if test "x$ac_cv_func__log10l" = x""yes; then :
59120  cat >>confdefs.h <<_ACEOF
59121#define HAVE__LOG10L 1
59122_ACEOF
59123
59124fi
59125done
59126
59127    fi
59128  fi
59129
59130
59131
59132
59133
59134  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59135$as_echo_n "checking for modfl declaration... " >&6; }
59136  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59137    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
59138  $as_echo_n "(cached) " >&6
59139else
59140
59141
59142      ac_ext=cpp
59143ac_cpp='$CXXCPP $CPPFLAGS'
59144ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59145ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59146ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59147
59148      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59149/* end confdefs.h.  */
59150#include <math.h>
59151int
59152main ()
59153{
59154 modfl(0, 0);
59155  ;
59156  return 0;
59157}
59158_ACEOF
59159if ac_fn_cxx_try_compile "$LINENO"; then :
59160  glibcxx_cv_func_modfl_use=yes
59161else
59162  glibcxx_cv_func_modfl_use=no
59163fi
59164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59165      ac_ext=c
59166ac_cpp='$CPP $CPPFLAGS'
59167ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59168ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59169ac_compiler_gnu=$ac_cv_c_compiler_gnu
59170
59171
59172fi
59173
59174  fi
59175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59176$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59177
59178  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59179    for ac_func in modfl
59180do :
59181  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59182if test "x$ac_cv_func_modfl" = x""yes; then :
59183  cat >>confdefs.h <<_ACEOF
59184#define HAVE_MODFL 1
59185_ACEOF
59186
59187fi
59188done
59189
59190  else
59191
59192  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59193$as_echo_n "checking for _modfl declaration... " >&6; }
59194  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59195    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
59196  $as_echo_n "(cached) " >&6
59197else
59198
59199
59200      ac_ext=cpp
59201ac_cpp='$CXXCPP $CPPFLAGS'
59202ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59203ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59204ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59205
59206      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59207/* end confdefs.h.  */
59208#include <math.h>
59209int
59210main ()
59211{
59212 _modfl(0, 0);
59213  ;
59214  return 0;
59215}
59216_ACEOF
59217if ac_fn_cxx_try_compile "$LINENO"; then :
59218  glibcxx_cv_func__modfl_use=yes
59219else
59220  glibcxx_cv_func__modfl_use=no
59221fi
59222rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59223      ac_ext=c
59224ac_cpp='$CPP $CPPFLAGS'
59225ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59226ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59227ac_compiler_gnu=$ac_cv_c_compiler_gnu
59228
59229
59230fi
59231
59232  fi
59233  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59234$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59235
59236    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59237      for ac_func in _modfl
59238do :
59239  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59240if test "x$ac_cv_func__modfl" = x""yes; then :
59241  cat >>confdefs.h <<_ACEOF
59242#define HAVE__MODFL 1
59243_ACEOF
59244
59245fi
59246done
59247
59248    fi
59249  fi
59250
59251
59252
59253
59254
59255  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59256$as_echo_n "checking for powl declaration... " >&6; }
59257  if test x${glibcxx_cv_func_powl_use+set} != xset; then
59258    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
59259  $as_echo_n "(cached) " >&6
59260else
59261
59262
59263      ac_ext=cpp
59264ac_cpp='$CXXCPP $CPPFLAGS'
59265ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59266ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59267ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59268
59269      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59270/* end confdefs.h.  */
59271#include <math.h>
59272int
59273main ()
59274{
59275 powl(0, 0);
59276  ;
59277  return 0;
59278}
59279_ACEOF
59280if ac_fn_cxx_try_compile "$LINENO"; then :
59281  glibcxx_cv_func_powl_use=yes
59282else
59283  glibcxx_cv_func_powl_use=no
59284fi
59285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59286      ac_ext=c
59287ac_cpp='$CPP $CPPFLAGS'
59288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59290ac_compiler_gnu=$ac_cv_c_compiler_gnu
59291
59292
59293fi
59294
59295  fi
59296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59297$as_echo "$glibcxx_cv_func_powl_use" >&6; }
59298
59299  if test x$glibcxx_cv_func_powl_use = x"yes"; then
59300    for ac_func in powl
59301do :
59302  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59303if test "x$ac_cv_func_powl" = x""yes; then :
59304  cat >>confdefs.h <<_ACEOF
59305#define HAVE_POWL 1
59306_ACEOF
59307
59308fi
59309done
59310
59311  else
59312
59313  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59314$as_echo_n "checking for _powl declaration... " >&6; }
59315  if test x${glibcxx_cv_func__powl_use+set} != xset; then
59316    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
59317  $as_echo_n "(cached) " >&6
59318else
59319
59320
59321      ac_ext=cpp
59322ac_cpp='$CXXCPP $CPPFLAGS'
59323ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59324ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59325ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59326
59327      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59328/* end confdefs.h.  */
59329#include <math.h>
59330int
59331main ()
59332{
59333 _powl(0, 0);
59334  ;
59335  return 0;
59336}
59337_ACEOF
59338if ac_fn_cxx_try_compile "$LINENO"; then :
59339  glibcxx_cv_func__powl_use=yes
59340else
59341  glibcxx_cv_func__powl_use=no
59342fi
59343rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59344      ac_ext=c
59345ac_cpp='$CPP $CPPFLAGS'
59346ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59347ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59348ac_compiler_gnu=$ac_cv_c_compiler_gnu
59349
59350
59351fi
59352
59353  fi
59354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59355$as_echo "$glibcxx_cv_func__powl_use" >&6; }
59356
59357    if test x$glibcxx_cv_func__powl_use = x"yes"; then
59358      for ac_func in _powl
59359do :
59360  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59361if test "x$ac_cv_func__powl" = x""yes; then :
59362  cat >>confdefs.h <<_ACEOF
59363#define HAVE__POWL 1
59364_ACEOF
59365
59366fi
59367done
59368
59369    fi
59370  fi
59371
59372
59373
59374
59375
59376  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59377$as_echo_n "checking for sqrtl declaration... " >&6; }
59378  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59379    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
59380  $as_echo_n "(cached) " >&6
59381else
59382
59383
59384      ac_ext=cpp
59385ac_cpp='$CXXCPP $CPPFLAGS'
59386ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59387ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59388ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59389
59390      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59391/* end confdefs.h.  */
59392#include <math.h>
59393		      #ifdef HAVE_IEEEFP_H
59394		      #include <ieeefp.h>
59395		      #endif
59396
59397int
59398main ()
59399{
59400 sqrtl(0);
59401  ;
59402  return 0;
59403}
59404_ACEOF
59405if ac_fn_cxx_try_compile "$LINENO"; then :
59406  glibcxx_cv_func_sqrtl_use=yes
59407else
59408  glibcxx_cv_func_sqrtl_use=no
59409fi
59410rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59411      ac_ext=c
59412ac_cpp='$CPP $CPPFLAGS'
59413ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59414ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59415ac_compiler_gnu=$ac_cv_c_compiler_gnu
59416
59417
59418fi
59419
59420  fi
59421  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59422$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59423
59424  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59425    for ac_func in sqrtl
59426do :
59427  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59428if test "x$ac_cv_func_sqrtl" = x""yes; then :
59429  cat >>confdefs.h <<_ACEOF
59430#define HAVE_SQRTL 1
59431_ACEOF
59432
59433fi
59434done
59435
59436  else
59437
59438  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59439$as_echo_n "checking for _sqrtl declaration... " >&6; }
59440  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59441    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
59442  $as_echo_n "(cached) " >&6
59443else
59444
59445
59446      ac_ext=cpp
59447ac_cpp='$CXXCPP $CPPFLAGS'
59448ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59449ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59450ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59451
59452      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59453/* end confdefs.h.  */
59454#include <math.h>
59455		      #ifdef HAVE_IEEEFP_H
59456		      #include <ieeefp.h>
59457		      #endif
59458
59459int
59460main ()
59461{
59462 _sqrtl(0);
59463  ;
59464  return 0;
59465}
59466_ACEOF
59467if ac_fn_cxx_try_compile "$LINENO"; then :
59468  glibcxx_cv_func__sqrtl_use=yes
59469else
59470  glibcxx_cv_func__sqrtl_use=no
59471fi
59472rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59473      ac_ext=c
59474ac_cpp='$CPP $CPPFLAGS'
59475ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59476ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59477ac_compiler_gnu=$ac_cv_c_compiler_gnu
59478
59479
59480fi
59481
59482  fi
59483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59484$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59485
59486    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59487      for ac_func in _sqrtl
59488do :
59489  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59490if test "x$ac_cv_func__sqrtl" = x""yes; then :
59491  cat >>confdefs.h <<_ACEOF
59492#define HAVE__SQRTL 1
59493_ACEOF
59494
59495fi
59496done
59497
59498    fi
59499  fi
59500
59501
59502
59503
59504
59505  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59506$as_echo_n "checking for sincosl declaration... " >&6; }
59507  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59508    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59509  $as_echo_n "(cached) " >&6
59510else
59511
59512
59513      ac_ext=cpp
59514ac_cpp='$CXXCPP $CPPFLAGS'
59515ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59516ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59517ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59518
59519      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59520/* end confdefs.h.  */
59521#include <math.h>
59522int
59523main ()
59524{
59525 sincosl(0, 0, 0);
59526  ;
59527  return 0;
59528}
59529_ACEOF
59530if ac_fn_cxx_try_compile "$LINENO"; then :
59531  glibcxx_cv_func_sincosl_use=yes
59532else
59533  glibcxx_cv_func_sincosl_use=no
59534fi
59535rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59536      ac_ext=c
59537ac_cpp='$CPP $CPPFLAGS'
59538ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59539ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59540ac_compiler_gnu=$ac_cv_c_compiler_gnu
59541
59542
59543fi
59544
59545  fi
59546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59547$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59548
59549  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59550    for ac_func in sincosl
59551do :
59552  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59553if test "x$ac_cv_func_sincosl" = x""yes; then :
59554  cat >>confdefs.h <<_ACEOF
59555#define HAVE_SINCOSL 1
59556_ACEOF
59557
59558fi
59559done
59560
59561  else
59562
59563  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59564$as_echo_n "checking for _sincosl declaration... " >&6; }
59565  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59566    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59567  $as_echo_n "(cached) " >&6
59568else
59569
59570
59571      ac_ext=cpp
59572ac_cpp='$CXXCPP $CPPFLAGS'
59573ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59574ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59575ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59576
59577      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59578/* end confdefs.h.  */
59579#include <math.h>
59580int
59581main ()
59582{
59583 _sincosl(0, 0, 0);
59584  ;
59585  return 0;
59586}
59587_ACEOF
59588if ac_fn_cxx_try_compile "$LINENO"; then :
59589  glibcxx_cv_func__sincosl_use=yes
59590else
59591  glibcxx_cv_func__sincosl_use=no
59592fi
59593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59594      ac_ext=c
59595ac_cpp='$CPP $CPPFLAGS'
59596ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59597ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59598ac_compiler_gnu=$ac_cv_c_compiler_gnu
59599
59600
59601fi
59602
59603  fi
59604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59605$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59606
59607    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59608      for ac_func in _sincosl
59609do :
59610  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59611if test "x$ac_cv_func__sincosl" = x""yes; then :
59612  cat >>confdefs.h <<_ACEOF
59613#define HAVE__SINCOSL 1
59614_ACEOF
59615
59616fi
59617done
59618
59619    fi
59620  fi
59621
59622
59623
59624
59625
59626  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59627$as_echo_n "checking for finitel declaration... " >&6; }
59628  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59629    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59630  $as_echo_n "(cached) " >&6
59631else
59632
59633
59634      ac_ext=cpp
59635ac_cpp='$CXXCPP $CPPFLAGS'
59636ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59637ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59638ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59639
59640      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59641/* end confdefs.h.  */
59642#include <math.h>
59643		      #ifdef HAVE_IEEEFP_H
59644		      #include <ieeefp.h>
59645		      #endif
59646
59647int
59648main ()
59649{
59650 finitel(0);
59651  ;
59652  return 0;
59653}
59654_ACEOF
59655if ac_fn_cxx_try_compile "$LINENO"; then :
59656  glibcxx_cv_func_finitel_use=yes
59657else
59658  glibcxx_cv_func_finitel_use=no
59659fi
59660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59661      ac_ext=c
59662ac_cpp='$CPP $CPPFLAGS'
59663ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59664ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59665ac_compiler_gnu=$ac_cv_c_compiler_gnu
59666
59667
59668fi
59669
59670  fi
59671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59672$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59673
59674  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59675    for ac_func in finitel
59676do :
59677  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59678if test "x$ac_cv_func_finitel" = x""yes; then :
59679  cat >>confdefs.h <<_ACEOF
59680#define HAVE_FINITEL 1
59681_ACEOF
59682
59683fi
59684done
59685
59686  else
59687
59688  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59689$as_echo_n "checking for _finitel declaration... " >&6; }
59690  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59691    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59692  $as_echo_n "(cached) " >&6
59693else
59694
59695
59696      ac_ext=cpp
59697ac_cpp='$CXXCPP $CPPFLAGS'
59698ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59699ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59700ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59701
59702      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59703/* end confdefs.h.  */
59704#include <math.h>
59705		      #ifdef HAVE_IEEEFP_H
59706		      #include <ieeefp.h>
59707		      #endif
59708
59709int
59710main ()
59711{
59712 _finitel(0);
59713  ;
59714  return 0;
59715}
59716_ACEOF
59717if ac_fn_cxx_try_compile "$LINENO"; then :
59718  glibcxx_cv_func__finitel_use=yes
59719else
59720  glibcxx_cv_func__finitel_use=no
59721fi
59722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59723      ac_ext=c
59724ac_cpp='$CPP $CPPFLAGS'
59725ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59726ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59727ac_compiler_gnu=$ac_cv_c_compiler_gnu
59728
59729
59730fi
59731
59732  fi
59733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59734$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59735
59736    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59737      for ac_func in _finitel
59738do :
59739  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59740if test "x$ac_cv_func__finitel" = x""yes; then :
59741  cat >>confdefs.h <<_ACEOF
59742#define HAVE__FINITEL 1
59743_ACEOF
59744
59745fi
59746done
59747
59748    fi
59749  fi
59750
59751
59752
59753
59754  LIBS="$ac_save_LIBS"
59755  CXXFLAGS="$ac_save_CXXFLAGS"
59756
59757
59758  ac_test_CXXFLAGS="${CXXFLAGS+set}"
59759  ac_save_CXXFLAGS="$CXXFLAGS"
59760  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59761
59762
59763  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59764$as_echo_n "checking for at_quick_exit declaration... " >&6; }
59765  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59766    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59767  $as_echo_n "(cached) " >&6
59768else
59769
59770
59771      ac_ext=cpp
59772ac_cpp='$CXXCPP $CPPFLAGS'
59773ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59774ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59775ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59776
59777      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59778/* end confdefs.h.  */
59779#include <stdlib.h>
59780int
59781main ()
59782{
59783 at_quick_exit(0);
59784  ;
59785  return 0;
59786}
59787_ACEOF
59788if ac_fn_cxx_try_compile "$LINENO"; then :
59789  glibcxx_cv_func_at_quick_exit_use=yes
59790else
59791  glibcxx_cv_func_at_quick_exit_use=no
59792fi
59793rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59794      ac_ext=c
59795ac_cpp='$CPP $CPPFLAGS'
59796ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59797ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59798ac_compiler_gnu=$ac_cv_c_compiler_gnu
59799
59800
59801fi
59802
59803  fi
59804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59805$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59806  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59807    for ac_func in at_quick_exit
59808do :
59809  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59810if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59811  cat >>confdefs.h <<_ACEOF
59812#define HAVE_AT_QUICK_EXIT 1
59813_ACEOF
59814
59815fi
59816done
59817
59818  fi
59819
59820
59821  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59822$as_echo_n "checking for quick_exit declaration... " >&6; }
59823  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59824    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59825  $as_echo_n "(cached) " >&6
59826else
59827
59828
59829      ac_ext=cpp
59830ac_cpp='$CXXCPP $CPPFLAGS'
59831ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59832ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59833ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59834
59835      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59836/* end confdefs.h.  */
59837#include <stdlib.h>
59838int
59839main ()
59840{
59841 quick_exit(0);
59842  ;
59843  return 0;
59844}
59845_ACEOF
59846if ac_fn_cxx_try_compile "$LINENO"; then :
59847  glibcxx_cv_func_quick_exit_use=yes
59848else
59849  glibcxx_cv_func_quick_exit_use=no
59850fi
59851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59852      ac_ext=c
59853ac_cpp='$CPP $CPPFLAGS'
59854ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59855ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59856ac_compiler_gnu=$ac_cv_c_compiler_gnu
59857
59858
59859fi
59860
59861  fi
59862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59863$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59864  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59865    for ac_func in quick_exit
59866do :
59867  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59868if test "x$ac_cv_func_quick_exit" = x""yes; then :
59869  cat >>confdefs.h <<_ACEOF
59870#define HAVE_QUICK_EXIT 1
59871_ACEOF
59872
59873fi
59874done
59875
59876  fi
59877
59878
59879  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59880$as_echo_n "checking for strtold declaration... " >&6; }
59881  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59882    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59883  $as_echo_n "(cached) " >&6
59884else
59885
59886
59887      ac_ext=cpp
59888ac_cpp='$CXXCPP $CPPFLAGS'
59889ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59890ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59891ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59892
59893      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59894/* end confdefs.h.  */
59895#include <stdlib.h>
59896int
59897main ()
59898{
59899 strtold(0, 0);
59900  ;
59901  return 0;
59902}
59903_ACEOF
59904if ac_fn_cxx_try_compile "$LINENO"; then :
59905  glibcxx_cv_func_strtold_use=yes
59906else
59907  glibcxx_cv_func_strtold_use=no
59908fi
59909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59910      ac_ext=c
59911ac_cpp='$CPP $CPPFLAGS'
59912ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59913ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59914ac_compiler_gnu=$ac_cv_c_compiler_gnu
59915
59916
59917fi
59918
59919  fi
59920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59921$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59922  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59923    for ac_func in strtold
59924do :
59925  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59926if test "x$ac_cv_func_strtold" = x""yes; then :
59927  cat >>confdefs.h <<_ACEOF
59928#define HAVE_STRTOLD 1
59929_ACEOF
59930
59931fi
59932done
59933
59934  fi
59935
59936
59937
59938
59939  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59940$as_echo_n "checking for strtof declaration... " >&6; }
59941  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59942    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59943  $as_echo_n "(cached) " >&6
59944else
59945
59946
59947      ac_ext=cpp
59948ac_cpp='$CXXCPP $CPPFLAGS'
59949ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59950ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59951ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59952
59953      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59954/* end confdefs.h.  */
59955#include <stdlib.h>
59956int
59957main ()
59958{
59959 strtof(0, 0);
59960  ;
59961  return 0;
59962}
59963_ACEOF
59964if ac_fn_cxx_try_compile "$LINENO"; then :
59965  glibcxx_cv_func_strtof_use=yes
59966else
59967  glibcxx_cv_func_strtof_use=no
59968fi
59969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59970      ac_ext=c
59971ac_cpp='$CPP $CPPFLAGS'
59972ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59973ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59974ac_compiler_gnu=$ac_cv_c_compiler_gnu
59975
59976
59977fi
59978
59979  fi
59980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59981$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59982  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59983    for ac_func in strtof
59984do :
59985  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59986if test "x$ac_cv_func_strtof" = x""yes; then :
59987  cat >>confdefs.h <<_ACEOF
59988#define HAVE_STRTOF 1
59989_ACEOF
59990
59991fi
59992done
59993
59994  fi
59995
59996
59997
59998
59999  CXXFLAGS="$ac_save_CXXFLAGS"
60000
60001    $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
60002
60003
60004
60005   # Check whether --enable-tls was given.
60006if test "${enable_tls+set}" = set; then :
60007  enableval=$enable_tls;
60008      case "$enableval" in
60009       yes|no) ;;
60010       *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
60011      esac
60012
60013else
60014  enable_tls=yes
60015fi
60016
60017
60018  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
60019$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
60020if test "${gcc_cv_have_tls+set}" = set; then :
60021  $as_echo_n "(cached) " >&6
60022else
60023
60024    if test "$cross_compiling" = yes; then :
60025                if test x$gcc_no_link = xyes; then
60026  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60027fi
60028cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60029/* end confdefs.h.  */
60030__thread int a; int b; int main() { return a = b; }
60031_ACEOF
60032if ac_fn_c_try_link "$LINENO"; then :
60033  chktls_save_LDFLAGS="$LDFLAGS"
60034	  	  	  case $host in
60035	    *-*-linux*)
60036	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
60037	      ;;
60038	  esac
60039	  chktls_save_CFLAGS="$CFLAGS"
60040	  CFLAGS="-fPIC $CFLAGS"
60041	  	  if test x$gcc_no_link = xyes; then
60042  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60043fi
60044cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60045/* end confdefs.h.  */
60046int f() { return 0; }
60047_ACEOF
60048if ac_fn_c_try_link "$LINENO"; then :
60049  if test x$gcc_no_link = xyes; then
60050  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60051fi
60052cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60053/* end confdefs.h.  */
60054__thread int a; int b; int f() { return a = b; }
60055_ACEOF
60056if ac_fn_c_try_link "$LINENO"; then :
60057  gcc_cv_have_tls=yes
60058else
60059  gcc_cv_have_tls=no
60060fi
60061rm -f core conftest.err conftest.$ac_objext \
60062    conftest$ac_exeext conftest.$ac_ext
60063else
60064  gcc_cv_have_tls=yes
60065fi
60066rm -f core conftest.err conftest.$ac_objext \
60067    conftest$ac_exeext conftest.$ac_ext
60068	  CFLAGS="$chktls_save_CFLAGS"
60069	  LDFLAGS="$chktls_save_LDFLAGS"
60070else
60071  gcc_cv_have_tls=no
60072fi
60073rm -f core conftest.err conftest.$ac_objext \
60074    conftest$ac_exeext conftest.$ac_ext
60075
60076
60077else
60078  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60079/* end confdefs.h.  */
60080__thread int a; int b; int main() { return a = b; }
60081_ACEOF
60082if ac_fn_c_try_run "$LINENO"; then :
60083                      chktls_save_LDFLAGS="$LDFLAGS"
60084      LDFLAGS="-static $LDFLAGS"
60085      if test x$gcc_no_link = xyes; then
60086  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60087fi
60088cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60089/* end confdefs.h.  */
60090int main() { return 0; }
60091_ACEOF
60092if ac_fn_c_try_link "$LINENO"; then :
60093  if test "$cross_compiling" = yes; then :
60094  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60095$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60096as_fn_error "cannot run test program while cross compiling
60097See \`config.log' for more details." "$LINENO" 5; }
60098else
60099  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60100/* end confdefs.h.  */
60101__thread int a; int b; int main() { return a = b; }
60102_ACEOF
60103if ac_fn_c_try_run "$LINENO"; then :
60104  gcc_cv_have_tls=yes
60105else
60106  gcc_cv_have_tls=no
60107fi
60108rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60109  conftest.$ac_objext conftest.beam conftest.$ac_ext
60110fi
60111
60112else
60113  gcc_cv_have_tls=yes
60114fi
60115rm -f core conftest.err conftest.$ac_objext \
60116    conftest$ac_exeext conftest.$ac_ext
60117      LDFLAGS="$chktls_save_LDFLAGS"
60118      if test $gcc_cv_have_tls = yes; then
60119						chktls_save_CFLAGS="$CFLAGS"
60120	thread_CFLAGS=failed
60121	for flag in '' '-pthread' '-lpthread'; do
60122	  CFLAGS="$flag $chktls_save_CFLAGS"
60123	  if test x$gcc_no_link = xyes; then
60124  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60125fi
60126cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60127/* end confdefs.h.  */
60128#include <pthread.h>
60129		void *g(void *d) { return NULL; }
60130int
60131main ()
60132{
60133pthread_t t; pthread_create(&t,NULL,g,NULL);
60134  ;
60135  return 0;
60136}
60137_ACEOF
60138if ac_fn_c_try_link "$LINENO"; then :
60139  thread_CFLAGS="$flag"
60140fi
60141rm -f core conftest.err conftest.$ac_objext \
60142    conftest$ac_exeext conftest.$ac_ext
60143	  if test "X$thread_CFLAGS" != Xfailed; then
60144	    break
60145	  fi
60146	done
60147	CFLAGS="$chktls_save_CFLAGS"
60148	if test "X$thread_CFLAGS" != Xfailed; then
60149	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60150 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
60151  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60152$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60153as_fn_error "cannot run test program while cross compiling
60154See \`config.log' for more details." "$LINENO" 5; }
60155else
60156  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60157/* end confdefs.h.  */
60158#include <pthread.h>
60159		__thread int a;
60160		static int *volatile a_in_other_thread;
60161		static void *
60162		thread_func (void *arg)
60163		{
60164		  a_in_other_thread = &a;
60165		  return (void *)0;
60166		}
60167int
60168main ()
60169{
60170pthread_t thread;
60171		void *thread_retval;
60172		int *volatile a_in_main_thread;
60173		a_in_main_thread = &a;
60174		if (pthread_create (&thread, (pthread_attr_t *)0,
60175				    thread_func, (void *)0))
60176		  return 0;
60177		if (pthread_join (thread, &thread_retval))
60178		  return 0;
60179		return (a_in_other_thread == a_in_main_thread);
60180  ;
60181  return 0;
60182}
60183_ACEOF
60184if ac_fn_c_try_run "$LINENO"; then :
60185  gcc_cv_have_tls=yes
60186else
60187  gcc_cv_have_tls=no
60188fi
60189rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60190  conftest.$ac_objext conftest.beam conftest.$ac_ext
60191fi
60192
60193	  CFLAGS="$chktls_save_CFLAGS"
60194	fi
60195      fi
60196else
60197  gcc_cv_have_tls=no
60198fi
60199rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60200  conftest.$ac_objext conftest.beam conftest.$ac_ext
60201fi
60202
60203fi
60204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60205$as_echo "$gcc_cv_have_tls" >&6; }
60206  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60207
60208$as_echo "#define HAVE_TLS 1" >>confdefs.h
60209
60210  fi
60211    for ac_func in __cxa_thread_atexit_impl
60212do :
60213  ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
60214if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
60215  cat >>confdefs.h <<_ACEOF
60216#define HAVE___CXA_THREAD_ATEXIT_IMPL 1
60217_ACEOF
60218
60219fi
60220done
60221
60222    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60223do :
60224  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60225ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60226eval as_val=\$$as_ac_var
60227   if test "x$as_val" = x""yes; then :
60228  cat >>confdefs.h <<_ACEOF
60229#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60230_ACEOF
60231
60232fi
60233done
60234
60235
60236
60237
60238
60239
60240  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
60241$as_echo_n "checking for iconv... " >&6; }
60242if test "${am_cv_func_iconv+set}" = set; then :
60243  $as_echo_n "(cached) " >&6
60244else
60245
60246    am_cv_func_iconv="no, consider installing GNU libiconv"
60247    am_cv_lib_iconv=no
60248                    am_save_CPPFLAGS="$CPPFLAGS"
60249    CPPFLAGS="$CPPFLAGS $INCICONV"
60250    if test x$gcc_no_link = xyes; then
60251  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60252fi
60253cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60254/* end confdefs.h.  */
60255#include <stdlib.h>
60256#include <iconv.h>
60257int
60258main ()
60259{
60260iconv_t cd = iconv_open("","");
60261       iconv(cd,NULL,NULL,NULL,NULL);
60262       iconv_close(cd);
60263  ;
60264  return 0;
60265}
60266_ACEOF
60267if ac_fn_c_try_link "$LINENO"; then :
60268  am_cv_func_iconv=yes
60269fi
60270rm -f core conftest.err conftest.$ac_objext \
60271    conftest$ac_exeext conftest.$ac_ext
60272    CPPFLAGS="$am_save_CPPFLAGS"
60273
60274    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60275      for _libs in .libs _libs; do
60276        am_save_CPPFLAGS="$CPPFLAGS"
60277        am_save_LIBS="$LIBS"
60278        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60279        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60280        if test x$gcc_no_link = xyes; then
60281  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60282fi
60283cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60284/* end confdefs.h.  */
60285#include <stdlib.h>
60286#include <iconv.h>
60287int
60288main ()
60289{
60290iconv_t cd = iconv_open("","");
60291           iconv(cd,NULL,NULL,NULL,NULL);
60292           iconv_close(cd);
60293  ;
60294  return 0;
60295}
60296_ACEOF
60297if ac_fn_c_try_link "$LINENO"; then :
60298  INCICONV="-I../libiconv/include"
60299          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60300          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60301          am_cv_lib_iconv=yes
60302          am_cv_func_iconv=yes
60303fi
60304rm -f core conftest.err conftest.$ac_objext \
60305    conftest$ac_exeext conftest.$ac_ext
60306        CPPFLAGS="$am_save_CPPFLAGS"
60307        LIBS="$am_save_LIBS"
60308        if test "$am_cv_func_iconv" = "yes"; then
60309          break
60310        fi
60311      done
60312    fi
60313
60314    if test "$am_cv_func_iconv" != yes; then
60315      am_save_CPPFLAGS="$CPPFLAGS"
60316      am_save_LIBS="$LIBS"
60317      CPPFLAGS="$LIBS $INCICONV"
60318      LIBS="$LIBS $LIBICONV"
60319      if test x$gcc_no_link = xyes; then
60320  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60321fi
60322cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60323/* end confdefs.h.  */
60324#include <stdlib.h>
60325#include <iconv.h>
60326int
60327main ()
60328{
60329iconv_t cd = iconv_open("","");
60330         iconv(cd,NULL,NULL,NULL,NULL);
60331         iconv_close(cd);
60332  ;
60333  return 0;
60334}
60335_ACEOF
60336if ac_fn_c_try_link "$LINENO"; then :
60337  am_cv_lib_iconv=yes
60338        am_cv_func_iconv=yes
60339fi
60340rm -f core conftest.err conftest.$ac_objext \
60341    conftest$ac_exeext conftest.$ac_ext
60342      CPPFLAGS="$am_save_CPPFLAGS"
60343      LIBS="$am_save_LIBS"
60344    fi
60345
60346fi
60347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60348$as_echo "$am_cv_func_iconv" >&6; }
60349  if test "$am_cv_func_iconv" = yes; then
60350
60351$as_echo "#define HAVE_ICONV 1" >>confdefs.h
60352
60353  fi
60354  if test "$am_cv_lib_iconv" = yes; then
60355
60356  for element in $INCICONV; do
60357    haveit=
60358    for x in $CPPFLAGS; do
60359
60360  acl_save_prefix="$prefix"
60361  prefix="$acl_final_prefix"
60362  acl_save_exec_prefix="$exec_prefix"
60363  exec_prefix="$acl_final_exec_prefix"
60364  eval x=\"$x\"
60365  exec_prefix="$acl_save_exec_prefix"
60366  prefix="$acl_save_prefix"
60367
60368      if test "X$x" = "X$element"; then
60369        haveit=yes
60370        break
60371      fi
60372    done
60373    if test -z "$haveit"; then
60374      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60375    fi
60376  done
60377
60378    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60379$as_echo_n "checking how to link with libiconv... " >&6; }
60380    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60381$as_echo "$LIBICONV" >&6; }
60382  else
60383    LIBICONV=
60384    LTLIBICONV=
60385  fi
60386
60387
60388
60389  if test "$am_cv_func_iconv" = yes; then
60390    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60391$as_echo_n "checking for iconv declaration... " >&6; }
60392    if test "${am_cv_proto_iconv+set}" = set; then :
60393  $as_echo_n "(cached) " >&6
60394else
60395
60396      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60397/* end confdefs.h.  */
60398
60399#include <stdlib.h>
60400#include <iconv.h>
60401extern
60402#ifdef __cplusplus
60403"C"
60404#endif
60405#if defined(__STDC__) || defined(__cplusplus)
60406size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60407#else
60408size_t iconv();
60409#endif
60410
60411int
60412main ()
60413{
60414
60415  ;
60416  return 0;
60417}
60418_ACEOF
60419if ac_fn_c_try_compile "$LINENO"; then :
60420  am_cv_proto_iconv_arg1=""
60421else
60422  am_cv_proto_iconv_arg1="const"
60423fi
60424rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60425      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);"
60426fi
60427
60428    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60429    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60430         }$am_cv_proto_iconv" >&5
60431$as_echo "${ac_t:-
60432         }$am_cv_proto_iconv" >&6; }
60433
60434cat >>confdefs.h <<_ACEOF
60435#define ICONV_CONST $am_cv_proto_iconv_arg1
60436_ACEOF
60437
60438  fi
60439
60440    ;;
60441  *-mingw32*)
60442
60443  # If we're not using GNU ld, then there's no point in even trying these
60444  # tests.  Check for that first.  We should have already tested for gld
60445  # by now (in libtool), but require it now just to be safe...
60446  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60447  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60448
60449
60450
60451  # The name set by libtool depends on the version of libtool.  Shame on us
60452  # for depending on an impl detail, but c'est la vie.  Older versions used
60453  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60454  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60455  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
60456  # set (hence we're using an older libtool), then set it.
60457  if test x${with_gnu_ld+set} != xset; then
60458    if test x${ac_cv_prog_gnu_ld+set} != xset; then
60459      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
60460      with_gnu_ld=no
60461    else
60462      with_gnu_ld=$ac_cv_prog_gnu_ld
60463    fi
60464  fi
60465
60466  # Start by getting the version number.  I think the libtool test already
60467  # does some of this, but throws away the result.
60468  glibcxx_ld_is_gold=no
60469  if test x"$with_gnu_ld" = x"yes"; then
60470    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60471$as_echo_n "checking for ld version... " >&6; }
60472
60473    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60474      glibcxx_ld_is_gold=yes
60475    fi
60476    ldver=`$LD --version 2>/dev/null |
60477	   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'`
60478
60479    glibcxx_gnu_ld_version=`echo $ldver | \
60480	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60481    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60482$as_echo "$glibcxx_gnu_ld_version" >&6; }
60483  fi
60484
60485  # Set --gc-sections.
60486  glibcxx_have_gc_sections=no
60487  if test "$glibcxx_ld_is_gold" = "yes"; then
60488    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60489      glibcxx_have_gc_sections=yes
60490    fi
60491  else
60492    glibcxx_gcsections_min_ld=21602
60493    if test x"$with_gnu_ld" = x"yes" &&
60494	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60495      glibcxx_have_gc_sections=yes
60496    fi
60497  fi
60498  if test "$glibcxx_have_gc_sections" = "yes"; then
60499    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
60500    # NB: This flag only works reliably after 2.16.1. Configure tests
60501    # for this are difficult, so hard wire a value that should work.
60502
60503    ac_test_CFLAGS="${CFLAGS+set}"
60504    ac_save_CFLAGS="$CFLAGS"
60505    CFLAGS='-Wl,--gc-sections'
60506
60507    # Check for -Wl,--gc-sections
60508    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60509$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60510    if test x$gcc_no_link = xyes; then
60511  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60512fi
60513cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60514/* end confdefs.h.  */
60515 int one(void) { return 1; }
60516     int two(void) { return 2; }
60517
60518int
60519main ()
60520{
60521 two();
60522  ;
60523  return 0;
60524}
60525_ACEOF
60526if ac_fn_c_try_link "$LINENO"; then :
60527  ac_gcsections=yes
60528else
60529  ac_gcsections=no
60530fi
60531rm -f core conftest.err conftest.$ac_objext \
60532    conftest$ac_exeext conftest.$ac_ext
60533    if test "$ac_gcsections" = "yes"; then
60534      rm -f conftest.c
60535      touch conftest.c
60536      if $CC -c conftest.c; then
60537	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60538	   grep "Warning: gc-sections option ignored" > /dev/null; then
60539	  ac_gcsections=no
60540	fi
60541      fi
60542      rm -f conftest.c conftest.o conftest
60543    fi
60544    if test "$ac_gcsections" = "yes"; then
60545      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60546    fi
60547    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60548$as_echo "$ac_gcsections" >&6; }
60549
60550    if test "$ac_test_CFLAGS" = set; then
60551      CFLAGS="$ac_save_CFLAGS"
60552    else
60553      # this is the suspicious part
60554      CFLAGS=''
60555    fi
60556  fi
60557
60558  # Set -z,relro.
60559  # Note this is only for shared objects.
60560  ac_ld_relro=no
60561  if test x"$with_gnu_ld" = x"yes"; then
60562    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60563$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60564    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60565    if test -n "$cxx_z_relo"; then
60566      OPT_LDFLAGS="-Wl,-z,relro"
60567      ac_ld_relro=yes
60568    fi
60569    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60570$as_echo "$ac_ld_relro" >&6; }
60571  fi
60572
60573  # Set linker optimization flags.
60574  if test x"$with_gnu_ld" = x"yes"; then
60575    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60576  fi
60577
60578
60579
60580
60581
60582  ac_test_CXXFLAGS="${CXXFLAGS+set}"
60583  ac_save_CXXFLAGS="$CXXFLAGS"
60584  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60585
60586    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60587$as_echo_n "checking for sin in -lm... " >&6; }
60588if test "${ac_cv_lib_m_sin+set}" = set; then :
60589  $as_echo_n "(cached) " >&6
60590else
60591  ac_check_lib_save_LIBS=$LIBS
60592LIBS="-lm  $LIBS"
60593if test x$gcc_no_link = xyes; then
60594  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60595fi
60596cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60597/* end confdefs.h.  */
60598
60599/* Override any GCC internal prototype to avoid an error.
60600   Use char because int might match the return type of a GCC
60601   builtin and then its argument prototype would still apply.  */
60602#ifdef __cplusplus
60603extern "C"
60604#endif
60605char sin ();
60606int
60607main ()
60608{
60609return sin ();
60610  ;
60611  return 0;
60612}
60613_ACEOF
60614if ac_fn_c_try_link "$LINENO"; then :
60615  ac_cv_lib_m_sin=yes
60616else
60617  ac_cv_lib_m_sin=no
60618fi
60619rm -f core conftest.err conftest.$ac_objext \
60620    conftest$ac_exeext conftest.$ac_ext
60621LIBS=$ac_check_lib_save_LIBS
60622fi
60623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60624$as_echo "$ac_cv_lib_m_sin" >&6; }
60625if test "x$ac_cv_lib_m_sin" = x""yes; then :
60626  libm="-lm"
60627fi
60628
60629  ac_save_LIBS="$LIBS"
60630  LIBS="$LIBS $libm"
60631
60632
60633
60634  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60635$as_echo_n "checking for isinf declaration... " >&6; }
60636  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60637    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60638  $as_echo_n "(cached) " >&6
60639else
60640
60641
60642      ac_ext=cpp
60643ac_cpp='$CXXCPP $CPPFLAGS'
60644ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60645ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60646ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60647
60648      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60649/* end confdefs.h.  */
60650#include <math.h>
60651		      #ifdef HAVE_IEEEFP_H
60652		      #include <ieeefp.h>
60653		      #endif
60654
60655int
60656main ()
60657{
60658 isinf(0);
60659  ;
60660  return 0;
60661}
60662_ACEOF
60663if ac_fn_cxx_try_compile "$LINENO"; then :
60664  glibcxx_cv_func_isinf_use=yes
60665else
60666  glibcxx_cv_func_isinf_use=no
60667fi
60668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60669      ac_ext=c
60670ac_cpp='$CPP $CPPFLAGS'
60671ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60672ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60673ac_compiler_gnu=$ac_cv_c_compiler_gnu
60674
60675
60676fi
60677
60678  fi
60679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60680$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60681
60682  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60683    for ac_func in isinf
60684do :
60685  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60686if test "x$ac_cv_func_isinf" = x""yes; then :
60687  cat >>confdefs.h <<_ACEOF
60688#define HAVE_ISINF 1
60689_ACEOF
60690
60691fi
60692done
60693
60694  else
60695
60696  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60697$as_echo_n "checking for _isinf declaration... " >&6; }
60698  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60699    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60700  $as_echo_n "(cached) " >&6
60701else
60702
60703
60704      ac_ext=cpp
60705ac_cpp='$CXXCPP $CPPFLAGS'
60706ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60707ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60708ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60709
60710      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60711/* end confdefs.h.  */
60712#include <math.h>
60713		      #ifdef HAVE_IEEEFP_H
60714		      #include <ieeefp.h>
60715		      #endif
60716
60717int
60718main ()
60719{
60720 _isinf(0);
60721  ;
60722  return 0;
60723}
60724_ACEOF
60725if ac_fn_cxx_try_compile "$LINENO"; then :
60726  glibcxx_cv_func__isinf_use=yes
60727else
60728  glibcxx_cv_func__isinf_use=no
60729fi
60730rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60731      ac_ext=c
60732ac_cpp='$CPP $CPPFLAGS'
60733ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60734ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60735ac_compiler_gnu=$ac_cv_c_compiler_gnu
60736
60737
60738fi
60739
60740  fi
60741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60742$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60743
60744    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60745      for ac_func in _isinf
60746do :
60747  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60748if test "x$ac_cv_func__isinf" = x""yes; then :
60749  cat >>confdefs.h <<_ACEOF
60750#define HAVE__ISINF 1
60751_ACEOF
60752
60753fi
60754done
60755
60756    fi
60757  fi
60758
60759
60760
60761
60762
60763  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60764$as_echo_n "checking for isnan declaration... " >&6; }
60765  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60766    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60767  $as_echo_n "(cached) " >&6
60768else
60769
60770
60771      ac_ext=cpp
60772ac_cpp='$CXXCPP $CPPFLAGS'
60773ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60774ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60775ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60776
60777      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60778/* end confdefs.h.  */
60779#include <math.h>
60780		      #ifdef HAVE_IEEEFP_H
60781		      #include <ieeefp.h>
60782		      #endif
60783
60784int
60785main ()
60786{
60787 isnan(0);
60788  ;
60789  return 0;
60790}
60791_ACEOF
60792if ac_fn_cxx_try_compile "$LINENO"; then :
60793  glibcxx_cv_func_isnan_use=yes
60794else
60795  glibcxx_cv_func_isnan_use=no
60796fi
60797rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60798      ac_ext=c
60799ac_cpp='$CPP $CPPFLAGS'
60800ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60801ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60802ac_compiler_gnu=$ac_cv_c_compiler_gnu
60803
60804
60805fi
60806
60807  fi
60808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60809$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60810
60811  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60812    for ac_func in isnan
60813do :
60814  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60815if test "x$ac_cv_func_isnan" = x""yes; then :
60816  cat >>confdefs.h <<_ACEOF
60817#define HAVE_ISNAN 1
60818_ACEOF
60819
60820fi
60821done
60822
60823  else
60824
60825  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60826$as_echo_n "checking for _isnan declaration... " >&6; }
60827  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60828    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60829  $as_echo_n "(cached) " >&6
60830else
60831
60832
60833      ac_ext=cpp
60834ac_cpp='$CXXCPP $CPPFLAGS'
60835ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60836ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60837ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60838
60839      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60840/* end confdefs.h.  */
60841#include <math.h>
60842		      #ifdef HAVE_IEEEFP_H
60843		      #include <ieeefp.h>
60844		      #endif
60845
60846int
60847main ()
60848{
60849 _isnan(0);
60850  ;
60851  return 0;
60852}
60853_ACEOF
60854if ac_fn_cxx_try_compile "$LINENO"; then :
60855  glibcxx_cv_func__isnan_use=yes
60856else
60857  glibcxx_cv_func__isnan_use=no
60858fi
60859rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60860      ac_ext=c
60861ac_cpp='$CPP $CPPFLAGS'
60862ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60863ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60864ac_compiler_gnu=$ac_cv_c_compiler_gnu
60865
60866
60867fi
60868
60869  fi
60870  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60871$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60872
60873    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60874      for ac_func in _isnan
60875do :
60876  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60877if test "x$ac_cv_func__isnan" = x""yes; then :
60878  cat >>confdefs.h <<_ACEOF
60879#define HAVE__ISNAN 1
60880_ACEOF
60881
60882fi
60883done
60884
60885    fi
60886  fi
60887
60888
60889
60890
60891
60892  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60893$as_echo_n "checking for finite declaration... " >&6; }
60894  if test x${glibcxx_cv_func_finite_use+set} != xset; then
60895    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60896  $as_echo_n "(cached) " >&6
60897else
60898
60899
60900      ac_ext=cpp
60901ac_cpp='$CXXCPP $CPPFLAGS'
60902ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60903ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60904ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60905
60906      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60907/* end confdefs.h.  */
60908#include <math.h>
60909		      #ifdef HAVE_IEEEFP_H
60910		      #include <ieeefp.h>
60911		      #endif
60912
60913int
60914main ()
60915{
60916 finite(0);
60917  ;
60918  return 0;
60919}
60920_ACEOF
60921if ac_fn_cxx_try_compile "$LINENO"; then :
60922  glibcxx_cv_func_finite_use=yes
60923else
60924  glibcxx_cv_func_finite_use=no
60925fi
60926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60927      ac_ext=c
60928ac_cpp='$CPP $CPPFLAGS'
60929ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60930ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60931ac_compiler_gnu=$ac_cv_c_compiler_gnu
60932
60933
60934fi
60935
60936  fi
60937  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60938$as_echo "$glibcxx_cv_func_finite_use" >&6; }
60939
60940  if test x$glibcxx_cv_func_finite_use = x"yes"; then
60941    for ac_func in finite
60942do :
60943  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60944if test "x$ac_cv_func_finite" = x""yes; then :
60945  cat >>confdefs.h <<_ACEOF
60946#define HAVE_FINITE 1
60947_ACEOF
60948
60949fi
60950done
60951
60952  else
60953
60954  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60955$as_echo_n "checking for _finite declaration... " >&6; }
60956  if test x${glibcxx_cv_func__finite_use+set} != xset; then
60957    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60958  $as_echo_n "(cached) " >&6
60959else
60960
60961
60962      ac_ext=cpp
60963ac_cpp='$CXXCPP $CPPFLAGS'
60964ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60965ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60966ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60967
60968      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60969/* end confdefs.h.  */
60970#include <math.h>
60971		      #ifdef HAVE_IEEEFP_H
60972		      #include <ieeefp.h>
60973		      #endif
60974
60975int
60976main ()
60977{
60978 _finite(0);
60979  ;
60980  return 0;
60981}
60982_ACEOF
60983if ac_fn_cxx_try_compile "$LINENO"; then :
60984  glibcxx_cv_func__finite_use=yes
60985else
60986  glibcxx_cv_func__finite_use=no
60987fi
60988rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60989      ac_ext=c
60990ac_cpp='$CPP $CPPFLAGS'
60991ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60992ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60993ac_compiler_gnu=$ac_cv_c_compiler_gnu
60994
60995
60996fi
60997
60998  fi
60999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61000$as_echo "$glibcxx_cv_func__finite_use" >&6; }
61001
61002    if test x$glibcxx_cv_func__finite_use = x"yes"; then
61003      for ac_func in _finite
61004do :
61005  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61006if test "x$ac_cv_func__finite" = x""yes; then :
61007  cat >>confdefs.h <<_ACEOF
61008#define HAVE__FINITE 1
61009_ACEOF
61010
61011fi
61012done
61013
61014    fi
61015  fi
61016
61017
61018
61019
61020
61021  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61022$as_echo_n "checking for sincos declaration... " >&6; }
61023  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61024    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
61025  $as_echo_n "(cached) " >&6
61026else
61027
61028
61029      ac_ext=cpp
61030ac_cpp='$CXXCPP $CPPFLAGS'
61031ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61032ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61033ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61034
61035      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61036/* end confdefs.h.  */
61037#include <math.h>
61038int
61039main ()
61040{
61041 sincos(0, 0, 0);
61042  ;
61043  return 0;
61044}
61045_ACEOF
61046if ac_fn_cxx_try_compile "$LINENO"; then :
61047  glibcxx_cv_func_sincos_use=yes
61048else
61049  glibcxx_cv_func_sincos_use=no
61050fi
61051rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61052      ac_ext=c
61053ac_cpp='$CPP $CPPFLAGS'
61054ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61055ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61056ac_compiler_gnu=$ac_cv_c_compiler_gnu
61057
61058
61059fi
61060
61061  fi
61062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61063$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61064
61065  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61066    for ac_func in sincos
61067do :
61068  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61069if test "x$ac_cv_func_sincos" = x""yes; then :
61070  cat >>confdefs.h <<_ACEOF
61071#define HAVE_SINCOS 1
61072_ACEOF
61073
61074fi
61075done
61076
61077  else
61078
61079  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61080$as_echo_n "checking for _sincos declaration... " >&6; }
61081  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61082    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
61083  $as_echo_n "(cached) " >&6
61084else
61085
61086
61087      ac_ext=cpp
61088ac_cpp='$CXXCPP $CPPFLAGS'
61089ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61090ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61091ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61092
61093      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61094/* end confdefs.h.  */
61095#include <math.h>
61096int
61097main ()
61098{
61099 _sincos(0, 0, 0);
61100  ;
61101  return 0;
61102}
61103_ACEOF
61104if ac_fn_cxx_try_compile "$LINENO"; then :
61105  glibcxx_cv_func__sincos_use=yes
61106else
61107  glibcxx_cv_func__sincos_use=no
61108fi
61109rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61110      ac_ext=c
61111ac_cpp='$CPP $CPPFLAGS'
61112ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61113ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61114ac_compiler_gnu=$ac_cv_c_compiler_gnu
61115
61116
61117fi
61118
61119  fi
61120  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61121$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61122
61123    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61124      for ac_func in _sincos
61125do :
61126  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61127if test "x$ac_cv_func__sincos" = x""yes; then :
61128  cat >>confdefs.h <<_ACEOF
61129#define HAVE__SINCOS 1
61130_ACEOF
61131
61132fi
61133done
61134
61135    fi
61136  fi
61137
61138
61139
61140
61141
61142  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61143$as_echo_n "checking for fpclass declaration... " >&6; }
61144  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61145    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
61146  $as_echo_n "(cached) " >&6
61147else
61148
61149
61150      ac_ext=cpp
61151ac_cpp='$CXXCPP $CPPFLAGS'
61152ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61153ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61154ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61155
61156      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61157/* end confdefs.h.  */
61158#include <math.h>
61159		      #ifdef HAVE_IEEEFP_H
61160		      #include <ieeefp.h>
61161		      #endif
61162
61163int
61164main ()
61165{
61166 fpclass(0);
61167  ;
61168  return 0;
61169}
61170_ACEOF
61171if ac_fn_cxx_try_compile "$LINENO"; then :
61172  glibcxx_cv_func_fpclass_use=yes
61173else
61174  glibcxx_cv_func_fpclass_use=no
61175fi
61176rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61177      ac_ext=c
61178ac_cpp='$CPP $CPPFLAGS'
61179ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61180ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61181ac_compiler_gnu=$ac_cv_c_compiler_gnu
61182
61183
61184fi
61185
61186  fi
61187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61188$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61189
61190  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61191    for ac_func in fpclass
61192do :
61193  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61194if test "x$ac_cv_func_fpclass" = x""yes; then :
61195  cat >>confdefs.h <<_ACEOF
61196#define HAVE_FPCLASS 1
61197_ACEOF
61198
61199fi
61200done
61201
61202  else
61203
61204  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61205$as_echo_n "checking for _fpclass declaration... " >&6; }
61206  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61207    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
61208  $as_echo_n "(cached) " >&6
61209else
61210
61211
61212      ac_ext=cpp
61213ac_cpp='$CXXCPP $CPPFLAGS'
61214ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61215ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61216ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61217
61218      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61219/* end confdefs.h.  */
61220#include <math.h>
61221		      #ifdef HAVE_IEEEFP_H
61222		      #include <ieeefp.h>
61223		      #endif
61224
61225int
61226main ()
61227{
61228 _fpclass(0);
61229  ;
61230  return 0;
61231}
61232_ACEOF
61233if ac_fn_cxx_try_compile "$LINENO"; then :
61234  glibcxx_cv_func__fpclass_use=yes
61235else
61236  glibcxx_cv_func__fpclass_use=no
61237fi
61238rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61239      ac_ext=c
61240ac_cpp='$CPP $CPPFLAGS'
61241ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61242ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61243ac_compiler_gnu=$ac_cv_c_compiler_gnu
61244
61245
61246fi
61247
61248  fi
61249  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61250$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61251
61252    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61253      for ac_func in _fpclass
61254do :
61255  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61256if test "x$ac_cv_func__fpclass" = x""yes; then :
61257  cat >>confdefs.h <<_ACEOF
61258#define HAVE__FPCLASS 1
61259_ACEOF
61260
61261fi
61262done
61263
61264    fi
61265  fi
61266
61267
61268
61269
61270
61271  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61272$as_echo_n "checking for qfpclass declaration... " >&6; }
61273  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61274    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
61275  $as_echo_n "(cached) " >&6
61276else
61277
61278
61279      ac_ext=cpp
61280ac_cpp='$CXXCPP $CPPFLAGS'
61281ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61282ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61283ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61284
61285      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61286/* end confdefs.h.  */
61287#include <math.h>
61288		      #ifdef HAVE_IEEEFP_H
61289		      #include <ieeefp.h>
61290		      #endif
61291
61292int
61293main ()
61294{
61295 qfpclass(0);
61296  ;
61297  return 0;
61298}
61299_ACEOF
61300if ac_fn_cxx_try_compile "$LINENO"; then :
61301  glibcxx_cv_func_qfpclass_use=yes
61302else
61303  glibcxx_cv_func_qfpclass_use=no
61304fi
61305rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61306      ac_ext=c
61307ac_cpp='$CPP $CPPFLAGS'
61308ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61309ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61310ac_compiler_gnu=$ac_cv_c_compiler_gnu
61311
61312
61313fi
61314
61315  fi
61316  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61317$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61318
61319  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61320    for ac_func in qfpclass
61321do :
61322  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61323if test "x$ac_cv_func_qfpclass" = x""yes; then :
61324  cat >>confdefs.h <<_ACEOF
61325#define HAVE_QFPCLASS 1
61326_ACEOF
61327
61328fi
61329done
61330
61331  else
61332
61333  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61334$as_echo_n "checking for _qfpclass declaration... " >&6; }
61335  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61336    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
61337  $as_echo_n "(cached) " >&6
61338else
61339
61340
61341      ac_ext=cpp
61342ac_cpp='$CXXCPP $CPPFLAGS'
61343ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61344ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61345ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61346
61347      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61348/* end confdefs.h.  */
61349#include <math.h>
61350		      #ifdef HAVE_IEEEFP_H
61351		      #include <ieeefp.h>
61352		      #endif
61353
61354int
61355main ()
61356{
61357 _qfpclass(0);
61358  ;
61359  return 0;
61360}
61361_ACEOF
61362if ac_fn_cxx_try_compile "$LINENO"; then :
61363  glibcxx_cv_func__qfpclass_use=yes
61364else
61365  glibcxx_cv_func__qfpclass_use=no
61366fi
61367rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61368      ac_ext=c
61369ac_cpp='$CPP $CPPFLAGS'
61370ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61371ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61372ac_compiler_gnu=$ac_cv_c_compiler_gnu
61373
61374
61375fi
61376
61377  fi
61378  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61379$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61380
61381    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61382      for ac_func in _qfpclass
61383do :
61384  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61385if test "x$ac_cv_func__qfpclass" = x""yes; then :
61386  cat >>confdefs.h <<_ACEOF
61387#define HAVE__QFPCLASS 1
61388_ACEOF
61389
61390fi
61391done
61392
61393    fi
61394  fi
61395
61396
61397
61398
61399
61400  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61401$as_echo_n "checking for hypot declaration... " >&6; }
61402  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61403    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
61404  $as_echo_n "(cached) " >&6
61405else
61406
61407
61408      ac_ext=cpp
61409ac_cpp='$CXXCPP $CPPFLAGS'
61410ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61411ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61412ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61413
61414      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61415/* end confdefs.h.  */
61416#include <math.h>
61417int
61418main ()
61419{
61420 hypot(0, 0);
61421  ;
61422  return 0;
61423}
61424_ACEOF
61425if ac_fn_cxx_try_compile "$LINENO"; then :
61426  glibcxx_cv_func_hypot_use=yes
61427else
61428  glibcxx_cv_func_hypot_use=no
61429fi
61430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61431      ac_ext=c
61432ac_cpp='$CPP $CPPFLAGS'
61433ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61434ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61435ac_compiler_gnu=$ac_cv_c_compiler_gnu
61436
61437
61438fi
61439
61440  fi
61441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61442$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61443
61444  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61445    for ac_func in hypot
61446do :
61447  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61448if test "x$ac_cv_func_hypot" = x""yes; then :
61449  cat >>confdefs.h <<_ACEOF
61450#define HAVE_HYPOT 1
61451_ACEOF
61452
61453fi
61454done
61455
61456  else
61457
61458  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61459$as_echo_n "checking for _hypot declaration... " >&6; }
61460  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61461    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
61462  $as_echo_n "(cached) " >&6
61463else
61464
61465
61466      ac_ext=cpp
61467ac_cpp='$CXXCPP $CPPFLAGS'
61468ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61469ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61470ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61471
61472      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61473/* end confdefs.h.  */
61474#include <math.h>
61475int
61476main ()
61477{
61478 _hypot(0, 0);
61479  ;
61480  return 0;
61481}
61482_ACEOF
61483if ac_fn_cxx_try_compile "$LINENO"; then :
61484  glibcxx_cv_func__hypot_use=yes
61485else
61486  glibcxx_cv_func__hypot_use=no
61487fi
61488rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61489      ac_ext=c
61490ac_cpp='$CPP $CPPFLAGS'
61491ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61492ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61493ac_compiler_gnu=$ac_cv_c_compiler_gnu
61494
61495
61496fi
61497
61498  fi
61499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61500$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61501
61502    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61503      for ac_func in _hypot
61504do :
61505  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61506if test "x$ac_cv_func__hypot" = x""yes; then :
61507  cat >>confdefs.h <<_ACEOF
61508#define HAVE__HYPOT 1
61509_ACEOF
61510
61511fi
61512done
61513
61514    fi
61515  fi
61516
61517
61518
61519
61520
61521    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61522$as_echo_n "checking for float trig functions... " >&6; }
61523  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61524  $as_echo_n "(cached) " >&6
61525else
61526
61527
61528    ac_ext=cpp
61529ac_cpp='$CXXCPP $CPPFLAGS'
61530ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61531ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61532ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61533
61534    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61535/* end confdefs.h.  */
61536#include <math.h>
61537int
61538main ()
61539{
61540acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61541  ;
61542  return 0;
61543}
61544_ACEOF
61545if ac_fn_cxx_try_compile "$LINENO"; then :
61546  glibcxx_cv_func_float_trig_use=yes
61547else
61548  glibcxx_cv_func_float_trig_use=no
61549fi
61550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61551    ac_ext=c
61552ac_cpp='$CPP $CPPFLAGS'
61553ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61554ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61555ac_compiler_gnu=$ac_cv_c_compiler_gnu
61556
61557fi
61558
61559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61560$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61561  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61562    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61563do :
61564  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61565ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61566eval as_val=\$$as_ac_var
61567   if test "x$as_val" = x""yes; then :
61568  cat >>confdefs.h <<_ACEOF
61569#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61570_ACEOF
61571
61572fi
61573done
61574
61575  else
61576    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61577$as_echo_n "checking for _float trig functions... " >&6; }
61578    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61579  $as_echo_n "(cached) " >&6
61580else
61581
61582
61583      ac_ext=cpp
61584ac_cpp='$CXXCPP $CPPFLAGS'
61585ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61586ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61587ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61588
61589      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61590/* end confdefs.h.  */
61591#include <math.h>
61592int
61593main ()
61594{
61595_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61596  ;
61597  return 0;
61598}
61599_ACEOF
61600if ac_fn_cxx_try_compile "$LINENO"; then :
61601  glibcxx_cv_func__float_trig_use=yes
61602else
61603  glibcxx_cv_func__float_trig_use=no
61604fi
61605rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61606      ac_ext=c
61607ac_cpp='$CPP $CPPFLAGS'
61608ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61609ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61610ac_compiler_gnu=$ac_cv_c_compiler_gnu
61611
61612fi
61613
61614    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61615$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61616    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61617      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61618do :
61619  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61620ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61621eval as_val=\$$as_ac_var
61622   if test "x$as_val" = x""yes; then :
61623  cat >>confdefs.h <<_ACEOF
61624#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61625_ACEOF
61626
61627fi
61628done
61629
61630    fi
61631  fi
61632
61633
61634
61635
61636
61637    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61638$as_echo_n "checking for float round functions... " >&6; }
61639  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61640  $as_echo_n "(cached) " >&6
61641else
61642
61643
61644    ac_ext=cpp
61645ac_cpp='$CXXCPP $CPPFLAGS'
61646ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61647ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61648ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61649
61650    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61651/* end confdefs.h.  */
61652#include <math.h>
61653int
61654main ()
61655{
61656ceilf (0); floorf (0);
61657  ;
61658  return 0;
61659}
61660_ACEOF
61661if ac_fn_cxx_try_compile "$LINENO"; then :
61662  glibcxx_cv_func_float_round_use=yes
61663else
61664  glibcxx_cv_func_float_round_use=no
61665fi
61666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61667    ac_ext=c
61668ac_cpp='$CPP $CPPFLAGS'
61669ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61670ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61671ac_compiler_gnu=$ac_cv_c_compiler_gnu
61672
61673fi
61674
61675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61676$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61677  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61678    for ac_func in ceilf floorf
61679do :
61680  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61681ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61682eval as_val=\$$as_ac_var
61683   if test "x$as_val" = x""yes; then :
61684  cat >>confdefs.h <<_ACEOF
61685#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61686_ACEOF
61687
61688fi
61689done
61690
61691  else
61692    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61693$as_echo_n "checking for _float round functions... " >&6; }
61694    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61695  $as_echo_n "(cached) " >&6
61696else
61697
61698
61699      ac_ext=cpp
61700ac_cpp='$CXXCPP $CPPFLAGS'
61701ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61702ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61703ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61704
61705      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61706/* end confdefs.h.  */
61707#include <math.h>
61708int
61709main ()
61710{
61711_ceilf (0); _floorf (0);
61712  ;
61713  return 0;
61714}
61715_ACEOF
61716if ac_fn_cxx_try_compile "$LINENO"; then :
61717  glibcxx_cv_func__float_round_use=yes
61718else
61719  glibcxx_cv_func__float_round_use=no
61720fi
61721rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61722      ac_ext=c
61723ac_cpp='$CPP $CPPFLAGS'
61724ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61725ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61726ac_compiler_gnu=$ac_cv_c_compiler_gnu
61727
61728fi
61729
61730    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61731$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61732    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61733      for ac_func in _ceilf _floorf
61734do :
61735  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61736ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61737eval as_val=\$$as_ac_var
61738   if test "x$as_val" = x""yes; then :
61739  cat >>confdefs.h <<_ACEOF
61740#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61741_ACEOF
61742
61743fi
61744done
61745
61746    fi
61747  fi
61748
61749
61750
61751
61752
61753
61754  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61755$as_echo_n "checking for expf declaration... " >&6; }
61756  if test x${glibcxx_cv_func_expf_use+set} != xset; then
61757    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61758  $as_echo_n "(cached) " >&6
61759else
61760
61761
61762      ac_ext=cpp
61763ac_cpp='$CXXCPP $CPPFLAGS'
61764ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61765ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61766ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61767
61768      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61769/* end confdefs.h.  */
61770#include <math.h>
61771		      #ifdef HAVE_IEEEFP_H
61772		      #include <ieeefp.h>
61773		      #endif
61774
61775int
61776main ()
61777{
61778 expf(0);
61779  ;
61780  return 0;
61781}
61782_ACEOF
61783if ac_fn_cxx_try_compile "$LINENO"; then :
61784  glibcxx_cv_func_expf_use=yes
61785else
61786  glibcxx_cv_func_expf_use=no
61787fi
61788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61789      ac_ext=c
61790ac_cpp='$CPP $CPPFLAGS'
61791ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61792ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61793ac_compiler_gnu=$ac_cv_c_compiler_gnu
61794
61795
61796fi
61797
61798  fi
61799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61800$as_echo "$glibcxx_cv_func_expf_use" >&6; }
61801
61802  if test x$glibcxx_cv_func_expf_use = x"yes"; then
61803    for ac_func in expf
61804do :
61805  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61806if test "x$ac_cv_func_expf" = x""yes; then :
61807  cat >>confdefs.h <<_ACEOF
61808#define HAVE_EXPF 1
61809_ACEOF
61810
61811fi
61812done
61813
61814  else
61815
61816  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61817$as_echo_n "checking for _expf declaration... " >&6; }
61818  if test x${glibcxx_cv_func__expf_use+set} != xset; then
61819    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61820  $as_echo_n "(cached) " >&6
61821else
61822
61823
61824      ac_ext=cpp
61825ac_cpp='$CXXCPP $CPPFLAGS'
61826ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61827ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61828ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61829
61830      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61831/* end confdefs.h.  */
61832#include <math.h>
61833		      #ifdef HAVE_IEEEFP_H
61834		      #include <ieeefp.h>
61835		      #endif
61836
61837int
61838main ()
61839{
61840 _expf(0);
61841  ;
61842  return 0;
61843}
61844_ACEOF
61845if ac_fn_cxx_try_compile "$LINENO"; then :
61846  glibcxx_cv_func__expf_use=yes
61847else
61848  glibcxx_cv_func__expf_use=no
61849fi
61850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61851      ac_ext=c
61852ac_cpp='$CPP $CPPFLAGS'
61853ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61854ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61855ac_compiler_gnu=$ac_cv_c_compiler_gnu
61856
61857
61858fi
61859
61860  fi
61861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61862$as_echo "$glibcxx_cv_func__expf_use" >&6; }
61863
61864    if test x$glibcxx_cv_func__expf_use = x"yes"; then
61865      for ac_func in _expf
61866do :
61867  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61868if test "x$ac_cv_func__expf" = x""yes; then :
61869  cat >>confdefs.h <<_ACEOF
61870#define HAVE__EXPF 1
61871_ACEOF
61872
61873fi
61874done
61875
61876    fi
61877  fi
61878
61879
61880
61881
61882
61883  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61884$as_echo_n "checking for isnanf declaration... " >&6; }
61885  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61886    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61887  $as_echo_n "(cached) " >&6
61888else
61889
61890
61891      ac_ext=cpp
61892ac_cpp='$CXXCPP $CPPFLAGS'
61893ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61894ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61895ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61896
61897      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61898/* end confdefs.h.  */
61899#include <math.h>
61900		      #ifdef HAVE_IEEEFP_H
61901		      #include <ieeefp.h>
61902		      #endif
61903
61904int
61905main ()
61906{
61907 isnanf(0);
61908  ;
61909  return 0;
61910}
61911_ACEOF
61912if ac_fn_cxx_try_compile "$LINENO"; then :
61913  glibcxx_cv_func_isnanf_use=yes
61914else
61915  glibcxx_cv_func_isnanf_use=no
61916fi
61917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61918      ac_ext=c
61919ac_cpp='$CPP $CPPFLAGS'
61920ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61921ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61922ac_compiler_gnu=$ac_cv_c_compiler_gnu
61923
61924
61925fi
61926
61927  fi
61928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61929$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61930
61931  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61932    for ac_func in isnanf
61933do :
61934  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61935if test "x$ac_cv_func_isnanf" = x""yes; then :
61936  cat >>confdefs.h <<_ACEOF
61937#define HAVE_ISNANF 1
61938_ACEOF
61939
61940fi
61941done
61942
61943  else
61944
61945  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61946$as_echo_n "checking for _isnanf declaration... " >&6; }
61947  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61948    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61949  $as_echo_n "(cached) " >&6
61950else
61951
61952
61953      ac_ext=cpp
61954ac_cpp='$CXXCPP $CPPFLAGS'
61955ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61956ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61957ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61958
61959      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61960/* end confdefs.h.  */
61961#include <math.h>
61962		      #ifdef HAVE_IEEEFP_H
61963		      #include <ieeefp.h>
61964		      #endif
61965
61966int
61967main ()
61968{
61969 _isnanf(0);
61970  ;
61971  return 0;
61972}
61973_ACEOF
61974if ac_fn_cxx_try_compile "$LINENO"; then :
61975  glibcxx_cv_func__isnanf_use=yes
61976else
61977  glibcxx_cv_func__isnanf_use=no
61978fi
61979rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61980      ac_ext=c
61981ac_cpp='$CPP $CPPFLAGS'
61982ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61983ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61984ac_compiler_gnu=$ac_cv_c_compiler_gnu
61985
61986
61987fi
61988
61989  fi
61990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61991$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61992
61993    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61994      for ac_func in _isnanf
61995do :
61996  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61997if test "x$ac_cv_func__isnanf" = x""yes; then :
61998  cat >>confdefs.h <<_ACEOF
61999#define HAVE__ISNANF 1
62000_ACEOF
62001
62002fi
62003done
62004
62005    fi
62006  fi
62007
62008
62009
62010
62011
62012  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62013$as_echo_n "checking for isinff declaration... " >&6; }
62014  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62015    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
62016  $as_echo_n "(cached) " >&6
62017else
62018
62019
62020      ac_ext=cpp
62021ac_cpp='$CXXCPP $CPPFLAGS'
62022ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62023ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62024ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62025
62026      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62027/* end confdefs.h.  */
62028#include <math.h>
62029		      #ifdef HAVE_IEEEFP_H
62030		      #include <ieeefp.h>
62031		      #endif
62032
62033int
62034main ()
62035{
62036 isinff(0);
62037  ;
62038  return 0;
62039}
62040_ACEOF
62041if ac_fn_cxx_try_compile "$LINENO"; then :
62042  glibcxx_cv_func_isinff_use=yes
62043else
62044  glibcxx_cv_func_isinff_use=no
62045fi
62046rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62047      ac_ext=c
62048ac_cpp='$CPP $CPPFLAGS'
62049ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62050ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62051ac_compiler_gnu=$ac_cv_c_compiler_gnu
62052
62053
62054fi
62055
62056  fi
62057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62058$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62059
62060  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62061    for ac_func in isinff
62062do :
62063  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62064if test "x$ac_cv_func_isinff" = x""yes; then :
62065  cat >>confdefs.h <<_ACEOF
62066#define HAVE_ISINFF 1
62067_ACEOF
62068
62069fi
62070done
62071
62072  else
62073
62074  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62075$as_echo_n "checking for _isinff declaration... " >&6; }
62076  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62077    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
62078  $as_echo_n "(cached) " >&6
62079else
62080
62081
62082      ac_ext=cpp
62083ac_cpp='$CXXCPP $CPPFLAGS'
62084ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62085ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62086ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62087
62088      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62089/* end confdefs.h.  */
62090#include <math.h>
62091		      #ifdef HAVE_IEEEFP_H
62092		      #include <ieeefp.h>
62093		      #endif
62094
62095int
62096main ()
62097{
62098 _isinff(0);
62099  ;
62100  return 0;
62101}
62102_ACEOF
62103if ac_fn_cxx_try_compile "$LINENO"; then :
62104  glibcxx_cv_func__isinff_use=yes
62105else
62106  glibcxx_cv_func__isinff_use=no
62107fi
62108rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62109      ac_ext=c
62110ac_cpp='$CPP $CPPFLAGS'
62111ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62112ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62113ac_compiler_gnu=$ac_cv_c_compiler_gnu
62114
62115
62116fi
62117
62118  fi
62119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62120$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62121
62122    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62123      for ac_func in _isinff
62124do :
62125  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62126if test "x$ac_cv_func__isinff" = x""yes; then :
62127  cat >>confdefs.h <<_ACEOF
62128#define HAVE__ISINFF 1
62129_ACEOF
62130
62131fi
62132done
62133
62134    fi
62135  fi
62136
62137
62138
62139
62140
62141  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62142$as_echo_n "checking for atan2f declaration... " >&6; }
62143  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62144    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
62145  $as_echo_n "(cached) " >&6
62146else
62147
62148
62149      ac_ext=cpp
62150ac_cpp='$CXXCPP $CPPFLAGS'
62151ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62152ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62153ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62154
62155      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62156/* end confdefs.h.  */
62157#include <math.h>
62158int
62159main ()
62160{
62161 atan2f(0, 0);
62162  ;
62163  return 0;
62164}
62165_ACEOF
62166if ac_fn_cxx_try_compile "$LINENO"; then :
62167  glibcxx_cv_func_atan2f_use=yes
62168else
62169  glibcxx_cv_func_atan2f_use=no
62170fi
62171rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62172      ac_ext=c
62173ac_cpp='$CPP $CPPFLAGS'
62174ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62175ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62176ac_compiler_gnu=$ac_cv_c_compiler_gnu
62177
62178
62179fi
62180
62181  fi
62182  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62183$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62184
62185  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62186    for ac_func in atan2f
62187do :
62188  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62189if test "x$ac_cv_func_atan2f" = x""yes; then :
62190  cat >>confdefs.h <<_ACEOF
62191#define HAVE_ATAN2F 1
62192_ACEOF
62193
62194fi
62195done
62196
62197  else
62198
62199  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62200$as_echo_n "checking for _atan2f declaration... " >&6; }
62201  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62202    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
62203  $as_echo_n "(cached) " >&6
62204else
62205
62206
62207      ac_ext=cpp
62208ac_cpp='$CXXCPP $CPPFLAGS'
62209ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62210ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62211ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62212
62213      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62214/* end confdefs.h.  */
62215#include <math.h>
62216int
62217main ()
62218{
62219 _atan2f(0, 0);
62220  ;
62221  return 0;
62222}
62223_ACEOF
62224if ac_fn_cxx_try_compile "$LINENO"; then :
62225  glibcxx_cv_func__atan2f_use=yes
62226else
62227  glibcxx_cv_func__atan2f_use=no
62228fi
62229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62230      ac_ext=c
62231ac_cpp='$CPP $CPPFLAGS'
62232ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62233ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62234ac_compiler_gnu=$ac_cv_c_compiler_gnu
62235
62236
62237fi
62238
62239  fi
62240  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62241$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62242
62243    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62244      for ac_func in _atan2f
62245do :
62246  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62247if test "x$ac_cv_func__atan2f" = x""yes; then :
62248  cat >>confdefs.h <<_ACEOF
62249#define HAVE__ATAN2F 1
62250_ACEOF
62251
62252fi
62253done
62254
62255    fi
62256  fi
62257
62258
62259
62260
62261
62262  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62263$as_echo_n "checking for fabsf declaration... " >&6; }
62264  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62265    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
62266  $as_echo_n "(cached) " >&6
62267else
62268
62269
62270      ac_ext=cpp
62271ac_cpp='$CXXCPP $CPPFLAGS'
62272ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62273ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62274ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62275
62276      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62277/* end confdefs.h.  */
62278#include <math.h>
62279		      #ifdef HAVE_IEEEFP_H
62280		      #include <ieeefp.h>
62281		      #endif
62282
62283int
62284main ()
62285{
62286 fabsf(0);
62287  ;
62288  return 0;
62289}
62290_ACEOF
62291if ac_fn_cxx_try_compile "$LINENO"; then :
62292  glibcxx_cv_func_fabsf_use=yes
62293else
62294  glibcxx_cv_func_fabsf_use=no
62295fi
62296rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62297      ac_ext=c
62298ac_cpp='$CPP $CPPFLAGS'
62299ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62300ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62301ac_compiler_gnu=$ac_cv_c_compiler_gnu
62302
62303
62304fi
62305
62306  fi
62307  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62308$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62309
62310  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62311    for ac_func in fabsf
62312do :
62313  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62314if test "x$ac_cv_func_fabsf" = x""yes; then :
62315  cat >>confdefs.h <<_ACEOF
62316#define HAVE_FABSF 1
62317_ACEOF
62318
62319fi
62320done
62321
62322  else
62323
62324  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62325$as_echo_n "checking for _fabsf declaration... " >&6; }
62326  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62327    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
62328  $as_echo_n "(cached) " >&6
62329else
62330
62331
62332      ac_ext=cpp
62333ac_cpp='$CXXCPP $CPPFLAGS'
62334ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62335ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62336ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62337
62338      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62339/* end confdefs.h.  */
62340#include <math.h>
62341		      #ifdef HAVE_IEEEFP_H
62342		      #include <ieeefp.h>
62343		      #endif
62344
62345int
62346main ()
62347{
62348 _fabsf(0);
62349  ;
62350  return 0;
62351}
62352_ACEOF
62353if ac_fn_cxx_try_compile "$LINENO"; then :
62354  glibcxx_cv_func__fabsf_use=yes
62355else
62356  glibcxx_cv_func__fabsf_use=no
62357fi
62358rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62359      ac_ext=c
62360ac_cpp='$CPP $CPPFLAGS'
62361ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62362ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62363ac_compiler_gnu=$ac_cv_c_compiler_gnu
62364
62365
62366fi
62367
62368  fi
62369  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62370$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62371
62372    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62373      for ac_func in _fabsf
62374do :
62375  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62376if test "x$ac_cv_func__fabsf" = x""yes; then :
62377  cat >>confdefs.h <<_ACEOF
62378#define HAVE__FABSF 1
62379_ACEOF
62380
62381fi
62382done
62383
62384    fi
62385  fi
62386
62387
62388
62389
62390
62391  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62392$as_echo_n "checking for fmodf declaration... " >&6; }
62393  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62394    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
62395  $as_echo_n "(cached) " >&6
62396else
62397
62398
62399      ac_ext=cpp
62400ac_cpp='$CXXCPP $CPPFLAGS'
62401ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62402ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62403ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62404
62405      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62406/* end confdefs.h.  */
62407#include <math.h>
62408int
62409main ()
62410{
62411 fmodf(0, 0);
62412  ;
62413  return 0;
62414}
62415_ACEOF
62416if ac_fn_cxx_try_compile "$LINENO"; then :
62417  glibcxx_cv_func_fmodf_use=yes
62418else
62419  glibcxx_cv_func_fmodf_use=no
62420fi
62421rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62422      ac_ext=c
62423ac_cpp='$CPP $CPPFLAGS'
62424ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62425ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62426ac_compiler_gnu=$ac_cv_c_compiler_gnu
62427
62428
62429fi
62430
62431  fi
62432  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62433$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62434
62435  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62436    for ac_func in fmodf
62437do :
62438  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62439if test "x$ac_cv_func_fmodf" = x""yes; then :
62440  cat >>confdefs.h <<_ACEOF
62441#define HAVE_FMODF 1
62442_ACEOF
62443
62444fi
62445done
62446
62447  else
62448
62449  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62450$as_echo_n "checking for _fmodf declaration... " >&6; }
62451  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62452    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
62453  $as_echo_n "(cached) " >&6
62454else
62455
62456
62457      ac_ext=cpp
62458ac_cpp='$CXXCPP $CPPFLAGS'
62459ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62460ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62461ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62462
62463      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62464/* end confdefs.h.  */
62465#include <math.h>
62466int
62467main ()
62468{
62469 _fmodf(0, 0);
62470  ;
62471  return 0;
62472}
62473_ACEOF
62474if ac_fn_cxx_try_compile "$LINENO"; then :
62475  glibcxx_cv_func__fmodf_use=yes
62476else
62477  glibcxx_cv_func__fmodf_use=no
62478fi
62479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62480      ac_ext=c
62481ac_cpp='$CPP $CPPFLAGS'
62482ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62483ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62484ac_compiler_gnu=$ac_cv_c_compiler_gnu
62485
62486
62487fi
62488
62489  fi
62490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62491$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62492
62493    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62494      for ac_func in _fmodf
62495do :
62496  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62497if test "x$ac_cv_func__fmodf" = x""yes; then :
62498  cat >>confdefs.h <<_ACEOF
62499#define HAVE__FMODF 1
62500_ACEOF
62501
62502fi
62503done
62504
62505    fi
62506  fi
62507
62508
62509
62510
62511
62512  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62513$as_echo_n "checking for frexpf declaration... " >&6; }
62514  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62515    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62516  $as_echo_n "(cached) " >&6
62517else
62518
62519
62520      ac_ext=cpp
62521ac_cpp='$CXXCPP $CPPFLAGS'
62522ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62523ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62524ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62525
62526      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62527/* end confdefs.h.  */
62528#include <math.h>
62529int
62530main ()
62531{
62532 frexpf(0, 0);
62533  ;
62534  return 0;
62535}
62536_ACEOF
62537if ac_fn_cxx_try_compile "$LINENO"; then :
62538  glibcxx_cv_func_frexpf_use=yes
62539else
62540  glibcxx_cv_func_frexpf_use=no
62541fi
62542rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62543      ac_ext=c
62544ac_cpp='$CPP $CPPFLAGS'
62545ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62546ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62547ac_compiler_gnu=$ac_cv_c_compiler_gnu
62548
62549
62550fi
62551
62552  fi
62553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62554$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62555
62556  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62557    for ac_func in frexpf
62558do :
62559  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62560if test "x$ac_cv_func_frexpf" = x""yes; then :
62561  cat >>confdefs.h <<_ACEOF
62562#define HAVE_FREXPF 1
62563_ACEOF
62564
62565fi
62566done
62567
62568  else
62569
62570  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62571$as_echo_n "checking for _frexpf declaration... " >&6; }
62572  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62573    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62574  $as_echo_n "(cached) " >&6
62575else
62576
62577
62578      ac_ext=cpp
62579ac_cpp='$CXXCPP $CPPFLAGS'
62580ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62581ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62582ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62583
62584      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62585/* end confdefs.h.  */
62586#include <math.h>
62587int
62588main ()
62589{
62590 _frexpf(0, 0);
62591  ;
62592  return 0;
62593}
62594_ACEOF
62595if ac_fn_cxx_try_compile "$LINENO"; then :
62596  glibcxx_cv_func__frexpf_use=yes
62597else
62598  glibcxx_cv_func__frexpf_use=no
62599fi
62600rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62601      ac_ext=c
62602ac_cpp='$CPP $CPPFLAGS'
62603ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62604ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62605ac_compiler_gnu=$ac_cv_c_compiler_gnu
62606
62607
62608fi
62609
62610  fi
62611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62612$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62613
62614    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62615      for ac_func in _frexpf
62616do :
62617  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62618if test "x$ac_cv_func__frexpf" = x""yes; then :
62619  cat >>confdefs.h <<_ACEOF
62620#define HAVE__FREXPF 1
62621_ACEOF
62622
62623fi
62624done
62625
62626    fi
62627  fi
62628
62629
62630
62631
62632
62633  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62634$as_echo_n "checking for hypotf declaration... " >&6; }
62635  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62636    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62637  $as_echo_n "(cached) " >&6
62638else
62639
62640
62641      ac_ext=cpp
62642ac_cpp='$CXXCPP $CPPFLAGS'
62643ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62644ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62645ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62646
62647      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62648/* end confdefs.h.  */
62649#include <math.h>
62650int
62651main ()
62652{
62653 hypotf(0, 0);
62654  ;
62655  return 0;
62656}
62657_ACEOF
62658if ac_fn_cxx_try_compile "$LINENO"; then :
62659  glibcxx_cv_func_hypotf_use=yes
62660else
62661  glibcxx_cv_func_hypotf_use=no
62662fi
62663rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62664      ac_ext=c
62665ac_cpp='$CPP $CPPFLAGS'
62666ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62667ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62668ac_compiler_gnu=$ac_cv_c_compiler_gnu
62669
62670
62671fi
62672
62673  fi
62674  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62675$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62676
62677  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62678    for ac_func in hypotf
62679do :
62680  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62681if test "x$ac_cv_func_hypotf" = x""yes; then :
62682  cat >>confdefs.h <<_ACEOF
62683#define HAVE_HYPOTF 1
62684_ACEOF
62685
62686fi
62687done
62688
62689  else
62690
62691  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62692$as_echo_n "checking for _hypotf declaration... " >&6; }
62693  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62694    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62695  $as_echo_n "(cached) " >&6
62696else
62697
62698
62699      ac_ext=cpp
62700ac_cpp='$CXXCPP $CPPFLAGS'
62701ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62702ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62703ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62704
62705      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62706/* end confdefs.h.  */
62707#include <math.h>
62708int
62709main ()
62710{
62711 _hypotf(0, 0);
62712  ;
62713  return 0;
62714}
62715_ACEOF
62716if ac_fn_cxx_try_compile "$LINENO"; then :
62717  glibcxx_cv_func__hypotf_use=yes
62718else
62719  glibcxx_cv_func__hypotf_use=no
62720fi
62721rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62722      ac_ext=c
62723ac_cpp='$CPP $CPPFLAGS'
62724ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62725ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62726ac_compiler_gnu=$ac_cv_c_compiler_gnu
62727
62728
62729fi
62730
62731  fi
62732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62733$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62734
62735    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62736      for ac_func in _hypotf
62737do :
62738  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62739if test "x$ac_cv_func__hypotf" = x""yes; then :
62740  cat >>confdefs.h <<_ACEOF
62741#define HAVE__HYPOTF 1
62742_ACEOF
62743
62744fi
62745done
62746
62747    fi
62748  fi
62749
62750
62751
62752
62753
62754  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62755$as_echo_n "checking for ldexpf declaration... " >&6; }
62756  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62757    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62758  $as_echo_n "(cached) " >&6
62759else
62760
62761
62762      ac_ext=cpp
62763ac_cpp='$CXXCPP $CPPFLAGS'
62764ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62765ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62766ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62767
62768      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62769/* end confdefs.h.  */
62770#include <math.h>
62771int
62772main ()
62773{
62774 ldexpf(0, 0);
62775  ;
62776  return 0;
62777}
62778_ACEOF
62779if ac_fn_cxx_try_compile "$LINENO"; then :
62780  glibcxx_cv_func_ldexpf_use=yes
62781else
62782  glibcxx_cv_func_ldexpf_use=no
62783fi
62784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62785      ac_ext=c
62786ac_cpp='$CPP $CPPFLAGS'
62787ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62788ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62789ac_compiler_gnu=$ac_cv_c_compiler_gnu
62790
62791
62792fi
62793
62794  fi
62795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62796$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62797
62798  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62799    for ac_func in ldexpf
62800do :
62801  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62802if test "x$ac_cv_func_ldexpf" = x""yes; then :
62803  cat >>confdefs.h <<_ACEOF
62804#define HAVE_LDEXPF 1
62805_ACEOF
62806
62807fi
62808done
62809
62810  else
62811
62812  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62813$as_echo_n "checking for _ldexpf declaration... " >&6; }
62814  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62815    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62816  $as_echo_n "(cached) " >&6
62817else
62818
62819
62820      ac_ext=cpp
62821ac_cpp='$CXXCPP $CPPFLAGS'
62822ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62823ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62824ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62825
62826      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62827/* end confdefs.h.  */
62828#include <math.h>
62829int
62830main ()
62831{
62832 _ldexpf(0, 0);
62833  ;
62834  return 0;
62835}
62836_ACEOF
62837if ac_fn_cxx_try_compile "$LINENO"; then :
62838  glibcxx_cv_func__ldexpf_use=yes
62839else
62840  glibcxx_cv_func__ldexpf_use=no
62841fi
62842rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62843      ac_ext=c
62844ac_cpp='$CPP $CPPFLAGS'
62845ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62846ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62847ac_compiler_gnu=$ac_cv_c_compiler_gnu
62848
62849
62850fi
62851
62852  fi
62853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62854$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62855
62856    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62857      for ac_func in _ldexpf
62858do :
62859  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62860if test "x$ac_cv_func__ldexpf" = x""yes; then :
62861  cat >>confdefs.h <<_ACEOF
62862#define HAVE__LDEXPF 1
62863_ACEOF
62864
62865fi
62866done
62867
62868    fi
62869  fi
62870
62871
62872
62873
62874
62875  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62876$as_echo_n "checking for logf declaration... " >&6; }
62877  if test x${glibcxx_cv_func_logf_use+set} != xset; then
62878    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62879  $as_echo_n "(cached) " >&6
62880else
62881
62882
62883      ac_ext=cpp
62884ac_cpp='$CXXCPP $CPPFLAGS'
62885ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62886ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62887ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62888
62889      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62890/* end confdefs.h.  */
62891#include <math.h>
62892		      #ifdef HAVE_IEEEFP_H
62893		      #include <ieeefp.h>
62894		      #endif
62895
62896int
62897main ()
62898{
62899 logf(0);
62900  ;
62901  return 0;
62902}
62903_ACEOF
62904if ac_fn_cxx_try_compile "$LINENO"; then :
62905  glibcxx_cv_func_logf_use=yes
62906else
62907  glibcxx_cv_func_logf_use=no
62908fi
62909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62910      ac_ext=c
62911ac_cpp='$CPP $CPPFLAGS'
62912ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62913ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62914ac_compiler_gnu=$ac_cv_c_compiler_gnu
62915
62916
62917fi
62918
62919  fi
62920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62921$as_echo "$glibcxx_cv_func_logf_use" >&6; }
62922
62923  if test x$glibcxx_cv_func_logf_use = x"yes"; then
62924    for ac_func in logf
62925do :
62926  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62927if test "x$ac_cv_func_logf" = x""yes; then :
62928  cat >>confdefs.h <<_ACEOF
62929#define HAVE_LOGF 1
62930_ACEOF
62931
62932fi
62933done
62934
62935  else
62936
62937  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62938$as_echo_n "checking for _logf declaration... " >&6; }
62939  if test x${glibcxx_cv_func__logf_use+set} != xset; then
62940    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62941  $as_echo_n "(cached) " >&6
62942else
62943
62944
62945      ac_ext=cpp
62946ac_cpp='$CXXCPP $CPPFLAGS'
62947ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62948ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62949ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62950
62951      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62952/* end confdefs.h.  */
62953#include <math.h>
62954		      #ifdef HAVE_IEEEFP_H
62955		      #include <ieeefp.h>
62956		      #endif
62957
62958int
62959main ()
62960{
62961 _logf(0);
62962  ;
62963  return 0;
62964}
62965_ACEOF
62966if ac_fn_cxx_try_compile "$LINENO"; then :
62967  glibcxx_cv_func__logf_use=yes
62968else
62969  glibcxx_cv_func__logf_use=no
62970fi
62971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62972      ac_ext=c
62973ac_cpp='$CPP $CPPFLAGS'
62974ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62975ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62976ac_compiler_gnu=$ac_cv_c_compiler_gnu
62977
62978
62979fi
62980
62981  fi
62982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62983$as_echo "$glibcxx_cv_func__logf_use" >&6; }
62984
62985    if test x$glibcxx_cv_func__logf_use = x"yes"; then
62986      for ac_func in _logf
62987do :
62988  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62989if test "x$ac_cv_func__logf" = x""yes; then :
62990  cat >>confdefs.h <<_ACEOF
62991#define HAVE__LOGF 1
62992_ACEOF
62993
62994fi
62995done
62996
62997    fi
62998  fi
62999
63000
63001
63002
63003
63004  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63005$as_echo_n "checking for log10f declaration... " >&6; }
63006  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63007    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
63008  $as_echo_n "(cached) " >&6
63009else
63010
63011
63012      ac_ext=cpp
63013ac_cpp='$CXXCPP $CPPFLAGS'
63014ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63015ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63016ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63017
63018      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63019/* end confdefs.h.  */
63020#include <math.h>
63021		      #ifdef HAVE_IEEEFP_H
63022		      #include <ieeefp.h>
63023		      #endif
63024
63025int
63026main ()
63027{
63028 log10f(0);
63029  ;
63030  return 0;
63031}
63032_ACEOF
63033if ac_fn_cxx_try_compile "$LINENO"; then :
63034  glibcxx_cv_func_log10f_use=yes
63035else
63036  glibcxx_cv_func_log10f_use=no
63037fi
63038rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63039      ac_ext=c
63040ac_cpp='$CPP $CPPFLAGS'
63041ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63042ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63043ac_compiler_gnu=$ac_cv_c_compiler_gnu
63044
63045
63046fi
63047
63048  fi
63049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63050$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63051
63052  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63053    for ac_func in log10f
63054do :
63055  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63056if test "x$ac_cv_func_log10f" = x""yes; then :
63057  cat >>confdefs.h <<_ACEOF
63058#define HAVE_LOG10F 1
63059_ACEOF
63060
63061fi
63062done
63063
63064  else
63065
63066  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63067$as_echo_n "checking for _log10f declaration... " >&6; }
63068  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63069    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
63070  $as_echo_n "(cached) " >&6
63071else
63072
63073
63074      ac_ext=cpp
63075ac_cpp='$CXXCPP $CPPFLAGS'
63076ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63077ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63078ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63079
63080      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63081/* end confdefs.h.  */
63082#include <math.h>
63083		      #ifdef HAVE_IEEEFP_H
63084		      #include <ieeefp.h>
63085		      #endif
63086
63087int
63088main ()
63089{
63090 _log10f(0);
63091  ;
63092  return 0;
63093}
63094_ACEOF
63095if ac_fn_cxx_try_compile "$LINENO"; then :
63096  glibcxx_cv_func__log10f_use=yes
63097else
63098  glibcxx_cv_func__log10f_use=no
63099fi
63100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63101      ac_ext=c
63102ac_cpp='$CPP $CPPFLAGS'
63103ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63104ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63105ac_compiler_gnu=$ac_cv_c_compiler_gnu
63106
63107
63108fi
63109
63110  fi
63111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63112$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63113
63114    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63115      for ac_func in _log10f
63116do :
63117  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63118if test "x$ac_cv_func__log10f" = x""yes; then :
63119  cat >>confdefs.h <<_ACEOF
63120#define HAVE__LOG10F 1
63121_ACEOF
63122
63123fi
63124done
63125
63126    fi
63127  fi
63128
63129
63130
63131
63132
63133  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63134$as_echo_n "checking for modff declaration... " >&6; }
63135  if test x${glibcxx_cv_func_modff_use+set} != xset; then
63136    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
63137  $as_echo_n "(cached) " >&6
63138else
63139
63140
63141      ac_ext=cpp
63142ac_cpp='$CXXCPP $CPPFLAGS'
63143ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63144ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63145ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63146
63147      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63148/* end confdefs.h.  */
63149#include <math.h>
63150int
63151main ()
63152{
63153 modff(0, 0);
63154  ;
63155  return 0;
63156}
63157_ACEOF
63158if ac_fn_cxx_try_compile "$LINENO"; then :
63159  glibcxx_cv_func_modff_use=yes
63160else
63161  glibcxx_cv_func_modff_use=no
63162fi
63163rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63164      ac_ext=c
63165ac_cpp='$CPP $CPPFLAGS'
63166ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63167ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63168ac_compiler_gnu=$ac_cv_c_compiler_gnu
63169
63170
63171fi
63172
63173  fi
63174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63175$as_echo "$glibcxx_cv_func_modff_use" >&6; }
63176
63177  if test x$glibcxx_cv_func_modff_use = x"yes"; then
63178    for ac_func in modff
63179do :
63180  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63181if test "x$ac_cv_func_modff" = x""yes; then :
63182  cat >>confdefs.h <<_ACEOF
63183#define HAVE_MODFF 1
63184_ACEOF
63185
63186fi
63187done
63188
63189  else
63190
63191  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63192$as_echo_n "checking for _modff declaration... " >&6; }
63193  if test x${glibcxx_cv_func__modff_use+set} != xset; then
63194    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
63195  $as_echo_n "(cached) " >&6
63196else
63197
63198
63199      ac_ext=cpp
63200ac_cpp='$CXXCPP $CPPFLAGS'
63201ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63202ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63203ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63204
63205      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63206/* end confdefs.h.  */
63207#include <math.h>
63208int
63209main ()
63210{
63211 _modff(0, 0);
63212  ;
63213  return 0;
63214}
63215_ACEOF
63216if ac_fn_cxx_try_compile "$LINENO"; then :
63217  glibcxx_cv_func__modff_use=yes
63218else
63219  glibcxx_cv_func__modff_use=no
63220fi
63221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63222      ac_ext=c
63223ac_cpp='$CPP $CPPFLAGS'
63224ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63225ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63226ac_compiler_gnu=$ac_cv_c_compiler_gnu
63227
63228
63229fi
63230
63231  fi
63232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63233$as_echo "$glibcxx_cv_func__modff_use" >&6; }
63234
63235    if test x$glibcxx_cv_func__modff_use = x"yes"; then
63236      for ac_func in _modff
63237do :
63238  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63239if test "x$ac_cv_func__modff" = x""yes; then :
63240  cat >>confdefs.h <<_ACEOF
63241#define HAVE__MODFF 1
63242_ACEOF
63243
63244fi
63245done
63246
63247    fi
63248  fi
63249
63250
63251
63252
63253
63254  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63255$as_echo_n "checking for modf declaration... " >&6; }
63256  if test x${glibcxx_cv_func_modf_use+set} != xset; then
63257    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
63258  $as_echo_n "(cached) " >&6
63259else
63260
63261
63262      ac_ext=cpp
63263ac_cpp='$CXXCPP $CPPFLAGS'
63264ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63265ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63266ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63267
63268      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63269/* end confdefs.h.  */
63270#include <math.h>
63271int
63272main ()
63273{
63274 modf(0, 0);
63275  ;
63276  return 0;
63277}
63278_ACEOF
63279if ac_fn_cxx_try_compile "$LINENO"; then :
63280  glibcxx_cv_func_modf_use=yes
63281else
63282  glibcxx_cv_func_modf_use=no
63283fi
63284rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63285      ac_ext=c
63286ac_cpp='$CPP $CPPFLAGS'
63287ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63288ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63289ac_compiler_gnu=$ac_cv_c_compiler_gnu
63290
63291
63292fi
63293
63294  fi
63295  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63296$as_echo "$glibcxx_cv_func_modf_use" >&6; }
63297
63298  if test x$glibcxx_cv_func_modf_use = x"yes"; then
63299    for ac_func in modf
63300do :
63301  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63302if test "x$ac_cv_func_modf" = x""yes; then :
63303  cat >>confdefs.h <<_ACEOF
63304#define HAVE_MODF 1
63305_ACEOF
63306
63307fi
63308done
63309
63310  else
63311
63312  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63313$as_echo_n "checking for _modf declaration... " >&6; }
63314  if test x${glibcxx_cv_func__modf_use+set} != xset; then
63315    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
63316  $as_echo_n "(cached) " >&6
63317else
63318
63319
63320      ac_ext=cpp
63321ac_cpp='$CXXCPP $CPPFLAGS'
63322ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63323ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63324ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63325
63326      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63327/* end confdefs.h.  */
63328#include <math.h>
63329int
63330main ()
63331{
63332 _modf(0, 0);
63333  ;
63334  return 0;
63335}
63336_ACEOF
63337if ac_fn_cxx_try_compile "$LINENO"; then :
63338  glibcxx_cv_func__modf_use=yes
63339else
63340  glibcxx_cv_func__modf_use=no
63341fi
63342rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63343      ac_ext=c
63344ac_cpp='$CPP $CPPFLAGS'
63345ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63346ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63347ac_compiler_gnu=$ac_cv_c_compiler_gnu
63348
63349
63350fi
63351
63352  fi
63353  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63354$as_echo "$glibcxx_cv_func__modf_use" >&6; }
63355
63356    if test x$glibcxx_cv_func__modf_use = x"yes"; then
63357      for ac_func in _modf
63358do :
63359  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63360if test "x$ac_cv_func__modf" = x""yes; then :
63361  cat >>confdefs.h <<_ACEOF
63362#define HAVE__MODF 1
63363_ACEOF
63364
63365fi
63366done
63367
63368    fi
63369  fi
63370
63371
63372
63373
63374
63375  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63376$as_echo_n "checking for powf declaration... " >&6; }
63377  if test x${glibcxx_cv_func_powf_use+set} != xset; then
63378    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
63379  $as_echo_n "(cached) " >&6
63380else
63381
63382
63383      ac_ext=cpp
63384ac_cpp='$CXXCPP $CPPFLAGS'
63385ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63386ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63387ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63388
63389      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63390/* end confdefs.h.  */
63391#include <math.h>
63392int
63393main ()
63394{
63395 powf(0, 0);
63396  ;
63397  return 0;
63398}
63399_ACEOF
63400if ac_fn_cxx_try_compile "$LINENO"; then :
63401  glibcxx_cv_func_powf_use=yes
63402else
63403  glibcxx_cv_func_powf_use=no
63404fi
63405rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63406      ac_ext=c
63407ac_cpp='$CPP $CPPFLAGS'
63408ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63409ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63410ac_compiler_gnu=$ac_cv_c_compiler_gnu
63411
63412
63413fi
63414
63415  fi
63416  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63417$as_echo "$glibcxx_cv_func_powf_use" >&6; }
63418
63419  if test x$glibcxx_cv_func_powf_use = x"yes"; then
63420    for ac_func in powf
63421do :
63422  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63423if test "x$ac_cv_func_powf" = x""yes; then :
63424  cat >>confdefs.h <<_ACEOF
63425#define HAVE_POWF 1
63426_ACEOF
63427
63428fi
63429done
63430
63431  else
63432
63433  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63434$as_echo_n "checking for _powf declaration... " >&6; }
63435  if test x${glibcxx_cv_func__powf_use+set} != xset; then
63436    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
63437  $as_echo_n "(cached) " >&6
63438else
63439
63440
63441      ac_ext=cpp
63442ac_cpp='$CXXCPP $CPPFLAGS'
63443ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63444ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63445ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63446
63447      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63448/* end confdefs.h.  */
63449#include <math.h>
63450int
63451main ()
63452{
63453 _powf(0, 0);
63454  ;
63455  return 0;
63456}
63457_ACEOF
63458if ac_fn_cxx_try_compile "$LINENO"; then :
63459  glibcxx_cv_func__powf_use=yes
63460else
63461  glibcxx_cv_func__powf_use=no
63462fi
63463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63464      ac_ext=c
63465ac_cpp='$CPP $CPPFLAGS'
63466ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63467ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63468ac_compiler_gnu=$ac_cv_c_compiler_gnu
63469
63470
63471fi
63472
63473  fi
63474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63475$as_echo "$glibcxx_cv_func__powf_use" >&6; }
63476
63477    if test x$glibcxx_cv_func__powf_use = x"yes"; then
63478      for ac_func in _powf
63479do :
63480  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63481if test "x$ac_cv_func__powf" = x""yes; then :
63482  cat >>confdefs.h <<_ACEOF
63483#define HAVE__POWF 1
63484_ACEOF
63485
63486fi
63487done
63488
63489    fi
63490  fi
63491
63492
63493
63494
63495
63496  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63497$as_echo_n "checking for sqrtf declaration... " >&6; }
63498  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63499    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63500  $as_echo_n "(cached) " >&6
63501else
63502
63503
63504      ac_ext=cpp
63505ac_cpp='$CXXCPP $CPPFLAGS'
63506ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63507ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63508ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63509
63510      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63511/* end confdefs.h.  */
63512#include <math.h>
63513		      #ifdef HAVE_IEEEFP_H
63514		      #include <ieeefp.h>
63515		      #endif
63516
63517int
63518main ()
63519{
63520 sqrtf(0);
63521  ;
63522  return 0;
63523}
63524_ACEOF
63525if ac_fn_cxx_try_compile "$LINENO"; then :
63526  glibcxx_cv_func_sqrtf_use=yes
63527else
63528  glibcxx_cv_func_sqrtf_use=no
63529fi
63530rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63531      ac_ext=c
63532ac_cpp='$CPP $CPPFLAGS'
63533ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63534ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63535ac_compiler_gnu=$ac_cv_c_compiler_gnu
63536
63537
63538fi
63539
63540  fi
63541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63542$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63543
63544  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63545    for ac_func in sqrtf
63546do :
63547  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63548if test "x$ac_cv_func_sqrtf" = x""yes; then :
63549  cat >>confdefs.h <<_ACEOF
63550#define HAVE_SQRTF 1
63551_ACEOF
63552
63553fi
63554done
63555
63556  else
63557
63558  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63559$as_echo_n "checking for _sqrtf declaration... " >&6; }
63560  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63561    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63562  $as_echo_n "(cached) " >&6
63563else
63564
63565
63566      ac_ext=cpp
63567ac_cpp='$CXXCPP $CPPFLAGS'
63568ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63569ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63570ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63571
63572      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63573/* end confdefs.h.  */
63574#include <math.h>
63575		      #ifdef HAVE_IEEEFP_H
63576		      #include <ieeefp.h>
63577		      #endif
63578
63579int
63580main ()
63581{
63582 _sqrtf(0);
63583  ;
63584  return 0;
63585}
63586_ACEOF
63587if ac_fn_cxx_try_compile "$LINENO"; then :
63588  glibcxx_cv_func__sqrtf_use=yes
63589else
63590  glibcxx_cv_func__sqrtf_use=no
63591fi
63592rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63593      ac_ext=c
63594ac_cpp='$CPP $CPPFLAGS'
63595ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63596ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63597ac_compiler_gnu=$ac_cv_c_compiler_gnu
63598
63599
63600fi
63601
63602  fi
63603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63604$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63605
63606    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63607      for ac_func in _sqrtf
63608do :
63609  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63610if test "x$ac_cv_func__sqrtf" = x""yes; then :
63611  cat >>confdefs.h <<_ACEOF
63612#define HAVE__SQRTF 1
63613_ACEOF
63614
63615fi
63616done
63617
63618    fi
63619  fi
63620
63621
63622
63623
63624
63625  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63626$as_echo_n "checking for sincosf declaration... " >&6; }
63627  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63628    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63629  $as_echo_n "(cached) " >&6
63630else
63631
63632
63633      ac_ext=cpp
63634ac_cpp='$CXXCPP $CPPFLAGS'
63635ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63636ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63637ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63638
63639      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63640/* end confdefs.h.  */
63641#include <math.h>
63642int
63643main ()
63644{
63645 sincosf(0, 0, 0);
63646  ;
63647  return 0;
63648}
63649_ACEOF
63650if ac_fn_cxx_try_compile "$LINENO"; then :
63651  glibcxx_cv_func_sincosf_use=yes
63652else
63653  glibcxx_cv_func_sincosf_use=no
63654fi
63655rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63656      ac_ext=c
63657ac_cpp='$CPP $CPPFLAGS'
63658ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63659ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63660ac_compiler_gnu=$ac_cv_c_compiler_gnu
63661
63662
63663fi
63664
63665  fi
63666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63667$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63668
63669  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63670    for ac_func in sincosf
63671do :
63672  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63673if test "x$ac_cv_func_sincosf" = x""yes; then :
63674  cat >>confdefs.h <<_ACEOF
63675#define HAVE_SINCOSF 1
63676_ACEOF
63677
63678fi
63679done
63680
63681  else
63682
63683  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63684$as_echo_n "checking for _sincosf declaration... " >&6; }
63685  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63686    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63687  $as_echo_n "(cached) " >&6
63688else
63689
63690
63691      ac_ext=cpp
63692ac_cpp='$CXXCPP $CPPFLAGS'
63693ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63694ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63695ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63696
63697      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63698/* end confdefs.h.  */
63699#include <math.h>
63700int
63701main ()
63702{
63703 _sincosf(0, 0, 0);
63704  ;
63705  return 0;
63706}
63707_ACEOF
63708if ac_fn_cxx_try_compile "$LINENO"; then :
63709  glibcxx_cv_func__sincosf_use=yes
63710else
63711  glibcxx_cv_func__sincosf_use=no
63712fi
63713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63714      ac_ext=c
63715ac_cpp='$CPP $CPPFLAGS'
63716ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63717ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63718ac_compiler_gnu=$ac_cv_c_compiler_gnu
63719
63720
63721fi
63722
63723  fi
63724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63725$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63726
63727    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63728      for ac_func in _sincosf
63729do :
63730  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63731if test "x$ac_cv_func__sincosf" = x""yes; then :
63732  cat >>confdefs.h <<_ACEOF
63733#define HAVE__SINCOSF 1
63734_ACEOF
63735
63736fi
63737done
63738
63739    fi
63740  fi
63741
63742
63743
63744
63745
63746  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63747$as_echo_n "checking for finitef declaration... " >&6; }
63748  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63749    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63750  $as_echo_n "(cached) " >&6
63751else
63752
63753
63754      ac_ext=cpp
63755ac_cpp='$CXXCPP $CPPFLAGS'
63756ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63757ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63758ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63759
63760      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63761/* end confdefs.h.  */
63762#include <math.h>
63763		      #ifdef HAVE_IEEEFP_H
63764		      #include <ieeefp.h>
63765		      #endif
63766
63767int
63768main ()
63769{
63770 finitef(0);
63771  ;
63772  return 0;
63773}
63774_ACEOF
63775if ac_fn_cxx_try_compile "$LINENO"; then :
63776  glibcxx_cv_func_finitef_use=yes
63777else
63778  glibcxx_cv_func_finitef_use=no
63779fi
63780rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63781      ac_ext=c
63782ac_cpp='$CPP $CPPFLAGS'
63783ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63784ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63785ac_compiler_gnu=$ac_cv_c_compiler_gnu
63786
63787
63788fi
63789
63790  fi
63791  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63792$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63793
63794  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63795    for ac_func in finitef
63796do :
63797  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63798if test "x$ac_cv_func_finitef" = x""yes; then :
63799  cat >>confdefs.h <<_ACEOF
63800#define HAVE_FINITEF 1
63801_ACEOF
63802
63803fi
63804done
63805
63806  else
63807
63808  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63809$as_echo_n "checking for _finitef declaration... " >&6; }
63810  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63811    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63812  $as_echo_n "(cached) " >&6
63813else
63814
63815
63816      ac_ext=cpp
63817ac_cpp='$CXXCPP $CPPFLAGS'
63818ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63819ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63820ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63821
63822      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63823/* end confdefs.h.  */
63824#include <math.h>
63825		      #ifdef HAVE_IEEEFP_H
63826		      #include <ieeefp.h>
63827		      #endif
63828
63829int
63830main ()
63831{
63832 _finitef(0);
63833  ;
63834  return 0;
63835}
63836_ACEOF
63837if ac_fn_cxx_try_compile "$LINENO"; then :
63838  glibcxx_cv_func__finitef_use=yes
63839else
63840  glibcxx_cv_func__finitef_use=no
63841fi
63842rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63843      ac_ext=c
63844ac_cpp='$CPP $CPPFLAGS'
63845ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63846ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63847ac_compiler_gnu=$ac_cv_c_compiler_gnu
63848
63849
63850fi
63851
63852  fi
63853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63854$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63855
63856    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63857      for ac_func in _finitef
63858do :
63859  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63860if test "x$ac_cv_func__finitef" = x""yes; then :
63861  cat >>confdefs.h <<_ACEOF
63862#define HAVE__FINITEF 1
63863_ACEOF
63864
63865fi
63866done
63867
63868    fi
63869  fi
63870
63871
63872
63873
63874
63875    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63876$as_echo_n "checking for long double trig functions... " >&6; }
63877  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63878  $as_echo_n "(cached) " >&6
63879else
63880
63881
63882    ac_ext=cpp
63883ac_cpp='$CXXCPP $CPPFLAGS'
63884ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63885ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63886ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63887
63888    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63889/* end confdefs.h.  */
63890#include <math.h>
63891int
63892main ()
63893{
63894acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63895  ;
63896  return 0;
63897}
63898_ACEOF
63899if ac_fn_cxx_try_compile "$LINENO"; then :
63900  glibcxx_cv_func_long_double_trig_use=yes
63901else
63902  glibcxx_cv_func_long_double_trig_use=no
63903fi
63904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63905    ac_ext=c
63906ac_cpp='$CPP $CPPFLAGS'
63907ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63908ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63909ac_compiler_gnu=$ac_cv_c_compiler_gnu
63910
63911fi
63912
63913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63914$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63915  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63916    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63917do :
63918  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63919ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63920eval as_val=\$$as_ac_var
63921   if test "x$as_val" = x""yes; then :
63922  cat >>confdefs.h <<_ACEOF
63923#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63924_ACEOF
63925
63926fi
63927done
63928
63929  else
63930    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63931$as_echo_n "checking for _long double trig functions... " >&6; }
63932    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63933  $as_echo_n "(cached) " >&6
63934else
63935
63936
63937      ac_ext=cpp
63938ac_cpp='$CXXCPP $CPPFLAGS'
63939ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63940ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63941ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63942
63943      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63944/* end confdefs.h.  */
63945#include <math.h>
63946int
63947main ()
63948{
63949_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63950  ;
63951  return 0;
63952}
63953_ACEOF
63954if ac_fn_cxx_try_compile "$LINENO"; then :
63955  glibcxx_cv_func__long_double_trig_use=yes
63956else
63957  glibcxx_cv_func__long_double_trig_use=no
63958fi
63959rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63960      ac_ext=c
63961ac_cpp='$CPP $CPPFLAGS'
63962ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63963ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63964ac_compiler_gnu=$ac_cv_c_compiler_gnu
63965
63966fi
63967
63968    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63969$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63970    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63971      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63972do :
63973  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63974ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63975eval as_val=\$$as_ac_var
63976   if test "x$as_val" = x""yes; then :
63977  cat >>confdefs.h <<_ACEOF
63978#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63979_ACEOF
63980
63981fi
63982done
63983
63984    fi
63985  fi
63986
63987
63988
63989
63990
63991    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63992$as_echo_n "checking for long double round functions... " >&6; }
63993  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63994  $as_echo_n "(cached) " >&6
63995else
63996
63997
63998    ac_ext=cpp
63999ac_cpp='$CXXCPP $CPPFLAGS'
64000ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64001ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64002ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64003
64004    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64005/* end confdefs.h.  */
64006#include <math.h>
64007int
64008main ()
64009{
64010ceill (0); floorl (0);
64011  ;
64012  return 0;
64013}
64014_ACEOF
64015if ac_fn_cxx_try_compile "$LINENO"; then :
64016  glibcxx_cv_func_long_double_round_use=yes
64017else
64018  glibcxx_cv_func_long_double_round_use=no
64019fi
64020rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64021    ac_ext=c
64022ac_cpp='$CPP $CPPFLAGS'
64023ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64024ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64025ac_compiler_gnu=$ac_cv_c_compiler_gnu
64026
64027fi
64028
64029  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64030$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64031  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64032    for ac_func in ceill floorl
64033do :
64034  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64035ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64036eval as_val=\$$as_ac_var
64037   if test "x$as_val" = x""yes; then :
64038  cat >>confdefs.h <<_ACEOF
64039#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64040_ACEOF
64041
64042fi
64043done
64044
64045  else
64046    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64047$as_echo_n "checking for _long double round functions... " >&6; }
64048    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
64049  $as_echo_n "(cached) " >&6
64050else
64051
64052
64053      ac_ext=cpp
64054ac_cpp='$CXXCPP $CPPFLAGS'
64055ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64056ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64057ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64058
64059      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64060/* end confdefs.h.  */
64061#include <math.h>
64062int
64063main ()
64064{
64065_ceill (0); _floorl (0);
64066  ;
64067  return 0;
64068}
64069_ACEOF
64070if ac_fn_cxx_try_compile "$LINENO"; then :
64071  glibcxx_cv_func__long_double_round_use=yes
64072else
64073  glibcxx_cv_func__long_double_round_use=no
64074fi
64075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64076      ac_ext=c
64077ac_cpp='$CPP $CPPFLAGS'
64078ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64079ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64080ac_compiler_gnu=$ac_cv_c_compiler_gnu
64081
64082fi
64083
64084    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64085$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64086    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64087      for ac_func in _ceill _floorl
64088do :
64089  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64090ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64091eval as_val=\$$as_ac_var
64092   if test "x$as_val" = x""yes; then :
64093  cat >>confdefs.h <<_ACEOF
64094#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64095_ACEOF
64096
64097fi
64098done
64099
64100    fi
64101  fi
64102
64103
64104
64105
64106
64107
64108  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64109$as_echo_n "checking for isnanl declaration... " >&6; }
64110  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64111    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
64112  $as_echo_n "(cached) " >&6
64113else
64114
64115
64116      ac_ext=cpp
64117ac_cpp='$CXXCPP $CPPFLAGS'
64118ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64119ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64120ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64121
64122      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64123/* end confdefs.h.  */
64124#include <math.h>
64125		      #ifdef HAVE_IEEEFP_H
64126		      #include <ieeefp.h>
64127		      #endif
64128
64129int
64130main ()
64131{
64132 isnanl(0);
64133  ;
64134  return 0;
64135}
64136_ACEOF
64137if ac_fn_cxx_try_compile "$LINENO"; then :
64138  glibcxx_cv_func_isnanl_use=yes
64139else
64140  glibcxx_cv_func_isnanl_use=no
64141fi
64142rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64143      ac_ext=c
64144ac_cpp='$CPP $CPPFLAGS'
64145ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64146ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64147ac_compiler_gnu=$ac_cv_c_compiler_gnu
64148
64149
64150fi
64151
64152  fi
64153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64154$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64155
64156  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64157    for ac_func in isnanl
64158do :
64159  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64160if test "x$ac_cv_func_isnanl" = x""yes; then :
64161  cat >>confdefs.h <<_ACEOF
64162#define HAVE_ISNANL 1
64163_ACEOF
64164
64165fi
64166done
64167
64168  else
64169
64170  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64171$as_echo_n "checking for _isnanl declaration... " >&6; }
64172  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64173    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
64174  $as_echo_n "(cached) " >&6
64175else
64176
64177
64178      ac_ext=cpp
64179ac_cpp='$CXXCPP $CPPFLAGS'
64180ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64181ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64182ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64183
64184      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64185/* end confdefs.h.  */
64186#include <math.h>
64187		      #ifdef HAVE_IEEEFP_H
64188		      #include <ieeefp.h>
64189		      #endif
64190
64191int
64192main ()
64193{
64194 _isnanl(0);
64195  ;
64196  return 0;
64197}
64198_ACEOF
64199if ac_fn_cxx_try_compile "$LINENO"; then :
64200  glibcxx_cv_func__isnanl_use=yes
64201else
64202  glibcxx_cv_func__isnanl_use=no
64203fi
64204rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64205      ac_ext=c
64206ac_cpp='$CPP $CPPFLAGS'
64207ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64208ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64209ac_compiler_gnu=$ac_cv_c_compiler_gnu
64210
64211
64212fi
64213
64214  fi
64215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64216$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64217
64218    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64219      for ac_func in _isnanl
64220do :
64221  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64222if test "x$ac_cv_func__isnanl" = x""yes; then :
64223  cat >>confdefs.h <<_ACEOF
64224#define HAVE__ISNANL 1
64225_ACEOF
64226
64227fi
64228done
64229
64230    fi
64231  fi
64232
64233
64234
64235
64236
64237  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64238$as_echo_n "checking for isinfl declaration... " >&6; }
64239  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64240    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
64241  $as_echo_n "(cached) " >&6
64242else
64243
64244
64245      ac_ext=cpp
64246ac_cpp='$CXXCPP $CPPFLAGS'
64247ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64248ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64249ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64250
64251      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64252/* end confdefs.h.  */
64253#include <math.h>
64254		      #ifdef HAVE_IEEEFP_H
64255		      #include <ieeefp.h>
64256		      #endif
64257
64258int
64259main ()
64260{
64261 isinfl(0);
64262  ;
64263  return 0;
64264}
64265_ACEOF
64266if ac_fn_cxx_try_compile "$LINENO"; then :
64267  glibcxx_cv_func_isinfl_use=yes
64268else
64269  glibcxx_cv_func_isinfl_use=no
64270fi
64271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64272      ac_ext=c
64273ac_cpp='$CPP $CPPFLAGS'
64274ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64275ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64276ac_compiler_gnu=$ac_cv_c_compiler_gnu
64277
64278
64279fi
64280
64281  fi
64282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64283$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64284
64285  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64286    for ac_func in isinfl
64287do :
64288  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64289if test "x$ac_cv_func_isinfl" = x""yes; then :
64290  cat >>confdefs.h <<_ACEOF
64291#define HAVE_ISINFL 1
64292_ACEOF
64293
64294fi
64295done
64296
64297  else
64298
64299  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64300$as_echo_n "checking for _isinfl declaration... " >&6; }
64301  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64302    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
64303  $as_echo_n "(cached) " >&6
64304else
64305
64306
64307      ac_ext=cpp
64308ac_cpp='$CXXCPP $CPPFLAGS'
64309ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64310ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64311ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64312
64313      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64314/* end confdefs.h.  */
64315#include <math.h>
64316		      #ifdef HAVE_IEEEFP_H
64317		      #include <ieeefp.h>
64318		      #endif
64319
64320int
64321main ()
64322{
64323 _isinfl(0);
64324  ;
64325  return 0;
64326}
64327_ACEOF
64328if ac_fn_cxx_try_compile "$LINENO"; then :
64329  glibcxx_cv_func__isinfl_use=yes
64330else
64331  glibcxx_cv_func__isinfl_use=no
64332fi
64333rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64334      ac_ext=c
64335ac_cpp='$CPP $CPPFLAGS'
64336ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64337ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64338ac_compiler_gnu=$ac_cv_c_compiler_gnu
64339
64340
64341fi
64342
64343  fi
64344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64345$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64346
64347    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64348      for ac_func in _isinfl
64349do :
64350  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64351if test "x$ac_cv_func__isinfl" = x""yes; then :
64352  cat >>confdefs.h <<_ACEOF
64353#define HAVE__ISINFL 1
64354_ACEOF
64355
64356fi
64357done
64358
64359    fi
64360  fi
64361
64362
64363
64364
64365
64366  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64367$as_echo_n "checking for atan2l declaration... " >&6; }
64368  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64369    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
64370  $as_echo_n "(cached) " >&6
64371else
64372
64373
64374      ac_ext=cpp
64375ac_cpp='$CXXCPP $CPPFLAGS'
64376ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64377ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64378ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64379
64380      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64381/* end confdefs.h.  */
64382#include <math.h>
64383int
64384main ()
64385{
64386 atan2l(0, 0);
64387  ;
64388  return 0;
64389}
64390_ACEOF
64391if ac_fn_cxx_try_compile "$LINENO"; then :
64392  glibcxx_cv_func_atan2l_use=yes
64393else
64394  glibcxx_cv_func_atan2l_use=no
64395fi
64396rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64397      ac_ext=c
64398ac_cpp='$CPP $CPPFLAGS'
64399ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64400ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64401ac_compiler_gnu=$ac_cv_c_compiler_gnu
64402
64403
64404fi
64405
64406  fi
64407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64408$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64409
64410  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64411    for ac_func in atan2l
64412do :
64413  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64414if test "x$ac_cv_func_atan2l" = x""yes; then :
64415  cat >>confdefs.h <<_ACEOF
64416#define HAVE_ATAN2L 1
64417_ACEOF
64418
64419fi
64420done
64421
64422  else
64423
64424  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64425$as_echo_n "checking for _atan2l declaration... " >&6; }
64426  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64427    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
64428  $as_echo_n "(cached) " >&6
64429else
64430
64431
64432      ac_ext=cpp
64433ac_cpp='$CXXCPP $CPPFLAGS'
64434ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64435ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64436ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64437
64438      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64439/* end confdefs.h.  */
64440#include <math.h>
64441int
64442main ()
64443{
64444 _atan2l(0, 0);
64445  ;
64446  return 0;
64447}
64448_ACEOF
64449if ac_fn_cxx_try_compile "$LINENO"; then :
64450  glibcxx_cv_func__atan2l_use=yes
64451else
64452  glibcxx_cv_func__atan2l_use=no
64453fi
64454rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64455      ac_ext=c
64456ac_cpp='$CPP $CPPFLAGS'
64457ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64458ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64459ac_compiler_gnu=$ac_cv_c_compiler_gnu
64460
64461
64462fi
64463
64464  fi
64465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64466$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64467
64468    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64469      for ac_func in _atan2l
64470do :
64471  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64472if test "x$ac_cv_func__atan2l" = x""yes; then :
64473  cat >>confdefs.h <<_ACEOF
64474#define HAVE__ATAN2L 1
64475_ACEOF
64476
64477fi
64478done
64479
64480    fi
64481  fi
64482
64483
64484
64485
64486
64487  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64488$as_echo_n "checking for expl declaration... " >&6; }
64489  if test x${glibcxx_cv_func_expl_use+set} != xset; then
64490    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64491  $as_echo_n "(cached) " >&6
64492else
64493
64494
64495      ac_ext=cpp
64496ac_cpp='$CXXCPP $CPPFLAGS'
64497ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64498ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64499ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64500
64501      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64502/* end confdefs.h.  */
64503#include <math.h>
64504		      #ifdef HAVE_IEEEFP_H
64505		      #include <ieeefp.h>
64506		      #endif
64507
64508int
64509main ()
64510{
64511 expl(0);
64512  ;
64513  return 0;
64514}
64515_ACEOF
64516if ac_fn_cxx_try_compile "$LINENO"; then :
64517  glibcxx_cv_func_expl_use=yes
64518else
64519  glibcxx_cv_func_expl_use=no
64520fi
64521rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64522      ac_ext=c
64523ac_cpp='$CPP $CPPFLAGS'
64524ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64525ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64526ac_compiler_gnu=$ac_cv_c_compiler_gnu
64527
64528
64529fi
64530
64531  fi
64532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64533$as_echo "$glibcxx_cv_func_expl_use" >&6; }
64534
64535  if test x$glibcxx_cv_func_expl_use = x"yes"; then
64536    for ac_func in expl
64537do :
64538  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64539if test "x$ac_cv_func_expl" = x""yes; then :
64540  cat >>confdefs.h <<_ACEOF
64541#define HAVE_EXPL 1
64542_ACEOF
64543
64544fi
64545done
64546
64547  else
64548
64549  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64550$as_echo_n "checking for _expl declaration... " >&6; }
64551  if test x${glibcxx_cv_func__expl_use+set} != xset; then
64552    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64553  $as_echo_n "(cached) " >&6
64554else
64555
64556
64557      ac_ext=cpp
64558ac_cpp='$CXXCPP $CPPFLAGS'
64559ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64560ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64561ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64562
64563      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64564/* end confdefs.h.  */
64565#include <math.h>
64566		      #ifdef HAVE_IEEEFP_H
64567		      #include <ieeefp.h>
64568		      #endif
64569
64570int
64571main ()
64572{
64573 _expl(0);
64574  ;
64575  return 0;
64576}
64577_ACEOF
64578if ac_fn_cxx_try_compile "$LINENO"; then :
64579  glibcxx_cv_func__expl_use=yes
64580else
64581  glibcxx_cv_func__expl_use=no
64582fi
64583rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64584      ac_ext=c
64585ac_cpp='$CPP $CPPFLAGS'
64586ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64587ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64588ac_compiler_gnu=$ac_cv_c_compiler_gnu
64589
64590
64591fi
64592
64593  fi
64594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64595$as_echo "$glibcxx_cv_func__expl_use" >&6; }
64596
64597    if test x$glibcxx_cv_func__expl_use = x"yes"; then
64598      for ac_func in _expl
64599do :
64600  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64601if test "x$ac_cv_func__expl" = x""yes; then :
64602  cat >>confdefs.h <<_ACEOF
64603#define HAVE__EXPL 1
64604_ACEOF
64605
64606fi
64607done
64608
64609    fi
64610  fi
64611
64612
64613
64614
64615
64616  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64617$as_echo_n "checking for fabsl declaration... " >&6; }
64618  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64619    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64620  $as_echo_n "(cached) " >&6
64621else
64622
64623
64624      ac_ext=cpp
64625ac_cpp='$CXXCPP $CPPFLAGS'
64626ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64627ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64628ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64629
64630      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64631/* end confdefs.h.  */
64632#include <math.h>
64633		      #ifdef HAVE_IEEEFP_H
64634		      #include <ieeefp.h>
64635		      #endif
64636
64637int
64638main ()
64639{
64640 fabsl(0);
64641  ;
64642  return 0;
64643}
64644_ACEOF
64645if ac_fn_cxx_try_compile "$LINENO"; then :
64646  glibcxx_cv_func_fabsl_use=yes
64647else
64648  glibcxx_cv_func_fabsl_use=no
64649fi
64650rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64651      ac_ext=c
64652ac_cpp='$CPP $CPPFLAGS'
64653ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64654ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64655ac_compiler_gnu=$ac_cv_c_compiler_gnu
64656
64657
64658fi
64659
64660  fi
64661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64662$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64663
64664  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64665    for ac_func in fabsl
64666do :
64667  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64668if test "x$ac_cv_func_fabsl" = x""yes; then :
64669  cat >>confdefs.h <<_ACEOF
64670#define HAVE_FABSL 1
64671_ACEOF
64672
64673fi
64674done
64675
64676  else
64677
64678  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64679$as_echo_n "checking for _fabsl declaration... " >&6; }
64680  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64681    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64682  $as_echo_n "(cached) " >&6
64683else
64684
64685
64686      ac_ext=cpp
64687ac_cpp='$CXXCPP $CPPFLAGS'
64688ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64689ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64690ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64691
64692      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64693/* end confdefs.h.  */
64694#include <math.h>
64695		      #ifdef HAVE_IEEEFP_H
64696		      #include <ieeefp.h>
64697		      #endif
64698
64699int
64700main ()
64701{
64702 _fabsl(0);
64703  ;
64704  return 0;
64705}
64706_ACEOF
64707if ac_fn_cxx_try_compile "$LINENO"; then :
64708  glibcxx_cv_func__fabsl_use=yes
64709else
64710  glibcxx_cv_func__fabsl_use=no
64711fi
64712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64713      ac_ext=c
64714ac_cpp='$CPP $CPPFLAGS'
64715ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64716ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64717ac_compiler_gnu=$ac_cv_c_compiler_gnu
64718
64719
64720fi
64721
64722  fi
64723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64724$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64725
64726    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64727      for ac_func in _fabsl
64728do :
64729  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64730if test "x$ac_cv_func__fabsl" = x""yes; then :
64731  cat >>confdefs.h <<_ACEOF
64732#define HAVE__FABSL 1
64733_ACEOF
64734
64735fi
64736done
64737
64738    fi
64739  fi
64740
64741
64742
64743
64744
64745  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64746$as_echo_n "checking for fmodl declaration... " >&6; }
64747  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64748    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64749  $as_echo_n "(cached) " >&6
64750else
64751
64752
64753      ac_ext=cpp
64754ac_cpp='$CXXCPP $CPPFLAGS'
64755ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64756ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64757ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64758
64759      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64760/* end confdefs.h.  */
64761#include <math.h>
64762int
64763main ()
64764{
64765 fmodl(0, 0);
64766  ;
64767  return 0;
64768}
64769_ACEOF
64770if ac_fn_cxx_try_compile "$LINENO"; then :
64771  glibcxx_cv_func_fmodl_use=yes
64772else
64773  glibcxx_cv_func_fmodl_use=no
64774fi
64775rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64776      ac_ext=c
64777ac_cpp='$CPP $CPPFLAGS'
64778ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64779ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64780ac_compiler_gnu=$ac_cv_c_compiler_gnu
64781
64782
64783fi
64784
64785  fi
64786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64787$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64788
64789  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64790    for ac_func in fmodl
64791do :
64792  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64793if test "x$ac_cv_func_fmodl" = x""yes; then :
64794  cat >>confdefs.h <<_ACEOF
64795#define HAVE_FMODL 1
64796_ACEOF
64797
64798fi
64799done
64800
64801  else
64802
64803  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64804$as_echo_n "checking for _fmodl declaration... " >&6; }
64805  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64806    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64807  $as_echo_n "(cached) " >&6
64808else
64809
64810
64811      ac_ext=cpp
64812ac_cpp='$CXXCPP $CPPFLAGS'
64813ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64814ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64815ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64816
64817      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64818/* end confdefs.h.  */
64819#include <math.h>
64820int
64821main ()
64822{
64823 _fmodl(0, 0);
64824  ;
64825  return 0;
64826}
64827_ACEOF
64828if ac_fn_cxx_try_compile "$LINENO"; then :
64829  glibcxx_cv_func__fmodl_use=yes
64830else
64831  glibcxx_cv_func__fmodl_use=no
64832fi
64833rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64834      ac_ext=c
64835ac_cpp='$CPP $CPPFLAGS'
64836ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64837ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64838ac_compiler_gnu=$ac_cv_c_compiler_gnu
64839
64840
64841fi
64842
64843  fi
64844  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64845$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64846
64847    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64848      for ac_func in _fmodl
64849do :
64850  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64851if test "x$ac_cv_func__fmodl" = x""yes; then :
64852  cat >>confdefs.h <<_ACEOF
64853#define HAVE__FMODL 1
64854_ACEOF
64855
64856fi
64857done
64858
64859    fi
64860  fi
64861
64862
64863
64864
64865
64866  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64867$as_echo_n "checking for frexpl declaration... " >&6; }
64868  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64869    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64870  $as_echo_n "(cached) " >&6
64871else
64872
64873
64874      ac_ext=cpp
64875ac_cpp='$CXXCPP $CPPFLAGS'
64876ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64877ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64878ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64879
64880      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64881/* end confdefs.h.  */
64882#include <math.h>
64883int
64884main ()
64885{
64886 frexpl(0, 0);
64887  ;
64888  return 0;
64889}
64890_ACEOF
64891if ac_fn_cxx_try_compile "$LINENO"; then :
64892  glibcxx_cv_func_frexpl_use=yes
64893else
64894  glibcxx_cv_func_frexpl_use=no
64895fi
64896rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64897      ac_ext=c
64898ac_cpp='$CPP $CPPFLAGS'
64899ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64900ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64901ac_compiler_gnu=$ac_cv_c_compiler_gnu
64902
64903
64904fi
64905
64906  fi
64907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64908$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64909
64910  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64911    for ac_func in frexpl
64912do :
64913  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64914if test "x$ac_cv_func_frexpl" = x""yes; then :
64915  cat >>confdefs.h <<_ACEOF
64916#define HAVE_FREXPL 1
64917_ACEOF
64918
64919fi
64920done
64921
64922  else
64923
64924  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64925$as_echo_n "checking for _frexpl declaration... " >&6; }
64926  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64927    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64928  $as_echo_n "(cached) " >&6
64929else
64930
64931
64932      ac_ext=cpp
64933ac_cpp='$CXXCPP $CPPFLAGS'
64934ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64935ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64936ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64937
64938      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64939/* end confdefs.h.  */
64940#include <math.h>
64941int
64942main ()
64943{
64944 _frexpl(0, 0);
64945  ;
64946  return 0;
64947}
64948_ACEOF
64949if ac_fn_cxx_try_compile "$LINENO"; then :
64950  glibcxx_cv_func__frexpl_use=yes
64951else
64952  glibcxx_cv_func__frexpl_use=no
64953fi
64954rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64955      ac_ext=c
64956ac_cpp='$CPP $CPPFLAGS'
64957ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64958ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64959ac_compiler_gnu=$ac_cv_c_compiler_gnu
64960
64961
64962fi
64963
64964  fi
64965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64966$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64967
64968    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64969      for ac_func in _frexpl
64970do :
64971  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64972if test "x$ac_cv_func__frexpl" = x""yes; then :
64973  cat >>confdefs.h <<_ACEOF
64974#define HAVE__FREXPL 1
64975_ACEOF
64976
64977fi
64978done
64979
64980    fi
64981  fi
64982
64983
64984
64985
64986
64987  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64988$as_echo_n "checking for hypotl declaration... " >&6; }
64989  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64990    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64991  $as_echo_n "(cached) " >&6
64992else
64993
64994
64995      ac_ext=cpp
64996ac_cpp='$CXXCPP $CPPFLAGS'
64997ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64998ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64999ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65000
65001      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65002/* end confdefs.h.  */
65003#include <math.h>
65004int
65005main ()
65006{
65007 hypotl(0, 0);
65008  ;
65009  return 0;
65010}
65011_ACEOF
65012if ac_fn_cxx_try_compile "$LINENO"; then :
65013  glibcxx_cv_func_hypotl_use=yes
65014else
65015  glibcxx_cv_func_hypotl_use=no
65016fi
65017rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65018      ac_ext=c
65019ac_cpp='$CPP $CPPFLAGS'
65020ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65021ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65022ac_compiler_gnu=$ac_cv_c_compiler_gnu
65023
65024
65025fi
65026
65027  fi
65028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65029$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65030
65031  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65032    for ac_func in hypotl
65033do :
65034  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65035if test "x$ac_cv_func_hypotl" = x""yes; then :
65036  cat >>confdefs.h <<_ACEOF
65037#define HAVE_HYPOTL 1
65038_ACEOF
65039
65040fi
65041done
65042
65043  else
65044
65045  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65046$as_echo_n "checking for _hypotl declaration... " >&6; }
65047  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65048    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
65049  $as_echo_n "(cached) " >&6
65050else
65051
65052
65053      ac_ext=cpp
65054ac_cpp='$CXXCPP $CPPFLAGS'
65055ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65056ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65057ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65058
65059      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65060/* end confdefs.h.  */
65061#include <math.h>
65062int
65063main ()
65064{
65065 _hypotl(0, 0);
65066  ;
65067  return 0;
65068}
65069_ACEOF
65070if ac_fn_cxx_try_compile "$LINENO"; then :
65071  glibcxx_cv_func__hypotl_use=yes
65072else
65073  glibcxx_cv_func__hypotl_use=no
65074fi
65075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65076      ac_ext=c
65077ac_cpp='$CPP $CPPFLAGS'
65078ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65079ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65080ac_compiler_gnu=$ac_cv_c_compiler_gnu
65081
65082
65083fi
65084
65085  fi
65086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65087$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65088
65089    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65090      for ac_func in _hypotl
65091do :
65092  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65093if test "x$ac_cv_func__hypotl" = x""yes; then :
65094  cat >>confdefs.h <<_ACEOF
65095#define HAVE__HYPOTL 1
65096_ACEOF
65097
65098fi
65099done
65100
65101    fi
65102  fi
65103
65104
65105
65106
65107
65108  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65109$as_echo_n "checking for ldexpl declaration... " >&6; }
65110  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65111    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
65112  $as_echo_n "(cached) " >&6
65113else
65114
65115
65116      ac_ext=cpp
65117ac_cpp='$CXXCPP $CPPFLAGS'
65118ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65119ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65120ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65121
65122      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65123/* end confdefs.h.  */
65124#include <math.h>
65125int
65126main ()
65127{
65128 ldexpl(0, 0);
65129  ;
65130  return 0;
65131}
65132_ACEOF
65133if ac_fn_cxx_try_compile "$LINENO"; then :
65134  glibcxx_cv_func_ldexpl_use=yes
65135else
65136  glibcxx_cv_func_ldexpl_use=no
65137fi
65138rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65139      ac_ext=c
65140ac_cpp='$CPP $CPPFLAGS'
65141ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65142ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65143ac_compiler_gnu=$ac_cv_c_compiler_gnu
65144
65145
65146fi
65147
65148  fi
65149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65150$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65151
65152  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65153    for ac_func in ldexpl
65154do :
65155  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65156if test "x$ac_cv_func_ldexpl" = x""yes; then :
65157  cat >>confdefs.h <<_ACEOF
65158#define HAVE_LDEXPL 1
65159_ACEOF
65160
65161fi
65162done
65163
65164  else
65165
65166  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65167$as_echo_n "checking for _ldexpl declaration... " >&6; }
65168  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65169    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
65170  $as_echo_n "(cached) " >&6
65171else
65172
65173
65174      ac_ext=cpp
65175ac_cpp='$CXXCPP $CPPFLAGS'
65176ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65177ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65178ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65179
65180      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65181/* end confdefs.h.  */
65182#include <math.h>
65183int
65184main ()
65185{
65186 _ldexpl(0, 0);
65187  ;
65188  return 0;
65189}
65190_ACEOF
65191if ac_fn_cxx_try_compile "$LINENO"; then :
65192  glibcxx_cv_func__ldexpl_use=yes
65193else
65194  glibcxx_cv_func__ldexpl_use=no
65195fi
65196rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65197      ac_ext=c
65198ac_cpp='$CPP $CPPFLAGS'
65199ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65200ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65201ac_compiler_gnu=$ac_cv_c_compiler_gnu
65202
65203
65204fi
65205
65206  fi
65207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65208$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65209
65210    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65211      for ac_func in _ldexpl
65212do :
65213  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65214if test "x$ac_cv_func__ldexpl" = x""yes; then :
65215  cat >>confdefs.h <<_ACEOF
65216#define HAVE__LDEXPL 1
65217_ACEOF
65218
65219fi
65220done
65221
65222    fi
65223  fi
65224
65225
65226
65227
65228
65229  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65230$as_echo_n "checking for logl declaration... " >&6; }
65231  if test x${glibcxx_cv_func_logl_use+set} != xset; then
65232    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
65233  $as_echo_n "(cached) " >&6
65234else
65235
65236
65237      ac_ext=cpp
65238ac_cpp='$CXXCPP $CPPFLAGS'
65239ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65240ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65241ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65242
65243      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65244/* end confdefs.h.  */
65245#include <math.h>
65246		      #ifdef HAVE_IEEEFP_H
65247		      #include <ieeefp.h>
65248		      #endif
65249
65250int
65251main ()
65252{
65253 logl(0);
65254  ;
65255  return 0;
65256}
65257_ACEOF
65258if ac_fn_cxx_try_compile "$LINENO"; then :
65259  glibcxx_cv_func_logl_use=yes
65260else
65261  glibcxx_cv_func_logl_use=no
65262fi
65263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65264      ac_ext=c
65265ac_cpp='$CPP $CPPFLAGS'
65266ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65267ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65268ac_compiler_gnu=$ac_cv_c_compiler_gnu
65269
65270
65271fi
65272
65273  fi
65274  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65275$as_echo "$glibcxx_cv_func_logl_use" >&6; }
65276
65277  if test x$glibcxx_cv_func_logl_use = x"yes"; then
65278    for ac_func in logl
65279do :
65280  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65281if test "x$ac_cv_func_logl" = x""yes; then :
65282  cat >>confdefs.h <<_ACEOF
65283#define HAVE_LOGL 1
65284_ACEOF
65285
65286fi
65287done
65288
65289  else
65290
65291  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65292$as_echo_n "checking for _logl declaration... " >&6; }
65293  if test x${glibcxx_cv_func__logl_use+set} != xset; then
65294    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
65295  $as_echo_n "(cached) " >&6
65296else
65297
65298
65299      ac_ext=cpp
65300ac_cpp='$CXXCPP $CPPFLAGS'
65301ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65302ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65303ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65304
65305      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65306/* end confdefs.h.  */
65307#include <math.h>
65308		      #ifdef HAVE_IEEEFP_H
65309		      #include <ieeefp.h>
65310		      #endif
65311
65312int
65313main ()
65314{
65315 _logl(0);
65316  ;
65317  return 0;
65318}
65319_ACEOF
65320if ac_fn_cxx_try_compile "$LINENO"; then :
65321  glibcxx_cv_func__logl_use=yes
65322else
65323  glibcxx_cv_func__logl_use=no
65324fi
65325rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65326      ac_ext=c
65327ac_cpp='$CPP $CPPFLAGS'
65328ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65329ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65330ac_compiler_gnu=$ac_cv_c_compiler_gnu
65331
65332
65333fi
65334
65335  fi
65336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65337$as_echo "$glibcxx_cv_func__logl_use" >&6; }
65338
65339    if test x$glibcxx_cv_func__logl_use = x"yes"; then
65340      for ac_func in _logl
65341do :
65342  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65343if test "x$ac_cv_func__logl" = x""yes; then :
65344  cat >>confdefs.h <<_ACEOF
65345#define HAVE__LOGL 1
65346_ACEOF
65347
65348fi
65349done
65350
65351    fi
65352  fi
65353
65354
65355
65356
65357
65358  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65359$as_echo_n "checking for log10l declaration... " >&6; }
65360  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65361    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
65362  $as_echo_n "(cached) " >&6
65363else
65364
65365
65366      ac_ext=cpp
65367ac_cpp='$CXXCPP $CPPFLAGS'
65368ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65369ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65370ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65371
65372      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65373/* end confdefs.h.  */
65374#include <math.h>
65375		      #ifdef HAVE_IEEEFP_H
65376		      #include <ieeefp.h>
65377		      #endif
65378
65379int
65380main ()
65381{
65382 log10l(0);
65383  ;
65384  return 0;
65385}
65386_ACEOF
65387if ac_fn_cxx_try_compile "$LINENO"; then :
65388  glibcxx_cv_func_log10l_use=yes
65389else
65390  glibcxx_cv_func_log10l_use=no
65391fi
65392rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65393      ac_ext=c
65394ac_cpp='$CPP $CPPFLAGS'
65395ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65396ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65397ac_compiler_gnu=$ac_cv_c_compiler_gnu
65398
65399
65400fi
65401
65402  fi
65403  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65404$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65405
65406  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65407    for ac_func in log10l
65408do :
65409  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65410if test "x$ac_cv_func_log10l" = x""yes; then :
65411  cat >>confdefs.h <<_ACEOF
65412#define HAVE_LOG10L 1
65413_ACEOF
65414
65415fi
65416done
65417
65418  else
65419
65420  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65421$as_echo_n "checking for _log10l declaration... " >&6; }
65422  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65423    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
65424  $as_echo_n "(cached) " >&6
65425else
65426
65427
65428      ac_ext=cpp
65429ac_cpp='$CXXCPP $CPPFLAGS'
65430ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65431ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65432ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65433
65434      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65435/* end confdefs.h.  */
65436#include <math.h>
65437		      #ifdef HAVE_IEEEFP_H
65438		      #include <ieeefp.h>
65439		      #endif
65440
65441int
65442main ()
65443{
65444 _log10l(0);
65445  ;
65446  return 0;
65447}
65448_ACEOF
65449if ac_fn_cxx_try_compile "$LINENO"; then :
65450  glibcxx_cv_func__log10l_use=yes
65451else
65452  glibcxx_cv_func__log10l_use=no
65453fi
65454rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65455      ac_ext=c
65456ac_cpp='$CPP $CPPFLAGS'
65457ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65458ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65459ac_compiler_gnu=$ac_cv_c_compiler_gnu
65460
65461
65462fi
65463
65464  fi
65465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65466$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65467
65468    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65469      for ac_func in _log10l
65470do :
65471  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65472if test "x$ac_cv_func__log10l" = x""yes; then :
65473  cat >>confdefs.h <<_ACEOF
65474#define HAVE__LOG10L 1
65475_ACEOF
65476
65477fi
65478done
65479
65480    fi
65481  fi
65482
65483
65484
65485
65486
65487  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65488$as_echo_n "checking for modfl declaration... " >&6; }
65489  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65490    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65491  $as_echo_n "(cached) " >&6
65492else
65493
65494
65495      ac_ext=cpp
65496ac_cpp='$CXXCPP $CPPFLAGS'
65497ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65498ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65499ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65500
65501      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65502/* end confdefs.h.  */
65503#include <math.h>
65504int
65505main ()
65506{
65507 modfl(0, 0);
65508  ;
65509  return 0;
65510}
65511_ACEOF
65512if ac_fn_cxx_try_compile "$LINENO"; then :
65513  glibcxx_cv_func_modfl_use=yes
65514else
65515  glibcxx_cv_func_modfl_use=no
65516fi
65517rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65518      ac_ext=c
65519ac_cpp='$CPP $CPPFLAGS'
65520ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65521ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65522ac_compiler_gnu=$ac_cv_c_compiler_gnu
65523
65524
65525fi
65526
65527  fi
65528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65529$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65530
65531  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65532    for ac_func in modfl
65533do :
65534  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65535if test "x$ac_cv_func_modfl" = x""yes; then :
65536  cat >>confdefs.h <<_ACEOF
65537#define HAVE_MODFL 1
65538_ACEOF
65539
65540fi
65541done
65542
65543  else
65544
65545  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65546$as_echo_n "checking for _modfl declaration... " >&6; }
65547  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65548    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65549  $as_echo_n "(cached) " >&6
65550else
65551
65552
65553      ac_ext=cpp
65554ac_cpp='$CXXCPP $CPPFLAGS'
65555ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65556ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65557ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65558
65559      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65560/* end confdefs.h.  */
65561#include <math.h>
65562int
65563main ()
65564{
65565 _modfl(0, 0);
65566  ;
65567  return 0;
65568}
65569_ACEOF
65570if ac_fn_cxx_try_compile "$LINENO"; then :
65571  glibcxx_cv_func__modfl_use=yes
65572else
65573  glibcxx_cv_func__modfl_use=no
65574fi
65575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65576      ac_ext=c
65577ac_cpp='$CPP $CPPFLAGS'
65578ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65579ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65580ac_compiler_gnu=$ac_cv_c_compiler_gnu
65581
65582
65583fi
65584
65585  fi
65586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65587$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65588
65589    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65590      for ac_func in _modfl
65591do :
65592  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65593if test "x$ac_cv_func__modfl" = x""yes; then :
65594  cat >>confdefs.h <<_ACEOF
65595#define HAVE__MODFL 1
65596_ACEOF
65597
65598fi
65599done
65600
65601    fi
65602  fi
65603
65604
65605
65606
65607
65608  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65609$as_echo_n "checking for powl declaration... " >&6; }
65610  if test x${glibcxx_cv_func_powl_use+set} != xset; then
65611    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65612  $as_echo_n "(cached) " >&6
65613else
65614
65615
65616      ac_ext=cpp
65617ac_cpp='$CXXCPP $CPPFLAGS'
65618ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65619ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65620ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65621
65622      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65623/* end confdefs.h.  */
65624#include <math.h>
65625int
65626main ()
65627{
65628 powl(0, 0);
65629  ;
65630  return 0;
65631}
65632_ACEOF
65633if ac_fn_cxx_try_compile "$LINENO"; then :
65634  glibcxx_cv_func_powl_use=yes
65635else
65636  glibcxx_cv_func_powl_use=no
65637fi
65638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65639      ac_ext=c
65640ac_cpp='$CPP $CPPFLAGS'
65641ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65642ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65643ac_compiler_gnu=$ac_cv_c_compiler_gnu
65644
65645
65646fi
65647
65648  fi
65649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65650$as_echo "$glibcxx_cv_func_powl_use" >&6; }
65651
65652  if test x$glibcxx_cv_func_powl_use = x"yes"; then
65653    for ac_func in powl
65654do :
65655  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65656if test "x$ac_cv_func_powl" = x""yes; then :
65657  cat >>confdefs.h <<_ACEOF
65658#define HAVE_POWL 1
65659_ACEOF
65660
65661fi
65662done
65663
65664  else
65665
65666  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65667$as_echo_n "checking for _powl declaration... " >&6; }
65668  if test x${glibcxx_cv_func__powl_use+set} != xset; then
65669    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65670  $as_echo_n "(cached) " >&6
65671else
65672
65673
65674      ac_ext=cpp
65675ac_cpp='$CXXCPP $CPPFLAGS'
65676ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65677ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65678ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65679
65680      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65681/* end confdefs.h.  */
65682#include <math.h>
65683int
65684main ()
65685{
65686 _powl(0, 0);
65687  ;
65688  return 0;
65689}
65690_ACEOF
65691if ac_fn_cxx_try_compile "$LINENO"; then :
65692  glibcxx_cv_func__powl_use=yes
65693else
65694  glibcxx_cv_func__powl_use=no
65695fi
65696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65697      ac_ext=c
65698ac_cpp='$CPP $CPPFLAGS'
65699ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65700ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65701ac_compiler_gnu=$ac_cv_c_compiler_gnu
65702
65703
65704fi
65705
65706  fi
65707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65708$as_echo "$glibcxx_cv_func__powl_use" >&6; }
65709
65710    if test x$glibcxx_cv_func__powl_use = x"yes"; then
65711      for ac_func in _powl
65712do :
65713  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65714if test "x$ac_cv_func__powl" = x""yes; then :
65715  cat >>confdefs.h <<_ACEOF
65716#define HAVE__POWL 1
65717_ACEOF
65718
65719fi
65720done
65721
65722    fi
65723  fi
65724
65725
65726
65727
65728
65729  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65730$as_echo_n "checking for sqrtl declaration... " >&6; }
65731  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65732    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65733  $as_echo_n "(cached) " >&6
65734else
65735
65736
65737      ac_ext=cpp
65738ac_cpp='$CXXCPP $CPPFLAGS'
65739ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65740ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65741ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65742
65743      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65744/* end confdefs.h.  */
65745#include <math.h>
65746		      #ifdef HAVE_IEEEFP_H
65747		      #include <ieeefp.h>
65748		      #endif
65749
65750int
65751main ()
65752{
65753 sqrtl(0);
65754  ;
65755  return 0;
65756}
65757_ACEOF
65758if ac_fn_cxx_try_compile "$LINENO"; then :
65759  glibcxx_cv_func_sqrtl_use=yes
65760else
65761  glibcxx_cv_func_sqrtl_use=no
65762fi
65763rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65764      ac_ext=c
65765ac_cpp='$CPP $CPPFLAGS'
65766ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65767ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65768ac_compiler_gnu=$ac_cv_c_compiler_gnu
65769
65770
65771fi
65772
65773  fi
65774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65775$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65776
65777  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65778    for ac_func in sqrtl
65779do :
65780  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65781if test "x$ac_cv_func_sqrtl" = x""yes; then :
65782  cat >>confdefs.h <<_ACEOF
65783#define HAVE_SQRTL 1
65784_ACEOF
65785
65786fi
65787done
65788
65789  else
65790
65791  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65792$as_echo_n "checking for _sqrtl declaration... " >&6; }
65793  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65794    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65795  $as_echo_n "(cached) " >&6
65796else
65797
65798
65799      ac_ext=cpp
65800ac_cpp='$CXXCPP $CPPFLAGS'
65801ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65802ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65803ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65804
65805      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65806/* end confdefs.h.  */
65807#include <math.h>
65808		      #ifdef HAVE_IEEEFP_H
65809		      #include <ieeefp.h>
65810		      #endif
65811
65812int
65813main ()
65814{
65815 _sqrtl(0);
65816  ;
65817  return 0;
65818}
65819_ACEOF
65820if ac_fn_cxx_try_compile "$LINENO"; then :
65821  glibcxx_cv_func__sqrtl_use=yes
65822else
65823  glibcxx_cv_func__sqrtl_use=no
65824fi
65825rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65826      ac_ext=c
65827ac_cpp='$CPP $CPPFLAGS'
65828ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65829ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65830ac_compiler_gnu=$ac_cv_c_compiler_gnu
65831
65832
65833fi
65834
65835  fi
65836  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65837$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65838
65839    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65840      for ac_func in _sqrtl
65841do :
65842  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65843if test "x$ac_cv_func__sqrtl" = x""yes; then :
65844  cat >>confdefs.h <<_ACEOF
65845#define HAVE__SQRTL 1
65846_ACEOF
65847
65848fi
65849done
65850
65851    fi
65852  fi
65853
65854
65855
65856
65857
65858  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65859$as_echo_n "checking for sincosl declaration... " >&6; }
65860  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65861    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65862  $as_echo_n "(cached) " >&6
65863else
65864
65865
65866      ac_ext=cpp
65867ac_cpp='$CXXCPP $CPPFLAGS'
65868ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65869ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65870ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65871
65872      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65873/* end confdefs.h.  */
65874#include <math.h>
65875int
65876main ()
65877{
65878 sincosl(0, 0, 0);
65879  ;
65880  return 0;
65881}
65882_ACEOF
65883if ac_fn_cxx_try_compile "$LINENO"; then :
65884  glibcxx_cv_func_sincosl_use=yes
65885else
65886  glibcxx_cv_func_sincosl_use=no
65887fi
65888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65889      ac_ext=c
65890ac_cpp='$CPP $CPPFLAGS'
65891ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65892ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65893ac_compiler_gnu=$ac_cv_c_compiler_gnu
65894
65895
65896fi
65897
65898  fi
65899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65900$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65901
65902  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65903    for ac_func in sincosl
65904do :
65905  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65906if test "x$ac_cv_func_sincosl" = x""yes; then :
65907  cat >>confdefs.h <<_ACEOF
65908#define HAVE_SINCOSL 1
65909_ACEOF
65910
65911fi
65912done
65913
65914  else
65915
65916  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65917$as_echo_n "checking for _sincosl declaration... " >&6; }
65918  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65919    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65920  $as_echo_n "(cached) " >&6
65921else
65922
65923
65924      ac_ext=cpp
65925ac_cpp='$CXXCPP $CPPFLAGS'
65926ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65927ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65928ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65929
65930      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65931/* end confdefs.h.  */
65932#include <math.h>
65933int
65934main ()
65935{
65936 _sincosl(0, 0, 0);
65937  ;
65938  return 0;
65939}
65940_ACEOF
65941if ac_fn_cxx_try_compile "$LINENO"; then :
65942  glibcxx_cv_func__sincosl_use=yes
65943else
65944  glibcxx_cv_func__sincosl_use=no
65945fi
65946rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65947      ac_ext=c
65948ac_cpp='$CPP $CPPFLAGS'
65949ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65950ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65951ac_compiler_gnu=$ac_cv_c_compiler_gnu
65952
65953
65954fi
65955
65956  fi
65957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65958$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65959
65960    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65961      for ac_func in _sincosl
65962do :
65963  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65964if test "x$ac_cv_func__sincosl" = x""yes; then :
65965  cat >>confdefs.h <<_ACEOF
65966#define HAVE__SINCOSL 1
65967_ACEOF
65968
65969fi
65970done
65971
65972    fi
65973  fi
65974
65975
65976
65977
65978
65979  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65980$as_echo_n "checking for finitel declaration... " >&6; }
65981  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65982    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65983  $as_echo_n "(cached) " >&6
65984else
65985
65986
65987      ac_ext=cpp
65988ac_cpp='$CXXCPP $CPPFLAGS'
65989ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65990ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65991ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65992
65993      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65994/* end confdefs.h.  */
65995#include <math.h>
65996		      #ifdef HAVE_IEEEFP_H
65997		      #include <ieeefp.h>
65998		      #endif
65999
66000int
66001main ()
66002{
66003 finitel(0);
66004  ;
66005  return 0;
66006}
66007_ACEOF
66008if ac_fn_cxx_try_compile "$LINENO"; then :
66009  glibcxx_cv_func_finitel_use=yes
66010else
66011  glibcxx_cv_func_finitel_use=no
66012fi
66013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66014      ac_ext=c
66015ac_cpp='$CPP $CPPFLAGS'
66016ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66017ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66018ac_compiler_gnu=$ac_cv_c_compiler_gnu
66019
66020
66021fi
66022
66023  fi
66024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66025$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66026
66027  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66028    for ac_func in finitel
66029do :
66030  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66031if test "x$ac_cv_func_finitel" = x""yes; then :
66032  cat >>confdefs.h <<_ACEOF
66033#define HAVE_FINITEL 1
66034_ACEOF
66035
66036fi
66037done
66038
66039  else
66040
66041  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66042$as_echo_n "checking for _finitel declaration... " >&6; }
66043  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66044    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
66045  $as_echo_n "(cached) " >&6
66046else
66047
66048
66049      ac_ext=cpp
66050ac_cpp='$CXXCPP $CPPFLAGS'
66051ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66052ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66053ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66054
66055      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66056/* end confdefs.h.  */
66057#include <math.h>
66058		      #ifdef HAVE_IEEEFP_H
66059		      #include <ieeefp.h>
66060		      #endif
66061
66062int
66063main ()
66064{
66065 _finitel(0);
66066  ;
66067  return 0;
66068}
66069_ACEOF
66070if ac_fn_cxx_try_compile "$LINENO"; then :
66071  glibcxx_cv_func__finitel_use=yes
66072else
66073  glibcxx_cv_func__finitel_use=no
66074fi
66075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66076      ac_ext=c
66077ac_cpp='$CPP $CPPFLAGS'
66078ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66079ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66080ac_compiler_gnu=$ac_cv_c_compiler_gnu
66081
66082
66083fi
66084
66085  fi
66086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66087$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66088
66089    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66090      for ac_func in _finitel
66091do :
66092  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66093if test "x$ac_cv_func__finitel" = x""yes; then :
66094  cat >>confdefs.h <<_ACEOF
66095#define HAVE__FINITEL 1
66096_ACEOF
66097
66098fi
66099done
66100
66101    fi
66102  fi
66103
66104
66105
66106
66107  LIBS="$ac_save_LIBS"
66108  CXXFLAGS="$ac_save_CXXFLAGS"
66109
66110
66111  ac_test_CXXFLAGS="${CXXFLAGS+set}"
66112  ac_save_CXXFLAGS="$CXXFLAGS"
66113  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66114
66115
66116  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66117$as_echo_n "checking for at_quick_exit declaration... " >&6; }
66118  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66119    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
66120  $as_echo_n "(cached) " >&6
66121else
66122
66123
66124      ac_ext=cpp
66125ac_cpp='$CXXCPP $CPPFLAGS'
66126ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66127ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66128ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66129
66130      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66131/* end confdefs.h.  */
66132#include <stdlib.h>
66133int
66134main ()
66135{
66136 at_quick_exit(0);
66137  ;
66138  return 0;
66139}
66140_ACEOF
66141if ac_fn_cxx_try_compile "$LINENO"; then :
66142  glibcxx_cv_func_at_quick_exit_use=yes
66143else
66144  glibcxx_cv_func_at_quick_exit_use=no
66145fi
66146rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66147      ac_ext=c
66148ac_cpp='$CPP $CPPFLAGS'
66149ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66150ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66151ac_compiler_gnu=$ac_cv_c_compiler_gnu
66152
66153
66154fi
66155
66156  fi
66157  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66158$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66159  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66160    for ac_func in at_quick_exit
66161do :
66162  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66163if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
66164  cat >>confdefs.h <<_ACEOF
66165#define HAVE_AT_QUICK_EXIT 1
66166_ACEOF
66167
66168fi
66169done
66170
66171  fi
66172
66173
66174  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66175$as_echo_n "checking for quick_exit declaration... " >&6; }
66176  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66177    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
66178  $as_echo_n "(cached) " >&6
66179else
66180
66181
66182      ac_ext=cpp
66183ac_cpp='$CXXCPP $CPPFLAGS'
66184ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66185ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66186ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66187
66188      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66189/* end confdefs.h.  */
66190#include <stdlib.h>
66191int
66192main ()
66193{
66194 quick_exit(0);
66195  ;
66196  return 0;
66197}
66198_ACEOF
66199if ac_fn_cxx_try_compile "$LINENO"; then :
66200  glibcxx_cv_func_quick_exit_use=yes
66201else
66202  glibcxx_cv_func_quick_exit_use=no
66203fi
66204rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66205      ac_ext=c
66206ac_cpp='$CPP $CPPFLAGS'
66207ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66208ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66209ac_compiler_gnu=$ac_cv_c_compiler_gnu
66210
66211
66212fi
66213
66214  fi
66215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66216$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66217  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66218    for ac_func in quick_exit
66219do :
66220  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66221if test "x$ac_cv_func_quick_exit" = x""yes; then :
66222  cat >>confdefs.h <<_ACEOF
66223#define HAVE_QUICK_EXIT 1
66224_ACEOF
66225
66226fi
66227done
66228
66229  fi
66230
66231
66232  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66233$as_echo_n "checking for strtold declaration... " >&6; }
66234  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66235    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
66236  $as_echo_n "(cached) " >&6
66237else
66238
66239
66240      ac_ext=cpp
66241ac_cpp='$CXXCPP $CPPFLAGS'
66242ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66243ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66244ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66245
66246      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66247/* end confdefs.h.  */
66248#include <stdlib.h>
66249int
66250main ()
66251{
66252 strtold(0, 0);
66253  ;
66254  return 0;
66255}
66256_ACEOF
66257if ac_fn_cxx_try_compile "$LINENO"; then :
66258  glibcxx_cv_func_strtold_use=yes
66259else
66260  glibcxx_cv_func_strtold_use=no
66261fi
66262rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66263      ac_ext=c
66264ac_cpp='$CPP $CPPFLAGS'
66265ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66266ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66267ac_compiler_gnu=$ac_cv_c_compiler_gnu
66268
66269
66270fi
66271
66272  fi
66273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66274$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66275  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66276    for ac_func in strtold
66277do :
66278  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66279if test "x$ac_cv_func_strtold" = x""yes; then :
66280  cat >>confdefs.h <<_ACEOF
66281#define HAVE_STRTOLD 1
66282_ACEOF
66283
66284fi
66285done
66286
66287  fi
66288
66289
66290
66291
66292  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66293$as_echo_n "checking for strtof declaration... " >&6; }
66294  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66295    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
66296  $as_echo_n "(cached) " >&6
66297else
66298
66299
66300      ac_ext=cpp
66301ac_cpp='$CXXCPP $CPPFLAGS'
66302ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66303ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66304ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66305
66306      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66307/* end confdefs.h.  */
66308#include <stdlib.h>
66309int
66310main ()
66311{
66312 strtof(0, 0);
66313  ;
66314  return 0;
66315}
66316_ACEOF
66317if ac_fn_cxx_try_compile "$LINENO"; then :
66318  glibcxx_cv_func_strtof_use=yes
66319else
66320  glibcxx_cv_func_strtof_use=no
66321fi
66322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66323      ac_ext=c
66324ac_cpp='$CPP $CPPFLAGS'
66325ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66326ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66327ac_compiler_gnu=$ac_cv_c_compiler_gnu
66328
66329
66330fi
66331
66332  fi
66333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66334$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66335  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66336    for ac_func in strtof
66337do :
66338  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66339if test "x$ac_cv_func_strtof" = x""yes; then :
66340  cat >>confdefs.h <<_ACEOF
66341#define HAVE_STRTOF 1
66342_ACEOF
66343
66344fi
66345done
66346
66347  fi
66348
66349
66350
66351
66352  CXXFLAGS="$ac_save_CXXFLAGS"
66353
66354    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66355do :
66356  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66357ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66358eval as_val=\$$as_ac_var
66359   if test "x$as_val" = x""yes; then :
66360  cat >>confdefs.h <<_ACEOF
66361#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66362_ACEOF
66363
66364fi
66365done
66366
66367    ;;
66368  *-netbsd*)
66369    SECTION_FLAGS='-ffunction-sections -fdata-sections'
66370
66371
66372  # If we're not using GNU ld, then there's no point in even trying these
66373  # tests.  Check for that first.  We should have already tested for gld
66374  # by now (in libtool), but require it now just to be safe...
66375  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66376  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66377
66378
66379
66380  # The name set by libtool depends on the version of libtool.  Shame on us
66381  # for depending on an impl detail, but c'est la vie.  Older versions used
66382  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66383  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66384  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
66385  # set (hence we're using an older libtool), then set it.
66386  if test x${with_gnu_ld+set} != xset; then
66387    if test x${ac_cv_prog_gnu_ld+set} != xset; then
66388      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
66389      with_gnu_ld=no
66390    else
66391      with_gnu_ld=$ac_cv_prog_gnu_ld
66392    fi
66393  fi
66394
66395  # Start by getting the version number.  I think the libtool test already
66396  # does some of this, but throws away the result.
66397  glibcxx_ld_is_gold=no
66398  if test x"$with_gnu_ld" = x"yes"; then
66399    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66400$as_echo_n "checking for ld version... " >&6; }
66401
66402    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66403      glibcxx_ld_is_gold=yes
66404    fi
66405    ldver=`$LD --version 2>/dev/null |
66406	   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'`
66407
66408    glibcxx_gnu_ld_version=`echo $ldver | \
66409	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66410    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66411$as_echo "$glibcxx_gnu_ld_version" >&6; }
66412  fi
66413
66414  # Set --gc-sections.
66415  glibcxx_have_gc_sections=no
66416  if test "$glibcxx_ld_is_gold" = "yes"; then
66417    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66418      glibcxx_have_gc_sections=yes
66419    fi
66420  else
66421    glibcxx_gcsections_min_ld=21602
66422    if test x"$with_gnu_ld" = x"yes" &&
66423	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66424      glibcxx_have_gc_sections=yes
66425    fi
66426  fi
66427  if test "$glibcxx_have_gc_sections" = "yes"; then
66428    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
66429    # NB: This flag only works reliably after 2.16.1. Configure tests
66430    # for this are difficult, so hard wire a value that should work.
66431
66432    ac_test_CFLAGS="${CFLAGS+set}"
66433    ac_save_CFLAGS="$CFLAGS"
66434    CFLAGS='-Wl,--gc-sections'
66435
66436    # Check for -Wl,--gc-sections
66437    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66438$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66439    if test x$gcc_no_link = xyes; then
66440  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66441fi
66442cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66443/* end confdefs.h.  */
66444 int one(void) { return 1; }
66445     int two(void) { return 2; }
66446
66447int
66448main ()
66449{
66450 two();
66451  ;
66452  return 0;
66453}
66454_ACEOF
66455if ac_fn_c_try_link "$LINENO"; then :
66456  ac_gcsections=yes
66457else
66458  ac_gcsections=no
66459fi
66460rm -f core conftest.err conftest.$ac_objext \
66461    conftest$ac_exeext conftest.$ac_ext
66462    if test "$ac_gcsections" = "yes"; then
66463      rm -f conftest.c
66464      touch conftest.c
66465      if $CC -c conftest.c; then
66466	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66467	   grep "Warning: gc-sections option ignored" > /dev/null; then
66468	  ac_gcsections=no
66469	fi
66470      fi
66471      rm -f conftest.c conftest.o conftest
66472    fi
66473    if test "$ac_gcsections" = "yes"; then
66474      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66475    fi
66476    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66477$as_echo "$ac_gcsections" >&6; }
66478
66479    if test "$ac_test_CFLAGS" = set; then
66480      CFLAGS="$ac_save_CFLAGS"
66481    else
66482      # this is the suspicious part
66483      CFLAGS=''
66484    fi
66485  fi
66486
66487  # Set -z,relro.
66488  # Note this is only for shared objects.
66489  ac_ld_relro=no
66490  if test x"$with_gnu_ld" = x"yes"; then
66491    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66492$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66493    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66494    if test -n "$cxx_z_relo"; then
66495      OPT_LDFLAGS="-Wl,-z,relro"
66496      ac_ld_relro=yes
66497    fi
66498    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66499$as_echo "$ac_ld_relro" >&6; }
66500  fi
66501
66502  # Set linker optimization flags.
66503  if test x"$with_gnu_ld" = x"yes"; then
66504    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66505  fi
66506
66507
66508
66509
66510    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66511
66512    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66513
66514    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66515
66516    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66517
66518    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66519
66520    $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66521
66522    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66523
66524    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66525
66526    if test x"long_double_math_on_this_cpu" = x"yes"; then
66527      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66528
66529      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66530
66531      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66532
66533    fi
66534    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66535do :
66536  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66537ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66538eval as_val=\$$as_ac_var
66539   if test "x$as_val" = x""yes; then :
66540  cat >>confdefs.h <<_ACEOF
66541#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66542_ACEOF
66543
66544fi
66545done
66546
66547    ;;
66548  *-qnx6.1* | *-qnx6.2*)
66549    SECTION_FLAGS='-ffunction-sections -fdata-sections'
66550
66551
66552  # If we're not using GNU ld, then there's no point in even trying these
66553  # tests.  Check for that first.  We should have already tested for gld
66554  # by now (in libtool), but require it now just to be safe...
66555  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66556  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66557
66558
66559
66560  # The name set by libtool depends on the version of libtool.  Shame on us
66561  # for depending on an impl detail, but c'est la vie.  Older versions used
66562  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66563  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66564  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
66565  # set (hence we're using an older libtool), then set it.
66566  if test x${with_gnu_ld+set} != xset; then
66567    if test x${ac_cv_prog_gnu_ld+set} != xset; then
66568      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
66569      with_gnu_ld=no
66570    else
66571      with_gnu_ld=$ac_cv_prog_gnu_ld
66572    fi
66573  fi
66574
66575  # Start by getting the version number.  I think the libtool test already
66576  # does some of this, but throws away the result.
66577  glibcxx_ld_is_gold=no
66578  if test x"$with_gnu_ld" = x"yes"; then
66579    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66580$as_echo_n "checking for ld version... " >&6; }
66581
66582    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66583      glibcxx_ld_is_gold=yes
66584    fi
66585    ldver=`$LD --version 2>/dev/null |
66586	   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'`
66587
66588    glibcxx_gnu_ld_version=`echo $ldver | \
66589	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66590    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66591$as_echo "$glibcxx_gnu_ld_version" >&6; }
66592  fi
66593
66594  # Set --gc-sections.
66595  glibcxx_have_gc_sections=no
66596  if test "$glibcxx_ld_is_gold" = "yes"; then
66597    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66598      glibcxx_have_gc_sections=yes
66599    fi
66600  else
66601    glibcxx_gcsections_min_ld=21602
66602    if test x"$with_gnu_ld" = x"yes" &&
66603	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66604      glibcxx_have_gc_sections=yes
66605    fi
66606  fi
66607  if test "$glibcxx_have_gc_sections" = "yes"; then
66608    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
66609    # NB: This flag only works reliably after 2.16.1. Configure tests
66610    # for this are difficult, so hard wire a value that should work.
66611
66612    ac_test_CFLAGS="${CFLAGS+set}"
66613    ac_save_CFLAGS="$CFLAGS"
66614    CFLAGS='-Wl,--gc-sections'
66615
66616    # Check for -Wl,--gc-sections
66617    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66618$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66619    if test x$gcc_no_link = xyes; then
66620  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66621fi
66622cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66623/* end confdefs.h.  */
66624 int one(void) { return 1; }
66625     int two(void) { return 2; }
66626
66627int
66628main ()
66629{
66630 two();
66631  ;
66632  return 0;
66633}
66634_ACEOF
66635if ac_fn_c_try_link "$LINENO"; then :
66636  ac_gcsections=yes
66637else
66638  ac_gcsections=no
66639fi
66640rm -f core conftest.err conftest.$ac_objext \
66641    conftest$ac_exeext conftest.$ac_ext
66642    if test "$ac_gcsections" = "yes"; then
66643      rm -f conftest.c
66644      touch conftest.c
66645      if $CC -c conftest.c; then
66646	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66647	   grep "Warning: gc-sections option ignored" > /dev/null; then
66648	  ac_gcsections=no
66649	fi
66650      fi
66651      rm -f conftest.c conftest.o conftest
66652    fi
66653    if test "$ac_gcsections" = "yes"; then
66654      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66655    fi
66656    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66657$as_echo "$ac_gcsections" >&6; }
66658
66659    if test "$ac_test_CFLAGS" = set; then
66660      CFLAGS="$ac_save_CFLAGS"
66661    else
66662      # this is the suspicious part
66663      CFLAGS=''
66664    fi
66665  fi
66666
66667  # Set -z,relro.
66668  # Note this is only for shared objects.
66669  ac_ld_relro=no
66670  if test x"$with_gnu_ld" = x"yes"; then
66671    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66672$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66673    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66674    if test -n "$cxx_z_relo"; then
66675      OPT_LDFLAGS="-Wl,-z,relro"
66676      ac_ld_relro=yes
66677    fi
66678    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66679$as_echo "$ac_ld_relro" >&6; }
66680  fi
66681
66682  # Set linker optimization flags.
66683  if test x"$with_gnu_ld" = x"yes"; then
66684    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66685  fi
66686
66687
66688
66689
66690    $as_echo "#define HAVE_COSF 1" >>confdefs.h
66691
66692    $as_echo "#define HAVE_COSL 1" >>confdefs.h
66693
66694    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66695
66696    $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66697
66698    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66699
66700    $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66701
66702    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66703
66704    $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66705
66706    $as_echo "#define HAVE_SINF 1" >>confdefs.h
66707
66708    $as_echo "#define HAVE_SINL 1" >>confdefs.h
66709
66710    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66711
66712    $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66713
66714    ;;
66715  *-rtems*)
66716
66717  # All these tests are for C++; save the language and the compiler flags.
66718  # The CXXFLAGS thing is suspicious, but based on similar bits previously
66719  # found in GLIBCXX_CONFIGURE.
66720
66721  ac_ext=cpp
66722ac_cpp='$CXXCPP $CPPFLAGS'
66723ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66724ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66725ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66726
66727  ac_test_CXXFLAGS="${CXXFLAGS+set}"
66728  ac_save_CXXFLAGS="$CXXFLAGS"
66729
66730  # Check for maintainer-mode bits.
66731  if test x"$USE_MAINTAINER_MODE" = xno; then
66732    WERROR=''
66733  else
66734    WERROR='-Werror'
66735  fi
66736
66737  # Check for -ffunction-sections -fdata-sections
66738  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66739$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66740  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66741  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66742/* end confdefs.h.  */
66743int foo; void bar() { };
66744int
66745main ()
66746{
66747
66748  ;
66749  return 0;
66750}
66751_ACEOF
66752if ac_fn_cxx_try_compile "$LINENO"; then :
66753  ac_fdsections=yes
66754else
66755  ac_fdsections=no
66756fi
66757rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66758  if test "$ac_test_CXXFLAGS" = set; then
66759    CXXFLAGS="$ac_save_CXXFLAGS"
66760  else
66761    # this is the suspicious part
66762    CXXFLAGS=''
66763  fi
66764  if test x"$ac_fdsections" = x"yes"; then
66765    SECTION_FLAGS='-ffunction-sections -fdata-sections'
66766  fi
66767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66768$as_echo "$ac_fdsections" >&6; }
66769
66770  ac_ext=c
66771ac_cpp='$CPP $CPPFLAGS'
66772ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66773ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66774ac_compiler_gnu=$ac_cv_c_compiler_gnu
66775
66776
66777
66778
66779
66780  # If we're not using GNU ld, then there's no point in even trying these
66781  # tests.  Check for that first.  We should have already tested for gld
66782  # by now (in libtool), but require it now just to be safe...
66783  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66784  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66785
66786
66787
66788  # The name set by libtool depends on the version of libtool.  Shame on us
66789  # for depending on an impl detail, but c'est la vie.  Older versions used
66790  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66791  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66792  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
66793  # set (hence we're using an older libtool), then set it.
66794  if test x${with_gnu_ld+set} != xset; then
66795    if test x${ac_cv_prog_gnu_ld+set} != xset; then
66796      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
66797      with_gnu_ld=no
66798    else
66799      with_gnu_ld=$ac_cv_prog_gnu_ld
66800    fi
66801  fi
66802
66803  # Start by getting the version number.  I think the libtool test already
66804  # does some of this, but throws away the result.
66805  glibcxx_ld_is_gold=no
66806  if test x"$with_gnu_ld" = x"yes"; then
66807    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66808$as_echo_n "checking for ld version... " >&6; }
66809
66810    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66811      glibcxx_ld_is_gold=yes
66812    fi
66813    ldver=`$LD --version 2>/dev/null |
66814	   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'`
66815
66816    glibcxx_gnu_ld_version=`echo $ldver | \
66817	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66818    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66819$as_echo "$glibcxx_gnu_ld_version" >&6; }
66820  fi
66821
66822  # Set --gc-sections.
66823  glibcxx_have_gc_sections=no
66824  if test "$glibcxx_ld_is_gold" = "yes"; then
66825    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66826      glibcxx_have_gc_sections=yes
66827    fi
66828  else
66829    glibcxx_gcsections_min_ld=21602
66830    if test x"$with_gnu_ld" = x"yes" &&
66831	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66832      glibcxx_have_gc_sections=yes
66833    fi
66834  fi
66835  if test "$glibcxx_have_gc_sections" = "yes"; then
66836    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
66837    # NB: This flag only works reliably after 2.16.1. Configure tests
66838    # for this are difficult, so hard wire a value that should work.
66839
66840    ac_test_CFLAGS="${CFLAGS+set}"
66841    ac_save_CFLAGS="$CFLAGS"
66842    CFLAGS='-Wl,--gc-sections'
66843
66844    # Check for -Wl,--gc-sections
66845    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66846$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66847    if test x$gcc_no_link = xyes; then
66848  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66849fi
66850cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66851/* end confdefs.h.  */
66852 int one(void) { return 1; }
66853     int two(void) { return 2; }
66854
66855int
66856main ()
66857{
66858 two();
66859  ;
66860  return 0;
66861}
66862_ACEOF
66863if ac_fn_c_try_link "$LINENO"; then :
66864  ac_gcsections=yes
66865else
66866  ac_gcsections=no
66867fi
66868rm -f core conftest.err conftest.$ac_objext \
66869    conftest$ac_exeext conftest.$ac_ext
66870    if test "$ac_gcsections" = "yes"; then
66871      rm -f conftest.c
66872      touch conftest.c
66873      if $CC -c conftest.c; then
66874	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66875	   grep "Warning: gc-sections option ignored" > /dev/null; then
66876	  ac_gcsections=no
66877	fi
66878      fi
66879      rm -f conftest.c conftest.o conftest
66880    fi
66881    if test "$ac_gcsections" = "yes"; then
66882      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66883    fi
66884    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66885$as_echo "$ac_gcsections" >&6; }
66886
66887    if test "$ac_test_CFLAGS" = set; then
66888      CFLAGS="$ac_save_CFLAGS"
66889    else
66890      # this is the suspicious part
66891      CFLAGS=''
66892    fi
66893  fi
66894
66895  # Set -z,relro.
66896  # Note this is only for shared objects.
66897  ac_ld_relro=no
66898  if test x"$with_gnu_ld" = x"yes"; then
66899    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66900$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66901    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66902    if test -n "$cxx_z_relo"; then
66903      OPT_LDFLAGS="-Wl,-z,relro"
66904      ac_ld_relro=yes
66905    fi
66906    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66907$as_echo "$ac_ld_relro" >&6; }
66908  fi
66909
66910  # Set linker optimization flags.
66911  if test x"$with_gnu_ld" = x"yes"; then
66912    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66913  fi
66914
66915
66916
66917
66918
66919  ac_test_CXXFLAGS="${CXXFLAGS+set}"
66920  ac_save_CXXFLAGS="$CXXFLAGS"
66921  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66922
66923    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66924$as_echo_n "checking for sin in -lm... " >&6; }
66925if test "${ac_cv_lib_m_sin+set}" = set; then :
66926  $as_echo_n "(cached) " >&6
66927else
66928  ac_check_lib_save_LIBS=$LIBS
66929LIBS="-lm  $LIBS"
66930if test x$gcc_no_link = xyes; then
66931  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66932fi
66933cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66934/* end confdefs.h.  */
66935
66936/* Override any GCC internal prototype to avoid an error.
66937   Use char because int might match the return type of a GCC
66938   builtin and then its argument prototype would still apply.  */
66939#ifdef __cplusplus
66940extern "C"
66941#endif
66942char sin ();
66943int
66944main ()
66945{
66946return sin ();
66947  ;
66948  return 0;
66949}
66950_ACEOF
66951if ac_fn_c_try_link "$LINENO"; then :
66952  ac_cv_lib_m_sin=yes
66953else
66954  ac_cv_lib_m_sin=no
66955fi
66956rm -f core conftest.err conftest.$ac_objext \
66957    conftest$ac_exeext conftest.$ac_ext
66958LIBS=$ac_check_lib_save_LIBS
66959fi
66960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66961$as_echo "$ac_cv_lib_m_sin" >&6; }
66962if test "x$ac_cv_lib_m_sin" = x""yes; then :
66963  libm="-lm"
66964fi
66965
66966  ac_save_LIBS="$LIBS"
66967  LIBS="$LIBS $libm"
66968
66969
66970
66971  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66972$as_echo_n "checking for isinf declaration... " >&6; }
66973  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66974    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66975  $as_echo_n "(cached) " >&6
66976else
66977
66978
66979      ac_ext=cpp
66980ac_cpp='$CXXCPP $CPPFLAGS'
66981ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66982ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66983ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66984
66985      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66986/* end confdefs.h.  */
66987#include <math.h>
66988		      #ifdef HAVE_IEEEFP_H
66989		      #include <ieeefp.h>
66990		      #endif
66991
66992int
66993main ()
66994{
66995 isinf(0);
66996  ;
66997  return 0;
66998}
66999_ACEOF
67000if ac_fn_cxx_try_compile "$LINENO"; then :
67001  glibcxx_cv_func_isinf_use=yes
67002else
67003  glibcxx_cv_func_isinf_use=no
67004fi
67005rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67006      ac_ext=c
67007ac_cpp='$CPP $CPPFLAGS'
67008ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67009ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67010ac_compiler_gnu=$ac_cv_c_compiler_gnu
67011
67012
67013fi
67014
67015  fi
67016  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
67017$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
67018
67019  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
67020    for ac_func in isinf
67021do :
67022  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
67023if test "x$ac_cv_func_isinf" = x""yes; then :
67024  cat >>confdefs.h <<_ACEOF
67025#define HAVE_ISINF 1
67026_ACEOF
67027
67028fi
67029done
67030
67031  else
67032
67033  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
67034$as_echo_n "checking for _isinf declaration... " >&6; }
67035  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
67036    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
67037  $as_echo_n "(cached) " >&6
67038else
67039
67040
67041      ac_ext=cpp
67042ac_cpp='$CXXCPP $CPPFLAGS'
67043ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67044ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67045ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67046
67047      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67048/* end confdefs.h.  */
67049#include <math.h>
67050		      #ifdef HAVE_IEEEFP_H
67051		      #include <ieeefp.h>
67052		      #endif
67053
67054int
67055main ()
67056{
67057 _isinf(0);
67058  ;
67059  return 0;
67060}
67061_ACEOF
67062if ac_fn_cxx_try_compile "$LINENO"; then :
67063  glibcxx_cv_func__isinf_use=yes
67064else
67065  glibcxx_cv_func__isinf_use=no
67066fi
67067rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67068      ac_ext=c
67069ac_cpp='$CPP $CPPFLAGS'
67070ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67071ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67072ac_compiler_gnu=$ac_cv_c_compiler_gnu
67073
67074
67075fi
67076
67077  fi
67078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
67079$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
67080
67081    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
67082      for ac_func in _isinf
67083do :
67084  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
67085if test "x$ac_cv_func__isinf" = x""yes; then :
67086  cat >>confdefs.h <<_ACEOF
67087#define HAVE__ISINF 1
67088_ACEOF
67089
67090fi
67091done
67092
67093    fi
67094  fi
67095
67096
67097
67098
67099
67100  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
67101$as_echo_n "checking for isnan declaration... " >&6; }
67102  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
67103    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
67104  $as_echo_n "(cached) " >&6
67105else
67106
67107
67108      ac_ext=cpp
67109ac_cpp='$CXXCPP $CPPFLAGS'
67110ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67111ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67112ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67113
67114      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67115/* end confdefs.h.  */
67116#include <math.h>
67117		      #ifdef HAVE_IEEEFP_H
67118		      #include <ieeefp.h>
67119		      #endif
67120
67121int
67122main ()
67123{
67124 isnan(0);
67125  ;
67126  return 0;
67127}
67128_ACEOF
67129if ac_fn_cxx_try_compile "$LINENO"; then :
67130  glibcxx_cv_func_isnan_use=yes
67131else
67132  glibcxx_cv_func_isnan_use=no
67133fi
67134rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67135      ac_ext=c
67136ac_cpp='$CPP $CPPFLAGS'
67137ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67138ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67139ac_compiler_gnu=$ac_cv_c_compiler_gnu
67140
67141
67142fi
67143
67144  fi
67145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67146$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67147
67148  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67149    for ac_func in isnan
67150do :
67151  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67152if test "x$ac_cv_func_isnan" = x""yes; then :
67153  cat >>confdefs.h <<_ACEOF
67154#define HAVE_ISNAN 1
67155_ACEOF
67156
67157fi
67158done
67159
67160  else
67161
67162  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67163$as_echo_n "checking for _isnan declaration... " >&6; }
67164  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67165    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
67166  $as_echo_n "(cached) " >&6
67167else
67168
67169
67170      ac_ext=cpp
67171ac_cpp='$CXXCPP $CPPFLAGS'
67172ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67173ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67174ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67175
67176      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67177/* end confdefs.h.  */
67178#include <math.h>
67179		      #ifdef HAVE_IEEEFP_H
67180		      #include <ieeefp.h>
67181		      #endif
67182
67183int
67184main ()
67185{
67186 _isnan(0);
67187  ;
67188  return 0;
67189}
67190_ACEOF
67191if ac_fn_cxx_try_compile "$LINENO"; then :
67192  glibcxx_cv_func__isnan_use=yes
67193else
67194  glibcxx_cv_func__isnan_use=no
67195fi
67196rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67197      ac_ext=c
67198ac_cpp='$CPP $CPPFLAGS'
67199ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67200ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67201ac_compiler_gnu=$ac_cv_c_compiler_gnu
67202
67203
67204fi
67205
67206  fi
67207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67208$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67209
67210    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67211      for ac_func in _isnan
67212do :
67213  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67214if test "x$ac_cv_func__isnan" = x""yes; then :
67215  cat >>confdefs.h <<_ACEOF
67216#define HAVE__ISNAN 1
67217_ACEOF
67218
67219fi
67220done
67221
67222    fi
67223  fi
67224
67225
67226
67227
67228
67229  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67230$as_echo_n "checking for finite declaration... " >&6; }
67231  if test x${glibcxx_cv_func_finite_use+set} != xset; then
67232    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
67233  $as_echo_n "(cached) " >&6
67234else
67235
67236
67237      ac_ext=cpp
67238ac_cpp='$CXXCPP $CPPFLAGS'
67239ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67240ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67241ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67242
67243      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67244/* end confdefs.h.  */
67245#include <math.h>
67246		      #ifdef HAVE_IEEEFP_H
67247		      #include <ieeefp.h>
67248		      #endif
67249
67250int
67251main ()
67252{
67253 finite(0);
67254  ;
67255  return 0;
67256}
67257_ACEOF
67258if ac_fn_cxx_try_compile "$LINENO"; then :
67259  glibcxx_cv_func_finite_use=yes
67260else
67261  glibcxx_cv_func_finite_use=no
67262fi
67263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67264      ac_ext=c
67265ac_cpp='$CPP $CPPFLAGS'
67266ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67267ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67268ac_compiler_gnu=$ac_cv_c_compiler_gnu
67269
67270
67271fi
67272
67273  fi
67274  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67275$as_echo "$glibcxx_cv_func_finite_use" >&6; }
67276
67277  if test x$glibcxx_cv_func_finite_use = x"yes"; then
67278    for ac_func in finite
67279do :
67280  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67281if test "x$ac_cv_func_finite" = x""yes; then :
67282  cat >>confdefs.h <<_ACEOF
67283#define HAVE_FINITE 1
67284_ACEOF
67285
67286fi
67287done
67288
67289  else
67290
67291  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67292$as_echo_n "checking for _finite declaration... " >&6; }
67293  if test x${glibcxx_cv_func__finite_use+set} != xset; then
67294    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
67295  $as_echo_n "(cached) " >&6
67296else
67297
67298
67299      ac_ext=cpp
67300ac_cpp='$CXXCPP $CPPFLAGS'
67301ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67302ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67303ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67304
67305      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67306/* end confdefs.h.  */
67307#include <math.h>
67308		      #ifdef HAVE_IEEEFP_H
67309		      #include <ieeefp.h>
67310		      #endif
67311
67312int
67313main ()
67314{
67315 _finite(0);
67316  ;
67317  return 0;
67318}
67319_ACEOF
67320if ac_fn_cxx_try_compile "$LINENO"; then :
67321  glibcxx_cv_func__finite_use=yes
67322else
67323  glibcxx_cv_func__finite_use=no
67324fi
67325rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67326      ac_ext=c
67327ac_cpp='$CPP $CPPFLAGS'
67328ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67329ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67330ac_compiler_gnu=$ac_cv_c_compiler_gnu
67331
67332
67333fi
67334
67335  fi
67336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67337$as_echo "$glibcxx_cv_func__finite_use" >&6; }
67338
67339    if test x$glibcxx_cv_func__finite_use = x"yes"; then
67340      for ac_func in _finite
67341do :
67342  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67343if test "x$ac_cv_func__finite" = x""yes; then :
67344  cat >>confdefs.h <<_ACEOF
67345#define HAVE__FINITE 1
67346_ACEOF
67347
67348fi
67349done
67350
67351    fi
67352  fi
67353
67354
67355
67356
67357
67358  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67359$as_echo_n "checking for sincos declaration... " >&6; }
67360  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67361    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
67362  $as_echo_n "(cached) " >&6
67363else
67364
67365
67366      ac_ext=cpp
67367ac_cpp='$CXXCPP $CPPFLAGS'
67368ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67369ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67370ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67371
67372      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67373/* end confdefs.h.  */
67374#include <math.h>
67375int
67376main ()
67377{
67378 sincos(0, 0, 0);
67379  ;
67380  return 0;
67381}
67382_ACEOF
67383if ac_fn_cxx_try_compile "$LINENO"; then :
67384  glibcxx_cv_func_sincos_use=yes
67385else
67386  glibcxx_cv_func_sincos_use=no
67387fi
67388rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67389      ac_ext=c
67390ac_cpp='$CPP $CPPFLAGS'
67391ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67392ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67393ac_compiler_gnu=$ac_cv_c_compiler_gnu
67394
67395
67396fi
67397
67398  fi
67399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67400$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67401
67402  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67403    for ac_func in sincos
67404do :
67405  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67406if test "x$ac_cv_func_sincos" = x""yes; then :
67407  cat >>confdefs.h <<_ACEOF
67408#define HAVE_SINCOS 1
67409_ACEOF
67410
67411fi
67412done
67413
67414  else
67415
67416  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67417$as_echo_n "checking for _sincos declaration... " >&6; }
67418  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67419    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
67420  $as_echo_n "(cached) " >&6
67421else
67422
67423
67424      ac_ext=cpp
67425ac_cpp='$CXXCPP $CPPFLAGS'
67426ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67427ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67428ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67429
67430      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67431/* end confdefs.h.  */
67432#include <math.h>
67433int
67434main ()
67435{
67436 _sincos(0, 0, 0);
67437  ;
67438  return 0;
67439}
67440_ACEOF
67441if ac_fn_cxx_try_compile "$LINENO"; then :
67442  glibcxx_cv_func__sincos_use=yes
67443else
67444  glibcxx_cv_func__sincos_use=no
67445fi
67446rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67447      ac_ext=c
67448ac_cpp='$CPP $CPPFLAGS'
67449ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67450ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67451ac_compiler_gnu=$ac_cv_c_compiler_gnu
67452
67453
67454fi
67455
67456  fi
67457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67458$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67459
67460    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67461      for ac_func in _sincos
67462do :
67463  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67464if test "x$ac_cv_func__sincos" = x""yes; then :
67465  cat >>confdefs.h <<_ACEOF
67466#define HAVE__SINCOS 1
67467_ACEOF
67468
67469fi
67470done
67471
67472    fi
67473  fi
67474
67475
67476
67477
67478
67479  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67480$as_echo_n "checking for fpclass declaration... " >&6; }
67481  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67482    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
67483  $as_echo_n "(cached) " >&6
67484else
67485
67486
67487      ac_ext=cpp
67488ac_cpp='$CXXCPP $CPPFLAGS'
67489ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67490ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67491ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67492
67493      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67494/* end confdefs.h.  */
67495#include <math.h>
67496		      #ifdef HAVE_IEEEFP_H
67497		      #include <ieeefp.h>
67498		      #endif
67499
67500int
67501main ()
67502{
67503 fpclass(0);
67504  ;
67505  return 0;
67506}
67507_ACEOF
67508if ac_fn_cxx_try_compile "$LINENO"; then :
67509  glibcxx_cv_func_fpclass_use=yes
67510else
67511  glibcxx_cv_func_fpclass_use=no
67512fi
67513rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67514      ac_ext=c
67515ac_cpp='$CPP $CPPFLAGS'
67516ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67517ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67518ac_compiler_gnu=$ac_cv_c_compiler_gnu
67519
67520
67521fi
67522
67523  fi
67524  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67525$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67526
67527  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67528    for ac_func in fpclass
67529do :
67530  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67531if test "x$ac_cv_func_fpclass" = x""yes; then :
67532  cat >>confdefs.h <<_ACEOF
67533#define HAVE_FPCLASS 1
67534_ACEOF
67535
67536fi
67537done
67538
67539  else
67540
67541  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67542$as_echo_n "checking for _fpclass declaration... " >&6; }
67543  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67544    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67545  $as_echo_n "(cached) " >&6
67546else
67547
67548
67549      ac_ext=cpp
67550ac_cpp='$CXXCPP $CPPFLAGS'
67551ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67552ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67553ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67554
67555      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67556/* end confdefs.h.  */
67557#include <math.h>
67558		      #ifdef HAVE_IEEEFP_H
67559		      #include <ieeefp.h>
67560		      #endif
67561
67562int
67563main ()
67564{
67565 _fpclass(0);
67566  ;
67567  return 0;
67568}
67569_ACEOF
67570if ac_fn_cxx_try_compile "$LINENO"; then :
67571  glibcxx_cv_func__fpclass_use=yes
67572else
67573  glibcxx_cv_func__fpclass_use=no
67574fi
67575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67576      ac_ext=c
67577ac_cpp='$CPP $CPPFLAGS'
67578ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67579ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67580ac_compiler_gnu=$ac_cv_c_compiler_gnu
67581
67582
67583fi
67584
67585  fi
67586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67587$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67588
67589    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67590      for ac_func in _fpclass
67591do :
67592  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67593if test "x$ac_cv_func__fpclass" = x""yes; then :
67594  cat >>confdefs.h <<_ACEOF
67595#define HAVE__FPCLASS 1
67596_ACEOF
67597
67598fi
67599done
67600
67601    fi
67602  fi
67603
67604
67605
67606
67607
67608  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67609$as_echo_n "checking for qfpclass declaration... " >&6; }
67610  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67611    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67612  $as_echo_n "(cached) " >&6
67613else
67614
67615
67616      ac_ext=cpp
67617ac_cpp='$CXXCPP $CPPFLAGS'
67618ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67619ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67620ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67621
67622      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67623/* end confdefs.h.  */
67624#include <math.h>
67625		      #ifdef HAVE_IEEEFP_H
67626		      #include <ieeefp.h>
67627		      #endif
67628
67629int
67630main ()
67631{
67632 qfpclass(0);
67633  ;
67634  return 0;
67635}
67636_ACEOF
67637if ac_fn_cxx_try_compile "$LINENO"; then :
67638  glibcxx_cv_func_qfpclass_use=yes
67639else
67640  glibcxx_cv_func_qfpclass_use=no
67641fi
67642rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67643      ac_ext=c
67644ac_cpp='$CPP $CPPFLAGS'
67645ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67646ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67647ac_compiler_gnu=$ac_cv_c_compiler_gnu
67648
67649
67650fi
67651
67652  fi
67653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67654$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67655
67656  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67657    for ac_func in qfpclass
67658do :
67659  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67660if test "x$ac_cv_func_qfpclass" = x""yes; then :
67661  cat >>confdefs.h <<_ACEOF
67662#define HAVE_QFPCLASS 1
67663_ACEOF
67664
67665fi
67666done
67667
67668  else
67669
67670  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67671$as_echo_n "checking for _qfpclass declaration... " >&6; }
67672  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67673    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67674  $as_echo_n "(cached) " >&6
67675else
67676
67677
67678      ac_ext=cpp
67679ac_cpp='$CXXCPP $CPPFLAGS'
67680ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67681ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67682ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67683
67684      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67685/* end confdefs.h.  */
67686#include <math.h>
67687		      #ifdef HAVE_IEEEFP_H
67688		      #include <ieeefp.h>
67689		      #endif
67690
67691int
67692main ()
67693{
67694 _qfpclass(0);
67695  ;
67696  return 0;
67697}
67698_ACEOF
67699if ac_fn_cxx_try_compile "$LINENO"; then :
67700  glibcxx_cv_func__qfpclass_use=yes
67701else
67702  glibcxx_cv_func__qfpclass_use=no
67703fi
67704rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67705      ac_ext=c
67706ac_cpp='$CPP $CPPFLAGS'
67707ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67708ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67709ac_compiler_gnu=$ac_cv_c_compiler_gnu
67710
67711
67712fi
67713
67714  fi
67715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67716$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67717
67718    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67719      for ac_func in _qfpclass
67720do :
67721  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67722if test "x$ac_cv_func__qfpclass" = x""yes; then :
67723  cat >>confdefs.h <<_ACEOF
67724#define HAVE__QFPCLASS 1
67725_ACEOF
67726
67727fi
67728done
67729
67730    fi
67731  fi
67732
67733
67734
67735
67736
67737  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67738$as_echo_n "checking for hypot declaration... " >&6; }
67739  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67740    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67741  $as_echo_n "(cached) " >&6
67742else
67743
67744
67745      ac_ext=cpp
67746ac_cpp='$CXXCPP $CPPFLAGS'
67747ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67748ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67749ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67750
67751      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67752/* end confdefs.h.  */
67753#include <math.h>
67754int
67755main ()
67756{
67757 hypot(0, 0);
67758  ;
67759  return 0;
67760}
67761_ACEOF
67762if ac_fn_cxx_try_compile "$LINENO"; then :
67763  glibcxx_cv_func_hypot_use=yes
67764else
67765  glibcxx_cv_func_hypot_use=no
67766fi
67767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67768      ac_ext=c
67769ac_cpp='$CPP $CPPFLAGS'
67770ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67771ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67772ac_compiler_gnu=$ac_cv_c_compiler_gnu
67773
67774
67775fi
67776
67777  fi
67778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67779$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67780
67781  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67782    for ac_func in hypot
67783do :
67784  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67785if test "x$ac_cv_func_hypot" = x""yes; then :
67786  cat >>confdefs.h <<_ACEOF
67787#define HAVE_HYPOT 1
67788_ACEOF
67789
67790fi
67791done
67792
67793  else
67794
67795  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67796$as_echo_n "checking for _hypot declaration... " >&6; }
67797  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67798    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67799  $as_echo_n "(cached) " >&6
67800else
67801
67802
67803      ac_ext=cpp
67804ac_cpp='$CXXCPP $CPPFLAGS'
67805ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67806ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67807ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67808
67809      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67810/* end confdefs.h.  */
67811#include <math.h>
67812int
67813main ()
67814{
67815 _hypot(0, 0);
67816  ;
67817  return 0;
67818}
67819_ACEOF
67820if ac_fn_cxx_try_compile "$LINENO"; then :
67821  glibcxx_cv_func__hypot_use=yes
67822else
67823  glibcxx_cv_func__hypot_use=no
67824fi
67825rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67826      ac_ext=c
67827ac_cpp='$CPP $CPPFLAGS'
67828ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67829ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67830ac_compiler_gnu=$ac_cv_c_compiler_gnu
67831
67832
67833fi
67834
67835  fi
67836  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67837$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67838
67839    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67840      for ac_func in _hypot
67841do :
67842  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67843if test "x$ac_cv_func__hypot" = x""yes; then :
67844  cat >>confdefs.h <<_ACEOF
67845#define HAVE__HYPOT 1
67846_ACEOF
67847
67848fi
67849done
67850
67851    fi
67852  fi
67853
67854
67855
67856
67857
67858    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67859$as_echo_n "checking for float trig functions... " >&6; }
67860  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67861  $as_echo_n "(cached) " >&6
67862else
67863
67864
67865    ac_ext=cpp
67866ac_cpp='$CXXCPP $CPPFLAGS'
67867ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67868ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67869ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67870
67871    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67872/* end confdefs.h.  */
67873#include <math.h>
67874int
67875main ()
67876{
67877acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67878  ;
67879  return 0;
67880}
67881_ACEOF
67882if ac_fn_cxx_try_compile "$LINENO"; then :
67883  glibcxx_cv_func_float_trig_use=yes
67884else
67885  glibcxx_cv_func_float_trig_use=no
67886fi
67887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67888    ac_ext=c
67889ac_cpp='$CPP $CPPFLAGS'
67890ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67891ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67892ac_compiler_gnu=$ac_cv_c_compiler_gnu
67893
67894fi
67895
67896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67897$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67898  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67899    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67900do :
67901  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67902ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67903eval as_val=\$$as_ac_var
67904   if test "x$as_val" = x""yes; then :
67905  cat >>confdefs.h <<_ACEOF
67906#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67907_ACEOF
67908
67909fi
67910done
67911
67912  else
67913    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67914$as_echo_n "checking for _float trig functions... " >&6; }
67915    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67916  $as_echo_n "(cached) " >&6
67917else
67918
67919
67920      ac_ext=cpp
67921ac_cpp='$CXXCPP $CPPFLAGS'
67922ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67923ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67924ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67925
67926      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67927/* end confdefs.h.  */
67928#include <math.h>
67929int
67930main ()
67931{
67932_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67933  ;
67934  return 0;
67935}
67936_ACEOF
67937if ac_fn_cxx_try_compile "$LINENO"; then :
67938  glibcxx_cv_func__float_trig_use=yes
67939else
67940  glibcxx_cv_func__float_trig_use=no
67941fi
67942rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67943      ac_ext=c
67944ac_cpp='$CPP $CPPFLAGS'
67945ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67946ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67947ac_compiler_gnu=$ac_cv_c_compiler_gnu
67948
67949fi
67950
67951    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67952$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67953    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67954      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67955do :
67956  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67957ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67958eval as_val=\$$as_ac_var
67959   if test "x$as_val" = x""yes; then :
67960  cat >>confdefs.h <<_ACEOF
67961#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67962_ACEOF
67963
67964fi
67965done
67966
67967    fi
67968  fi
67969
67970
67971
67972
67973
67974    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67975$as_echo_n "checking for float round functions... " >&6; }
67976  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67977  $as_echo_n "(cached) " >&6
67978else
67979
67980
67981    ac_ext=cpp
67982ac_cpp='$CXXCPP $CPPFLAGS'
67983ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67984ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67985ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67986
67987    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67988/* end confdefs.h.  */
67989#include <math.h>
67990int
67991main ()
67992{
67993ceilf (0); floorf (0);
67994  ;
67995  return 0;
67996}
67997_ACEOF
67998if ac_fn_cxx_try_compile "$LINENO"; then :
67999  glibcxx_cv_func_float_round_use=yes
68000else
68001  glibcxx_cv_func_float_round_use=no
68002fi
68003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68004    ac_ext=c
68005ac_cpp='$CPP $CPPFLAGS'
68006ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68007ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68008ac_compiler_gnu=$ac_cv_c_compiler_gnu
68009
68010fi
68011
68012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
68013$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
68014  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68015    for ac_func in ceilf floorf
68016do :
68017  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68018ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68019eval as_val=\$$as_ac_var
68020   if test "x$as_val" = x""yes; then :
68021  cat >>confdefs.h <<_ACEOF
68022#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68023_ACEOF
68024
68025fi
68026done
68027
68028  else
68029    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
68030$as_echo_n "checking for _float round functions... " >&6; }
68031    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
68032  $as_echo_n "(cached) " >&6
68033else
68034
68035
68036      ac_ext=cpp
68037ac_cpp='$CXXCPP $CPPFLAGS'
68038ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68039ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68040ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68041
68042      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68043/* end confdefs.h.  */
68044#include <math.h>
68045int
68046main ()
68047{
68048_ceilf (0); _floorf (0);
68049  ;
68050  return 0;
68051}
68052_ACEOF
68053if ac_fn_cxx_try_compile "$LINENO"; then :
68054  glibcxx_cv_func__float_round_use=yes
68055else
68056  glibcxx_cv_func__float_round_use=no
68057fi
68058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68059      ac_ext=c
68060ac_cpp='$CPP $CPPFLAGS'
68061ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68062ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68063ac_compiler_gnu=$ac_cv_c_compiler_gnu
68064
68065fi
68066
68067    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
68068$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
68069    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68070      for ac_func in _ceilf _floorf
68071do :
68072  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68073ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68074eval as_val=\$$as_ac_var
68075   if test "x$as_val" = x""yes; then :
68076  cat >>confdefs.h <<_ACEOF
68077#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68078_ACEOF
68079
68080fi
68081done
68082
68083    fi
68084  fi
68085
68086
68087
68088
68089
68090
68091  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
68092$as_echo_n "checking for expf declaration... " >&6; }
68093  if test x${glibcxx_cv_func_expf_use+set} != xset; then
68094    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
68095  $as_echo_n "(cached) " >&6
68096else
68097
68098
68099      ac_ext=cpp
68100ac_cpp='$CXXCPP $CPPFLAGS'
68101ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68102ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68103ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68104
68105      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68106/* end confdefs.h.  */
68107#include <math.h>
68108		      #ifdef HAVE_IEEEFP_H
68109		      #include <ieeefp.h>
68110		      #endif
68111
68112int
68113main ()
68114{
68115 expf(0);
68116  ;
68117  return 0;
68118}
68119_ACEOF
68120if ac_fn_cxx_try_compile "$LINENO"; then :
68121  glibcxx_cv_func_expf_use=yes
68122else
68123  glibcxx_cv_func_expf_use=no
68124fi
68125rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68126      ac_ext=c
68127ac_cpp='$CPP $CPPFLAGS'
68128ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68129ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68130ac_compiler_gnu=$ac_cv_c_compiler_gnu
68131
68132
68133fi
68134
68135  fi
68136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68137$as_echo "$glibcxx_cv_func_expf_use" >&6; }
68138
68139  if test x$glibcxx_cv_func_expf_use = x"yes"; then
68140    for ac_func in expf
68141do :
68142  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68143if test "x$ac_cv_func_expf" = x""yes; then :
68144  cat >>confdefs.h <<_ACEOF
68145#define HAVE_EXPF 1
68146_ACEOF
68147
68148fi
68149done
68150
68151  else
68152
68153  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68154$as_echo_n "checking for _expf declaration... " >&6; }
68155  if test x${glibcxx_cv_func__expf_use+set} != xset; then
68156    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
68157  $as_echo_n "(cached) " >&6
68158else
68159
68160
68161      ac_ext=cpp
68162ac_cpp='$CXXCPP $CPPFLAGS'
68163ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68164ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68165ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68166
68167      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68168/* end confdefs.h.  */
68169#include <math.h>
68170		      #ifdef HAVE_IEEEFP_H
68171		      #include <ieeefp.h>
68172		      #endif
68173
68174int
68175main ()
68176{
68177 _expf(0);
68178  ;
68179  return 0;
68180}
68181_ACEOF
68182if ac_fn_cxx_try_compile "$LINENO"; then :
68183  glibcxx_cv_func__expf_use=yes
68184else
68185  glibcxx_cv_func__expf_use=no
68186fi
68187rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68188      ac_ext=c
68189ac_cpp='$CPP $CPPFLAGS'
68190ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68191ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68192ac_compiler_gnu=$ac_cv_c_compiler_gnu
68193
68194
68195fi
68196
68197  fi
68198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68199$as_echo "$glibcxx_cv_func__expf_use" >&6; }
68200
68201    if test x$glibcxx_cv_func__expf_use = x"yes"; then
68202      for ac_func in _expf
68203do :
68204  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68205if test "x$ac_cv_func__expf" = x""yes; then :
68206  cat >>confdefs.h <<_ACEOF
68207#define HAVE__EXPF 1
68208_ACEOF
68209
68210fi
68211done
68212
68213    fi
68214  fi
68215
68216
68217
68218
68219
68220  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68221$as_echo_n "checking for isnanf declaration... " >&6; }
68222  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68223    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
68224  $as_echo_n "(cached) " >&6
68225else
68226
68227
68228      ac_ext=cpp
68229ac_cpp='$CXXCPP $CPPFLAGS'
68230ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68231ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68232ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68233
68234      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68235/* end confdefs.h.  */
68236#include <math.h>
68237		      #ifdef HAVE_IEEEFP_H
68238		      #include <ieeefp.h>
68239		      #endif
68240
68241int
68242main ()
68243{
68244 isnanf(0);
68245  ;
68246  return 0;
68247}
68248_ACEOF
68249if ac_fn_cxx_try_compile "$LINENO"; then :
68250  glibcxx_cv_func_isnanf_use=yes
68251else
68252  glibcxx_cv_func_isnanf_use=no
68253fi
68254rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68255      ac_ext=c
68256ac_cpp='$CPP $CPPFLAGS'
68257ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68258ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68259ac_compiler_gnu=$ac_cv_c_compiler_gnu
68260
68261
68262fi
68263
68264  fi
68265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68266$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68267
68268  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68269    for ac_func in isnanf
68270do :
68271  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68272if test "x$ac_cv_func_isnanf" = x""yes; then :
68273  cat >>confdefs.h <<_ACEOF
68274#define HAVE_ISNANF 1
68275_ACEOF
68276
68277fi
68278done
68279
68280  else
68281
68282  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68283$as_echo_n "checking for _isnanf declaration... " >&6; }
68284  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68285    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
68286  $as_echo_n "(cached) " >&6
68287else
68288
68289
68290      ac_ext=cpp
68291ac_cpp='$CXXCPP $CPPFLAGS'
68292ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68293ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68294ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68295
68296      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68297/* end confdefs.h.  */
68298#include <math.h>
68299		      #ifdef HAVE_IEEEFP_H
68300		      #include <ieeefp.h>
68301		      #endif
68302
68303int
68304main ()
68305{
68306 _isnanf(0);
68307  ;
68308  return 0;
68309}
68310_ACEOF
68311if ac_fn_cxx_try_compile "$LINENO"; then :
68312  glibcxx_cv_func__isnanf_use=yes
68313else
68314  glibcxx_cv_func__isnanf_use=no
68315fi
68316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68317      ac_ext=c
68318ac_cpp='$CPP $CPPFLAGS'
68319ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68320ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68321ac_compiler_gnu=$ac_cv_c_compiler_gnu
68322
68323
68324fi
68325
68326  fi
68327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68328$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68329
68330    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68331      for ac_func in _isnanf
68332do :
68333  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68334if test "x$ac_cv_func__isnanf" = x""yes; then :
68335  cat >>confdefs.h <<_ACEOF
68336#define HAVE__ISNANF 1
68337_ACEOF
68338
68339fi
68340done
68341
68342    fi
68343  fi
68344
68345
68346
68347
68348
68349  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68350$as_echo_n "checking for isinff declaration... " >&6; }
68351  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68352    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
68353  $as_echo_n "(cached) " >&6
68354else
68355
68356
68357      ac_ext=cpp
68358ac_cpp='$CXXCPP $CPPFLAGS'
68359ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68360ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68361ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68362
68363      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68364/* end confdefs.h.  */
68365#include <math.h>
68366		      #ifdef HAVE_IEEEFP_H
68367		      #include <ieeefp.h>
68368		      #endif
68369
68370int
68371main ()
68372{
68373 isinff(0);
68374  ;
68375  return 0;
68376}
68377_ACEOF
68378if ac_fn_cxx_try_compile "$LINENO"; then :
68379  glibcxx_cv_func_isinff_use=yes
68380else
68381  glibcxx_cv_func_isinff_use=no
68382fi
68383rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68384      ac_ext=c
68385ac_cpp='$CPP $CPPFLAGS'
68386ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68387ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68388ac_compiler_gnu=$ac_cv_c_compiler_gnu
68389
68390
68391fi
68392
68393  fi
68394  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68395$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68396
68397  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68398    for ac_func in isinff
68399do :
68400  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68401if test "x$ac_cv_func_isinff" = x""yes; then :
68402  cat >>confdefs.h <<_ACEOF
68403#define HAVE_ISINFF 1
68404_ACEOF
68405
68406fi
68407done
68408
68409  else
68410
68411  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68412$as_echo_n "checking for _isinff declaration... " >&6; }
68413  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68414    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
68415  $as_echo_n "(cached) " >&6
68416else
68417
68418
68419      ac_ext=cpp
68420ac_cpp='$CXXCPP $CPPFLAGS'
68421ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68422ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68423ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68424
68425      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68426/* end confdefs.h.  */
68427#include <math.h>
68428		      #ifdef HAVE_IEEEFP_H
68429		      #include <ieeefp.h>
68430		      #endif
68431
68432int
68433main ()
68434{
68435 _isinff(0);
68436  ;
68437  return 0;
68438}
68439_ACEOF
68440if ac_fn_cxx_try_compile "$LINENO"; then :
68441  glibcxx_cv_func__isinff_use=yes
68442else
68443  glibcxx_cv_func__isinff_use=no
68444fi
68445rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68446      ac_ext=c
68447ac_cpp='$CPP $CPPFLAGS'
68448ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68449ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68450ac_compiler_gnu=$ac_cv_c_compiler_gnu
68451
68452
68453fi
68454
68455  fi
68456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68457$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68458
68459    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68460      for ac_func in _isinff
68461do :
68462  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68463if test "x$ac_cv_func__isinff" = x""yes; then :
68464  cat >>confdefs.h <<_ACEOF
68465#define HAVE__ISINFF 1
68466_ACEOF
68467
68468fi
68469done
68470
68471    fi
68472  fi
68473
68474
68475
68476
68477
68478  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68479$as_echo_n "checking for atan2f declaration... " >&6; }
68480  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68481    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
68482  $as_echo_n "(cached) " >&6
68483else
68484
68485
68486      ac_ext=cpp
68487ac_cpp='$CXXCPP $CPPFLAGS'
68488ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68489ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68490ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68491
68492      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68493/* end confdefs.h.  */
68494#include <math.h>
68495int
68496main ()
68497{
68498 atan2f(0, 0);
68499  ;
68500  return 0;
68501}
68502_ACEOF
68503if ac_fn_cxx_try_compile "$LINENO"; then :
68504  glibcxx_cv_func_atan2f_use=yes
68505else
68506  glibcxx_cv_func_atan2f_use=no
68507fi
68508rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68509      ac_ext=c
68510ac_cpp='$CPP $CPPFLAGS'
68511ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68512ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68513ac_compiler_gnu=$ac_cv_c_compiler_gnu
68514
68515
68516fi
68517
68518  fi
68519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68520$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68521
68522  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68523    for ac_func in atan2f
68524do :
68525  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68526if test "x$ac_cv_func_atan2f" = x""yes; then :
68527  cat >>confdefs.h <<_ACEOF
68528#define HAVE_ATAN2F 1
68529_ACEOF
68530
68531fi
68532done
68533
68534  else
68535
68536  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68537$as_echo_n "checking for _atan2f declaration... " >&6; }
68538  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68539    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68540  $as_echo_n "(cached) " >&6
68541else
68542
68543
68544      ac_ext=cpp
68545ac_cpp='$CXXCPP $CPPFLAGS'
68546ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68547ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68548ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68549
68550      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68551/* end confdefs.h.  */
68552#include <math.h>
68553int
68554main ()
68555{
68556 _atan2f(0, 0);
68557  ;
68558  return 0;
68559}
68560_ACEOF
68561if ac_fn_cxx_try_compile "$LINENO"; then :
68562  glibcxx_cv_func__atan2f_use=yes
68563else
68564  glibcxx_cv_func__atan2f_use=no
68565fi
68566rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68567      ac_ext=c
68568ac_cpp='$CPP $CPPFLAGS'
68569ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68570ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68571ac_compiler_gnu=$ac_cv_c_compiler_gnu
68572
68573
68574fi
68575
68576  fi
68577  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68578$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68579
68580    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68581      for ac_func in _atan2f
68582do :
68583  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68584if test "x$ac_cv_func__atan2f" = x""yes; then :
68585  cat >>confdefs.h <<_ACEOF
68586#define HAVE__ATAN2F 1
68587_ACEOF
68588
68589fi
68590done
68591
68592    fi
68593  fi
68594
68595
68596
68597
68598
68599  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68600$as_echo_n "checking for fabsf declaration... " >&6; }
68601  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68602    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68603  $as_echo_n "(cached) " >&6
68604else
68605
68606
68607      ac_ext=cpp
68608ac_cpp='$CXXCPP $CPPFLAGS'
68609ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68610ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68611ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68612
68613      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68614/* end confdefs.h.  */
68615#include <math.h>
68616		      #ifdef HAVE_IEEEFP_H
68617		      #include <ieeefp.h>
68618		      #endif
68619
68620int
68621main ()
68622{
68623 fabsf(0);
68624  ;
68625  return 0;
68626}
68627_ACEOF
68628if ac_fn_cxx_try_compile "$LINENO"; then :
68629  glibcxx_cv_func_fabsf_use=yes
68630else
68631  glibcxx_cv_func_fabsf_use=no
68632fi
68633rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68634      ac_ext=c
68635ac_cpp='$CPP $CPPFLAGS'
68636ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68637ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68638ac_compiler_gnu=$ac_cv_c_compiler_gnu
68639
68640
68641fi
68642
68643  fi
68644  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68645$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68646
68647  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68648    for ac_func in fabsf
68649do :
68650  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68651if test "x$ac_cv_func_fabsf" = x""yes; then :
68652  cat >>confdefs.h <<_ACEOF
68653#define HAVE_FABSF 1
68654_ACEOF
68655
68656fi
68657done
68658
68659  else
68660
68661  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68662$as_echo_n "checking for _fabsf declaration... " >&6; }
68663  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68664    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68665  $as_echo_n "(cached) " >&6
68666else
68667
68668
68669      ac_ext=cpp
68670ac_cpp='$CXXCPP $CPPFLAGS'
68671ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68672ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68673ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68674
68675      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68676/* end confdefs.h.  */
68677#include <math.h>
68678		      #ifdef HAVE_IEEEFP_H
68679		      #include <ieeefp.h>
68680		      #endif
68681
68682int
68683main ()
68684{
68685 _fabsf(0);
68686  ;
68687  return 0;
68688}
68689_ACEOF
68690if ac_fn_cxx_try_compile "$LINENO"; then :
68691  glibcxx_cv_func__fabsf_use=yes
68692else
68693  glibcxx_cv_func__fabsf_use=no
68694fi
68695rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68696      ac_ext=c
68697ac_cpp='$CPP $CPPFLAGS'
68698ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68699ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68700ac_compiler_gnu=$ac_cv_c_compiler_gnu
68701
68702
68703fi
68704
68705  fi
68706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68707$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68708
68709    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68710      for ac_func in _fabsf
68711do :
68712  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68713if test "x$ac_cv_func__fabsf" = x""yes; then :
68714  cat >>confdefs.h <<_ACEOF
68715#define HAVE__FABSF 1
68716_ACEOF
68717
68718fi
68719done
68720
68721    fi
68722  fi
68723
68724
68725
68726
68727
68728  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68729$as_echo_n "checking for fmodf declaration... " >&6; }
68730  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68731    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68732  $as_echo_n "(cached) " >&6
68733else
68734
68735
68736      ac_ext=cpp
68737ac_cpp='$CXXCPP $CPPFLAGS'
68738ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68739ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68740ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68741
68742      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68743/* end confdefs.h.  */
68744#include <math.h>
68745int
68746main ()
68747{
68748 fmodf(0, 0);
68749  ;
68750  return 0;
68751}
68752_ACEOF
68753if ac_fn_cxx_try_compile "$LINENO"; then :
68754  glibcxx_cv_func_fmodf_use=yes
68755else
68756  glibcxx_cv_func_fmodf_use=no
68757fi
68758rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68759      ac_ext=c
68760ac_cpp='$CPP $CPPFLAGS'
68761ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68762ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68763ac_compiler_gnu=$ac_cv_c_compiler_gnu
68764
68765
68766fi
68767
68768  fi
68769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68770$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68771
68772  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68773    for ac_func in fmodf
68774do :
68775  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68776if test "x$ac_cv_func_fmodf" = x""yes; then :
68777  cat >>confdefs.h <<_ACEOF
68778#define HAVE_FMODF 1
68779_ACEOF
68780
68781fi
68782done
68783
68784  else
68785
68786  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68787$as_echo_n "checking for _fmodf declaration... " >&6; }
68788  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68789    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68790  $as_echo_n "(cached) " >&6
68791else
68792
68793
68794      ac_ext=cpp
68795ac_cpp='$CXXCPP $CPPFLAGS'
68796ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68797ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68798ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68799
68800      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68801/* end confdefs.h.  */
68802#include <math.h>
68803int
68804main ()
68805{
68806 _fmodf(0, 0);
68807  ;
68808  return 0;
68809}
68810_ACEOF
68811if ac_fn_cxx_try_compile "$LINENO"; then :
68812  glibcxx_cv_func__fmodf_use=yes
68813else
68814  glibcxx_cv_func__fmodf_use=no
68815fi
68816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68817      ac_ext=c
68818ac_cpp='$CPP $CPPFLAGS'
68819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68821ac_compiler_gnu=$ac_cv_c_compiler_gnu
68822
68823
68824fi
68825
68826  fi
68827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68828$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68829
68830    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68831      for ac_func in _fmodf
68832do :
68833  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68834if test "x$ac_cv_func__fmodf" = x""yes; then :
68835  cat >>confdefs.h <<_ACEOF
68836#define HAVE__FMODF 1
68837_ACEOF
68838
68839fi
68840done
68841
68842    fi
68843  fi
68844
68845
68846
68847
68848
68849  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68850$as_echo_n "checking for frexpf declaration... " >&6; }
68851  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68852    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68853  $as_echo_n "(cached) " >&6
68854else
68855
68856
68857      ac_ext=cpp
68858ac_cpp='$CXXCPP $CPPFLAGS'
68859ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68860ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68861ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68862
68863      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68864/* end confdefs.h.  */
68865#include <math.h>
68866int
68867main ()
68868{
68869 frexpf(0, 0);
68870  ;
68871  return 0;
68872}
68873_ACEOF
68874if ac_fn_cxx_try_compile "$LINENO"; then :
68875  glibcxx_cv_func_frexpf_use=yes
68876else
68877  glibcxx_cv_func_frexpf_use=no
68878fi
68879rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68880      ac_ext=c
68881ac_cpp='$CPP $CPPFLAGS'
68882ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68883ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68884ac_compiler_gnu=$ac_cv_c_compiler_gnu
68885
68886
68887fi
68888
68889  fi
68890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68891$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68892
68893  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68894    for ac_func in frexpf
68895do :
68896  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68897if test "x$ac_cv_func_frexpf" = x""yes; then :
68898  cat >>confdefs.h <<_ACEOF
68899#define HAVE_FREXPF 1
68900_ACEOF
68901
68902fi
68903done
68904
68905  else
68906
68907  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68908$as_echo_n "checking for _frexpf declaration... " >&6; }
68909  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68910    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68911  $as_echo_n "(cached) " >&6
68912else
68913
68914
68915      ac_ext=cpp
68916ac_cpp='$CXXCPP $CPPFLAGS'
68917ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68918ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68919ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68920
68921      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68922/* end confdefs.h.  */
68923#include <math.h>
68924int
68925main ()
68926{
68927 _frexpf(0, 0);
68928  ;
68929  return 0;
68930}
68931_ACEOF
68932if ac_fn_cxx_try_compile "$LINENO"; then :
68933  glibcxx_cv_func__frexpf_use=yes
68934else
68935  glibcxx_cv_func__frexpf_use=no
68936fi
68937rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68938      ac_ext=c
68939ac_cpp='$CPP $CPPFLAGS'
68940ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68941ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68942ac_compiler_gnu=$ac_cv_c_compiler_gnu
68943
68944
68945fi
68946
68947  fi
68948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68949$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68950
68951    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68952      for ac_func in _frexpf
68953do :
68954  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68955if test "x$ac_cv_func__frexpf" = x""yes; then :
68956  cat >>confdefs.h <<_ACEOF
68957#define HAVE__FREXPF 1
68958_ACEOF
68959
68960fi
68961done
68962
68963    fi
68964  fi
68965
68966
68967
68968
68969
68970  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68971$as_echo_n "checking for hypotf declaration... " >&6; }
68972  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68973    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68974  $as_echo_n "(cached) " >&6
68975else
68976
68977
68978      ac_ext=cpp
68979ac_cpp='$CXXCPP $CPPFLAGS'
68980ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68981ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68982ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68983
68984      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68985/* end confdefs.h.  */
68986#include <math.h>
68987int
68988main ()
68989{
68990 hypotf(0, 0);
68991  ;
68992  return 0;
68993}
68994_ACEOF
68995if ac_fn_cxx_try_compile "$LINENO"; then :
68996  glibcxx_cv_func_hypotf_use=yes
68997else
68998  glibcxx_cv_func_hypotf_use=no
68999fi
69000rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69001      ac_ext=c
69002ac_cpp='$CPP $CPPFLAGS'
69003ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69004ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69005ac_compiler_gnu=$ac_cv_c_compiler_gnu
69006
69007
69008fi
69009
69010  fi
69011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
69012$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
69013
69014  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
69015    for ac_func in hypotf
69016do :
69017  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
69018if test "x$ac_cv_func_hypotf" = x""yes; then :
69019  cat >>confdefs.h <<_ACEOF
69020#define HAVE_HYPOTF 1
69021_ACEOF
69022
69023fi
69024done
69025
69026  else
69027
69028  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
69029$as_echo_n "checking for _hypotf declaration... " >&6; }
69030  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
69031    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
69032  $as_echo_n "(cached) " >&6
69033else
69034
69035
69036      ac_ext=cpp
69037ac_cpp='$CXXCPP $CPPFLAGS'
69038ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69039ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69040ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69041
69042      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69043/* end confdefs.h.  */
69044#include <math.h>
69045int
69046main ()
69047{
69048 _hypotf(0, 0);
69049  ;
69050  return 0;
69051}
69052_ACEOF
69053if ac_fn_cxx_try_compile "$LINENO"; then :
69054  glibcxx_cv_func__hypotf_use=yes
69055else
69056  glibcxx_cv_func__hypotf_use=no
69057fi
69058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69059      ac_ext=c
69060ac_cpp='$CPP $CPPFLAGS'
69061ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69062ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69063ac_compiler_gnu=$ac_cv_c_compiler_gnu
69064
69065
69066fi
69067
69068  fi
69069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
69070$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
69071
69072    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
69073      for ac_func in _hypotf
69074do :
69075  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
69076if test "x$ac_cv_func__hypotf" = x""yes; then :
69077  cat >>confdefs.h <<_ACEOF
69078#define HAVE__HYPOTF 1
69079_ACEOF
69080
69081fi
69082done
69083
69084    fi
69085  fi
69086
69087
69088
69089
69090
69091  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69092$as_echo_n "checking for ldexpf declaration... " >&6; }
69093  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69094    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
69095  $as_echo_n "(cached) " >&6
69096else
69097
69098
69099      ac_ext=cpp
69100ac_cpp='$CXXCPP $CPPFLAGS'
69101ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69102ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69103ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69104
69105      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69106/* end confdefs.h.  */
69107#include <math.h>
69108int
69109main ()
69110{
69111 ldexpf(0, 0);
69112  ;
69113  return 0;
69114}
69115_ACEOF
69116if ac_fn_cxx_try_compile "$LINENO"; then :
69117  glibcxx_cv_func_ldexpf_use=yes
69118else
69119  glibcxx_cv_func_ldexpf_use=no
69120fi
69121rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69122      ac_ext=c
69123ac_cpp='$CPP $CPPFLAGS'
69124ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69125ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69126ac_compiler_gnu=$ac_cv_c_compiler_gnu
69127
69128
69129fi
69130
69131  fi
69132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69133$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69134
69135  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69136    for ac_func in ldexpf
69137do :
69138  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69139if test "x$ac_cv_func_ldexpf" = x""yes; then :
69140  cat >>confdefs.h <<_ACEOF
69141#define HAVE_LDEXPF 1
69142_ACEOF
69143
69144fi
69145done
69146
69147  else
69148
69149  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69150$as_echo_n "checking for _ldexpf declaration... " >&6; }
69151  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69152    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
69153  $as_echo_n "(cached) " >&6
69154else
69155
69156
69157      ac_ext=cpp
69158ac_cpp='$CXXCPP $CPPFLAGS'
69159ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69160ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69161ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69162
69163      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69164/* end confdefs.h.  */
69165#include <math.h>
69166int
69167main ()
69168{
69169 _ldexpf(0, 0);
69170  ;
69171  return 0;
69172}
69173_ACEOF
69174if ac_fn_cxx_try_compile "$LINENO"; then :
69175  glibcxx_cv_func__ldexpf_use=yes
69176else
69177  glibcxx_cv_func__ldexpf_use=no
69178fi
69179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69180      ac_ext=c
69181ac_cpp='$CPP $CPPFLAGS'
69182ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69183ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69184ac_compiler_gnu=$ac_cv_c_compiler_gnu
69185
69186
69187fi
69188
69189  fi
69190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69191$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69192
69193    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69194      for ac_func in _ldexpf
69195do :
69196  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69197if test "x$ac_cv_func__ldexpf" = x""yes; then :
69198  cat >>confdefs.h <<_ACEOF
69199#define HAVE__LDEXPF 1
69200_ACEOF
69201
69202fi
69203done
69204
69205    fi
69206  fi
69207
69208
69209
69210
69211
69212  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69213$as_echo_n "checking for logf declaration... " >&6; }
69214  if test x${glibcxx_cv_func_logf_use+set} != xset; then
69215    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
69216  $as_echo_n "(cached) " >&6
69217else
69218
69219
69220      ac_ext=cpp
69221ac_cpp='$CXXCPP $CPPFLAGS'
69222ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69223ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69224ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69225
69226      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69227/* end confdefs.h.  */
69228#include <math.h>
69229		      #ifdef HAVE_IEEEFP_H
69230		      #include <ieeefp.h>
69231		      #endif
69232
69233int
69234main ()
69235{
69236 logf(0);
69237  ;
69238  return 0;
69239}
69240_ACEOF
69241if ac_fn_cxx_try_compile "$LINENO"; then :
69242  glibcxx_cv_func_logf_use=yes
69243else
69244  glibcxx_cv_func_logf_use=no
69245fi
69246rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69247      ac_ext=c
69248ac_cpp='$CPP $CPPFLAGS'
69249ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69250ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69251ac_compiler_gnu=$ac_cv_c_compiler_gnu
69252
69253
69254fi
69255
69256  fi
69257  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69258$as_echo "$glibcxx_cv_func_logf_use" >&6; }
69259
69260  if test x$glibcxx_cv_func_logf_use = x"yes"; then
69261    for ac_func in logf
69262do :
69263  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69264if test "x$ac_cv_func_logf" = x""yes; then :
69265  cat >>confdefs.h <<_ACEOF
69266#define HAVE_LOGF 1
69267_ACEOF
69268
69269fi
69270done
69271
69272  else
69273
69274  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69275$as_echo_n "checking for _logf declaration... " >&6; }
69276  if test x${glibcxx_cv_func__logf_use+set} != xset; then
69277    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
69278  $as_echo_n "(cached) " >&6
69279else
69280
69281
69282      ac_ext=cpp
69283ac_cpp='$CXXCPP $CPPFLAGS'
69284ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69285ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69286ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69287
69288      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69289/* end confdefs.h.  */
69290#include <math.h>
69291		      #ifdef HAVE_IEEEFP_H
69292		      #include <ieeefp.h>
69293		      #endif
69294
69295int
69296main ()
69297{
69298 _logf(0);
69299  ;
69300  return 0;
69301}
69302_ACEOF
69303if ac_fn_cxx_try_compile "$LINENO"; then :
69304  glibcxx_cv_func__logf_use=yes
69305else
69306  glibcxx_cv_func__logf_use=no
69307fi
69308rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69309      ac_ext=c
69310ac_cpp='$CPP $CPPFLAGS'
69311ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69312ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69313ac_compiler_gnu=$ac_cv_c_compiler_gnu
69314
69315
69316fi
69317
69318  fi
69319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69320$as_echo "$glibcxx_cv_func__logf_use" >&6; }
69321
69322    if test x$glibcxx_cv_func__logf_use = x"yes"; then
69323      for ac_func in _logf
69324do :
69325  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69326if test "x$ac_cv_func__logf" = x""yes; then :
69327  cat >>confdefs.h <<_ACEOF
69328#define HAVE__LOGF 1
69329_ACEOF
69330
69331fi
69332done
69333
69334    fi
69335  fi
69336
69337
69338
69339
69340
69341  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69342$as_echo_n "checking for log10f declaration... " >&6; }
69343  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69344    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
69345  $as_echo_n "(cached) " >&6
69346else
69347
69348
69349      ac_ext=cpp
69350ac_cpp='$CXXCPP $CPPFLAGS'
69351ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69352ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69353ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69354
69355      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69356/* end confdefs.h.  */
69357#include <math.h>
69358		      #ifdef HAVE_IEEEFP_H
69359		      #include <ieeefp.h>
69360		      #endif
69361
69362int
69363main ()
69364{
69365 log10f(0);
69366  ;
69367  return 0;
69368}
69369_ACEOF
69370if ac_fn_cxx_try_compile "$LINENO"; then :
69371  glibcxx_cv_func_log10f_use=yes
69372else
69373  glibcxx_cv_func_log10f_use=no
69374fi
69375rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69376      ac_ext=c
69377ac_cpp='$CPP $CPPFLAGS'
69378ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69379ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69380ac_compiler_gnu=$ac_cv_c_compiler_gnu
69381
69382
69383fi
69384
69385  fi
69386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69387$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69388
69389  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69390    for ac_func in log10f
69391do :
69392  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69393if test "x$ac_cv_func_log10f" = x""yes; then :
69394  cat >>confdefs.h <<_ACEOF
69395#define HAVE_LOG10F 1
69396_ACEOF
69397
69398fi
69399done
69400
69401  else
69402
69403  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69404$as_echo_n "checking for _log10f declaration... " >&6; }
69405  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69406    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
69407  $as_echo_n "(cached) " >&6
69408else
69409
69410
69411      ac_ext=cpp
69412ac_cpp='$CXXCPP $CPPFLAGS'
69413ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69414ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69415ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69416
69417      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69418/* end confdefs.h.  */
69419#include <math.h>
69420		      #ifdef HAVE_IEEEFP_H
69421		      #include <ieeefp.h>
69422		      #endif
69423
69424int
69425main ()
69426{
69427 _log10f(0);
69428  ;
69429  return 0;
69430}
69431_ACEOF
69432if ac_fn_cxx_try_compile "$LINENO"; then :
69433  glibcxx_cv_func__log10f_use=yes
69434else
69435  glibcxx_cv_func__log10f_use=no
69436fi
69437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69438      ac_ext=c
69439ac_cpp='$CPP $CPPFLAGS'
69440ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69441ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69442ac_compiler_gnu=$ac_cv_c_compiler_gnu
69443
69444
69445fi
69446
69447  fi
69448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69449$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69450
69451    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69452      for ac_func in _log10f
69453do :
69454  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69455if test "x$ac_cv_func__log10f" = x""yes; then :
69456  cat >>confdefs.h <<_ACEOF
69457#define HAVE__LOG10F 1
69458_ACEOF
69459
69460fi
69461done
69462
69463    fi
69464  fi
69465
69466
69467
69468
69469
69470  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69471$as_echo_n "checking for modff declaration... " >&6; }
69472  if test x${glibcxx_cv_func_modff_use+set} != xset; then
69473    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
69474  $as_echo_n "(cached) " >&6
69475else
69476
69477
69478      ac_ext=cpp
69479ac_cpp='$CXXCPP $CPPFLAGS'
69480ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69481ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69482ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69483
69484      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69485/* end confdefs.h.  */
69486#include <math.h>
69487int
69488main ()
69489{
69490 modff(0, 0);
69491  ;
69492  return 0;
69493}
69494_ACEOF
69495if ac_fn_cxx_try_compile "$LINENO"; then :
69496  glibcxx_cv_func_modff_use=yes
69497else
69498  glibcxx_cv_func_modff_use=no
69499fi
69500rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69501      ac_ext=c
69502ac_cpp='$CPP $CPPFLAGS'
69503ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69504ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69505ac_compiler_gnu=$ac_cv_c_compiler_gnu
69506
69507
69508fi
69509
69510  fi
69511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69512$as_echo "$glibcxx_cv_func_modff_use" >&6; }
69513
69514  if test x$glibcxx_cv_func_modff_use = x"yes"; then
69515    for ac_func in modff
69516do :
69517  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69518if test "x$ac_cv_func_modff" = x""yes; then :
69519  cat >>confdefs.h <<_ACEOF
69520#define HAVE_MODFF 1
69521_ACEOF
69522
69523fi
69524done
69525
69526  else
69527
69528  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69529$as_echo_n "checking for _modff declaration... " >&6; }
69530  if test x${glibcxx_cv_func__modff_use+set} != xset; then
69531    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69532  $as_echo_n "(cached) " >&6
69533else
69534
69535
69536      ac_ext=cpp
69537ac_cpp='$CXXCPP $CPPFLAGS'
69538ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69539ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69540ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69541
69542      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69543/* end confdefs.h.  */
69544#include <math.h>
69545int
69546main ()
69547{
69548 _modff(0, 0);
69549  ;
69550  return 0;
69551}
69552_ACEOF
69553if ac_fn_cxx_try_compile "$LINENO"; then :
69554  glibcxx_cv_func__modff_use=yes
69555else
69556  glibcxx_cv_func__modff_use=no
69557fi
69558rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69559      ac_ext=c
69560ac_cpp='$CPP $CPPFLAGS'
69561ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69562ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69563ac_compiler_gnu=$ac_cv_c_compiler_gnu
69564
69565
69566fi
69567
69568  fi
69569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69570$as_echo "$glibcxx_cv_func__modff_use" >&6; }
69571
69572    if test x$glibcxx_cv_func__modff_use = x"yes"; then
69573      for ac_func in _modff
69574do :
69575  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69576if test "x$ac_cv_func__modff" = x""yes; then :
69577  cat >>confdefs.h <<_ACEOF
69578#define HAVE__MODFF 1
69579_ACEOF
69580
69581fi
69582done
69583
69584    fi
69585  fi
69586
69587
69588
69589
69590
69591  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69592$as_echo_n "checking for modf declaration... " >&6; }
69593  if test x${glibcxx_cv_func_modf_use+set} != xset; then
69594    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69595  $as_echo_n "(cached) " >&6
69596else
69597
69598
69599      ac_ext=cpp
69600ac_cpp='$CXXCPP $CPPFLAGS'
69601ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69602ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69603ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69604
69605      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69606/* end confdefs.h.  */
69607#include <math.h>
69608int
69609main ()
69610{
69611 modf(0, 0);
69612  ;
69613  return 0;
69614}
69615_ACEOF
69616if ac_fn_cxx_try_compile "$LINENO"; then :
69617  glibcxx_cv_func_modf_use=yes
69618else
69619  glibcxx_cv_func_modf_use=no
69620fi
69621rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69622      ac_ext=c
69623ac_cpp='$CPP $CPPFLAGS'
69624ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69625ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69626ac_compiler_gnu=$ac_cv_c_compiler_gnu
69627
69628
69629fi
69630
69631  fi
69632  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69633$as_echo "$glibcxx_cv_func_modf_use" >&6; }
69634
69635  if test x$glibcxx_cv_func_modf_use = x"yes"; then
69636    for ac_func in modf
69637do :
69638  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69639if test "x$ac_cv_func_modf" = x""yes; then :
69640  cat >>confdefs.h <<_ACEOF
69641#define HAVE_MODF 1
69642_ACEOF
69643
69644fi
69645done
69646
69647  else
69648
69649  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69650$as_echo_n "checking for _modf declaration... " >&6; }
69651  if test x${glibcxx_cv_func__modf_use+set} != xset; then
69652    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69653  $as_echo_n "(cached) " >&6
69654else
69655
69656
69657      ac_ext=cpp
69658ac_cpp='$CXXCPP $CPPFLAGS'
69659ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69660ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69661ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69662
69663      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69664/* end confdefs.h.  */
69665#include <math.h>
69666int
69667main ()
69668{
69669 _modf(0, 0);
69670  ;
69671  return 0;
69672}
69673_ACEOF
69674if ac_fn_cxx_try_compile "$LINENO"; then :
69675  glibcxx_cv_func__modf_use=yes
69676else
69677  glibcxx_cv_func__modf_use=no
69678fi
69679rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69680      ac_ext=c
69681ac_cpp='$CPP $CPPFLAGS'
69682ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69683ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69684ac_compiler_gnu=$ac_cv_c_compiler_gnu
69685
69686
69687fi
69688
69689  fi
69690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69691$as_echo "$glibcxx_cv_func__modf_use" >&6; }
69692
69693    if test x$glibcxx_cv_func__modf_use = x"yes"; then
69694      for ac_func in _modf
69695do :
69696  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69697if test "x$ac_cv_func__modf" = x""yes; then :
69698  cat >>confdefs.h <<_ACEOF
69699#define HAVE__MODF 1
69700_ACEOF
69701
69702fi
69703done
69704
69705    fi
69706  fi
69707
69708
69709
69710
69711
69712  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69713$as_echo_n "checking for powf declaration... " >&6; }
69714  if test x${glibcxx_cv_func_powf_use+set} != xset; then
69715    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69716  $as_echo_n "(cached) " >&6
69717else
69718
69719
69720      ac_ext=cpp
69721ac_cpp='$CXXCPP $CPPFLAGS'
69722ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69723ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69724ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69725
69726      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69727/* end confdefs.h.  */
69728#include <math.h>
69729int
69730main ()
69731{
69732 powf(0, 0);
69733  ;
69734  return 0;
69735}
69736_ACEOF
69737if ac_fn_cxx_try_compile "$LINENO"; then :
69738  glibcxx_cv_func_powf_use=yes
69739else
69740  glibcxx_cv_func_powf_use=no
69741fi
69742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69743      ac_ext=c
69744ac_cpp='$CPP $CPPFLAGS'
69745ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69746ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69747ac_compiler_gnu=$ac_cv_c_compiler_gnu
69748
69749
69750fi
69751
69752  fi
69753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69754$as_echo "$glibcxx_cv_func_powf_use" >&6; }
69755
69756  if test x$glibcxx_cv_func_powf_use = x"yes"; then
69757    for ac_func in powf
69758do :
69759  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69760if test "x$ac_cv_func_powf" = x""yes; then :
69761  cat >>confdefs.h <<_ACEOF
69762#define HAVE_POWF 1
69763_ACEOF
69764
69765fi
69766done
69767
69768  else
69769
69770  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69771$as_echo_n "checking for _powf declaration... " >&6; }
69772  if test x${glibcxx_cv_func__powf_use+set} != xset; then
69773    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69774  $as_echo_n "(cached) " >&6
69775else
69776
69777
69778      ac_ext=cpp
69779ac_cpp='$CXXCPP $CPPFLAGS'
69780ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69781ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69782ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69783
69784      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69785/* end confdefs.h.  */
69786#include <math.h>
69787int
69788main ()
69789{
69790 _powf(0, 0);
69791  ;
69792  return 0;
69793}
69794_ACEOF
69795if ac_fn_cxx_try_compile "$LINENO"; then :
69796  glibcxx_cv_func__powf_use=yes
69797else
69798  glibcxx_cv_func__powf_use=no
69799fi
69800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69801      ac_ext=c
69802ac_cpp='$CPP $CPPFLAGS'
69803ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69804ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69805ac_compiler_gnu=$ac_cv_c_compiler_gnu
69806
69807
69808fi
69809
69810  fi
69811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69812$as_echo "$glibcxx_cv_func__powf_use" >&6; }
69813
69814    if test x$glibcxx_cv_func__powf_use = x"yes"; then
69815      for ac_func in _powf
69816do :
69817  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69818if test "x$ac_cv_func__powf" = x""yes; then :
69819  cat >>confdefs.h <<_ACEOF
69820#define HAVE__POWF 1
69821_ACEOF
69822
69823fi
69824done
69825
69826    fi
69827  fi
69828
69829
69830
69831
69832
69833  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69834$as_echo_n "checking for sqrtf declaration... " >&6; }
69835  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69836    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69837  $as_echo_n "(cached) " >&6
69838else
69839
69840
69841      ac_ext=cpp
69842ac_cpp='$CXXCPP $CPPFLAGS'
69843ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69844ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69845ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69846
69847      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69848/* end confdefs.h.  */
69849#include <math.h>
69850		      #ifdef HAVE_IEEEFP_H
69851		      #include <ieeefp.h>
69852		      #endif
69853
69854int
69855main ()
69856{
69857 sqrtf(0);
69858  ;
69859  return 0;
69860}
69861_ACEOF
69862if ac_fn_cxx_try_compile "$LINENO"; then :
69863  glibcxx_cv_func_sqrtf_use=yes
69864else
69865  glibcxx_cv_func_sqrtf_use=no
69866fi
69867rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69868      ac_ext=c
69869ac_cpp='$CPP $CPPFLAGS'
69870ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69871ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69872ac_compiler_gnu=$ac_cv_c_compiler_gnu
69873
69874
69875fi
69876
69877  fi
69878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69879$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69880
69881  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69882    for ac_func in sqrtf
69883do :
69884  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69885if test "x$ac_cv_func_sqrtf" = x""yes; then :
69886  cat >>confdefs.h <<_ACEOF
69887#define HAVE_SQRTF 1
69888_ACEOF
69889
69890fi
69891done
69892
69893  else
69894
69895  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69896$as_echo_n "checking for _sqrtf declaration... " >&6; }
69897  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69898    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69899  $as_echo_n "(cached) " >&6
69900else
69901
69902
69903      ac_ext=cpp
69904ac_cpp='$CXXCPP $CPPFLAGS'
69905ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69906ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69907ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69908
69909      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69910/* end confdefs.h.  */
69911#include <math.h>
69912		      #ifdef HAVE_IEEEFP_H
69913		      #include <ieeefp.h>
69914		      #endif
69915
69916int
69917main ()
69918{
69919 _sqrtf(0);
69920  ;
69921  return 0;
69922}
69923_ACEOF
69924if ac_fn_cxx_try_compile "$LINENO"; then :
69925  glibcxx_cv_func__sqrtf_use=yes
69926else
69927  glibcxx_cv_func__sqrtf_use=no
69928fi
69929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69930      ac_ext=c
69931ac_cpp='$CPP $CPPFLAGS'
69932ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69933ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69934ac_compiler_gnu=$ac_cv_c_compiler_gnu
69935
69936
69937fi
69938
69939  fi
69940  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69941$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69942
69943    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69944      for ac_func in _sqrtf
69945do :
69946  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69947if test "x$ac_cv_func__sqrtf" = x""yes; then :
69948  cat >>confdefs.h <<_ACEOF
69949#define HAVE__SQRTF 1
69950_ACEOF
69951
69952fi
69953done
69954
69955    fi
69956  fi
69957
69958
69959
69960
69961
69962  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69963$as_echo_n "checking for sincosf declaration... " >&6; }
69964  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69965    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69966  $as_echo_n "(cached) " >&6
69967else
69968
69969
69970      ac_ext=cpp
69971ac_cpp='$CXXCPP $CPPFLAGS'
69972ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69973ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69974ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69975
69976      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69977/* end confdefs.h.  */
69978#include <math.h>
69979int
69980main ()
69981{
69982 sincosf(0, 0, 0);
69983  ;
69984  return 0;
69985}
69986_ACEOF
69987if ac_fn_cxx_try_compile "$LINENO"; then :
69988  glibcxx_cv_func_sincosf_use=yes
69989else
69990  glibcxx_cv_func_sincosf_use=no
69991fi
69992rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69993      ac_ext=c
69994ac_cpp='$CPP $CPPFLAGS'
69995ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69996ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69997ac_compiler_gnu=$ac_cv_c_compiler_gnu
69998
69999
70000fi
70001
70002  fi
70003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
70004$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
70005
70006  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
70007    for ac_func in sincosf
70008do :
70009  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
70010if test "x$ac_cv_func_sincosf" = x""yes; then :
70011  cat >>confdefs.h <<_ACEOF
70012#define HAVE_SINCOSF 1
70013_ACEOF
70014
70015fi
70016done
70017
70018  else
70019
70020  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
70021$as_echo_n "checking for _sincosf declaration... " >&6; }
70022  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
70023    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
70024  $as_echo_n "(cached) " >&6
70025else
70026
70027
70028      ac_ext=cpp
70029ac_cpp='$CXXCPP $CPPFLAGS'
70030ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70031ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70032ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70033
70034      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70035/* end confdefs.h.  */
70036#include <math.h>
70037int
70038main ()
70039{
70040 _sincosf(0, 0, 0);
70041  ;
70042  return 0;
70043}
70044_ACEOF
70045if ac_fn_cxx_try_compile "$LINENO"; then :
70046  glibcxx_cv_func__sincosf_use=yes
70047else
70048  glibcxx_cv_func__sincosf_use=no
70049fi
70050rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70051      ac_ext=c
70052ac_cpp='$CPP $CPPFLAGS'
70053ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70054ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70055ac_compiler_gnu=$ac_cv_c_compiler_gnu
70056
70057
70058fi
70059
70060  fi
70061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
70062$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
70063
70064    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
70065      for ac_func in _sincosf
70066do :
70067  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
70068if test "x$ac_cv_func__sincosf" = x""yes; then :
70069  cat >>confdefs.h <<_ACEOF
70070#define HAVE__SINCOSF 1
70071_ACEOF
70072
70073fi
70074done
70075
70076    fi
70077  fi
70078
70079
70080
70081
70082
70083  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
70084$as_echo_n "checking for finitef declaration... " >&6; }
70085  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
70086    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
70087  $as_echo_n "(cached) " >&6
70088else
70089
70090
70091      ac_ext=cpp
70092ac_cpp='$CXXCPP $CPPFLAGS'
70093ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70094ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70095ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70096
70097      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70098/* end confdefs.h.  */
70099#include <math.h>
70100		      #ifdef HAVE_IEEEFP_H
70101		      #include <ieeefp.h>
70102		      #endif
70103
70104int
70105main ()
70106{
70107 finitef(0);
70108  ;
70109  return 0;
70110}
70111_ACEOF
70112if ac_fn_cxx_try_compile "$LINENO"; then :
70113  glibcxx_cv_func_finitef_use=yes
70114else
70115  glibcxx_cv_func_finitef_use=no
70116fi
70117rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70118      ac_ext=c
70119ac_cpp='$CPP $CPPFLAGS'
70120ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70121ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70122ac_compiler_gnu=$ac_cv_c_compiler_gnu
70123
70124
70125fi
70126
70127  fi
70128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70129$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70130
70131  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70132    for ac_func in finitef
70133do :
70134  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70135if test "x$ac_cv_func_finitef" = x""yes; then :
70136  cat >>confdefs.h <<_ACEOF
70137#define HAVE_FINITEF 1
70138_ACEOF
70139
70140fi
70141done
70142
70143  else
70144
70145  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70146$as_echo_n "checking for _finitef declaration... " >&6; }
70147  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70148    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
70149  $as_echo_n "(cached) " >&6
70150else
70151
70152
70153      ac_ext=cpp
70154ac_cpp='$CXXCPP $CPPFLAGS'
70155ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70156ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70157ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70158
70159      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70160/* end confdefs.h.  */
70161#include <math.h>
70162		      #ifdef HAVE_IEEEFP_H
70163		      #include <ieeefp.h>
70164		      #endif
70165
70166int
70167main ()
70168{
70169 _finitef(0);
70170  ;
70171  return 0;
70172}
70173_ACEOF
70174if ac_fn_cxx_try_compile "$LINENO"; then :
70175  glibcxx_cv_func__finitef_use=yes
70176else
70177  glibcxx_cv_func__finitef_use=no
70178fi
70179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70180      ac_ext=c
70181ac_cpp='$CPP $CPPFLAGS'
70182ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70183ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70184ac_compiler_gnu=$ac_cv_c_compiler_gnu
70185
70186
70187fi
70188
70189  fi
70190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70191$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70192
70193    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70194      for ac_func in _finitef
70195do :
70196  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70197if test "x$ac_cv_func__finitef" = x""yes; then :
70198  cat >>confdefs.h <<_ACEOF
70199#define HAVE__FINITEF 1
70200_ACEOF
70201
70202fi
70203done
70204
70205    fi
70206  fi
70207
70208
70209
70210
70211
70212    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70213$as_echo_n "checking for long double trig functions... " >&6; }
70214  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
70215  $as_echo_n "(cached) " >&6
70216else
70217
70218
70219    ac_ext=cpp
70220ac_cpp='$CXXCPP $CPPFLAGS'
70221ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70222ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70223ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70224
70225    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70226/* end confdefs.h.  */
70227#include <math.h>
70228int
70229main ()
70230{
70231acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70232  ;
70233  return 0;
70234}
70235_ACEOF
70236if ac_fn_cxx_try_compile "$LINENO"; then :
70237  glibcxx_cv_func_long_double_trig_use=yes
70238else
70239  glibcxx_cv_func_long_double_trig_use=no
70240fi
70241rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70242    ac_ext=c
70243ac_cpp='$CPP $CPPFLAGS'
70244ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70245ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70246ac_compiler_gnu=$ac_cv_c_compiler_gnu
70247
70248fi
70249
70250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70251$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70252  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70253    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70254do :
70255  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70256ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70257eval as_val=\$$as_ac_var
70258   if test "x$as_val" = x""yes; then :
70259  cat >>confdefs.h <<_ACEOF
70260#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70261_ACEOF
70262
70263fi
70264done
70265
70266  else
70267    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70268$as_echo_n "checking for _long double trig functions... " >&6; }
70269    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
70270  $as_echo_n "(cached) " >&6
70271else
70272
70273
70274      ac_ext=cpp
70275ac_cpp='$CXXCPP $CPPFLAGS'
70276ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70277ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70278ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70279
70280      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70281/* end confdefs.h.  */
70282#include <math.h>
70283int
70284main ()
70285{
70286_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70287  ;
70288  return 0;
70289}
70290_ACEOF
70291if ac_fn_cxx_try_compile "$LINENO"; then :
70292  glibcxx_cv_func__long_double_trig_use=yes
70293else
70294  glibcxx_cv_func__long_double_trig_use=no
70295fi
70296rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70297      ac_ext=c
70298ac_cpp='$CPP $CPPFLAGS'
70299ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70300ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70301ac_compiler_gnu=$ac_cv_c_compiler_gnu
70302
70303fi
70304
70305    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70306$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70307    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70308      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70309do :
70310  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70311ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70312eval as_val=\$$as_ac_var
70313   if test "x$as_val" = x""yes; then :
70314  cat >>confdefs.h <<_ACEOF
70315#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70316_ACEOF
70317
70318fi
70319done
70320
70321    fi
70322  fi
70323
70324
70325
70326
70327
70328    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70329$as_echo_n "checking for long double round functions... " >&6; }
70330  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
70331  $as_echo_n "(cached) " >&6
70332else
70333
70334
70335    ac_ext=cpp
70336ac_cpp='$CXXCPP $CPPFLAGS'
70337ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70338ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70339ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70340
70341    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70342/* end confdefs.h.  */
70343#include <math.h>
70344int
70345main ()
70346{
70347ceill (0); floorl (0);
70348  ;
70349  return 0;
70350}
70351_ACEOF
70352if ac_fn_cxx_try_compile "$LINENO"; then :
70353  glibcxx_cv_func_long_double_round_use=yes
70354else
70355  glibcxx_cv_func_long_double_round_use=no
70356fi
70357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70358    ac_ext=c
70359ac_cpp='$CPP $CPPFLAGS'
70360ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70361ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70362ac_compiler_gnu=$ac_cv_c_compiler_gnu
70363
70364fi
70365
70366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70367$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70368  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70369    for ac_func in ceill floorl
70370do :
70371  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70372ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70373eval as_val=\$$as_ac_var
70374   if test "x$as_val" = x""yes; then :
70375  cat >>confdefs.h <<_ACEOF
70376#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70377_ACEOF
70378
70379fi
70380done
70381
70382  else
70383    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70384$as_echo_n "checking for _long double round functions... " >&6; }
70385    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
70386  $as_echo_n "(cached) " >&6
70387else
70388
70389
70390      ac_ext=cpp
70391ac_cpp='$CXXCPP $CPPFLAGS'
70392ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70393ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70394ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70395
70396      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70397/* end confdefs.h.  */
70398#include <math.h>
70399int
70400main ()
70401{
70402_ceill (0); _floorl (0);
70403  ;
70404  return 0;
70405}
70406_ACEOF
70407if ac_fn_cxx_try_compile "$LINENO"; then :
70408  glibcxx_cv_func__long_double_round_use=yes
70409else
70410  glibcxx_cv_func__long_double_round_use=no
70411fi
70412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70413      ac_ext=c
70414ac_cpp='$CPP $CPPFLAGS'
70415ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70416ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70417ac_compiler_gnu=$ac_cv_c_compiler_gnu
70418
70419fi
70420
70421    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70422$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70423    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70424      for ac_func in _ceill _floorl
70425do :
70426  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70427ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70428eval as_val=\$$as_ac_var
70429   if test "x$as_val" = x""yes; then :
70430  cat >>confdefs.h <<_ACEOF
70431#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70432_ACEOF
70433
70434fi
70435done
70436
70437    fi
70438  fi
70439
70440
70441
70442
70443
70444
70445  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70446$as_echo_n "checking for isnanl declaration... " >&6; }
70447  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70448    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
70449  $as_echo_n "(cached) " >&6
70450else
70451
70452
70453      ac_ext=cpp
70454ac_cpp='$CXXCPP $CPPFLAGS'
70455ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70456ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70457ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70458
70459      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70460/* end confdefs.h.  */
70461#include <math.h>
70462		      #ifdef HAVE_IEEEFP_H
70463		      #include <ieeefp.h>
70464		      #endif
70465
70466int
70467main ()
70468{
70469 isnanl(0);
70470  ;
70471  return 0;
70472}
70473_ACEOF
70474if ac_fn_cxx_try_compile "$LINENO"; then :
70475  glibcxx_cv_func_isnanl_use=yes
70476else
70477  glibcxx_cv_func_isnanl_use=no
70478fi
70479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70480      ac_ext=c
70481ac_cpp='$CPP $CPPFLAGS'
70482ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70483ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70484ac_compiler_gnu=$ac_cv_c_compiler_gnu
70485
70486
70487fi
70488
70489  fi
70490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70491$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70492
70493  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70494    for ac_func in isnanl
70495do :
70496  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70497if test "x$ac_cv_func_isnanl" = x""yes; then :
70498  cat >>confdefs.h <<_ACEOF
70499#define HAVE_ISNANL 1
70500_ACEOF
70501
70502fi
70503done
70504
70505  else
70506
70507  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70508$as_echo_n "checking for _isnanl declaration... " >&6; }
70509  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70510    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70511  $as_echo_n "(cached) " >&6
70512else
70513
70514
70515      ac_ext=cpp
70516ac_cpp='$CXXCPP $CPPFLAGS'
70517ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70518ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70519ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70520
70521      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70522/* end confdefs.h.  */
70523#include <math.h>
70524		      #ifdef HAVE_IEEEFP_H
70525		      #include <ieeefp.h>
70526		      #endif
70527
70528int
70529main ()
70530{
70531 _isnanl(0);
70532  ;
70533  return 0;
70534}
70535_ACEOF
70536if ac_fn_cxx_try_compile "$LINENO"; then :
70537  glibcxx_cv_func__isnanl_use=yes
70538else
70539  glibcxx_cv_func__isnanl_use=no
70540fi
70541rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70542      ac_ext=c
70543ac_cpp='$CPP $CPPFLAGS'
70544ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70545ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70546ac_compiler_gnu=$ac_cv_c_compiler_gnu
70547
70548
70549fi
70550
70551  fi
70552  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70553$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70554
70555    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70556      for ac_func in _isnanl
70557do :
70558  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70559if test "x$ac_cv_func__isnanl" = x""yes; then :
70560  cat >>confdefs.h <<_ACEOF
70561#define HAVE__ISNANL 1
70562_ACEOF
70563
70564fi
70565done
70566
70567    fi
70568  fi
70569
70570
70571
70572
70573
70574  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70575$as_echo_n "checking for isinfl declaration... " >&6; }
70576  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70577    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70578  $as_echo_n "(cached) " >&6
70579else
70580
70581
70582      ac_ext=cpp
70583ac_cpp='$CXXCPP $CPPFLAGS'
70584ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70585ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70586ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70587
70588      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70589/* end confdefs.h.  */
70590#include <math.h>
70591		      #ifdef HAVE_IEEEFP_H
70592		      #include <ieeefp.h>
70593		      #endif
70594
70595int
70596main ()
70597{
70598 isinfl(0);
70599  ;
70600  return 0;
70601}
70602_ACEOF
70603if ac_fn_cxx_try_compile "$LINENO"; then :
70604  glibcxx_cv_func_isinfl_use=yes
70605else
70606  glibcxx_cv_func_isinfl_use=no
70607fi
70608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70609      ac_ext=c
70610ac_cpp='$CPP $CPPFLAGS'
70611ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70612ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70613ac_compiler_gnu=$ac_cv_c_compiler_gnu
70614
70615
70616fi
70617
70618  fi
70619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70620$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70621
70622  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70623    for ac_func in isinfl
70624do :
70625  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70626if test "x$ac_cv_func_isinfl" = x""yes; then :
70627  cat >>confdefs.h <<_ACEOF
70628#define HAVE_ISINFL 1
70629_ACEOF
70630
70631fi
70632done
70633
70634  else
70635
70636  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70637$as_echo_n "checking for _isinfl declaration... " >&6; }
70638  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70639    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70640  $as_echo_n "(cached) " >&6
70641else
70642
70643
70644      ac_ext=cpp
70645ac_cpp='$CXXCPP $CPPFLAGS'
70646ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70647ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70648ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70649
70650      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70651/* end confdefs.h.  */
70652#include <math.h>
70653		      #ifdef HAVE_IEEEFP_H
70654		      #include <ieeefp.h>
70655		      #endif
70656
70657int
70658main ()
70659{
70660 _isinfl(0);
70661  ;
70662  return 0;
70663}
70664_ACEOF
70665if ac_fn_cxx_try_compile "$LINENO"; then :
70666  glibcxx_cv_func__isinfl_use=yes
70667else
70668  glibcxx_cv_func__isinfl_use=no
70669fi
70670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70671      ac_ext=c
70672ac_cpp='$CPP $CPPFLAGS'
70673ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70674ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70675ac_compiler_gnu=$ac_cv_c_compiler_gnu
70676
70677
70678fi
70679
70680  fi
70681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70682$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70683
70684    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70685      for ac_func in _isinfl
70686do :
70687  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70688if test "x$ac_cv_func__isinfl" = x""yes; then :
70689  cat >>confdefs.h <<_ACEOF
70690#define HAVE__ISINFL 1
70691_ACEOF
70692
70693fi
70694done
70695
70696    fi
70697  fi
70698
70699
70700
70701
70702
70703  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70704$as_echo_n "checking for atan2l declaration... " >&6; }
70705  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70706    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70707  $as_echo_n "(cached) " >&6
70708else
70709
70710
70711      ac_ext=cpp
70712ac_cpp='$CXXCPP $CPPFLAGS'
70713ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70714ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70715ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70716
70717      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70718/* end confdefs.h.  */
70719#include <math.h>
70720int
70721main ()
70722{
70723 atan2l(0, 0);
70724  ;
70725  return 0;
70726}
70727_ACEOF
70728if ac_fn_cxx_try_compile "$LINENO"; then :
70729  glibcxx_cv_func_atan2l_use=yes
70730else
70731  glibcxx_cv_func_atan2l_use=no
70732fi
70733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70734      ac_ext=c
70735ac_cpp='$CPP $CPPFLAGS'
70736ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70737ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70738ac_compiler_gnu=$ac_cv_c_compiler_gnu
70739
70740
70741fi
70742
70743  fi
70744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70745$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70746
70747  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70748    for ac_func in atan2l
70749do :
70750  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70751if test "x$ac_cv_func_atan2l" = x""yes; then :
70752  cat >>confdefs.h <<_ACEOF
70753#define HAVE_ATAN2L 1
70754_ACEOF
70755
70756fi
70757done
70758
70759  else
70760
70761  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70762$as_echo_n "checking for _atan2l declaration... " >&6; }
70763  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70764    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70765  $as_echo_n "(cached) " >&6
70766else
70767
70768
70769      ac_ext=cpp
70770ac_cpp='$CXXCPP $CPPFLAGS'
70771ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70772ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70773ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70774
70775      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70776/* end confdefs.h.  */
70777#include <math.h>
70778int
70779main ()
70780{
70781 _atan2l(0, 0);
70782  ;
70783  return 0;
70784}
70785_ACEOF
70786if ac_fn_cxx_try_compile "$LINENO"; then :
70787  glibcxx_cv_func__atan2l_use=yes
70788else
70789  glibcxx_cv_func__atan2l_use=no
70790fi
70791rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70792      ac_ext=c
70793ac_cpp='$CPP $CPPFLAGS'
70794ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70796ac_compiler_gnu=$ac_cv_c_compiler_gnu
70797
70798
70799fi
70800
70801  fi
70802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70803$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70804
70805    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70806      for ac_func in _atan2l
70807do :
70808  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70809if test "x$ac_cv_func__atan2l" = x""yes; then :
70810  cat >>confdefs.h <<_ACEOF
70811#define HAVE__ATAN2L 1
70812_ACEOF
70813
70814fi
70815done
70816
70817    fi
70818  fi
70819
70820
70821
70822
70823
70824  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70825$as_echo_n "checking for expl declaration... " >&6; }
70826  if test x${glibcxx_cv_func_expl_use+set} != xset; then
70827    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70828  $as_echo_n "(cached) " >&6
70829else
70830
70831
70832      ac_ext=cpp
70833ac_cpp='$CXXCPP $CPPFLAGS'
70834ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70835ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70836ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70837
70838      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70839/* end confdefs.h.  */
70840#include <math.h>
70841		      #ifdef HAVE_IEEEFP_H
70842		      #include <ieeefp.h>
70843		      #endif
70844
70845int
70846main ()
70847{
70848 expl(0);
70849  ;
70850  return 0;
70851}
70852_ACEOF
70853if ac_fn_cxx_try_compile "$LINENO"; then :
70854  glibcxx_cv_func_expl_use=yes
70855else
70856  glibcxx_cv_func_expl_use=no
70857fi
70858rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70859      ac_ext=c
70860ac_cpp='$CPP $CPPFLAGS'
70861ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70862ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70863ac_compiler_gnu=$ac_cv_c_compiler_gnu
70864
70865
70866fi
70867
70868  fi
70869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70870$as_echo "$glibcxx_cv_func_expl_use" >&6; }
70871
70872  if test x$glibcxx_cv_func_expl_use = x"yes"; then
70873    for ac_func in expl
70874do :
70875  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70876if test "x$ac_cv_func_expl" = x""yes; then :
70877  cat >>confdefs.h <<_ACEOF
70878#define HAVE_EXPL 1
70879_ACEOF
70880
70881fi
70882done
70883
70884  else
70885
70886  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70887$as_echo_n "checking for _expl declaration... " >&6; }
70888  if test x${glibcxx_cv_func__expl_use+set} != xset; then
70889    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70890  $as_echo_n "(cached) " >&6
70891else
70892
70893
70894      ac_ext=cpp
70895ac_cpp='$CXXCPP $CPPFLAGS'
70896ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70897ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70898ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70899
70900      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70901/* end confdefs.h.  */
70902#include <math.h>
70903		      #ifdef HAVE_IEEEFP_H
70904		      #include <ieeefp.h>
70905		      #endif
70906
70907int
70908main ()
70909{
70910 _expl(0);
70911  ;
70912  return 0;
70913}
70914_ACEOF
70915if ac_fn_cxx_try_compile "$LINENO"; then :
70916  glibcxx_cv_func__expl_use=yes
70917else
70918  glibcxx_cv_func__expl_use=no
70919fi
70920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70921      ac_ext=c
70922ac_cpp='$CPP $CPPFLAGS'
70923ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70924ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70925ac_compiler_gnu=$ac_cv_c_compiler_gnu
70926
70927
70928fi
70929
70930  fi
70931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70932$as_echo "$glibcxx_cv_func__expl_use" >&6; }
70933
70934    if test x$glibcxx_cv_func__expl_use = x"yes"; then
70935      for ac_func in _expl
70936do :
70937  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70938if test "x$ac_cv_func__expl" = x""yes; then :
70939  cat >>confdefs.h <<_ACEOF
70940#define HAVE__EXPL 1
70941_ACEOF
70942
70943fi
70944done
70945
70946    fi
70947  fi
70948
70949
70950
70951
70952
70953  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70954$as_echo_n "checking for fabsl declaration... " >&6; }
70955  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70956    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70957  $as_echo_n "(cached) " >&6
70958else
70959
70960
70961      ac_ext=cpp
70962ac_cpp='$CXXCPP $CPPFLAGS'
70963ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70964ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70965ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70966
70967      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70968/* end confdefs.h.  */
70969#include <math.h>
70970		      #ifdef HAVE_IEEEFP_H
70971		      #include <ieeefp.h>
70972		      #endif
70973
70974int
70975main ()
70976{
70977 fabsl(0);
70978  ;
70979  return 0;
70980}
70981_ACEOF
70982if ac_fn_cxx_try_compile "$LINENO"; then :
70983  glibcxx_cv_func_fabsl_use=yes
70984else
70985  glibcxx_cv_func_fabsl_use=no
70986fi
70987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70988      ac_ext=c
70989ac_cpp='$CPP $CPPFLAGS'
70990ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70991ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70992ac_compiler_gnu=$ac_cv_c_compiler_gnu
70993
70994
70995fi
70996
70997  fi
70998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70999$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
71000
71001  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
71002    for ac_func in fabsl
71003do :
71004  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
71005if test "x$ac_cv_func_fabsl" = x""yes; then :
71006  cat >>confdefs.h <<_ACEOF
71007#define HAVE_FABSL 1
71008_ACEOF
71009
71010fi
71011done
71012
71013  else
71014
71015  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
71016$as_echo_n "checking for _fabsl declaration... " >&6; }
71017  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71018    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
71019  $as_echo_n "(cached) " >&6
71020else
71021
71022
71023      ac_ext=cpp
71024ac_cpp='$CXXCPP $CPPFLAGS'
71025ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71026ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71027ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71028
71029      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71030/* end confdefs.h.  */
71031#include <math.h>
71032		      #ifdef HAVE_IEEEFP_H
71033		      #include <ieeefp.h>
71034		      #endif
71035
71036int
71037main ()
71038{
71039 _fabsl(0);
71040  ;
71041  return 0;
71042}
71043_ACEOF
71044if ac_fn_cxx_try_compile "$LINENO"; then :
71045  glibcxx_cv_func__fabsl_use=yes
71046else
71047  glibcxx_cv_func__fabsl_use=no
71048fi
71049rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71050      ac_ext=c
71051ac_cpp='$CPP $CPPFLAGS'
71052ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71053ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71054ac_compiler_gnu=$ac_cv_c_compiler_gnu
71055
71056
71057fi
71058
71059  fi
71060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
71061$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
71062
71063    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71064      for ac_func in _fabsl
71065do :
71066  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
71067if test "x$ac_cv_func__fabsl" = x""yes; then :
71068  cat >>confdefs.h <<_ACEOF
71069#define HAVE__FABSL 1
71070_ACEOF
71071
71072fi
71073done
71074
71075    fi
71076  fi
71077
71078
71079
71080
71081
71082  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
71083$as_echo_n "checking for fmodl declaration... " >&6; }
71084  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
71085    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
71086  $as_echo_n "(cached) " >&6
71087else
71088
71089
71090      ac_ext=cpp
71091ac_cpp='$CXXCPP $CPPFLAGS'
71092ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71093ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71094ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71095
71096      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71097/* end confdefs.h.  */
71098#include <math.h>
71099int
71100main ()
71101{
71102 fmodl(0, 0);
71103  ;
71104  return 0;
71105}
71106_ACEOF
71107if ac_fn_cxx_try_compile "$LINENO"; then :
71108  glibcxx_cv_func_fmodl_use=yes
71109else
71110  glibcxx_cv_func_fmodl_use=no
71111fi
71112rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71113      ac_ext=c
71114ac_cpp='$CPP $CPPFLAGS'
71115ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71116ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71117ac_compiler_gnu=$ac_cv_c_compiler_gnu
71118
71119
71120fi
71121
71122  fi
71123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
71124$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
71125
71126  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71127    for ac_func in fmodl
71128do :
71129  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71130if test "x$ac_cv_func_fmodl" = x""yes; then :
71131  cat >>confdefs.h <<_ACEOF
71132#define HAVE_FMODL 1
71133_ACEOF
71134
71135fi
71136done
71137
71138  else
71139
71140  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71141$as_echo_n "checking for _fmodl declaration... " >&6; }
71142  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71143    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
71144  $as_echo_n "(cached) " >&6
71145else
71146
71147
71148      ac_ext=cpp
71149ac_cpp='$CXXCPP $CPPFLAGS'
71150ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71151ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71152ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71153
71154      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71155/* end confdefs.h.  */
71156#include <math.h>
71157int
71158main ()
71159{
71160 _fmodl(0, 0);
71161  ;
71162  return 0;
71163}
71164_ACEOF
71165if ac_fn_cxx_try_compile "$LINENO"; then :
71166  glibcxx_cv_func__fmodl_use=yes
71167else
71168  glibcxx_cv_func__fmodl_use=no
71169fi
71170rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71171      ac_ext=c
71172ac_cpp='$CPP $CPPFLAGS'
71173ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71174ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71175ac_compiler_gnu=$ac_cv_c_compiler_gnu
71176
71177
71178fi
71179
71180  fi
71181  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71182$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71183
71184    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71185      for ac_func in _fmodl
71186do :
71187  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71188if test "x$ac_cv_func__fmodl" = x""yes; then :
71189  cat >>confdefs.h <<_ACEOF
71190#define HAVE__FMODL 1
71191_ACEOF
71192
71193fi
71194done
71195
71196    fi
71197  fi
71198
71199
71200
71201
71202
71203  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71204$as_echo_n "checking for frexpl declaration... " >&6; }
71205  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71206    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
71207  $as_echo_n "(cached) " >&6
71208else
71209
71210
71211      ac_ext=cpp
71212ac_cpp='$CXXCPP $CPPFLAGS'
71213ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71214ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71215ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71216
71217      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71218/* end confdefs.h.  */
71219#include <math.h>
71220int
71221main ()
71222{
71223 frexpl(0, 0);
71224  ;
71225  return 0;
71226}
71227_ACEOF
71228if ac_fn_cxx_try_compile "$LINENO"; then :
71229  glibcxx_cv_func_frexpl_use=yes
71230else
71231  glibcxx_cv_func_frexpl_use=no
71232fi
71233rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71234      ac_ext=c
71235ac_cpp='$CPP $CPPFLAGS'
71236ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71237ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71238ac_compiler_gnu=$ac_cv_c_compiler_gnu
71239
71240
71241fi
71242
71243  fi
71244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71245$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71246
71247  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71248    for ac_func in frexpl
71249do :
71250  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71251if test "x$ac_cv_func_frexpl" = x""yes; then :
71252  cat >>confdefs.h <<_ACEOF
71253#define HAVE_FREXPL 1
71254_ACEOF
71255
71256fi
71257done
71258
71259  else
71260
71261  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71262$as_echo_n "checking for _frexpl declaration... " >&6; }
71263  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71264    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
71265  $as_echo_n "(cached) " >&6
71266else
71267
71268
71269      ac_ext=cpp
71270ac_cpp='$CXXCPP $CPPFLAGS'
71271ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71272ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71273ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71274
71275      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71276/* end confdefs.h.  */
71277#include <math.h>
71278int
71279main ()
71280{
71281 _frexpl(0, 0);
71282  ;
71283  return 0;
71284}
71285_ACEOF
71286if ac_fn_cxx_try_compile "$LINENO"; then :
71287  glibcxx_cv_func__frexpl_use=yes
71288else
71289  glibcxx_cv_func__frexpl_use=no
71290fi
71291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71292      ac_ext=c
71293ac_cpp='$CPP $CPPFLAGS'
71294ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71295ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71296ac_compiler_gnu=$ac_cv_c_compiler_gnu
71297
71298
71299fi
71300
71301  fi
71302  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71303$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71304
71305    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71306      for ac_func in _frexpl
71307do :
71308  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71309if test "x$ac_cv_func__frexpl" = x""yes; then :
71310  cat >>confdefs.h <<_ACEOF
71311#define HAVE__FREXPL 1
71312_ACEOF
71313
71314fi
71315done
71316
71317    fi
71318  fi
71319
71320
71321
71322
71323
71324  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71325$as_echo_n "checking for hypotl declaration... " >&6; }
71326  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71327    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
71328  $as_echo_n "(cached) " >&6
71329else
71330
71331
71332      ac_ext=cpp
71333ac_cpp='$CXXCPP $CPPFLAGS'
71334ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71335ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71336ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71337
71338      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71339/* end confdefs.h.  */
71340#include <math.h>
71341int
71342main ()
71343{
71344 hypotl(0, 0);
71345  ;
71346  return 0;
71347}
71348_ACEOF
71349if ac_fn_cxx_try_compile "$LINENO"; then :
71350  glibcxx_cv_func_hypotl_use=yes
71351else
71352  glibcxx_cv_func_hypotl_use=no
71353fi
71354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71355      ac_ext=c
71356ac_cpp='$CPP $CPPFLAGS'
71357ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71358ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71359ac_compiler_gnu=$ac_cv_c_compiler_gnu
71360
71361
71362fi
71363
71364  fi
71365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71366$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71367
71368  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71369    for ac_func in hypotl
71370do :
71371  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71372if test "x$ac_cv_func_hypotl" = x""yes; then :
71373  cat >>confdefs.h <<_ACEOF
71374#define HAVE_HYPOTL 1
71375_ACEOF
71376
71377fi
71378done
71379
71380  else
71381
71382  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71383$as_echo_n "checking for _hypotl declaration... " >&6; }
71384  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71385    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
71386  $as_echo_n "(cached) " >&6
71387else
71388
71389
71390      ac_ext=cpp
71391ac_cpp='$CXXCPP $CPPFLAGS'
71392ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71393ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71394ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71395
71396      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71397/* end confdefs.h.  */
71398#include <math.h>
71399int
71400main ()
71401{
71402 _hypotl(0, 0);
71403  ;
71404  return 0;
71405}
71406_ACEOF
71407if ac_fn_cxx_try_compile "$LINENO"; then :
71408  glibcxx_cv_func__hypotl_use=yes
71409else
71410  glibcxx_cv_func__hypotl_use=no
71411fi
71412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71413      ac_ext=c
71414ac_cpp='$CPP $CPPFLAGS'
71415ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71416ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71417ac_compiler_gnu=$ac_cv_c_compiler_gnu
71418
71419
71420fi
71421
71422  fi
71423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71424$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71425
71426    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71427      for ac_func in _hypotl
71428do :
71429  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71430if test "x$ac_cv_func__hypotl" = x""yes; then :
71431  cat >>confdefs.h <<_ACEOF
71432#define HAVE__HYPOTL 1
71433_ACEOF
71434
71435fi
71436done
71437
71438    fi
71439  fi
71440
71441
71442
71443
71444
71445  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71446$as_echo_n "checking for ldexpl declaration... " >&6; }
71447  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71448    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
71449  $as_echo_n "(cached) " >&6
71450else
71451
71452
71453      ac_ext=cpp
71454ac_cpp='$CXXCPP $CPPFLAGS'
71455ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71456ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71457ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71458
71459      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71460/* end confdefs.h.  */
71461#include <math.h>
71462int
71463main ()
71464{
71465 ldexpl(0, 0);
71466  ;
71467  return 0;
71468}
71469_ACEOF
71470if ac_fn_cxx_try_compile "$LINENO"; then :
71471  glibcxx_cv_func_ldexpl_use=yes
71472else
71473  glibcxx_cv_func_ldexpl_use=no
71474fi
71475rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71476      ac_ext=c
71477ac_cpp='$CPP $CPPFLAGS'
71478ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71479ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71480ac_compiler_gnu=$ac_cv_c_compiler_gnu
71481
71482
71483fi
71484
71485  fi
71486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71487$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71488
71489  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71490    for ac_func in ldexpl
71491do :
71492  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71493if test "x$ac_cv_func_ldexpl" = x""yes; then :
71494  cat >>confdefs.h <<_ACEOF
71495#define HAVE_LDEXPL 1
71496_ACEOF
71497
71498fi
71499done
71500
71501  else
71502
71503  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71504$as_echo_n "checking for _ldexpl declaration... " >&6; }
71505  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71506    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71507  $as_echo_n "(cached) " >&6
71508else
71509
71510
71511      ac_ext=cpp
71512ac_cpp='$CXXCPP $CPPFLAGS'
71513ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71514ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71515ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71516
71517      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71518/* end confdefs.h.  */
71519#include <math.h>
71520int
71521main ()
71522{
71523 _ldexpl(0, 0);
71524  ;
71525  return 0;
71526}
71527_ACEOF
71528if ac_fn_cxx_try_compile "$LINENO"; then :
71529  glibcxx_cv_func__ldexpl_use=yes
71530else
71531  glibcxx_cv_func__ldexpl_use=no
71532fi
71533rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71534      ac_ext=c
71535ac_cpp='$CPP $CPPFLAGS'
71536ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71537ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71538ac_compiler_gnu=$ac_cv_c_compiler_gnu
71539
71540
71541fi
71542
71543  fi
71544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71545$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71546
71547    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71548      for ac_func in _ldexpl
71549do :
71550  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71551if test "x$ac_cv_func__ldexpl" = x""yes; then :
71552  cat >>confdefs.h <<_ACEOF
71553#define HAVE__LDEXPL 1
71554_ACEOF
71555
71556fi
71557done
71558
71559    fi
71560  fi
71561
71562
71563
71564
71565
71566  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71567$as_echo_n "checking for logl declaration... " >&6; }
71568  if test x${glibcxx_cv_func_logl_use+set} != xset; then
71569    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71570  $as_echo_n "(cached) " >&6
71571else
71572
71573
71574      ac_ext=cpp
71575ac_cpp='$CXXCPP $CPPFLAGS'
71576ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71577ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71578ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71579
71580      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71581/* end confdefs.h.  */
71582#include <math.h>
71583		      #ifdef HAVE_IEEEFP_H
71584		      #include <ieeefp.h>
71585		      #endif
71586
71587int
71588main ()
71589{
71590 logl(0);
71591  ;
71592  return 0;
71593}
71594_ACEOF
71595if ac_fn_cxx_try_compile "$LINENO"; then :
71596  glibcxx_cv_func_logl_use=yes
71597else
71598  glibcxx_cv_func_logl_use=no
71599fi
71600rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71601      ac_ext=c
71602ac_cpp='$CPP $CPPFLAGS'
71603ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71604ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71605ac_compiler_gnu=$ac_cv_c_compiler_gnu
71606
71607
71608fi
71609
71610  fi
71611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71612$as_echo "$glibcxx_cv_func_logl_use" >&6; }
71613
71614  if test x$glibcxx_cv_func_logl_use = x"yes"; then
71615    for ac_func in logl
71616do :
71617  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71618if test "x$ac_cv_func_logl" = x""yes; then :
71619  cat >>confdefs.h <<_ACEOF
71620#define HAVE_LOGL 1
71621_ACEOF
71622
71623fi
71624done
71625
71626  else
71627
71628  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71629$as_echo_n "checking for _logl declaration... " >&6; }
71630  if test x${glibcxx_cv_func__logl_use+set} != xset; then
71631    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71632  $as_echo_n "(cached) " >&6
71633else
71634
71635
71636      ac_ext=cpp
71637ac_cpp='$CXXCPP $CPPFLAGS'
71638ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71639ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71640ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71641
71642      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71643/* end confdefs.h.  */
71644#include <math.h>
71645		      #ifdef HAVE_IEEEFP_H
71646		      #include <ieeefp.h>
71647		      #endif
71648
71649int
71650main ()
71651{
71652 _logl(0);
71653  ;
71654  return 0;
71655}
71656_ACEOF
71657if ac_fn_cxx_try_compile "$LINENO"; then :
71658  glibcxx_cv_func__logl_use=yes
71659else
71660  glibcxx_cv_func__logl_use=no
71661fi
71662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71663      ac_ext=c
71664ac_cpp='$CPP $CPPFLAGS'
71665ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71666ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71667ac_compiler_gnu=$ac_cv_c_compiler_gnu
71668
71669
71670fi
71671
71672  fi
71673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71674$as_echo "$glibcxx_cv_func__logl_use" >&6; }
71675
71676    if test x$glibcxx_cv_func__logl_use = x"yes"; then
71677      for ac_func in _logl
71678do :
71679  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71680if test "x$ac_cv_func__logl" = x""yes; then :
71681  cat >>confdefs.h <<_ACEOF
71682#define HAVE__LOGL 1
71683_ACEOF
71684
71685fi
71686done
71687
71688    fi
71689  fi
71690
71691
71692
71693
71694
71695  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71696$as_echo_n "checking for log10l declaration... " >&6; }
71697  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71698    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71699  $as_echo_n "(cached) " >&6
71700else
71701
71702
71703      ac_ext=cpp
71704ac_cpp='$CXXCPP $CPPFLAGS'
71705ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71706ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71707ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71708
71709      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71710/* end confdefs.h.  */
71711#include <math.h>
71712		      #ifdef HAVE_IEEEFP_H
71713		      #include <ieeefp.h>
71714		      #endif
71715
71716int
71717main ()
71718{
71719 log10l(0);
71720  ;
71721  return 0;
71722}
71723_ACEOF
71724if ac_fn_cxx_try_compile "$LINENO"; then :
71725  glibcxx_cv_func_log10l_use=yes
71726else
71727  glibcxx_cv_func_log10l_use=no
71728fi
71729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71730      ac_ext=c
71731ac_cpp='$CPP $CPPFLAGS'
71732ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71733ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71734ac_compiler_gnu=$ac_cv_c_compiler_gnu
71735
71736
71737fi
71738
71739  fi
71740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71741$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71742
71743  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71744    for ac_func in log10l
71745do :
71746  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71747if test "x$ac_cv_func_log10l" = x""yes; then :
71748  cat >>confdefs.h <<_ACEOF
71749#define HAVE_LOG10L 1
71750_ACEOF
71751
71752fi
71753done
71754
71755  else
71756
71757  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71758$as_echo_n "checking for _log10l declaration... " >&6; }
71759  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71760    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71761  $as_echo_n "(cached) " >&6
71762else
71763
71764
71765      ac_ext=cpp
71766ac_cpp='$CXXCPP $CPPFLAGS'
71767ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71768ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71769ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71770
71771      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71772/* end confdefs.h.  */
71773#include <math.h>
71774		      #ifdef HAVE_IEEEFP_H
71775		      #include <ieeefp.h>
71776		      #endif
71777
71778int
71779main ()
71780{
71781 _log10l(0);
71782  ;
71783  return 0;
71784}
71785_ACEOF
71786if ac_fn_cxx_try_compile "$LINENO"; then :
71787  glibcxx_cv_func__log10l_use=yes
71788else
71789  glibcxx_cv_func__log10l_use=no
71790fi
71791rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71792      ac_ext=c
71793ac_cpp='$CPP $CPPFLAGS'
71794ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71796ac_compiler_gnu=$ac_cv_c_compiler_gnu
71797
71798
71799fi
71800
71801  fi
71802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71803$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71804
71805    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71806      for ac_func in _log10l
71807do :
71808  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71809if test "x$ac_cv_func__log10l" = x""yes; then :
71810  cat >>confdefs.h <<_ACEOF
71811#define HAVE__LOG10L 1
71812_ACEOF
71813
71814fi
71815done
71816
71817    fi
71818  fi
71819
71820
71821
71822
71823
71824  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71825$as_echo_n "checking for modfl declaration... " >&6; }
71826  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71827    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71828  $as_echo_n "(cached) " >&6
71829else
71830
71831
71832      ac_ext=cpp
71833ac_cpp='$CXXCPP $CPPFLAGS'
71834ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71835ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71836ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71837
71838      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71839/* end confdefs.h.  */
71840#include <math.h>
71841int
71842main ()
71843{
71844 modfl(0, 0);
71845  ;
71846  return 0;
71847}
71848_ACEOF
71849if ac_fn_cxx_try_compile "$LINENO"; then :
71850  glibcxx_cv_func_modfl_use=yes
71851else
71852  glibcxx_cv_func_modfl_use=no
71853fi
71854rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71855      ac_ext=c
71856ac_cpp='$CPP $CPPFLAGS'
71857ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71858ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71859ac_compiler_gnu=$ac_cv_c_compiler_gnu
71860
71861
71862fi
71863
71864  fi
71865  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71866$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71867
71868  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71869    for ac_func in modfl
71870do :
71871  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71872if test "x$ac_cv_func_modfl" = x""yes; then :
71873  cat >>confdefs.h <<_ACEOF
71874#define HAVE_MODFL 1
71875_ACEOF
71876
71877fi
71878done
71879
71880  else
71881
71882  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71883$as_echo_n "checking for _modfl declaration... " >&6; }
71884  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71885    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71886  $as_echo_n "(cached) " >&6
71887else
71888
71889
71890      ac_ext=cpp
71891ac_cpp='$CXXCPP $CPPFLAGS'
71892ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71893ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71894ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71895
71896      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71897/* end confdefs.h.  */
71898#include <math.h>
71899int
71900main ()
71901{
71902 _modfl(0, 0);
71903  ;
71904  return 0;
71905}
71906_ACEOF
71907if ac_fn_cxx_try_compile "$LINENO"; then :
71908  glibcxx_cv_func__modfl_use=yes
71909else
71910  glibcxx_cv_func__modfl_use=no
71911fi
71912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71913      ac_ext=c
71914ac_cpp='$CPP $CPPFLAGS'
71915ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71916ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71917ac_compiler_gnu=$ac_cv_c_compiler_gnu
71918
71919
71920fi
71921
71922  fi
71923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71924$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71925
71926    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71927      for ac_func in _modfl
71928do :
71929  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71930if test "x$ac_cv_func__modfl" = x""yes; then :
71931  cat >>confdefs.h <<_ACEOF
71932#define HAVE__MODFL 1
71933_ACEOF
71934
71935fi
71936done
71937
71938    fi
71939  fi
71940
71941
71942
71943
71944
71945  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71946$as_echo_n "checking for powl declaration... " >&6; }
71947  if test x${glibcxx_cv_func_powl_use+set} != xset; then
71948    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71949  $as_echo_n "(cached) " >&6
71950else
71951
71952
71953      ac_ext=cpp
71954ac_cpp='$CXXCPP $CPPFLAGS'
71955ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71956ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71957ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71958
71959      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71960/* end confdefs.h.  */
71961#include <math.h>
71962int
71963main ()
71964{
71965 powl(0, 0);
71966  ;
71967  return 0;
71968}
71969_ACEOF
71970if ac_fn_cxx_try_compile "$LINENO"; then :
71971  glibcxx_cv_func_powl_use=yes
71972else
71973  glibcxx_cv_func_powl_use=no
71974fi
71975rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71976      ac_ext=c
71977ac_cpp='$CPP $CPPFLAGS'
71978ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71979ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71980ac_compiler_gnu=$ac_cv_c_compiler_gnu
71981
71982
71983fi
71984
71985  fi
71986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71987$as_echo "$glibcxx_cv_func_powl_use" >&6; }
71988
71989  if test x$glibcxx_cv_func_powl_use = x"yes"; then
71990    for ac_func in powl
71991do :
71992  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71993if test "x$ac_cv_func_powl" = x""yes; then :
71994  cat >>confdefs.h <<_ACEOF
71995#define HAVE_POWL 1
71996_ACEOF
71997
71998fi
71999done
72000
72001  else
72002
72003  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
72004$as_echo_n "checking for _powl declaration... " >&6; }
72005  if test x${glibcxx_cv_func__powl_use+set} != xset; then
72006    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
72007  $as_echo_n "(cached) " >&6
72008else
72009
72010
72011      ac_ext=cpp
72012ac_cpp='$CXXCPP $CPPFLAGS'
72013ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72014ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72015ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72016
72017      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72018/* end confdefs.h.  */
72019#include <math.h>
72020int
72021main ()
72022{
72023 _powl(0, 0);
72024  ;
72025  return 0;
72026}
72027_ACEOF
72028if ac_fn_cxx_try_compile "$LINENO"; then :
72029  glibcxx_cv_func__powl_use=yes
72030else
72031  glibcxx_cv_func__powl_use=no
72032fi
72033rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72034      ac_ext=c
72035ac_cpp='$CPP $CPPFLAGS'
72036ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72037ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72038ac_compiler_gnu=$ac_cv_c_compiler_gnu
72039
72040
72041fi
72042
72043  fi
72044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
72045$as_echo "$glibcxx_cv_func__powl_use" >&6; }
72046
72047    if test x$glibcxx_cv_func__powl_use = x"yes"; then
72048      for ac_func in _powl
72049do :
72050  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
72051if test "x$ac_cv_func__powl" = x""yes; then :
72052  cat >>confdefs.h <<_ACEOF
72053#define HAVE__POWL 1
72054_ACEOF
72055
72056fi
72057done
72058
72059    fi
72060  fi
72061
72062
72063
72064
72065
72066  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
72067$as_echo_n "checking for sqrtl declaration... " >&6; }
72068  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
72069    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
72070  $as_echo_n "(cached) " >&6
72071else
72072
72073
72074      ac_ext=cpp
72075ac_cpp='$CXXCPP $CPPFLAGS'
72076ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72077ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72078ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72079
72080      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72081/* end confdefs.h.  */
72082#include <math.h>
72083		      #ifdef HAVE_IEEEFP_H
72084		      #include <ieeefp.h>
72085		      #endif
72086
72087int
72088main ()
72089{
72090 sqrtl(0);
72091  ;
72092  return 0;
72093}
72094_ACEOF
72095if ac_fn_cxx_try_compile "$LINENO"; then :
72096  glibcxx_cv_func_sqrtl_use=yes
72097else
72098  glibcxx_cv_func_sqrtl_use=no
72099fi
72100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72101      ac_ext=c
72102ac_cpp='$CPP $CPPFLAGS'
72103ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72104ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72105ac_compiler_gnu=$ac_cv_c_compiler_gnu
72106
72107
72108fi
72109
72110  fi
72111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
72112$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
72113
72114  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72115    for ac_func in sqrtl
72116do :
72117  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
72118if test "x$ac_cv_func_sqrtl" = x""yes; then :
72119  cat >>confdefs.h <<_ACEOF
72120#define HAVE_SQRTL 1
72121_ACEOF
72122
72123fi
72124done
72125
72126  else
72127
72128  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72129$as_echo_n "checking for _sqrtl declaration... " >&6; }
72130  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72131    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
72132  $as_echo_n "(cached) " >&6
72133else
72134
72135
72136      ac_ext=cpp
72137ac_cpp='$CXXCPP $CPPFLAGS'
72138ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72139ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72140ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72141
72142      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72143/* end confdefs.h.  */
72144#include <math.h>
72145		      #ifdef HAVE_IEEEFP_H
72146		      #include <ieeefp.h>
72147		      #endif
72148
72149int
72150main ()
72151{
72152 _sqrtl(0);
72153  ;
72154  return 0;
72155}
72156_ACEOF
72157if ac_fn_cxx_try_compile "$LINENO"; then :
72158  glibcxx_cv_func__sqrtl_use=yes
72159else
72160  glibcxx_cv_func__sqrtl_use=no
72161fi
72162rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72163      ac_ext=c
72164ac_cpp='$CPP $CPPFLAGS'
72165ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72166ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72167ac_compiler_gnu=$ac_cv_c_compiler_gnu
72168
72169
72170fi
72171
72172  fi
72173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72174$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72175
72176    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72177      for ac_func in _sqrtl
72178do :
72179  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72180if test "x$ac_cv_func__sqrtl" = x""yes; then :
72181  cat >>confdefs.h <<_ACEOF
72182#define HAVE__SQRTL 1
72183_ACEOF
72184
72185fi
72186done
72187
72188    fi
72189  fi
72190
72191
72192
72193
72194
72195  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72196$as_echo_n "checking for sincosl declaration... " >&6; }
72197  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72198    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
72199  $as_echo_n "(cached) " >&6
72200else
72201
72202
72203      ac_ext=cpp
72204ac_cpp='$CXXCPP $CPPFLAGS'
72205ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72206ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72207ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72208
72209      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72210/* end confdefs.h.  */
72211#include <math.h>
72212int
72213main ()
72214{
72215 sincosl(0, 0, 0);
72216  ;
72217  return 0;
72218}
72219_ACEOF
72220if ac_fn_cxx_try_compile "$LINENO"; then :
72221  glibcxx_cv_func_sincosl_use=yes
72222else
72223  glibcxx_cv_func_sincosl_use=no
72224fi
72225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72226      ac_ext=c
72227ac_cpp='$CPP $CPPFLAGS'
72228ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72229ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72230ac_compiler_gnu=$ac_cv_c_compiler_gnu
72231
72232
72233fi
72234
72235  fi
72236  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72237$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72238
72239  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72240    for ac_func in sincosl
72241do :
72242  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72243if test "x$ac_cv_func_sincosl" = x""yes; then :
72244  cat >>confdefs.h <<_ACEOF
72245#define HAVE_SINCOSL 1
72246_ACEOF
72247
72248fi
72249done
72250
72251  else
72252
72253  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72254$as_echo_n "checking for _sincosl declaration... " >&6; }
72255  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72256    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
72257  $as_echo_n "(cached) " >&6
72258else
72259
72260
72261      ac_ext=cpp
72262ac_cpp='$CXXCPP $CPPFLAGS'
72263ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72264ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72265ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72266
72267      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72268/* end confdefs.h.  */
72269#include <math.h>
72270int
72271main ()
72272{
72273 _sincosl(0, 0, 0);
72274  ;
72275  return 0;
72276}
72277_ACEOF
72278if ac_fn_cxx_try_compile "$LINENO"; then :
72279  glibcxx_cv_func__sincosl_use=yes
72280else
72281  glibcxx_cv_func__sincosl_use=no
72282fi
72283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72284      ac_ext=c
72285ac_cpp='$CPP $CPPFLAGS'
72286ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72287ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72288ac_compiler_gnu=$ac_cv_c_compiler_gnu
72289
72290
72291fi
72292
72293  fi
72294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72295$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72296
72297    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72298      for ac_func in _sincosl
72299do :
72300  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72301if test "x$ac_cv_func__sincosl" = x""yes; then :
72302  cat >>confdefs.h <<_ACEOF
72303#define HAVE__SINCOSL 1
72304_ACEOF
72305
72306fi
72307done
72308
72309    fi
72310  fi
72311
72312
72313
72314
72315
72316  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72317$as_echo_n "checking for finitel declaration... " >&6; }
72318  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72319    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
72320  $as_echo_n "(cached) " >&6
72321else
72322
72323
72324      ac_ext=cpp
72325ac_cpp='$CXXCPP $CPPFLAGS'
72326ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72327ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72328ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72329
72330      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72331/* end confdefs.h.  */
72332#include <math.h>
72333		      #ifdef HAVE_IEEEFP_H
72334		      #include <ieeefp.h>
72335		      #endif
72336
72337int
72338main ()
72339{
72340 finitel(0);
72341  ;
72342  return 0;
72343}
72344_ACEOF
72345if ac_fn_cxx_try_compile "$LINENO"; then :
72346  glibcxx_cv_func_finitel_use=yes
72347else
72348  glibcxx_cv_func_finitel_use=no
72349fi
72350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72351      ac_ext=c
72352ac_cpp='$CPP $CPPFLAGS'
72353ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72354ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72355ac_compiler_gnu=$ac_cv_c_compiler_gnu
72356
72357
72358fi
72359
72360  fi
72361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72362$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72363
72364  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72365    for ac_func in finitel
72366do :
72367  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72368if test "x$ac_cv_func_finitel" = x""yes; then :
72369  cat >>confdefs.h <<_ACEOF
72370#define HAVE_FINITEL 1
72371_ACEOF
72372
72373fi
72374done
72375
72376  else
72377
72378  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72379$as_echo_n "checking for _finitel declaration... " >&6; }
72380  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72381    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
72382  $as_echo_n "(cached) " >&6
72383else
72384
72385
72386      ac_ext=cpp
72387ac_cpp='$CXXCPP $CPPFLAGS'
72388ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72389ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72390ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72391
72392      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72393/* end confdefs.h.  */
72394#include <math.h>
72395		      #ifdef HAVE_IEEEFP_H
72396		      #include <ieeefp.h>
72397		      #endif
72398
72399int
72400main ()
72401{
72402 _finitel(0);
72403  ;
72404  return 0;
72405}
72406_ACEOF
72407if ac_fn_cxx_try_compile "$LINENO"; then :
72408  glibcxx_cv_func__finitel_use=yes
72409else
72410  glibcxx_cv_func__finitel_use=no
72411fi
72412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72413      ac_ext=c
72414ac_cpp='$CPP $CPPFLAGS'
72415ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72416ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72417ac_compiler_gnu=$ac_cv_c_compiler_gnu
72418
72419
72420fi
72421
72422  fi
72423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72424$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72425
72426    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72427      for ac_func in _finitel
72428do :
72429  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72430if test "x$ac_cv_func__finitel" = x""yes; then :
72431  cat >>confdefs.h <<_ACEOF
72432#define HAVE__FINITEL 1
72433_ACEOF
72434
72435fi
72436done
72437
72438    fi
72439  fi
72440
72441
72442
72443
72444  LIBS="$ac_save_LIBS"
72445  CXXFLAGS="$ac_save_CXXFLAGS"
72446
72447
72448  ac_test_CXXFLAGS="${CXXFLAGS+set}"
72449  ac_save_CXXFLAGS="$CXXFLAGS"
72450  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72451
72452
72453  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72454$as_echo_n "checking for at_quick_exit declaration... " >&6; }
72455  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72456    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
72457  $as_echo_n "(cached) " >&6
72458else
72459
72460
72461      ac_ext=cpp
72462ac_cpp='$CXXCPP $CPPFLAGS'
72463ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72464ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72465ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72466
72467      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72468/* end confdefs.h.  */
72469#include <stdlib.h>
72470int
72471main ()
72472{
72473 at_quick_exit(0);
72474  ;
72475  return 0;
72476}
72477_ACEOF
72478if ac_fn_cxx_try_compile "$LINENO"; then :
72479  glibcxx_cv_func_at_quick_exit_use=yes
72480else
72481  glibcxx_cv_func_at_quick_exit_use=no
72482fi
72483rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72484      ac_ext=c
72485ac_cpp='$CPP $CPPFLAGS'
72486ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72487ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72488ac_compiler_gnu=$ac_cv_c_compiler_gnu
72489
72490
72491fi
72492
72493  fi
72494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72495$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72496  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72497    for ac_func in at_quick_exit
72498do :
72499  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72500if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72501  cat >>confdefs.h <<_ACEOF
72502#define HAVE_AT_QUICK_EXIT 1
72503_ACEOF
72504
72505fi
72506done
72507
72508  fi
72509
72510
72511  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72512$as_echo_n "checking for quick_exit declaration... " >&6; }
72513  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72514    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72515  $as_echo_n "(cached) " >&6
72516else
72517
72518
72519      ac_ext=cpp
72520ac_cpp='$CXXCPP $CPPFLAGS'
72521ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72522ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72523ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72524
72525      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72526/* end confdefs.h.  */
72527#include <stdlib.h>
72528int
72529main ()
72530{
72531 quick_exit(0);
72532  ;
72533  return 0;
72534}
72535_ACEOF
72536if ac_fn_cxx_try_compile "$LINENO"; then :
72537  glibcxx_cv_func_quick_exit_use=yes
72538else
72539  glibcxx_cv_func_quick_exit_use=no
72540fi
72541rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72542      ac_ext=c
72543ac_cpp='$CPP $CPPFLAGS'
72544ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72545ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72546ac_compiler_gnu=$ac_cv_c_compiler_gnu
72547
72548
72549fi
72550
72551  fi
72552  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72553$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72554  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72555    for ac_func in quick_exit
72556do :
72557  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72558if test "x$ac_cv_func_quick_exit" = x""yes; then :
72559  cat >>confdefs.h <<_ACEOF
72560#define HAVE_QUICK_EXIT 1
72561_ACEOF
72562
72563fi
72564done
72565
72566  fi
72567
72568
72569  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72570$as_echo_n "checking for strtold declaration... " >&6; }
72571  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72572    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72573  $as_echo_n "(cached) " >&6
72574else
72575
72576
72577      ac_ext=cpp
72578ac_cpp='$CXXCPP $CPPFLAGS'
72579ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72580ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72581ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72582
72583      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72584/* end confdefs.h.  */
72585#include <stdlib.h>
72586int
72587main ()
72588{
72589 strtold(0, 0);
72590  ;
72591  return 0;
72592}
72593_ACEOF
72594if ac_fn_cxx_try_compile "$LINENO"; then :
72595  glibcxx_cv_func_strtold_use=yes
72596else
72597  glibcxx_cv_func_strtold_use=no
72598fi
72599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72600      ac_ext=c
72601ac_cpp='$CPP $CPPFLAGS'
72602ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72603ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72604ac_compiler_gnu=$ac_cv_c_compiler_gnu
72605
72606
72607fi
72608
72609  fi
72610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72611$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72612  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72613    for ac_func in strtold
72614do :
72615  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72616if test "x$ac_cv_func_strtold" = x""yes; then :
72617  cat >>confdefs.h <<_ACEOF
72618#define HAVE_STRTOLD 1
72619_ACEOF
72620
72621fi
72622done
72623
72624  fi
72625
72626
72627
72628
72629  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72630$as_echo_n "checking for strtof declaration... " >&6; }
72631  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72632    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72633  $as_echo_n "(cached) " >&6
72634else
72635
72636
72637      ac_ext=cpp
72638ac_cpp='$CXXCPP $CPPFLAGS'
72639ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72640ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72641ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72642
72643      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72644/* end confdefs.h.  */
72645#include <stdlib.h>
72646int
72647main ()
72648{
72649 strtof(0, 0);
72650  ;
72651  return 0;
72652}
72653_ACEOF
72654if ac_fn_cxx_try_compile "$LINENO"; then :
72655  glibcxx_cv_func_strtof_use=yes
72656else
72657  glibcxx_cv_func_strtof_use=no
72658fi
72659rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72660      ac_ext=c
72661ac_cpp='$CPP $CPPFLAGS'
72662ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72663ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72664ac_compiler_gnu=$ac_cv_c_compiler_gnu
72665
72666
72667fi
72668
72669  fi
72670  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72671$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72672  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72673    for ac_func in strtof
72674do :
72675  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72676if test "x$ac_cv_func_strtof" = x""yes; then :
72677  cat >>confdefs.h <<_ACEOF
72678#define HAVE_STRTOF 1
72679_ACEOF
72680
72681fi
72682done
72683
72684  fi
72685
72686
72687
72688
72689  CXXFLAGS="$ac_save_CXXFLAGS"
72690
72691    ;;
72692  *-tpf)
72693    SECTION_FLAGS='-ffunction-sections -fdata-sections'
72694    SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72695
72696    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72697
72698    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72699
72700    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72701
72702    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72703
72704    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72705
72706    $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72707
72708    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72709
72710    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72711
72712    $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72713
72714    $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72715
72716    if test x"long_double_math_on_this_cpu" = x"yes"; then
72717      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72718
72719      $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72720
72721      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72722
72723      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72724
72725    fi
72726    ;;
72727  *-*vms*)
72728    # Check for available headers.
72729    # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72730
72731  ac_test_CXXFLAGS="${CXXFLAGS+set}"
72732  ac_save_CXXFLAGS="$CXXFLAGS"
72733  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72734
72735    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72736$as_echo_n "checking for sin in -lm... " >&6; }
72737if test "${ac_cv_lib_m_sin+set}" = set; then :
72738  $as_echo_n "(cached) " >&6
72739else
72740  ac_check_lib_save_LIBS=$LIBS
72741LIBS="-lm  $LIBS"
72742if test x$gcc_no_link = xyes; then
72743  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72744fi
72745cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72746/* end confdefs.h.  */
72747
72748/* Override any GCC internal prototype to avoid an error.
72749   Use char because int might match the return type of a GCC
72750   builtin and then its argument prototype would still apply.  */
72751#ifdef __cplusplus
72752extern "C"
72753#endif
72754char sin ();
72755int
72756main ()
72757{
72758return sin ();
72759  ;
72760  return 0;
72761}
72762_ACEOF
72763if ac_fn_c_try_link "$LINENO"; then :
72764  ac_cv_lib_m_sin=yes
72765else
72766  ac_cv_lib_m_sin=no
72767fi
72768rm -f core conftest.err conftest.$ac_objext \
72769    conftest$ac_exeext conftest.$ac_ext
72770LIBS=$ac_check_lib_save_LIBS
72771fi
72772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72773$as_echo "$ac_cv_lib_m_sin" >&6; }
72774if test "x$ac_cv_lib_m_sin" = x""yes; then :
72775  libm="-lm"
72776fi
72777
72778  ac_save_LIBS="$LIBS"
72779  LIBS="$LIBS $libm"
72780
72781
72782
72783  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72784$as_echo_n "checking for isinf declaration... " >&6; }
72785  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72786    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72787  $as_echo_n "(cached) " >&6
72788else
72789
72790
72791      ac_ext=cpp
72792ac_cpp='$CXXCPP $CPPFLAGS'
72793ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72794ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72795ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72796
72797      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72798/* end confdefs.h.  */
72799#include <math.h>
72800		      #ifdef HAVE_IEEEFP_H
72801		      #include <ieeefp.h>
72802		      #endif
72803
72804int
72805main ()
72806{
72807 isinf(0);
72808  ;
72809  return 0;
72810}
72811_ACEOF
72812if ac_fn_cxx_try_compile "$LINENO"; then :
72813  glibcxx_cv_func_isinf_use=yes
72814else
72815  glibcxx_cv_func_isinf_use=no
72816fi
72817rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72818      ac_ext=c
72819ac_cpp='$CPP $CPPFLAGS'
72820ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72821ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72822ac_compiler_gnu=$ac_cv_c_compiler_gnu
72823
72824
72825fi
72826
72827  fi
72828  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72829$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72830
72831  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72832    for ac_func in isinf
72833do :
72834  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72835if test "x$ac_cv_func_isinf" = x""yes; then :
72836  cat >>confdefs.h <<_ACEOF
72837#define HAVE_ISINF 1
72838_ACEOF
72839
72840fi
72841done
72842
72843  else
72844
72845  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72846$as_echo_n "checking for _isinf declaration... " >&6; }
72847  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72848    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72849  $as_echo_n "(cached) " >&6
72850else
72851
72852
72853      ac_ext=cpp
72854ac_cpp='$CXXCPP $CPPFLAGS'
72855ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72856ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72857ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72858
72859      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72860/* end confdefs.h.  */
72861#include <math.h>
72862		      #ifdef HAVE_IEEEFP_H
72863		      #include <ieeefp.h>
72864		      #endif
72865
72866int
72867main ()
72868{
72869 _isinf(0);
72870  ;
72871  return 0;
72872}
72873_ACEOF
72874if ac_fn_cxx_try_compile "$LINENO"; then :
72875  glibcxx_cv_func__isinf_use=yes
72876else
72877  glibcxx_cv_func__isinf_use=no
72878fi
72879rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72880      ac_ext=c
72881ac_cpp='$CPP $CPPFLAGS'
72882ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72883ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72884ac_compiler_gnu=$ac_cv_c_compiler_gnu
72885
72886
72887fi
72888
72889  fi
72890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72891$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72892
72893    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72894      for ac_func in _isinf
72895do :
72896  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72897if test "x$ac_cv_func__isinf" = x""yes; then :
72898  cat >>confdefs.h <<_ACEOF
72899#define HAVE__ISINF 1
72900_ACEOF
72901
72902fi
72903done
72904
72905    fi
72906  fi
72907
72908
72909
72910
72911
72912  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72913$as_echo_n "checking for isnan declaration... " >&6; }
72914  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72915    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72916  $as_echo_n "(cached) " >&6
72917else
72918
72919
72920      ac_ext=cpp
72921ac_cpp='$CXXCPP $CPPFLAGS'
72922ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72923ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72924ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72925
72926      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72927/* end confdefs.h.  */
72928#include <math.h>
72929		      #ifdef HAVE_IEEEFP_H
72930		      #include <ieeefp.h>
72931		      #endif
72932
72933int
72934main ()
72935{
72936 isnan(0);
72937  ;
72938  return 0;
72939}
72940_ACEOF
72941if ac_fn_cxx_try_compile "$LINENO"; then :
72942  glibcxx_cv_func_isnan_use=yes
72943else
72944  glibcxx_cv_func_isnan_use=no
72945fi
72946rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72947      ac_ext=c
72948ac_cpp='$CPP $CPPFLAGS'
72949ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72950ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72951ac_compiler_gnu=$ac_cv_c_compiler_gnu
72952
72953
72954fi
72955
72956  fi
72957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72958$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72959
72960  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72961    for ac_func in isnan
72962do :
72963  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72964if test "x$ac_cv_func_isnan" = x""yes; then :
72965  cat >>confdefs.h <<_ACEOF
72966#define HAVE_ISNAN 1
72967_ACEOF
72968
72969fi
72970done
72971
72972  else
72973
72974  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72975$as_echo_n "checking for _isnan declaration... " >&6; }
72976  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72977    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72978  $as_echo_n "(cached) " >&6
72979else
72980
72981
72982      ac_ext=cpp
72983ac_cpp='$CXXCPP $CPPFLAGS'
72984ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72985ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72986ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72987
72988      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72989/* end confdefs.h.  */
72990#include <math.h>
72991		      #ifdef HAVE_IEEEFP_H
72992		      #include <ieeefp.h>
72993		      #endif
72994
72995int
72996main ()
72997{
72998 _isnan(0);
72999  ;
73000  return 0;
73001}
73002_ACEOF
73003if ac_fn_cxx_try_compile "$LINENO"; then :
73004  glibcxx_cv_func__isnan_use=yes
73005else
73006  glibcxx_cv_func__isnan_use=no
73007fi
73008rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73009      ac_ext=c
73010ac_cpp='$CPP $CPPFLAGS'
73011ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73012ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73013ac_compiler_gnu=$ac_cv_c_compiler_gnu
73014
73015
73016fi
73017
73018  fi
73019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
73020$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
73021
73022    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
73023      for ac_func in _isnan
73024do :
73025  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
73026if test "x$ac_cv_func__isnan" = x""yes; then :
73027  cat >>confdefs.h <<_ACEOF
73028#define HAVE__ISNAN 1
73029_ACEOF
73030
73031fi
73032done
73033
73034    fi
73035  fi
73036
73037
73038
73039
73040
73041  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
73042$as_echo_n "checking for finite declaration... " >&6; }
73043  if test x${glibcxx_cv_func_finite_use+set} != xset; then
73044    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
73045  $as_echo_n "(cached) " >&6
73046else
73047
73048
73049      ac_ext=cpp
73050ac_cpp='$CXXCPP $CPPFLAGS'
73051ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73052ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73053ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73054
73055      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73056/* end confdefs.h.  */
73057#include <math.h>
73058		      #ifdef HAVE_IEEEFP_H
73059		      #include <ieeefp.h>
73060		      #endif
73061
73062int
73063main ()
73064{
73065 finite(0);
73066  ;
73067  return 0;
73068}
73069_ACEOF
73070if ac_fn_cxx_try_compile "$LINENO"; then :
73071  glibcxx_cv_func_finite_use=yes
73072else
73073  glibcxx_cv_func_finite_use=no
73074fi
73075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73076      ac_ext=c
73077ac_cpp='$CPP $CPPFLAGS'
73078ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73079ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73080ac_compiler_gnu=$ac_cv_c_compiler_gnu
73081
73082
73083fi
73084
73085  fi
73086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
73087$as_echo "$glibcxx_cv_func_finite_use" >&6; }
73088
73089  if test x$glibcxx_cv_func_finite_use = x"yes"; then
73090    for ac_func in finite
73091do :
73092  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
73093if test "x$ac_cv_func_finite" = x""yes; then :
73094  cat >>confdefs.h <<_ACEOF
73095#define HAVE_FINITE 1
73096_ACEOF
73097
73098fi
73099done
73100
73101  else
73102
73103  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
73104$as_echo_n "checking for _finite declaration... " >&6; }
73105  if test x${glibcxx_cv_func__finite_use+set} != xset; then
73106    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
73107  $as_echo_n "(cached) " >&6
73108else
73109
73110
73111      ac_ext=cpp
73112ac_cpp='$CXXCPP $CPPFLAGS'
73113ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73114ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73115ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73116
73117      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73118/* end confdefs.h.  */
73119#include <math.h>
73120		      #ifdef HAVE_IEEEFP_H
73121		      #include <ieeefp.h>
73122		      #endif
73123
73124int
73125main ()
73126{
73127 _finite(0);
73128  ;
73129  return 0;
73130}
73131_ACEOF
73132if ac_fn_cxx_try_compile "$LINENO"; then :
73133  glibcxx_cv_func__finite_use=yes
73134else
73135  glibcxx_cv_func__finite_use=no
73136fi
73137rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73138      ac_ext=c
73139ac_cpp='$CPP $CPPFLAGS'
73140ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73141ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73142ac_compiler_gnu=$ac_cv_c_compiler_gnu
73143
73144
73145fi
73146
73147  fi
73148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
73149$as_echo "$glibcxx_cv_func__finite_use" >&6; }
73150
73151    if test x$glibcxx_cv_func__finite_use = x"yes"; then
73152      for ac_func in _finite
73153do :
73154  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
73155if test "x$ac_cv_func__finite" = x""yes; then :
73156  cat >>confdefs.h <<_ACEOF
73157#define HAVE__FINITE 1
73158_ACEOF
73159
73160fi
73161done
73162
73163    fi
73164  fi
73165
73166
73167
73168
73169
73170  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
73171$as_echo_n "checking for sincos declaration... " >&6; }
73172  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
73173    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
73174  $as_echo_n "(cached) " >&6
73175else
73176
73177
73178      ac_ext=cpp
73179ac_cpp='$CXXCPP $CPPFLAGS'
73180ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73181ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73182ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73183
73184      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73185/* end confdefs.h.  */
73186#include <math.h>
73187int
73188main ()
73189{
73190 sincos(0, 0, 0);
73191  ;
73192  return 0;
73193}
73194_ACEOF
73195if ac_fn_cxx_try_compile "$LINENO"; then :
73196  glibcxx_cv_func_sincos_use=yes
73197else
73198  glibcxx_cv_func_sincos_use=no
73199fi
73200rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73201      ac_ext=c
73202ac_cpp='$CPP $CPPFLAGS'
73203ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73204ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73205ac_compiler_gnu=$ac_cv_c_compiler_gnu
73206
73207
73208fi
73209
73210  fi
73211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
73212$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
73213
73214  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
73215    for ac_func in sincos
73216do :
73217  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
73218if test "x$ac_cv_func_sincos" = x""yes; then :
73219  cat >>confdefs.h <<_ACEOF
73220#define HAVE_SINCOS 1
73221_ACEOF
73222
73223fi
73224done
73225
73226  else
73227
73228  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
73229$as_echo_n "checking for _sincos declaration... " >&6; }
73230  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
73231    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
73232  $as_echo_n "(cached) " >&6
73233else
73234
73235
73236      ac_ext=cpp
73237ac_cpp='$CXXCPP $CPPFLAGS'
73238ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73239ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73240ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73241
73242      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73243/* end confdefs.h.  */
73244#include <math.h>
73245int
73246main ()
73247{
73248 _sincos(0, 0, 0);
73249  ;
73250  return 0;
73251}
73252_ACEOF
73253if ac_fn_cxx_try_compile "$LINENO"; then :
73254  glibcxx_cv_func__sincos_use=yes
73255else
73256  glibcxx_cv_func__sincos_use=no
73257fi
73258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73259      ac_ext=c
73260ac_cpp='$CPP $CPPFLAGS'
73261ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73262ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73263ac_compiler_gnu=$ac_cv_c_compiler_gnu
73264
73265
73266fi
73267
73268  fi
73269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73270$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73271
73272    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73273      for ac_func in _sincos
73274do :
73275  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73276if test "x$ac_cv_func__sincos" = x""yes; then :
73277  cat >>confdefs.h <<_ACEOF
73278#define HAVE__SINCOS 1
73279_ACEOF
73280
73281fi
73282done
73283
73284    fi
73285  fi
73286
73287
73288
73289
73290
73291  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73292$as_echo_n "checking for fpclass declaration... " >&6; }
73293  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73294    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
73295  $as_echo_n "(cached) " >&6
73296else
73297
73298
73299      ac_ext=cpp
73300ac_cpp='$CXXCPP $CPPFLAGS'
73301ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73302ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73303ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73304
73305      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73306/* end confdefs.h.  */
73307#include <math.h>
73308		      #ifdef HAVE_IEEEFP_H
73309		      #include <ieeefp.h>
73310		      #endif
73311
73312int
73313main ()
73314{
73315 fpclass(0);
73316  ;
73317  return 0;
73318}
73319_ACEOF
73320if ac_fn_cxx_try_compile "$LINENO"; then :
73321  glibcxx_cv_func_fpclass_use=yes
73322else
73323  glibcxx_cv_func_fpclass_use=no
73324fi
73325rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73326      ac_ext=c
73327ac_cpp='$CPP $CPPFLAGS'
73328ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73329ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73330ac_compiler_gnu=$ac_cv_c_compiler_gnu
73331
73332
73333fi
73334
73335  fi
73336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73337$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73338
73339  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73340    for ac_func in fpclass
73341do :
73342  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73343if test "x$ac_cv_func_fpclass" = x""yes; then :
73344  cat >>confdefs.h <<_ACEOF
73345#define HAVE_FPCLASS 1
73346_ACEOF
73347
73348fi
73349done
73350
73351  else
73352
73353  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73354$as_echo_n "checking for _fpclass declaration... " >&6; }
73355  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73356    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73357  $as_echo_n "(cached) " >&6
73358else
73359
73360
73361      ac_ext=cpp
73362ac_cpp='$CXXCPP $CPPFLAGS'
73363ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73364ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73365ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73366
73367      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73368/* end confdefs.h.  */
73369#include <math.h>
73370		      #ifdef HAVE_IEEEFP_H
73371		      #include <ieeefp.h>
73372		      #endif
73373
73374int
73375main ()
73376{
73377 _fpclass(0);
73378  ;
73379  return 0;
73380}
73381_ACEOF
73382if ac_fn_cxx_try_compile "$LINENO"; then :
73383  glibcxx_cv_func__fpclass_use=yes
73384else
73385  glibcxx_cv_func__fpclass_use=no
73386fi
73387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73388      ac_ext=c
73389ac_cpp='$CPP $CPPFLAGS'
73390ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73391ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73392ac_compiler_gnu=$ac_cv_c_compiler_gnu
73393
73394
73395fi
73396
73397  fi
73398  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73399$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73400
73401    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73402      for ac_func in _fpclass
73403do :
73404  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73405if test "x$ac_cv_func__fpclass" = x""yes; then :
73406  cat >>confdefs.h <<_ACEOF
73407#define HAVE__FPCLASS 1
73408_ACEOF
73409
73410fi
73411done
73412
73413    fi
73414  fi
73415
73416
73417
73418
73419
73420  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73421$as_echo_n "checking for qfpclass declaration... " >&6; }
73422  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73423    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73424  $as_echo_n "(cached) " >&6
73425else
73426
73427
73428      ac_ext=cpp
73429ac_cpp='$CXXCPP $CPPFLAGS'
73430ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73431ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73432ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73433
73434      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73435/* end confdefs.h.  */
73436#include <math.h>
73437		      #ifdef HAVE_IEEEFP_H
73438		      #include <ieeefp.h>
73439		      #endif
73440
73441int
73442main ()
73443{
73444 qfpclass(0);
73445  ;
73446  return 0;
73447}
73448_ACEOF
73449if ac_fn_cxx_try_compile "$LINENO"; then :
73450  glibcxx_cv_func_qfpclass_use=yes
73451else
73452  glibcxx_cv_func_qfpclass_use=no
73453fi
73454rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73455      ac_ext=c
73456ac_cpp='$CPP $CPPFLAGS'
73457ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73458ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73459ac_compiler_gnu=$ac_cv_c_compiler_gnu
73460
73461
73462fi
73463
73464  fi
73465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73466$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73467
73468  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73469    for ac_func in qfpclass
73470do :
73471  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73472if test "x$ac_cv_func_qfpclass" = x""yes; then :
73473  cat >>confdefs.h <<_ACEOF
73474#define HAVE_QFPCLASS 1
73475_ACEOF
73476
73477fi
73478done
73479
73480  else
73481
73482  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73483$as_echo_n "checking for _qfpclass declaration... " >&6; }
73484  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73485    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73486  $as_echo_n "(cached) " >&6
73487else
73488
73489
73490      ac_ext=cpp
73491ac_cpp='$CXXCPP $CPPFLAGS'
73492ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73493ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73494ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73495
73496      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73497/* end confdefs.h.  */
73498#include <math.h>
73499		      #ifdef HAVE_IEEEFP_H
73500		      #include <ieeefp.h>
73501		      #endif
73502
73503int
73504main ()
73505{
73506 _qfpclass(0);
73507  ;
73508  return 0;
73509}
73510_ACEOF
73511if ac_fn_cxx_try_compile "$LINENO"; then :
73512  glibcxx_cv_func__qfpclass_use=yes
73513else
73514  glibcxx_cv_func__qfpclass_use=no
73515fi
73516rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73517      ac_ext=c
73518ac_cpp='$CPP $CPPFLAGS'
73519ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73520ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73521ac_compiler_gnu=$ac_cv_c_compiler_gnu
73522
73523
73524fi
73525
73526  fi
73527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73528$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73529
73530    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73531      for ac_func in _qfpclass
73532do :
73533  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73534if test "x$ac_cv_func__qfpclass" = x""yes; then :
73535  cat >>confdefs.h <<_ACEOF
73536#define HAVE__QFPCLASS 1
73537_ACEOF
73538
73539fi
73540done
73541
73542    fi
73543  fi
73544
73545
73546
73547
73548
73549  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73550$as_echo_n "checking for hypot declaration... " >&6; }
73551  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73552    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73553  $as_echo_n "(cached) " >&6
73554else
73555
73556
73557      ac_ext=cpp
73558ac_cpp='$CXXCPP $CPPFLAGS'
73559ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73560ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73561ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73562
73563      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73564/* end confdefs.h.  */
73565#include <math.h>
73566int
73567main ()
73568{
73569 hypot(0, 0);
73570  ;
73571  return 0;
73572}
73573_ACEOF
73574if ac_fn_cxx_try_compile "$LINENO"; then :
73575  glibcxx_cv_func_hypot_use=yes
73576else
73577  glibcxx_cv_func_hypot_use=no
73578fi
73579rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73580      ac_ext=c
73581ac_cpp='$CPP $CPPFLAGS'
73582ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73583ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73584ac_compiler_gnu=$ac_cv_c_compiler_gnu
73585
73586
73587fi
73588
73589  fi
73590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73591$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73592
73593  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73594    for ac_func in hypot
73595do :
73596  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73597if test "x$ac_cv_func_hypot" = x""yes; then :
73598  cat >>confdefs.h <<_ACEOF
73599#define HAVE_HYPOT 1
73600_ACEOF
73601
73602fi
73603done
73604
73605  else
73606
73607  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73608$as_echo_n "checking for _hypot declaration... " >&6; }
73609  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73610    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73611  $as_echo_n "(cached) " >&6
73612else
73613
73614
73615      ac_ext=cpp
73616ac_cpp='$CXXCPP $CPPFLAGS'
73617ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73618ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73619ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73620
73621      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73622/* end confdefs.h.  */
73623#include <math.h>
73624int
73625main ()
73626{
73627 _hypot(0, 0);
73628  ;
73629  return 0;
73630}
73631_ACEOF
73632if ac_fn_cxx_try_compile "$LINENO"; then :
73633  glibcxx_cv_func__hypot_use=yes
73634else
73635  glibcxx_cv_func__hypot_use=no
73636fi
73637rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73638      ac_ext=c
73639ac_cpp='$CPP $CPPFLAGS'
73640ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73641ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73642ac_compiler_gnu=$ac_cv_c_compiler_gnu
73643
73644
73645fi
73646
73647  fi
73648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73649$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73650
73651    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73652      for ac_func in _hypot
73653do :
73654  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73655if test "x$ac_cv_func__hypot" = x""yes; then :
73656  cat >>confdefs.h <<_ACEOF
73657#define HAVE__HYPOT 1
73658_ACEOF
73659
73660fi
73661done
73662
73663    fi
73664  fi
73665
73666
73667
73668
73669
73670    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73671$as_echo_n "checking for float trig functions... " >&6; }
73672  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73673  $as_echo_n "(cached) " >&6
73674else
73675
73676
73677    ac_ext=cpp
73678ac_cpp='$CXXCPP $CPPFLAGS'
73679ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73680ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73681ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73682
73683    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73684/* end confdefs.h.  */
73685#include <math.h>
73686int
73687main ()
73688{
73689acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73690  ;
73691  return 0;
73692}
73693_ACEOF
73694if ac_fn_cxx_try_compile "$LINENO"; then :
73695  glibcxx_cv_func_float_trig_use=yes
73696else
73697  glibcxx_cv_func_float_trig_use=no
73698fi
73699rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73700    ac_ext=c
73701ac_cpp='$CPP $CPPFLAGS'
73702ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73703ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73704ac_compiler_gnu=$ac_cv_c_compiler_gnu
73705
73706fi
73707
73708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73709$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73710  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73711    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73712do :
73713  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73714ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73715eval as_val=\$$as_ac_var
73716   if test "x$as_val" = x""yes; then :
73717  cat >>confdefs.h <<_ACEOF
73718#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73719_ACEOF
73720
73721fi
73722done
73723
73724  else
73725    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73726$as_echo_n "checking for _float trig functions... " >&6; }
73727    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73728  $as_echo_n "(cached) " >&6
73729else
73730
73731
73732      ac_ext=cpp
73733ac_cpp='$CXXCPP $CPPFLAGS'
73734ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73735ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73736ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73737
73738      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73739/* end confdefs.h.  */
73740#include <math.h>
73741int
73742main ()
73743{
73744_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73745  ;
73746  return 0;
73747}
73748_ACEOF
73749if ac_fn_cxx_try_compile "$LINENO"; then :
73750  glibcxx_cv_func__float_trig_use=yes
73751else
73752  glibcxx_cv_func__float_trig_use=no
73753fi
73754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73755      ac_ext=c
73756ac_cpp='$CPP $CPPFLAGS'
73757ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73758ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73759ac_compiler_gnu=$ac_cv_c_compiler_gnu
73760
73761fi
73762
73763    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73764$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73765    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73766      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73767do :
73768  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73769ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73770eval as_val=\$$as_ac_var
73771   if test "x$as_val" = x""yes; then :
73772  cat >>confdefs.h <<_ACEOF
73773#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73774_ACEOF
73775
73776fi
73777done
73778
73779    fi
73780  fi
73781
73782
73783
73784
73785
73786    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73787$as_echo_n "checking for float round functions... " >&6; }
73788  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73789  $as_echo_n "(cached) " >&6
73790else
73791
73792
73793    ac_ext=cpp
73794ac_cpp='$CXXCPP $CPPFLAGS'
73795ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73796ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73797ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73798
73799    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73800/* end confdefs.h.  */
73801#include <math.h>
73802int
73803main ()
73804{
73805ceilf (0); floorf (0);
73806  ;
73807  return 0;
73808}
73809_ACEOF
73810if ac_fn_cxx_try_compile "$LINENO"; then :
73811  glibcxx_cv_func_float_round_use=yes
73812else
73813  glibcxx_cv_func_float_round_use=no
73814fi
73815rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73816    ac_ext=c
73817ac_cpp='$CPP $CPPFLAGS'
73818ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73819ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73820ac_compiler_gnu=$ac_cv_c_compiler_gnu
73821
73822fi
73823
73824  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73825$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73826  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73827    for ac_func in ceilf floorf
73828do :
73829  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73830ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73831eval as_val=\$$as_ac_var
73832   if test "x$as_val" = x""yes; then :
73833  cat >>confdefs.h <<_ACEOF
73834#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73835_ACEOF
73836
73837fi
73838done
73839
73840  else
73841    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73842$as_echo_n "checking for _float round functions... " >&6; }
73843    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73844  $as_echo_n "(cached) " >&6
73845else
73846
73847
73848      ac_ext=cpp
73849ac_cpp='$CXXCPP $CPPFLAGS'
73850ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73851ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73852ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73853
73854      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73855/* end confdefs.h.  */
73856#include <math.h>
73857int
73858main ()
73859{
73860_ceilf (0); _floorf (0);
73861  ;
73862  return 0;
73863}
73864_ACEOF
73865if ac_fn_cxx_try_compile "$LINENO"; then :
73866  glibcxx_cv_func__float_round_use=yes
73867else
73868  glibcxx_cv_func__float_round_use=no
73869fi
73870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73871      ac_ext=c
73872ac_cpp='$CPP $CPPFLAGS'
73873ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73874ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73875ac_compiler_gnu=$ac_cv_c_compiler_gnu
73876
73877fi
73878
73879    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73880$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73881    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73882      for ac_func in _ceilf _floorf
73883do :
73884  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73885ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73886eval as_val=\$$as_ac_var
73887   if test "x$as_val" = x""yes; then :
73888  cat >>confdefs.h <<_ACEOF
73889#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73890_ACEOF
73891
73892fi
73893done
73894
73895    fi
73896  fi
73897
73898
73899
73900
73901
73902
73903  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73904$as_echo_n "checking for expf declaration... " >&6; }
73905  if test x${glibcxx_cv_func_expf_use+set} != xset; then
73906    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73907  $as_echo_n "(cached) " >&6
73908else
73909
73910
73911      ac_ext=cpp
73912ac_cpp='$CXXCPP $CPPFLAGS'
73913ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73914ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73915ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73916
73917      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73918/* end confdefs.h.  */
73919#include <math.h>
73920		      #ifdef HAVE_IEEEFP_H
73921		      #include <ieeefp.h>
73922		      #endif
73923
73924int
73925main ()
73926{
73927 expf(0);
73928  ;
73929  return 0;
73930}
73931_ACEOF
73932if ac_fn_cxx_try_compile "$LINENO"; then :
73933  glibcxx_cv_func_expf_use=yes
73934else
73935  glibcxx_cv_func_expf_use=no
73936fi
73937rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73938      ac_ext=c
73939ac_cpp='$CPP $CPPFLAGS'
73940ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73941ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73942ac_compiler_gnu=$ac_cv_c_compiler_gnu
73943
73944
73945fi
73946
73947  fi
73948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73949$as_echo "$glibcxx_cv_func_expf_use" >&6; }
73950
73951  if test x$glibcxx_cv_func_expf_use = x"yes"; then
73952    for ac_func in expf
73953do :
73954  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73955if test "x$ac_cv_func_expf" = x""yes; then :
73956  cat >>confdefs.h <<_ACEOF
73957#define HAVE_EXPF 1
73958_ACEOF
73959
73960fi
73961done
73962
73963  else
73964
73965  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73966$as_echo_n "checking for _expf declaration... " >&6; }
73967  if test x${glibcxx_cv_func__expf_use+set} != xset; then
73968    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73969  $as_echo_n "(cached) " >&6
73970else
73971
73972
73973      ac_ext=cpp
73974ac_cpp='$CXXCPP $CPPFLAGS'
73975ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73976ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73977ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73978
73979      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73980/* end confdefs.h.  */
73981#include <math.h>
73982		      #ifdef HAVE_IEEEFP_H
73983		      #include <ieeefp.h>
73984		      #endif
73985
73986int
73987main ()
73988{
73989 _expf(0);
73990  ;
73991  return 0;
73992}
73993_ACEOF
73994if ac_fn_cxx_try_compile "$LINENO"; then :
73995  glibcxx_cv_func__expf_use=yes
73996else
73997  glibcxx_cv_func__expf_use=no
73998fi
73999rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74000      ac_ext=c
74001ac_cpp='$CPP $CPPFLAGS'
74002ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74003ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74004ac_compiler_gnu=$ac_cv_c_compiler_gnu
74005
74006
74007fi
74008
74009  fi
74010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
74011$as_echo "$glibcxx_cv_func__expf_use" >&6; }
74012
74013    if test x$glibcxx_cv_func__expf_use = x"yes"; then
74014      for ac_func in _expf
74015do :
74016  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
74017if test "x$ac_cv_func__expf" = x""yes; then :
74018  cat >>confdefs.h <<_ACEOF
74019#define HAVE__EXPF 1
74020_ACEOF
74021
74022fi
74023done
74024
74025    fi
74026  fi
74027
74028
74029
74030
74031
74032  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
74033$as_echo_n "checking for isnanf declaration... " >&6; }
74034  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
74035    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
74036  $as_echo_n "(cached) " >&6
74037else
74038
74039
74040      ac_ext=cpp
74041ac_cpp='$CXXCPP $CPPFLAGS'
74042ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74043ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74044ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74045
74046      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74047/* end confdefs.h.  */
74048#include <math.h>
74049		      #ifdef HAVE_IEEEFP_H
74050		      #include <ieeefp.h>
74051		      #endif
74052
74053int
74054main ()
74055{
74056 isnanf(0);
74057  ;
74058  return 0;
74059}
74060_ACEOF
74061if ac_fn_cxx_try_compile "$LINENO"; then :
74062  glibcxx_cv_func_isnanf_use=yes
74063else
74064  glibcxx_cv_func_isnanf_use=no
74065fi
74066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74067      ac_ext=c
74068ac_cpp='$CPP $CPPFLAGS'
74069ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74070ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74071ac_compiler_gnu=$ac_cv_c_compiler_gnu
74072
74073
74074fi
74075
74076  fi
74077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
74078$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
74079
74080  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
74081    for ac_func in isnanf
74082do :
74083  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
74084if test "x$ac_cv_func_isnanf" = x""yes; then :
74085  cat >>confdefs.h <<_ACEOF
74086#define HAVE_ISNANF 1
74087_ACEOF
74088
74089fi
74090done
74091
74092  else
74093
74094  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
74095$as_echo_n "checking for _isnanf declaration... " >&6; }
74096  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
74097    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
74098  $as_echo_n "(cached) " >&6
74099else
74100
74101
74102      ac_ext=cpp
74103ac_cpp='$CXXCPP $CPPFLAGS'
74104ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74105ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74106ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74107
74108      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74109/* end confdefs.h.  */
74110#include <math.h>
74111		      #ifdef HAVE_IEEEFP_H
74112		      #include <ieeefp.h>
74113		      #endif
74114
74115int
74116main ()
74117{
74118 _isnanf(0);
74119  ;
74120  return 0;
74121}
74122_ACEOF
74123if ac_fn_cxx_try_compile "$LINENO"; then :
74124  glibcxx_cv_func__isnanf_use=yes
74125else
74126  glibcxx_cv_func__isnanf_use=no
74127fi
74128rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74129      ac_ext=c
74130ac_cpp='$CPP $CPPFLAGS'
74131ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74132ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74133ac_compiler_gnu=$ac_cv_c_compiler_gnu
74134
74135
74136fi
74137
74138  fi
74139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
74140$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
74141
74142    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
74143      for ac_func in _isnanf
74144do :
74145  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
74146if test "x$ac_cv_func__isnanf" = x""yes; then :
74147  cat >>confdefs.h <<_ACEOF
74148#define HAVE__ISNANF 1
74149_ACEOF
74150
74151fi
74152done
74153
74154    fi
74155  fi
74156
74157
74158
74159
74160
74161  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
74162$as_echo_n "checking for isinff declaration... " >&6; }
74163  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
74164    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
74165  $as_echo_n "(cached) " >&6
74166else
74167
74168
74169      ac_ext=cpp
74170ac_cpp='$CXXCPP $CPPFLAGS'
74171ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74172ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74173ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74174
74175      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74176/* end confdefs.h.  */
74177#include <math.h>
74178		      #ifdef HAVE_IEEEFP_H
74179		      #include <ieeefp.h>
74180		      #endif
74181
74182int
74183main ()
74184{
74185 isinff(0);
74186  ;
74187  return 0;
74188}
74189_ACEOF
74190if ac_fn_cxx_try_compile "$LINENO"; then :
74191  glibcxx_cv_func_isinff_use=yes
74192else
74193  glibcxx_cv_func_isinff_use=no
74194fi
74195rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74196      ac_ext=c
74197ac_cpp='$CPP $CPPFLAGS'
74198ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74199ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74200ac_compiler_gnu=$ac_cv_c_compiler_gnu
74201
74202
74203fi
74204
74205  fi
74206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
74207$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
74208
74209  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
74210    for ac_func in isinff
74211do :
74212  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
74213if test "x$ac_cv_func_isinff" = x""yes; then :
74214  cat >>confdefs.h <<_ACEOF
74215#define HAVE_ISINFF 1
74216_ACEOF
74217
74218fi
74219done
74220
74221  else
74222
74223  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
74224$as_echo_n "checking for _isinff declaration... " >&6; }
74225  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
74226    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
74227  $as_echo_n "(cached) " >&6
74228else
74229
74230
74231      ac_ext=cpp
74232ac_cpp='$CXXCPP $CPPFLAGS'
74233ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74234ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74235ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74236
74237      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74238/* end confdefs.h.  */
74239#include <math.h>
74240		      #ifdef HAVE_IEEEFP_H
74241		      #include <ieeefp.h>
74242		      #endif
74243
74244int
74245main ()
74246{
74247 _isinff(0);
74248  ;
74249  return 0;
74250}
74251_ACEOF
74252if ac_fn_cxx_try_compile "$LINENO"; then :
74253  glibcxx_cv_func__isinff_use=yes
74254else
74255  glibcxx_cv_func__isinff_use=no
74256fi
74257rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74258      ac_ext=c
74259ac_cpp='$CPP $CPPFLAGS'
74260ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74261ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74262ac_compiler_gnu=$ac_cv_c_compiler_gnu
74263
74264
74265fi
74266
74267  fi
74268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74269$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74270
74271    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74272      for ac_func in _isinff
74273do :
74274  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74275if test "x$ac_cv_func__isinff" = x""yes; then :
74276  cat >>confdefs.h <<_ACEOF
74277#define HAVE__ISINFF 1
74278_ACEOF
74279
74280fi
74281done
74282
74283    fi
74284  fi
74285
74286
74287
74288
74289
74290  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74291$as_echo_n "checking for atan2f declaration... " >&6; }
74292  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74293    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
74294  $as_echo_n "(cached) " >&6
74295else
74296
74297
74298      ac_ext=cpp
74299ac_cpp='$CXXCPP $CPPFLAGS'
74300ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74301ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74302ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74303
74304      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74305/* end confdefs.h.  */
74306#include <math.h>
74307int
74308main ()
74309{
74310 atan2f(0, 0);
74311  ;
74312  return 0;
74313}
74314_ACEOF
74315if ac_fn_cxx_try_compile "$LINENO"; then :
74316  glibcxx_cv_func_atan2f_use=yes
74317else
74318  glibcxx_cv_func_atan2f_use=no
74319fi
74320rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74321      ac_ext=c
74322ac_cpp='$CPP $CPPFLAGS'
74323ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74324ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74325ac_compiler_gnu=$ac_cv_c_compiler_gnu
74326
74327
74328fi
74329
74330  fi
74331  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74332$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74333
74334  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74335    for ac_func in atan2f
74336do :
74337  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74338if test "x$ac_cv_func_atan2f" = x""yes; then :
74339  cat >>confdefs.h <<_ACEOF
74340#define HAVE_ATAN2F 1
74341_ACEOF
74342
74343fi
74344done
74345
74346  else
74347
74348  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74349$as_echo_n "checking for _atan2f declaration... " >&6; }
74350  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74351    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74352  $as_echo_n "(cached) " >&6
74353else
74354
74355
74356      ac_ext=cpp
74357ac_cpp='$CXXCPP $CPPFLAGS'
74358ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74359ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74360ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74361
74362      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74363/* end confdefs.h.  */
74364#include <math.h>
74365int
74366main ()
74367{
74368 _atan2f(0, 0);
74369  ;
74370  return 0;
74371}
74372_ACEOF
74373if ac_fn_cxx_try_compile "$LINENO"; then :
74374  glibcxx_cv_func__atan2f_use=yes
74375else
74376  glibcxx_cv_func__atan2f_use=no
74377fi
74378rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74379      ac_ext=c
74380ac_cpp='$CPP $CPPFLAGS'
74381ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74382ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74383ac_compiler_gnu=$ac_cv_c_compiler_gnu
74384
74385
74386fi
74387
74388  fi
74389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74390$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74391
74392    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74393      for ac_func in _atan2f
74394do :
74395  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74396if test "x$ac_cv_func__atan2f" = x""yes; then :
74397  cat >>confdefs.h <<_ACEOF
74398#define HAVE__ATAN2F 1
74399_ACEOF
74400
74401fi
74402done
74403
74404    fi
74405  fi
74406
74407
74408
74409
74410
74411  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74412$as_echo_n "checking for fabsf declaration... " >&6; }
74413  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74414    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74415  $as_echo_n "(cached) " >&6
74416else
74417
74418
74419      ac_ext=cpp
74420ac_cpp='$CXXCPP $CPPFLAGS'
74421ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74422ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74423ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74424
74425      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74426/* end confdefs.h.  */
74427#include <math.h>
74428		      #ifdef HAVE_IEEEFP_H
74429		      #include <ieeefp.h>
74430		      #endif
74431
74432int
74433main ()
74434{
74435 fabsf(0);
74436  ;
74437  return 0;
74438}
74439_ACEOF
74440if ac_fn_cxx_try_compile "$LINENO"; then :
74441  glibcxx_cv_func_fabsf_use=yes
74442else
74443  glibcxx_cv_func_fabsf_use=no
74444fi
74445rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74446      ac_ext=c
74447ac_cpp='$CPP $CPPFLAGS'
74448ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74449ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74450ac_compiler_gnu=$ac_cv_c_compiler_gnu
74451
74452
74453fi
74454
74455  fi
74456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74457$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74458
74459  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74460    for ac_func in fabsf
74461do :
74462  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74463if test "x$ac_cv_func_fabsf" = x""yes; then :
74464  cat >>confdefs.h <<_ACEOF
74465#define HAVE_FABSF 1
74466_ACEOF
74467
74468fi
74469done
74470
74471  else
74472
74473  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74474$as_echo_n "checking for _fabsf declaration... " >&6; }
74475  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74476    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74477  $as_echo_n "(cached) " >&6
74478else
74479
74480
74481      ac_ext=cpp
74482ac_cpp='$CXXCPP $CPPFLAGS'
74483ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74484ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74485ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74486
74487      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74488/* end confdefs.h.  */
74489#include <math.h>
74490		      #ifdef HAVE_IEEEFP_H
74491		      #include <ieeefp.h>
74492		      #endif
74493
74494int
74495main ()
74496{
74497 _fabsf(0);
74498  ;
74499  return 0;
74500}
74501_ACEOF
74502if ac_fn_cxx_try_compile "$LINENO"; then :
74503  glibcxx_cv_func__fabsf_use=yes
74504else
74505  glibcxx_cv_func__fabsf_use=no
74506fi
74507rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74508      ac_ext=c
74509ac_cpp='$CPP $CPPFLAGS'
74510ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74511ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74512ac_compiler_gnu=$ac_cv_c_compiler_gnu
74513
74514
74515fi
74516
74517  fi
74518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74519$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74520
74521    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74522      for ac_func in _fabsf
74523do :
74524  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74525if test "x$ac_cv_func__fabsf" = x""yes; then :
74526  cat >>confdefs.h <<_ACEOF
74527#define HAVE__FABSF 1
74528_ACEOF
74529
74530fi
74531done
74532
74533    fi
74534  fi
74535
74536
74537
74538
74539
74540  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74541$as_echo_n "checking for fmodf declaration... " >&6; }
74542  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74543    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74544  $as_echo_n "(cached) " >&6
74545else
74546
74547
74548      ac_ext=cpp
74549ac_cpp='$CXXCPP $CPPFLAGS'
74550ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74551ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74552ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74553
74554      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74555/* end confdefs.h.  */
74556#include <math.h>
74557int
74558main ()
74559{
74560 fmodf(0, 0);
74561  ;
74562  return 0;
74563}
74564_ACEOF
74565if ac_fn_cxx_try_compile "$LINENO"; then :
74566  glibcxx_cv_func_fmodf_use=yes
74567else
74568  glibcxx_cv_func_fmodf_use=no
74569fi
74570rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74571      ac_ext=c
74572ac_cpp='$CPP $CPPFLAGS'
74573ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74574ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74575ac_compiler_gnu=$ac_cv_c_compiler_gnu
74576
74577
74578fi
74579
74580  fi
74581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74582$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74583
74584  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74585    for ac_func in fmodf
74586do :
74587  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74588if test "x$ac_cv_func_fmodf" = x""yes; then :
74589  cat >>confdefs.h <<_ACEOF
74590#define HAVE_FMODF 1
74591_ACEOF
74592
74593fi
74594done
74595
74596  else
74597
74598  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74599$as_echo_n "checking for _fmodf declaration... " >&6; }
74600  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74601    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74602  $as_echo_n "(cached) " >&6
74603else
74604
74605
74606      ac_ext=cpp
74607ac_cpp='$CXXCPP $CPPFLAGS'
74608ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74609ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74610ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74611
74612      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74613/* end confdefs.h.  */
74614#include <math.h>
74615int
74616main ()
74617{
74618 _fmodf(0, 0);
74619  ;
74620  return 0;
74621}
74622_ACEOF
74623if ac_fn_cxx_try_compile "$LINENO"; then :
74624  glibcxx_cv_func__fmodf_use=yes
74625else
74626  glibcxx_cv_func__fmodf_use=no
74627fi
74628rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74629      ac_ext=c
74630ac_cpp='$CPP $CPPFLAGS'
74631ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74632ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74633ac_compiler_gnu=$ac_cv_c_compiler_gnu
74634
74635
74636fi
74637
74638  fi
74639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74640$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74641
74642    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74643      for ac_func in _fmodf
74644do :
74645  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74646if test "x$ac_cv_func__fmodf" = x""yes; then :
74647  cat >>confdefs.h <<_ACEOF
74648#define HAVE__FMODF 1
74649_ACEOF
74650
74651fi
74652done
74653
74654    fi
74655  fi
74656
74657
74658
74659
74660
74661  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74662$as_echo_n "checking for frexpf declaration... " >&6; }
74663  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74664    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74665  $as_echo_n "(cached) " >&6
74666else
74667
74668
74669      ac_ext=cpp
74670ac_cpp='$CXXCPP $CPPFLAGS'
74671ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74672ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74673ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74674
74675      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74676/* end confdefs.h.  */
74677#include <math.h>
74678int
74679main ()
74680{
74681 frexpf(0, 0);
74682  ;
74683  return 0;
74684}
74685_ACEOF
74686if ac_fn_cxx_try_compile "$LINENO"; then :
74687  glibcxx_cv_func_frexpf_use=yes
74688else
74689  glibcxx_cv_func_frexpf_use=no
74690fi
74691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74692      ac_ext=c
74693ac_cpp='$CPP $CPPFLAGS'
74694ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74695ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74696ac_compiler_gnu=$ac_cv_c_compiler_gnu
74697
74698
74699fi
74700
74701  fi
74702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74703$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74704
74705  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74706    for ac_func in frexpf
74707do :
74708  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74709if test "x$ac_cv_func_frexpf" = x""yes; then :
74710  cat >>confdefs.h <<_ACEOF
74711#define HAVE_FREXPF 1
74712_ACEOF
74713
74714fi
74715done
74716
74717  else
74718
74719  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74720$as_echo_n "checking for _frexpf declaration... " >&6; }
74721  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74722    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74723  $as_echo_n "(cached) " >&6
74724else
74725
74726
74727      ac_ext=cpp
74728ac_cpp='$CXXCPP $CPPFLAGS'
74729ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74730ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74731ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74732
74733      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74734/* end confdefs.h.  */
74735#include <math.h>
74736int
74737main ()
74738{
74739 _frexpf(0, 0);
74740  ;
74741  return 0;
74742}
74743_ACEOF
74744if ac_fn_cxx_try_compile "$LINENO"; then :
74745  glibcxx_cv_func__frexpf_use=yes
74746else
74747  glibcxx_cv_func__frexpf_use=no
74748fi
74749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74750      ac_ext=c
74751ac_cpp='$CPP $CPPFLAGS'
74752ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74753ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74754ac_compiler_gnu=$ac_cv_c_compiler_gnu
74755
74756
74757fi
74758
74759  fi
74760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74761$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74762
74763    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74764      for ac_func in _frexpf
74765do :
74766  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74767if test "x$ac_cv_func__frexpf" = x""yes; then :
74768  cat >>confdefs.h <<_ACEOF
74769#define HAVE__FREXPF 1
74770_ACEOF
74771
74772fi
74773done
74774
74775    fi
74776  fi
74777
74778
74779
74780
74781
74782  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74783$as_echo_n "checking for hypotf declaration... " >&6; }
74784  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74785    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74786  $as_echo_n "(cached) " >&6
74787else
74788
74789
74790      ac_ext=cpp
74791ac_cpp='$CXXCPP $CPPFLAGS'
74792ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74793ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74794ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74795
74796      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74797/* end confdefs.h.  */
74798#include <math.h>
74799int
74800main ()
74801{
74802 hypotf(0, 0);
74803  ;
74804  return 0;
74805}
74806_ACEOF
74807if ac_fn_cxx_try_compile "$LINENO"; then :
74808  glibcxx_cv_func_hypotf_use=yes
74809else
74810  glibcxx_cv_func_hypotf_use=no
74811fi
74812rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74813      ac_ext=c
74814ac_cpp='$CPP $CPPFLAGS'
74815ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74816ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74817ac_compiler_gnu=$ac_cv_c_compiler_gnu
74818
74819
74820fi
74821
74822  fi
74823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74824$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74825
74826  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74827    for ac_func in hypotf
74828do :
74829  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74830if test "x$ac_cv_func_hypotf" = x""yes; then :
74831  cat >>confdefs.h <<_ACEOF
74832#define HAVE_HYPOTF 1
74833_ACEOF
74834
74835fi
74836done
74837
74838  else
74839
74840  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74841$as_echo_n "checking for _hypotf declaration... " >&6; }
74842  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74843    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74844  $as_echo_n "(cached) " >&6
74845else
74846
74847
74848      ac_ext=cpp
74849ac_cpp='$CXXCPP $CPPFLAGS'
74850ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74851ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74852ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74853
74854      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74855/* end confdefs.h.  */
74856#include <math.h>
74857int
74858main ()
74859{
74860 _hypotf(0, 0);
74861  ;
74862  return 0;
74863}
74864_ACEOF
74865if ac_fn_cxx_try_compile "$LINENO"; then :
74866  glibcxx_cv_func__hypotf_use=yes
74867else
74868  glibcxx_cv_func__hypotf_use=no
74869fi
74870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74871      ac_ext=c
74872ac_cpp='$CPP $CPPFLAGS'
74873ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74874ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74875ac_compiler_gnu=$ac_cv_c_compiler_gnu
74876
74877
74878fi
74879
74880  fi
74881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74882$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74883
74884    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74885      for ac_func in _hypotf
74886do :
74887  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74888if test "x$ac_cv_func__hypotf" = x""yes; then :
74889  cat >>confdefs.h <<_ACEOF
74890#define HAVE__HYPOTF 1
74891_ACEOF
74892
74893fi
74894done
74895
74896    fi
74897  fi
74898
74899
74900
74901
74902
74903  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74904$as_echo_n "checking for ldexpf declaration... " >&6; }
74905  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74906    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74907  $as_echo_n "(cached) " >&6
74908else
74909
74910
74911      ac_ext=cpp
74912ac_cpp='$CXXCPP $CPPFLAGS'
74913ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74914ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74915ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74916
74917      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74918/* end confdefs.h.  */
74919#include <math.h>
74920int
74921main ()
74922{
74923 ldexpf(0, 0);
74924  ;
74925  return 0;
74926}
74927_ACEOF
74928if ac_fn_cxx_try_compile "$LINENO"; then :
74929  glibcxx_cv_func_ldexpf_use=yes
74930else
74931  glibcxx_cv_func_ldexpf_use=no
74932fi
74933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74934      ac_ext=c
74935ac_cpp='$CPP $CPPFLAGS'
74936ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74937ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74938ac_compiler_gnu=$ac_cv_c_compiler_gnu
74939
74940
74941fi
74942
74943  fi
74944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74945$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74946
74947  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74948    for ac_func in ldexpf
74949do :
74950  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74951if test "x$ac_cv_func_ldexpf" = x""yes; then :
74952  cat >>confdefs.h <<_ACEOF
74953#define HAVE_LDEXPF 1
74954_ACEOF
74955
74956fi
74957done
74958
74959  else
74960
74961  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74962$as_echo_n "checking for _ldexpf declaration... " >&6; }
74963  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74964    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74965  $as_echo_n "(cached) " >&6
74966else
74967
74968
74969      ac_ext=cpp
74970ac_cpp='$CXXCPP $CPPFLAGS'
74971ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74972ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74973ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74974
74975      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74976/* end confdefs.h.  */
74977#include <math.h>
74978int
74979main ()
74980{
74981 _ldexpf(0, 0);
74982  ;
74983  return 0;
74984}
74985_ACEOF
74986if ac_fn_cxx_try_compile "$LINENO"; then :
74987  glibcxx_cv_func__ldexpf_use=yes
74988else
74989  glibcxx_cv_func__ldexpf_use=no
74990fi
74991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74992      ac_ext=c
74993ac_cpp='$CPP $CPPFLAGS'
74994ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74995ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74996ac_compiler_gnu=$ac_cv_c_compiler_gnu
74997
74998
74999fi
75000
75001  fi
75002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
75003$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
75004
75005    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
75006      for ac_func in _ldexpf
75007do :
75008  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
75009if test "x$ac_cv_func__ldexpf" = x""yes; then :
75010  cat >>confdefs.h <<_ACEOF
75011#define HAVE__LDEXPF 1
75012_ACEOF
75013
75014fi
75015done
75016
75017    fi
75018  fi
75019
75020
75021
75022
75023
75024  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
75025$as_echo_n "checking for logf declaration... " >&6; }
75026  if test x${glibcxx_cv_func_logf_use+set} != xset; then
75027    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
75028  $as_echo_n "(cached) " >&6
75029else
75030
75031
75032      ac_ext=cpp
75033ac_cpp='$CXXCPP $CPPFLAGS'
75034ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75035ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75036ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75037
75038      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75039/* end confdefs.h.  */
75040#include <math.h>
75041		      #ifdef HAVE_IEEEFP_H
75042		      #include <ieeefp.h>
75043		      #endif
75044
75045int
75046main ()
75047{
75048 logf(0);
75049  ;
75050  return 0;
75051}
75052_ACEOF
75053if ac_fn_cxx_try_compile "$LINENO"; then :
75054  glibcxx_cv_func_logf_use=yes
75055else
75056  glibcxx_cv_func_logf_use=no
75057fi
75058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75059      ac_ext=c
75060ac_cpp='$CPP $CPPFLAGS'
75061ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75062ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75063ac_compiler_gnu=$ac_cv_c_compiler_gnu
75064
75065
75066fi
75067
75068  fi
75069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
75070$as_echo "$glibcxx_cv_func_logf_use" >&6; }
75071
75072  if test x$glibcxx_cv_func_logf_use = x"yes"; then
75073    for ac_func in logf
75074do :
75075  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
75076if test "x$ac_cv_func_logf" = x""yes; then :
75077  cat >>confdefs.h <<_ACEOF
75078#define HAVE_LOGF 1
75079_ACEOF
75080
75081fi
75082done
75083
75084  else
75085
75086  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
75087$as_echo_n "checking for _logf declaration... " >&6; }
75088  if test x${glibcxx_cv_func__logf_use+set} != xset; then
75089    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
75090  $as_echo_n "(cached) " >&6
75091else
75092
75093
75094      ac_ext=cpp
75095ac_cpp='$CXXCPP $CPPFLAGS'
75096ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75097ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75098ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75099
75100      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75101/* end confdefs.h.  */
75102#include <math.h>
75103		      #ifdef HAVE_IEEEFP_H
75104		      #include <ieeefp.h>
75105		      #endif
75106
75107int
75108main ()
75109{
75110 _logf(0);
75111  ;
75112  return 0;
75113}
75114_ACEOF
75115if ac_fn_cxx_try_compile "$LINENO"; then :
75116  glibcxx_cv_func__logf_use=yes
75117else
75118  glibcxx_cv_func__logf_use=no
75119fi
75120rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75121      ac_ext=c
75122ac_cpp='$CPP $CPPFLAGS'
75123ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75124ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75125ac_compiler_gnu=$ac_cv_c_compiler_gnu
75126
75127
75128fi
75129
75130  fi
75131  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
75132$as_echo "$glibcxx_cv_func__logf_use" >&6; }
75133
75134    if test x$glibcxx_cv_func__logf_use = x"yes"; then
75135      for ac_func in _logf
75136do :
75137  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
75138if test "x$ac_cv_func__logf" = x""yes; then :
75139  cat >>confdefs.h <<_ACEOF
75140#define HAVE__LOGF 1
75141_ACEOF
75142
75143fi
75144done
75145
75146    fi
75147  fi
75148
75149
75150
75151
75152
75153  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
75154$as_echo_n "checking for log10f declaration... " >&6; }
75155  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
75156    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
75157  $as_echo_n "(cached) " >&6
75158else
75159
75160
75161      ac_ext=cpp
75162ac_cpp='$CXXCPP $CPPFLAGS'
75163ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75164ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75165ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75166
75167      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75168/* end confdefs.h.  */
75169#include <math.h>
75170		      #ifdef HAVE_IEEEFP_H
75171		      #include <ieeefp.h>
75172		      #endif
75173
75174int
75175main ()
75176{
75177 log10f(0);
75178  ;
75179  return 0;
75180}
75181_ACEOF
75182if ac_fn_cxx_try_compile "$LINENO"; then :
75183  glibcxx_cv_func_log10f_use=yes
75184else
75185  glibcxx_cv_func_log10f_use=no
75186fi
75187rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75188      ac_ext=c
75189ac_cpp='$CPP $CPPFLAGS'
75190ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75191ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75192ac_compiler_gnu=$ac_cv_c_compiler_gnu
75193
75194
75195fi
75196
75197  fi
75198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
75199$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
75200
75201  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
75202    for ac_func in log10f
75203do :
75204  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
75205if test "x$ac_cv_func_log10f" = x""yes; then :
75206  cat >>confdefs.h <<_ACEOF
75207#define HAVE_LOG10F 1
75208_ACEOF
75209
75210fi
75211done
75212
75213  else
75214
75215  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
75216$as_echo_n "checking for _log10f declaration... " >&6; }
75217  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
75218    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
75219  $as_echo_n "(cached) " >&6
75220else
75221
75222
75223      ac_ext=cpp
75224ac_cpp='$CXXCPP $CPPFLAGS'
75225ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75226ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75227ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75228
75229      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75230/* end confdefs.h.  */
75231#include <math.h>
75232		      #ifdef HAVE_IEEEFP_H
75233		      #include <ieeefp.h>
75234		      #endif
75235
75236int
75237main ()
75238{
75239 _log10f(0);
75240  ;
75241  return 0;
75242}
75243_ACEOF
75244if ac_fn_cxx_try_compile "$LINENO"; then :
75245  glibcxx_cv_func__log10f_use=yes
75246else
75247  glibcxx_cv_func__log10f_use=no
75248fi
75249rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75250      ac_ext=c
75251ac_cpp='$CPP $CPPFLAGS'
75252ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75253ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75254ac_compiler_gnu=$ac_cv_c_compiler_gnu
75255
75256
75257fi
75258
75259  fi
75260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75261$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75262
75263    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75264      for ac_func in _log10f
75265do :
75266  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75267if test "x$ac_cv_func__log10f" = x""yes; then :
75268  cat >>confdefs.h <<_ACEOF
75269#define HAVE__LOG10F 1
75270_ACEOF
75271
75272fi
75273done
75274
75275    fi
75276  fi
75277
75278
75279
75280
75281
75282  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75283$as_echo_n "checking for modff declaration... " >&6; }
75284  if test x${glibcxx_cv_func_modff_use+set} != xset; then
75285    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
75286  $as_echo_n "(cached) " >&6
75287else
75288
75289
75290      ac_ext=cpp
75291ac_cpp='$CXXCPP $CPPFLAGS'
75292ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75293ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75294ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75295
75296      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75297/* end confdefs.h.  */
75298#include <math.h>
75299int
75300main ()
75301{
75302 modff(0, 0);
75303  ;
75304  return 0;
75305}
75306_ACEOF
75307if ac_fn_cxx_try_compile "$LINENO"; then :
75308  glibcxx_cv_func_modff_use=yes
75309else
75310  glibcxx_cv_func_modff_use=no
75311fi
75312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75313      ac_ext=c
75314ac_cpp='$CPP $CPPFLAGS'
75315ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75316ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75317ac_compiler_gnu=$ac_cv_c_compiler_gnu
75318
75319
75320fi
75321
75322  fi
75323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75324$as_echo "$glibcxx_cv_func_modff_use" >&6; }
75325
75326  if test x$glibcxx_cv_func_modff_use = x"yes"; then
75327    for ac_func in modff
75328do :
75329  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75330if test "x$ac_cv_func_modff" = x""yes; then :
75331  cat >>confdefs.h <<_ACEOF
75332#define HAVE_MODFF 1
75333_ACEOF
75334
75335fi
75336done
75337
75338  else
75339
75340  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75341$as_echo_n "checking for _modff declaration... " >&6; }
75342  if test x${glibcxx_cv_func__modff_use+set} != xset; then
75343    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75344  $as_echo_n "(cached) " >&6
75345else
75346
75347
75348      ac_ext=cpp
75349ac_cpp='$CXXCPP $CPPFLAGS'
75350ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75351ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75352ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75353
75354      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75355/* end confdefs.h.  */
75356#include <math.h>
75357int
75358main ()
75359{
75360 _modff(0, 0);
75361  ;
75362  return 0;
75363}
75364_ACEOF
75365if ac_fn_cxx_try_compile "$LINENO"; then :
75366  glibcxx_cv_func__modff_use=yes
75367else
75368  glibcxx_cv_func__modff_use=no
75369fi
75370rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75371      ac_ext=c
75372ac_cpp='$CPP $CPPFLAGS'
75373ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75374ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75375ac_compiler_gnu=$ac_cv_c_compiler_gnu
75376
75377
75378fi
75379
75380  fi
75381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75382$as_echo "$glibcxx_cv_func__modff_use" >&6; }
75383
75384    if test x$glibcxx_cv_func__modff_use = x"yes"; then
75385      for ac_func in _modff
75386do :
75387  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75388if test "x$ac_cv_func__modff" = x""yes; then :
75389  cat >>confdefs.h <<_ACEOF
75390#define HAVE__MODFF 1
75391_ACEOF
75392
75393fi
75394done
75395
75396    fi
75397  fi
75398
75399
75400
75401
75402
75403  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75404$as_echo_n "checking for modf declaration... " >&6; }
75405  if test x${glibcxx_cv_func_modf_use+set} != xset; then
75406    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75407  $as_echo_n "(cached) " >&6
75408else
75409
75410
75411      ac_ext=cpp
75412ac_cpp='$CXXCPP $CPPFLAGS'
75413ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75414ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75415ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75416
75417      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75418/* end confdefs.h.  */
75419#include <math.h>
75420int
75421main ()
75422{
75423 modf(0, 0);
75424  ;
75425  return 0;
75426}
75427_ACEOF
75428if ac_fn_cxx_try_compile "$LINENO"; then :
75429  glibcxx_cv_func_modf_use=yes
75430else
75431  glibcxx_cv_func_modf_use=no
75432fi
75433rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75434      ac_ext=c
75435ac_cpp='$CPP $CPPFLAGS'
75436ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75437ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75438ac_compiler_gnu=$ac_cv_c_compiler_gnu
75439
75440
75441fi
75442
75443  fi
75444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75445$as_echo "$glibcxx_cv_func_modf_use" >&6; }
75446
75447  if test x$glibcxx_cv_func_modf_use = x"yes"; then
75448    for ac_func in modf
75449do :
75450  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75451if test "x$ac_cv_func_modf" = x""yes; then :
75452  cat >>confdefs.h <<_ACEOF
75453#define HAVE_MODF 1
75454_ACEOF
75455
75456fi
75457done
75458
75459  else
75460
75461  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75462$as_echo_n "checking for _modf declaration... " >&6; }
75463  if test x${glibcxx_cv_func__modf_use+set} != xset; then
75464    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75465  $as_echo_n "(cached) " >&6
75466else
75467
75468
75469      ac_ext=cpp
75470ac_cpp='$CXXCPP $CPPFLAGS'
75471ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75472ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75473ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75474
75475      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75476/* end confdefs.h.  */
75477#include <math.h>
75478int
75479main ()
75480{
75481 _modf(0, 0);
75482  ;
75483  return 0;
75484}
75485_ACEOF
75486if ac_fn_cxx_try_compile "$LINENO"; then :
75487  glibcxx_cv_func__modf_use=yes
75488else
75489  glibcxx_cv_func__modf_use=no
75490fi
75491rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75492      ac_ext=c
75493ac_cpp='$CPP $CPPFLAGS'
75494ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75495ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75496ac_compiler_gnu=$ac_cv_c_compiler_gnu
75497
75498
75499fi
75500
75501  fi
75502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75503$as_echo "$glibcxx_cv_func__modf_use" >&6; }
75504
75505    if test x$glibcxx_cv_func__modf_use = x"yes"; then
75506      for ac_func in _modf
75507do :
75508  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75509if test "x$ac_cv_func__modf" = x""yes; then :
75510  cat >>confdefs.h <<_ACEOF
75511#define HAVE__MODF 1
75512_ACEOF
75513
75514fi
75515done
75516
75517    fi
75518  fi
75519
75520
75521
75522
75523
75524  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75525$as_echo_n "checking for powf declaration... " >&6; }
75526  if test x${glibcxx_cv_func_powf_use+set} != xset; then
75527    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75528  $as_echo_n "(cached) " >&6
75529else
75530
75531
75532      ac_ext=cpp
75533ac_cpp='$CXXCPP $CPPFLAGS'
75534ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75535ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75536ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75537
75538      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75539/* end confdefs.h.  */
75540#include <math.h>
75541int
75542main ()
75543{
75544 powf(0, 0);
75545  ;
75546  return 0;
75547}
75548_ACEOF
75549if ac_fn_cxx_try_compile "$LINENO"; then :
75550  glibcxx_cv_func_powf_use=yes
75551else
75552  glibcxx_cv_func_powf_use=no
75553fi
75554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75555      ac_ext=c
75556ac_cpp='$CPP $CPPFLAGS'
75557ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75558ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75559ac_compiler_gnu=$ac_cv_c_compiler_gnu
75560
75561
75562fi
75563
75564  fi
75565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75566$as_echo "$glibcxx_cv_func_powf_use" >&6; }
75567
75568  if test x$glibcxx_cv_func_powf_use = x"yes"; then
75569    for ac_func in powf
75570do :
75571  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75572if test "x$ac_cv_func_powf" = x""yes; then :
75573  cat >>confdefs.h <<_ACEOF
75574#define HAVE_POWF 1
75575_ACEOF
75576
75577fi
75578done
75579
75580  else
75581
75582  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75583$as_echo_n "checking for _powf declaration... " >&6; }
75584  if test x${glibcxx_cv_func__powf_use+set} != xset; then
75585    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75586  $as_echo_n "(cached) " >&6
75587else
75588
75589
75590      ac_ext=cpp
75591ac_cpp='$CXXCPP $CPPFLAGS'
75592ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75593ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75594ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75595
75596      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75597/* end confdefs.h.  */
75598#include <math.h>
75599int
75600main ()
75601{
75602 _powf(0, 0);
75603  ;
75604  return 0;
75605}
75606_ACEOF
75607if ac_fn_cxx_try_compile "$LINENO"; then :
75608  glibcxx_cv_func__powf_use=yes
75609else
75610  glibcxx_cv_func__powf_use=no
75611fi
75612rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75613      ac_ext=c
75614ac_cpp='$CPP $CPPFLAGS'
75615ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75616ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75617ac_compiler_gnu=$ac_cv_c_compiler_gnu
75618
75619
75620fi
75621
75622  fi
75623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75624$as_echo "$glibcxx_cv_func__powf_use" >&6; }
75625
75626    if test x$glibcxx_cv_func__powf_use = x"yes"; then
75627      for ac_func in _powf
75628do :
75629  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75630if test "x$ac_cv_func__powf" = x""yes; then :
75631  cat >>confdefs.h <<_ACEOF
75632#define HAVE__POWF 1
75633_ACEOF
75634
75635fi
75636done
75637
75638    fi
75639  fi
75640
75641
75642
75643
75644
75645  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75646$as_echo_n "checking for sqrtf declaration... " >&6; }
75647  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75648    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75649  $as_echo_n "(cached) " >&6
75650else
75651
75652
75653      ac_ext=cpp
75654ac_cpp='$CXXCPP $CPPFLAGS'
75655ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75656ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75657ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75658
75659      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75660/* end confdefs.h.  */
75661#include <math.h>
75662		      #ifdef HAVE_IEEEFP_H
75663		      #include <ieeefp.h>
75664		      #endif
75665
75666int
75667main ()
75668{
75669 sqrtf(0);
75670  ;
75671  return 0;
75672}
75673_ACEOF
75674if ac_fn_cxx_try_compile "$LINENO"; then :
75675  glibcxx_cv_func_sqrtf_use=yes
75676else
75677  glibcxx_cv_func_sqrtf_use=no
75678fi
75679rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75680      ac_ext=c
75681ac_cpp='$CPP $CPPFLAGS'
75682ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75683ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75684ac_compiler_gnu=$ac_cv_c_compiler_gnu
75685
75686
75687fi
75688
75689  fi
75690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75691$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75692
75693  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75694    for ac_func in sqrtf
75695do :
75696  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75697if test "x$ac_cv_func_sqrtf" = x""yes; then :
75698  cat >>confdefs.h <<_ACEOF
75699#define HAVE_SQRTF 1
75700_ACEOF
75701
75702fi
75703done
75704
75705  else
75706
75707  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75708$as_echo_n "checking for _sqrtf declaration... " >&6; }
75709  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75710    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75711  $as_echo_n "(cached) " >&6
75712else
75713
75714
75715      ac_ext=cpp
75716ac_cpp='$CXXCPP $CPPFLAGS'
75717ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75718ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75719ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75720
75721      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75722/* end confdefs.h.  */
75723#include <math.h>
75724		      #ifdef HAVE_IEEEFP_H
75725		      #include <ieeefp.h>
75726		      #endif
75727
75728int
75729main ()
75730{
75731 _sqrtf(0);
75732  ;
75733  return 0;
75734}
75735_ACEOF
75736if ac_fn_cxx_try_compile "$LINENO"; then :
75737  glibcxx_cv_func__sqrtf_use=yes
75738else
75739  glibcxx_cv_func__sqrtf_use=no
75740fi
75741rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75742      ac_ext=c
75743ac_cpp='$CPP $CPPFLAGS'
75744ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75745ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75746ac_compiler_gnu=$ac_cv_c_compiler_gnu
75747
75748
75749fi
75750
75751  fi
75752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75753$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75754
75755    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75756      for ac_func in _sqrtf
75757do :
75758  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75759if test "x$ac_cv_func__sqrtf" = x""yes; then :
75760  cat >>confdefs.h <<_ACEOF
75761#define HAVE__SQRTF 1
75762_ACEOF
75763
75764fi
75765done
75766
75767    fi
75768  fi
75769
75770
75771
75772
75773
75774  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75775$as_echo_n "checking for sincosf declaration... " >&6; }
75776  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75777    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75778  $as_echo_n "(cached) " >&6
75779else
75780
75781
75782      ac_ext=cpp
75783ac_cpp='$CXXCPP $CPPFLAGS'
75784ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75785ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75786ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75787
75788      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75789/* end confdefs.h.  */
75790#include <math.h>
75791int
75792main ()
75793{
75794 sincosf(0, 0, 0);
75795  ;
75796  return 0;
75797}
75798_ACEOF
75799if ac_fn_cxx_try_compile "$LINENO"; then :
75800  glibcxx_cv_func_sincosf_use=yes
75801else
75802  glibcxx_cv_func_sincosf_use=no
75803fi
75804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75805      ac_ext=c
75806ac_cpp='$CPP $CPPFLAGS'
75807ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75808ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75809ac_compiler_gnu=$ac_cv_c_compiler_gnu
75810
75811
75812fi
75813
75814  fi
75815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75816$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75817
75818  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75819    for ac_func in sincosf
75820do :
75821  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75822if test "x$ac_cv_func_sincosf" = x""yes; then :
75823  cat >>confdefs.h <<_ACEOF
75824#define HAVE_SINCOSF 1
75825_ACEOF
75826
75827fi
75828done
75829
75830  else
75831
75832  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75833$as_echo_n "checking for _sincosf declaration... " >&6; }
75834  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75835    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75836  $as_echo_n "(cached) " >&6
75837else
75838
75839
75840      ac_ext=cpp
75841ac_cpp='$CXXCPP $CPPFLAGS'
75842ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75843ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75844ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75845
75846      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75847/* end confdefs.h.  */
75848#include <math.h>
75849int
75850main ()
75851{
75852 _sincosf(0, 0, 0);
75853  ;
75854  return 0;
75855}
75856_ACEOF
75857if ac_fn_cxx_try_compile "$LINENO"; then :
75858  glibcxx_cv_func__sincosf_use=yes
75859else
75860  glibcxx_cv_func__sincosf_use=no
75861fi
75862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75863      ac_ext=c
75864ac_cpp='$CPP $CPPFLAGS'
75865ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75866ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75867ac_compiler_gnu=$ac_cv_c_compiler_gnu
75868
75869
75870fi
75871
75872  fi
75873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75874$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75875
75876    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75877      for ac_func in _sincosf
75878do :
75879  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75880if test "x$ac_cv_func__sincosf" = x""yes; then :
75881  cat >>confdefs.h <<_ACEOF
75882#define HAVE__SINCOSF 1
75883_ACEOF
75884
75885fi
75886done
75887
75888    fi
75889  fi
75890
75891
75892
75893
75894
75895  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75896$as_echo_n "checking for finitef declaration... " >&6; }
75897  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75898    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75899  $as_echo_n "(cached) " >&6
75900else
75901
75902
75903      ac_ext=cpp
75904ac_cpp='$CXXCPP $CPPFLAGS'
75905ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75906ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75907ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75908
75909      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75910/* end confdefs.h.  */
75911#include <math.h>
75912		      #ifdef HAVE_IEEEFP_H
75913		      #include <ieeefp.h>
75914		      #endif
75915
75916int
75917main ()
75918{
75919 finitef(0);
75920  ;
75921  return 0;
75922}
75923_ACEOF
75924if ac_fn_cxx_try_compile "$LINENO"; then :
75925  glibcxx_cv_func_finitef_use=yes
75926else
75927  glibcxx_cv_func_finitef_use=no
75928fi
75929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75930      ac_ext=c
75931ac_cpp='$CPP $CPPFLAGS'
75932ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75933ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75934ac_compiler_gnu=$ac_cv_c_compiler_gnu
75935
75936
75937fi
75938
75939  fi
75940  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75941$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75942
75943  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75944    for ac_func in finitef
75945do :
75946  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75947if test "x$ac_cv_func_finitef" = x""yes; then :
75948  cat >>confdefs.h <<_ACEOF
75949#define HAVE_FINITEF 1
75950_ACEOF
75951
75952fi
75953done
75954
75955  else
75956
75957  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75958$as_echo_n "checking for _finitef declaration... " >&6; }
75959  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75960    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75961  $as_echo_n "(cached) " >&6
75962else
75963
75964
75965      ac_ext=cpp
75966ac_cpp='$CXXCPP $CPPFLAGS'
75967ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75968ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75969ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75970
75971      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75972/* end confdefs.h.  */
75973#include <math.h>
75974		      #ifdef HAVE_IEEEFP_H
75975		      #include <ieeefp.h>
75976		      #endif
75977
75978int
75979main ()
75980{
75981 _finitef(0);
75982  ;
75983  return 0;
75984}
75985_ACEOF
75986if ac_fn_cxx_try_compile "$LINENO"; then :
75987  glibcxx_cv_func__finitef_use=yes
75988else
75989  glibcxx_cv_func__finitef_use=no
75990fi
75991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75992      ac_ext=c
75993ac_cpp='$CPP $CPPFLAGS'
75994ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75995ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75996ac_compiler_gnu=$ac_cv_c_compiler_gnu
75997
75998
75999fi
76000
76001  fi
76002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
76003$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
76004
76005    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
76006      for ac_func in _finitef
76007do :
76008  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
76009if test "x$ac_cv_func__finitef" = x""yes; then :
76010  cat >>confdefs.h <<_ACEOF
76011#define HAVE__FINITEF 1
76012_ACEOF
76013
76014fi
76015done
76016
76017    fi
76018  fi
76019
76020
76021
76022
76023
76024    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
76025$as_echo_n "checking for long double trig functions... " >&6; }
76026  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
76027  $as_echo_n "(cached) " >&6
76028else
76029
76030
76031    ac_ext=cpp
76032ac_cpp='$CXXCPP $CPPFLAGS'
76033ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76034ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76035ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76036
76037    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76038/* end confdefs.h.  */
76039#include <math.h>
76040int
76041main ()
76042{
76043acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
76044  ;
76045  return 0;
76046}
76047_ACEOF
76048if ac_fn_cxx_try_compile "$LINENO"; then :
76049  glibcxx_cv_func_long_double_trig_use=yes
76050else
76051  glibcxx_cv_func_long_double_trig_use=no
76052fi
76053rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76054    ac_ext=c
76055ac_cpp='$CPP $CPPFLAGS'
76056ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76057ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76058ac_compiler_gnu=$ac_cv_c_compiler_gnu
76059
76060fi
76061
76062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
76063$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
76064  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
76065    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
76066do :
76067  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76068ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76069eval as_val=\$$as_ac_var
76070   if test "x$as_val" = x""yes; then :
76071  cat >>confdefs.h <<_ACEOF
76072#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76073_ACEOF
76074
76075fi
76076done
76077
76078  else
76079    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
76080$as_echo_n "checking for _long double trig functions... " >&6; }
76081    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
76082  $as_echo_n "(cached) " >&6
76083else
76084
76085
76086      ac_ext=cpp
76087ac_cpp='$CXXCPP $CPPFLAGS'
76088ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76089ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76090ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76091
76092      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76093/* end confdefs.h.  */
76094#include <math.h>
76095int
76096main ()
76097{
76098_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
76099  ;
76100  return 0;
76101}
76102_ACEOF
76103if ac_fn_cxx_try_compile "$LINENO"; then :
76104  glibcxx_cv_func__long_double_trig_use=yes
76105else
76106  glibcxx_cv_func__long_double_trig_use=no
76107fi
76108rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76109      ac_ext=c
76110ac_cpp='$CPP $CPPFLAGS'
76111ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76112ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76113ac_compiler_gnu=$ac_cv_c_compiler_gnu
76114
76115fi
76116
76117    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
76118$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
76119    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
76120      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
76121do :
76122  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76123ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76124eval as_val=\$$as_ac_var
76125   if test "x$as_val" = x""yes; then :
76126  cat >>confdefs.h <<_ACEOF
76127#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76128_ACEOF
76129
76130fi
76131done
76132
76133    fi
76134  fi
76135
76136
76137
76138
76139
76140    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
76141$as_echo_n "checking for long double round functions... " >&6; }
76142  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
76143  $as_echo_n "(cached) " >&6
76144else
76145
76146
76147    ac_ext=cpp
76148ac_cpp='$CXXCPP $CPPFLAGS'
76149ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76150ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76151ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76152
76153    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76154/* end confdefs.h.  */
76155#include <math.h>
76156int
76157main ()
76158{
76159ceill (0); floorl (0);
76160  ;
76161  return 0;
76162}
76163_ACEOF
76164if ac_fn_cxx_try_compile "$LINENO"; then :
76165  glibcxx_cv_func_long_double_round_use=yes
76166else
76167  glibcxx_cv_func_long_double_round_use=no
76168fi
76169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76170    ac_ext=c
76171ac_cpp='$CPP $CPPFLAGS'
76172ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76173ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76174ac_compiler_gnu=$ac_cv_c_compiler_gnu
76175
76176fi
76177
76178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
76179$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
76180  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
76181    for ac_func in ceill floorl
76182do :
76183  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76184ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76185eval as_val=\$$as_ac_var
76186   if test "x$as_val" = x""yes; then :
76187  cat >>confdefs.h <<_ACEOF
76188#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76189_ACEOF
76190
76191fi
76192done
76193
76194  else
76195    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
76196$as_echo_n "checking for _long double round functions... " >&6; }
76197    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
76198  $as_echo_n "(cached) " >&6
76199else
76200
76201
76202      ac_ext=cpp
76203ac_cpp='$CXXCPP $CPPFLAGS'
76204ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76205ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76206ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76207
76208      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76209/* end confdefs.h.  */
76210#include <math.h>
76211int
76212main ()
76213{
76214_ceill (0); _floorl (0);
76215  ;
76216  return 0;
76217}
76218_ACEOF
76219if ac_fn_cxx_try_compile "$LINENO"; then :
76220  glibcxx_cv_func__long_double_round_use=yes
76221else
76222  glibcxx_cv_func__long_double_round_use=no
76223fi
76224rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76225      ac_ext=c
76226ac_cpp='$CPP $CPPFLAGS'
76227ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76228ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76229ac_compiler_gnu=$ac_cv_c_compiler_gnu
76230
76231fi
76232
76233    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
76234$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
76235    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
76236      for ac_func in _ceill _floorl
76237do :
76238  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76239ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76240eval as_val=\$$as_ac_var
76241   if test "x$as_val" = x""yes; then :
76242  cat >>confdefs.h <<_ACEOF
76243#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76244_ACEOF
76245
76246fi
76247done
76248
76249    fi
76250  fi
76251
76252
76253
76254
76255
76256
76257  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76258$as_echo_n "checking for isnanl declaration... " >&6; }
76259  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76260    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
76261  $as_echo_n "(cached) " >&6
76262else
76263
76264
76265      ac_ext=cpp
76266ac_cpp='$CXXCPP $CPPFLAGS'
76267ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76268ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76269ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76270
76271      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76272/* end confdefs.h.  */
76273#include <math.h>
76274		      #ifdef HAVE_IEEEFP_H
76275		      #include <ieeefp.h>
76276		      #endif
76277
76278int
76279main ()
76280{
76281 isnanl(0);
76282  ;
76283  return 0;
76284}
76285_ACEOF
76286if ac_fn_cxx_try_compile "$LINENO"; then :
76287  glibcxx_cv_func_isnanl_use=yes
76288else
76289  glibcxx_cv_func_isnanl_use=no
76290fi
76291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76292      ac_ext=c
76293ac_cpp='$CPP $CPPFLAGS'
76294ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76295ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76296ac_compiler_gnu=$ac_cv_c_compiler_gnu
76297
76298
76299fi
76300
76301  fi
76302  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76303$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76304
76305  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76306    for ac_func in isnanl
76307do :
76308  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76309if test "x$ac_cv_func_isnanl" = x""yes; then :
76310  cat >>confdefs.h <<_ACEOF
76311#define HAVE_ISNANL 1
76312_ACEOF
76313
76314fi
76315done
76316
76317  else
76318
76319  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76320$as_echo_n "checking for _isnanl declaration... " >&6; }
76321  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76322    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
76323  $as_echo_n "(cached) " >&6
76324else
76325
76326
76327      ac_ext=cpp
76328ac_cpp='$CXXCPP $CPPFLAGS'
76329ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76330ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76331ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76332
76333      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76334/* end confdefs.h.  */
76335#include <math.h>
76336		      #ifdef HAVE_IEEEFP_H
76337		      #include <ieeefp.h>
76338		      #endif
76339
76340int
76341main ()
76342{
76343 _isnanl(0);
76344  ;
76345  return 0;
76346}
76347_ACEOF
76348if ac_fn_cxx_try_compile "$LINENO"; then :
76349  glibcxx_cv_func__isnanl_use=yes
76350else
76351  glibcxx_cv_func__isnanl_use=no
76352fi
76353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76354      ac_ext=c
76355ac_cpp='$CPP $CPPFLAGS'
76356ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76357ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76358ac_compiler_gnu=$ac_cv_c_compiler_gnu
76359
76360
76361fi
76362
76363  fi
76364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76365$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76366
76367    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76368      for ac_func in _isnanl
76369do :
76370  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76371if test "x$ac_cv_func__isnanl" = x""yes; then :
76372  cat >>confdefs.h <<_ACEOF
76373#define HAVE__ISNANL 1
76374_ACEOF
76375
76376fi
76377done
76378
76379    fi
76380  fi
76381
76382
76383
76384
76385
76386  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76387$as_echo_n "checking for isinfl declaration... " >&6; }
76388  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76389    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76390  $as_echo_n "(cached) " >&6
76391else
76392
76393
76394      ac_ext=cpp
76395ac_cpp='$CXXCPP $CPPFLAGS'
76396ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76397ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76398ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76399
76400      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76401/* end confdefs.h.  */
76402#include <math.h>
76403		      #ifdef HAVE_IEEEFP_H
76404		      #include <ieeefp.h>
76405		      #endif
76406
76407int
76408main ()
76409{
76410 isinfl(0);
76411  ;
76412  return 0;
76413}
76414_ACEOF
76415if ac_fn_cxx_try_compile "$LINENO"; then :
76416  glibcxx_cv_func_isinfl_use=yes
76417else
76418  glibcxx_cv_func_isinfl_use=no
76419fi
76420rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76421      ac_ext=c
76422ac_cpp='$CPP $CPPFLAGS'
76423ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76424ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76425ac_compiler_gnu=$ac_cv_c_compiler_gnu
76426
76427
76428fi
76429
76430  fi
76431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76432$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76433
76434  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76435    for ac_func in isinfl
76436do :
76437  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76438if test "x$ac_cv_func_isinfl" = x""yes; then :
76439  cat >>confdefs.h <<_ACEOF
76440#define HAVE_ISINFL 1
76441_ACEOF
76442
76443fi
76444done
76445
76446  else
76447
76448  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76449$as_echo_n "checking for _isinfl declaration... " >&6; }
76450  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76451    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76452  $as_echo_n "(cached) " >&6
76453else
76454
76455
76456      ac_ext=cpp
76457ac_cpp='$CXXCPP $CPPFLAGS'
76458ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76459ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76460ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76461
76462      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76463/* end confdefs.h.  */
76464#include <math.h>
76465		      #ifdef HAVE_IEEEFP_H
76466		      #include <ieeefp.h>
76467		      #endif
76468
76469int
76470main ()
76471{
76472 _isinfl(0);
76473  ;
76474  return 0;
76475}
76476_ACEOF
76477if ac_fn_cxx_try_compile "$LINENO"; then :
76478  glibcxx_cv_func__isinfl_use=yes
76479else
76480  glibcxx_cv_func__isinfl_use=no
76481fi
76482rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76483      ac_ext=c
76484ac_cpp='$CPP $CPPFLAGS'
76485ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76486ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76487ac_compiler_gnu=$ac_cv_c_compiler_gnu
76488
76489
76490fi
76491
76492  fi
76493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76494$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76495
76496    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76497      for ac_func in _isinfl
76498do :
76499  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76500if test "x$ac_cv_func__isinfl" = x""yes; then :
76501  cat >>confdefs.h <<_ACEOF
76502#define HAVE__ISINFL 1
76503_ACEOF
76504
76505fi
76506done
76507
76508    fi
76509  fi
76510
76511
76512
76513
76514
76515  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76516$as_echo_n "checking for atan2l declaration... " >&6; }
76517  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76518    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76519  $as_echo_n "(cached) " >&6
76520else
76521
76522
76523      ac_ext=cpp
76524ac_cpp='$CXXCPP $CPPFLAGS'
76525ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76526ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76527ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76528
76529      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76530/* end confdefs.h.  */
76531#include <math.h>
76532int
76533main ()
76534{
76535 atan2l(0, 0);
76536  ;
76537  return 0;
76538}
76539_ACEOF
76540if ac_fn_cxx_try_compile "$LINENO"; then :
76541  glibcxx_cv_func_atan2l_use=yes
76542else
76543  glibcxx_cv_func_atan2l_use=no
76544fi
76545rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76546      ac_ext=c
76547ac_cpp='$CPP $CPPFLAGS'
76548ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76549ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76550ac_compiler_gnu=$ac_cv_c_compiler_gnu
76551
76552
76553fi
76554
76555  fi
76556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76557$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76558
76559  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76560    for ac_func in atan2l
76561do :
76562  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76563if test "x$ac_cv_func_atan2l" = x""yes; then :
76564  cat >>confdefs.h <<_ACEOF
76565#define HAVE_ATAN2L 1
76566_ACEOF
76567
76568fi
76569done
76570
76571  else
76572
76573  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76574$as_echo_n "checking for _atan2l declaration... " >&6; }
76575  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76576    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76577  $as_echo_n "(cached) " >&6
76578else
76579
76580
76581      ac_ext=cpp
76582ac_cpp='$CXXCPP $CPPFLAGS'
76583ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76584ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76585ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76586
76587      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76588/* end confdefs.h.  */
76589#include <math.h>
76590int
76591main ()
76592{
76593 _atan2l(0, 0);
76594  ;
76595  return 0;
76596}
76597_ACEOF
76598if ac_fn_cxx_try_compile "$LINENO"; then :
76599  glibcxx_cv_func__atan2l_use=yes
76600else
76601  glibcxx_cv_func__atan2l_use=no
76602fi
76603rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76604      ac_ext=c
76605ac_cpp='$CPP $CPPFLAGS'
76606ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76607ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76608ac_compiler_gnu=$ac_cv_c_compiler_gnu
76609
76610
76611fi
76612
76613  fi
76614  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76615$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76616
76617    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76618      for ac_func in _atan2l
76619do :
76620  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76621if test "x$ac_cv_func__atan2l" = x""yes; then :
76622  cat >>confdefs.h <<_ACEOF
76623#define HAVE__ATAN2L 1
76624_ACEOF
76625
76626fi
76627done
76628
76629    fi
76630  fi
76631
76632
76633
76634
76635
76636  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76637$as_echo_n "checking for expl declaration... " >&6; }
76638  if test x${glibcxx_cv_func_expl_use+set} != xset; then
76639    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76640  $as_echo_n "(cached) " >&6
76641else
76642
76643
76644      ac_ext=cpp
76645ac_cpp='$CXXCPP $CPPFLAGS'
76646ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76647ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76648ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76649
76650      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76651/* end confdefs.h.  */
76652#include <math.h>
76653		      #ifdef HAVE_IEEEFP_H
76654		      #include <ieeefp.h>
76655		      #endif
76656
76657int
76658main ()
76659{
76660 expl(0);
76661  ;
76662  return 0;
76663}
76664_ACEOF
76665if ac_fn_cxx_try_compile "$LINENO"; then :
76666  glibcxx_cv_func_expl_use=yes
76667else
76668  glibcxx_cv_func_expl_use=no
76669fi
76670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76671      ac_ext=c
76672ac_cpp='$CPP $CPPFLAGS'
76673ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76674ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76675ac_compiler_gnu=$ac_cv_c_compiler_gnu
76676
76677
76678fi
76679
76680  fi
76681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76682$as_echo "$glibcxx_cv_func_expl_use" >&6; }
76683
76684  if test x$glibcxx_cv_func_expl_use = x"yes"; then
76685    for ac_func in expl
76686do :
76687  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76688if test "x$ac_cv_func_expl" = x""yes; then :
76689  cat >>confdefs.h <<_ACEOF
76690#define HAVE_EXPL 1
76691_ACEOF
76692
76693fi
76694done
76695
76696  else
76697
76698  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76699$as_echo_n "checking for _expl declaration... " >&6; }
76700  if test x${glibcxx_cv_func__expl_use+set} != xset; then
76701    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76702  $as_echo_n "(cached) " >&6
76703else
76704
76705
76706      ac_ext=cpp
76707ac_cpp='$CXXCPP $CPPFLAGS'
76708ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76709ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76710ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76711
76712      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76713/* end confdefs.h.  */
76714#include <math.h>
76715		      #ifdef HAVE_IEEEFP_H
76716		      #include <ieeefp.h>
76717		      #endif
76718
76719int
76720main ()
76721{
76722 _expl(0);
76723  ;
76724  return 0;
76725}
76726_ACEOF
76727if ac_fn_cxx_try_compile "$LINENO"; then :
76728  glibcxx_cv_func__expl_use=yes
76729else
76730  glibcxx_cv_func__expl_use=no
76731fi
76732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76733      ac_ext=c
76734ac_cpp='$CPP $CPPFLAGS'
76735ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76736ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76737ac_compiler_gnu=$ac_cv_c_compiler_gnu
76738
76739
76740fi
76741
76742  fi
76743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76744$as_echo "$glibcxx_cv_func__expl_use" >&6; }
76745
76746    if test x$glibcxx_cv_func__expl_use = x"yes"; then
76747      for ac_func in _expl
76748do :
76749  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76750if test "x$ac_cv_func__expl" = x""yes; then :
76751  cat >>confdefs.h <<_ACEOF
76752#define HAVE__EXPL 1
76753_ACEOF
76754
76755fi
76756done
76757
76758    fi
76759  fi
76760
76761
76762
76763
76764
76765  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76766$as_echo_n "checking for fabsl declaration... " >&6; }
76767  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76768    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76769  $as_echo_n "(cached) " >&6
76770else
76771
76772
76773      ac_ext=cpp
76774ac_cpp='$CXXCPP $CPPFLAGS'
76775ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76776ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76777ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76778
76779      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76780/* end confdefs.h.  */
76781#include <math.h>
76782		      #ifdef HAVE_IEEEFP_H
76783		      #include <ieeefp.h>
76784		      #endif
76785
76786int
76787main ()
76788{
76789 fabsl(0);
76790  ;
76791  return 0;
76792}
76793_ACEOF
76794if ac_fn_cxx_try_compile "$LINENO"; then :
76795  glibcxx_cv_func_fabsl_use=yes
76796else
76797  glibcxx_cv_func_fabsl_use=no
76798fi
76799rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76800      ac_ext=c
76801ac_cpp='$CPP $CPPFLAGS'
76802ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76803ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76804ac_compiler_gnu=$ac_cv_c_compiler_gnu
76805
76806
76807fi
76808
76809  fi
76810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76811$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76812
76813  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76814    for ac_func in fabsl
76815do :
76816  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76817if test "x$ac_cv_func_fabsl" = x""yes; then :
76818  cat >>confdefs.h <<_ACEOF
76819#define HAVE_FABSL 1
76820_ACEOF
76821
76822fi
76823done
76824
76825  else
76826
76827  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76828$as_echo_n "checking for _fabsl declaration... " >&6; }
76829  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76830    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76831  $as_echo_n "(cached) " >&6
76832else
76833
76834
76835      ac_ext=cpp
76836ac_cpp='$CXXCPP $CPPFLAGS'
76837ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76838ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76839ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76840
76841      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76842/* end confdefs.h.  */
76843#include <math.h>
76844		      #ifdef HAVE_IEEEFP_H
76845		      #include <ieeefp.h>
76846		      #endif
76847
76848int
76849main ()
76850{
76851 _fabsl(0);
76852  ;
76853  return 0;
76854}
76855_ACEOF
76856if ac_fn_cxx_try_compile "$LINENO"; then :
76857  glibcxx_cv_func__fabsl_use=yes
76858else
76859  glibcxx_cv_func__fabsl_use=no
76860fi
76861rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76862      ac_ext=c
76863ac_cpp='$CPP $CPPFLAGS'
76864ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76865ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76866ac_compiler_gnu=$ac_cv_c_compiler_gnu
76867
76868
76869fi
76870
76871  fi
76872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76873$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76874
76875    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76876      for ac_func in _fabsl
76877do :
76878  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76879if test "x$ac_cv_func__fabsl" = x""yes; then :
76880  cat >>confdefs.h <<_ACEOF
76881#define HAVE__FABSL 1
76882_ACEOF
76883
76884fi
76885done
76886
76887    fi
76888  fi
76889
76890
76891
76892
76893
76894  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76895$as_echo_n "checking for fmodl declaration... " >&6; }
76896  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76897    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76898  $as_echo_n "(cached) " >&6
76899else
76900
76901
76902      ac_ext=cpp
76903ac_cpp='$CXXCPP $CPPFLAGS'
76904ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76905ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76906ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76907
76908      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76909/* end confdefs.h.  */
76910#include <math.h>
76911int
76912main ()
76913{
76914 fmodl(0, 0);
76915  ;
76916  return 0;
76917}
76918_ACEOF
76919if ac_fn_cxx_try_compile "$LINENO"; then :
76920  glibcxx_cv_func_fmodl_use=yes
76921else
76922  glibcxx_cv_func_fmodl_use=no
76923fi
76924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76925      ac_ext=c
76926ac_cpp='$CPP $CPPFLAGS'
76927ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76928ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76929ac_compiler_gnu=$ac_cv_c_compiler_gnu
76930
76931
76932fi
76933
76934  fi
76935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76936$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76937
76938  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76939    for ac_func in fmodl
76940do :
76941  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76942if test "x$ac_cv_func_fmodl" = x""yes; then :
76943  cat >>confdefs.h <<_ACEOF
76944#define HAVE_FMODL 1
76945_ACEOF
76946
76947fi
76948done
76949
76950  else
76951
76952  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76953$as_echo_n "checking for _fmodl declaration... " >&6; }
76954  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76955    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76956  $as_echo_n "(cached) " >&6
76957else
76958
76959
76960      ac_ext=cpp
76961ac_cpp='$CXXCPP $CPPFLAGS'
76962ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76963ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76964ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76965
76966      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76967/* end confdefs.h.  */
76968#include <math.h>
76969int
76970main ()
76971{
76972 _fmodl(0, 0);
76973  ;
76974  return 0;
76975}
76976_ACEOF
76977if ac_fn_cxx_try_compile "$LINENO"; then :
76978  glibcxx_cv_func__fmodl_use=yes
76979else
76980  glibcxx_cv_func__fmodl_use=no
76981fi
76982rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76983      ac_ext=c
76984ac_cpp='$CPP $CPPFLAGS'
76985ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76986ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76987ac_compiler_gnu=$ac_cv_c_compiler_gnu
76988
76989
76990fi
76991
76992  fi
76993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76994$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76995
76996    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76997      for ac_func in _fmodl
76998do :
76999  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
77000if test "x$ac_cv_func__fmodl" = x""yes; then :
77001  cat >>confdefs.h <<_ACEOF
77002#define HAVE__FMODL 1
77003_ACEOF
77004
77005fi
77006done
77007
77008    fi
77009  fi
77010
77011
77012
77013
77014
77015  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
77016$as_echo_n "checking for frexpl declaration... " >&6; }
77017  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77018    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
77019  $as_echo_n "(cached) " >&6
77020else
77021
77022
77023      ac_ext=cpp
77024ac_cpp='$CXXCPP $CPPFLAGS'
77025ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77026ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77027ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77028
77029      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77030/* end confdefs.h.  */
77031#include <math.h>
77032int
77033main ()
77034{
77035 frexpl(0, 0);
77036  ;
77037  return 0;
77038}
77039_ACEOF
77040if ac_fn_cxx_try_compile "$LINENO"; then :
77041  glibcxx_cv_func_frexpl_use=yes
77042else
77043  glibcxx_cv_func_frexpl_use=no
77044fi
77045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77046      ac_ext=c
77047ac_cpp='$CPP $CPPFLAGS'
77048ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77049ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77050ac_compiler_gnu=$ac_cv_c_compiler_gnu
77051
77052
77053fi
77054
77055  fi
77056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
77057$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
77058
77059  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77060    for ac_func in frexpl
77061do :
77062  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
77063if test "x$ac_cv_func_frexpl" = x""yes; then :
77064  cat >>confdefs.h <<_ACEOF
77065#define HAVE_FREXPL 1
77066_ACEOF
77067
77068fi
77069done
77070
77071  else
77072
77073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
77074$as_echo_n "checking for _frexpl declaration... " >&6; }
77075  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
77076    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
77077  $as_echo_n "(cached) " >&6
77078else
77079
77080
77081      ac_ext=cpp
77082ac_cpp='$CXXCPP $CPPFLAGS'
77083ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77084ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77085ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77086
77087      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77088/* end confdefs.h.  */
77089#include <math.h>
77090int
77091main ()
77092{
77093 _frexpl(0, 0);
77094  ;
77095  return 0;
77096}
77097_ACEOF
77098if ac_fn_cxx_try_compile "$LINENO"; then :
77099  glibcxx_cv_func__frexpl_use=yes
77100else
77101  glibcxx_cv_func__frexpl_use=no
77102fi
77103rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77104      ac_ext=c
77105ac_cpp='$CPP $CPPFLAGS'
77106ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77107ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77108ac_compiler_gnu=$ac_cv_c_compiler_gnu
77109
77110
77111fi
77112
77113  fi
77114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
77115$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
77116
77117    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
77118      for ac_func in _frexpl
77119do :
77120  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
77121if test "x$ac_cv_func__frexpl" = x""yes; then :
77122  cat >>confdefs.h <<_ACEOF
77123#define HAVE__FREXPL 1
77124_ACEOF
77125
77126fi
77127done
77128
77129    fi
77130  fi
77131
77132
77133
77134
77135
77136  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
77137$as_echo_n "checking for hypotl declaration... " >&6; }
77138  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
77139    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
77140  $as_echo_n "(cached) " >&6
77141else
77142
77143
77144      ac_ext=cpp
77145ac_cpp='$CXXCPP $CPPFLAGS'
77146ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77147ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77148ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77149
77150      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77151/* end confdefs.h.  */
77152#include <math.h>
77153int
77154main ()
77155{
77156 hypotl(0, 0);
77157  ;
77158  return 0;
77159}
77160_ACEOF
77161if ac_fn_cxx_try_compile "$LINENO"; then :
77162  glibcxx_cv_func_hypotl_use=yes
77163else
77164  glibcxx_cv_func_hypotl_use=no
77165fi
77166rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77167      ac_ext=c
77168ac_cpp='$CPP $CPPFLAGS'
77169ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77170ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77171ac_compiler_gnu=$ac_cv_c_compiler_gnu
77172
77173
77174fi
77175
77176  fi
77177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
77178$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
77179
77180  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
77181    for ac_func in hypotl
77182do :
77183  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
77184if test "x$ac_cv_func_hypotl" = x""yes; then :
77185  cat >>confdefs.h <<_ACEOF
77186#define HAVE_HYPOTL 1
77187_ACEOF
77188
77189fi
77190done
77191
77192  else
77193
77194  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
77195$as_echo_n "checking for _hypotl declaration... " >&6; }
77196  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
77197    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
77198  $as_echo_n "(cached) " >&6
77199else
77200
77201
77202      ac_ext=cpp
77203ac_cpp='$CXXCPP $CPPFLAGS'
77204ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77205ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77206ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77207
77208      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77209/* end confdefs.h.  */
77210#include <math.h>
77211int
77212main ()
77213{
77214 _hypotl(0, 0);
77215  ;
77216  return 0;
77217}
77218_ACEOF
77219if ac_fn_cxx_try_compile "$LINENO"; then :
77220  glibcxx_cv_func__hypotl_use=yes
77221else
77222  glibcxx_cv_func__hypotl_use=no
77223fi
77224rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77225      ac_ext=c
77226ac_cpp='$CPP $CPPFLAGS'
77227ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77228ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77229ac_compiler_gnu=$ac_cv_c_compiler_gnu
77230
77231
77232fi
77233
77234  fi
77235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
77236$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
77237
77238    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
77239      for ac_func in _hypotl
77240do :
77241  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
77242if test "x$ac_cv_func__hypotl" = x""yes; then :
77243  cat >>confdefs.h <<_ACEOF
77244#define HAVE__HYPOTL 1
77245_ACEOF
77246
77247fi
77248done
77249
77250    fi
77251  fi
77252
77253
77254
77255
77256
77257  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77258$as_echo_n "checking for ldexpl declaration... " >&6; }
77259  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77260    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
77261  $as_echo_n "(cached) " >&6
77262else
77263
77264
77265      ac_ext=cpp
77266ac_cpp='$CXXCPP $CPPFLAGS'
77267ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77268ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77269ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77270
77271      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77272/* end confdefs.h.  */
77273#include <math.h>
77274int
77275main ()
77276{
77277 ldexpl(0, 0);
77278  ;
77279  return 0;
77280}
77281_ACEOF
77282if ac_fn_cxx_try_compile "$LINENO"; then :
77283  glibcxx_cv_func_ldexpl_use=yes
77284else
77285  glibcxx_cv_func_ldexpl_use=no
77286fi
77287rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77288      ac_ext=c
77289ac_cpp='$CPP $CPPFLAGS'
77290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77292ac_compiler_gnu=$ac_cv_c_compiler_gnu
77293
77294
77295fi
77296
77297  fi
77298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77299$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77300
77301  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77302    for ac_func in ldexpl
77303do :
77304  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77305if test "x$ac_cv_func_ldexpl" = x""yes; then :
77306  cat >>confdefs.h <<_ACEOF
77307#define HAVE_LDEXPL 1
77308_ACEOF
77309
77310fi
77311done
77312
77313  else
77314
77315  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77316$as_echo_n "checking for _ldexpl declaration... " >&6; }
77317  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77318    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
77319  $as_echo_n "(cached) " >&6
77320else
77321
77322
77323      ac_ext=cpp
77324ac_cpp='$CXXCPP $CPPFLAGS'
77325ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77326ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77327ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77328
77329      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77330/* end confdefs.h.  */
77331#include <math.h>
77332int
77333main ()
77334{
77335 _ldexpl(0, 0);
77336  ;
77337  return 0;
77338}
77339_ACEOF
77340if ac_fn_cxx_try_compile "$LINENO"; then :
77341  glibcxx_cv_func__ldexpl_use=yes
77342else
77343  glibcxx_cv_func__ldexpl_use=no
77344fi
77345rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77346      ac_ext=c
77347ac_cpp='$CPP $CPPFLAGS'
77348ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77349ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77350ac_compiler_gnu=$ac_cv_c_compiler_gnu
77351
77352
77353fi
77354
77355  fi
77356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77357$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77358
77359    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77360      for ac_func in _ldexpl
77361do :
77362  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77363if test "x$ac_cv_func__ldexpl" = x""yes; then :
77364  cat >>confdefs.h <<_ACEOF
77365#define HAVE__LDEXPL 1
77366_ACEOF
77367
77368fi
77369done
77370
77371    fi
77372  fi
77373
77374
77375
77376
77377
77378  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77379$as_echo_n "checking for logl declaration... " >&6; }
77380  if test x${glibcxx_cv_func_logl_use+set} != xset; then
77381    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77382  $as_echo_n "(cached) " >&6
77383else
77384
77385
77386      ac_ext=cpp
77387ac_cpp='$CXXCPP $CPPFLAGS'
77388ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77389ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77390ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77391
77392      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77393/* end confdefs.h.  */
77394#include <math.h>
77395		      #ifdef HAVE_IEEEFP_H
77396		      #include <ieeefp.h>
77397		      #endif
77398
77399int
77400main ()
77401{
77402 logl(0);
77403  ;
77404  return 0;
77405}
77406_ACEOF
77407if ac_fn_cxx_try_compile "$LINENO"; then :
77408  glibcxx_cv_func_logl_use=yes
77409else
77410  glibcxx_cv_func_logl_use=no
77411fi
77412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77413      ac_ext=c
77414ac_cpp='$CPP $CPPFLAGS'
77415ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77416ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77417ac_compiler_gnu=$ac_cv_c_compiler_gnu
77418
77419
77420fi
77421
77422  fi
77423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77424$as_echo "$glibcxx_cv_func_logl_use" >&6; }
77425
77426  if test x$glibcxx_cv_func_logl_use = x"yes"; then
77427    for ac_func in logl
77428do :
77429  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77430if test "x$ac_cv_func_logl" = x""yes; then :
77431  cat >>confdefs.h <<_ACEOF
77432#define HAVE_LOGL 1
77433_ACEOF
77434
77435fi
77436done
77437
77438  else
77439
77440  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77441$as_echo_n "checking for _logl declaration... " >&6; }
77442  if test x${glibcxx_cv_func__logl_use+set} != xset; then
77443    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77444  $as_echo_n "(cached) " >&6
77445else
77446
77447
77448      ac_ext=cpp
77449ac_cpp='$CXXCPP $CPPFLAGS'
77450ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77451ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77452ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77453
77454      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77455/* end confdefs.h.  */
77456#include <math.h>
77457		      #ifdef HAVE_IEEEFP_H
77458		      #include <ieeefp.h>
77459		      #endif
77460
77461int
77462main ()
77463{
77464 _logl(0);
77465  ;
77466  return 0;
77467}
77468_ACEOF
77469if ac_fn_cxx_try_compile "$LINENO"; then :
77470  glibcxx_cv_func__logl_use=yes
77471else
77472  glibcxx_cv_func__logl_use=no
77473fi
77474rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77475      ac_ext=c
77476ac_cpp='$CPP $CPPFLAGS'
77477ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77478ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77479ac_compiler_gnu=$ac_cv_c_compiler_gnu
77480
77481
77482fi
77483
77484  fi
77485  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77486$as_echo "$glibcxx_cv_func__logl_use" >&6; }
77487
77488    if test x$glibcxx_cv_func__logl_use = x"yes"; then
77489      for ac_func in _logl
77490do :
77491  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77492if test "x$ac_cv_func__logl" = x""yes; then :
77493  cat >>confdefs.h <<_ACEOF
77494#define HAVE__LOGL 1
77495_ACEOF
77496
77497fi
77498done
77499
77500    fi
77501  fi
77502
77503
77504
77505
77506
77507  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77508$as_echo_n "checking for log10l declaration... " >&6; }
77509  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77510    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77511  $as_echo_n "(cached) " >&6
77512else
77513
77514
77515      ac_ext=cpp
77516ac_cpp='$CXXCPP $CPPFLAGS'
77517ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77518ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77519ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77520
77521      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77522/* end confdefs.h.  */
77523#include <math.h>
77524		      #ifdef HAVE_IEEEFP_H
77525		      #include <ieeefp.h>
77526		      #endif
77527
77528int
77529main ()
77530{
77531 log10l(0);
77532  ;
77533  return 0;
77534}
77535_ACEOF
77536if ac_fn_cxx_try_compile "$LINENO"; then :
77537  glibcxx_cv_func_log10l_use=yes
77538else
77539  glibcxx_cv_func_log10l_use=no
77540fi
77541rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77542      ac_ext=c
77543ac_cpp='$CPP $CPPFLAGS'
77544ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77545ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77546ac_compiler_gnu=$ac_cv_c_compiler_gnu
77547
77548
77549fi
77550
77551  fi
77552  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77553$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77554
77555  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77556    for ac_func in log10l
77557do :
77558  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77559if test "x$ac_cv_func_log10l" = x""yes; then :
77560  cat >>confdefs.h <<_ACEOF
77561#define HAVE_LOG10L 1
77562_ACEOF
77563
77564fi
77565done
77566
77567  else
77568
77569  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77570$as_echo_n "checking for _log10l declaration... " >&6; }
77571  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77572    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77573  $as_echo_n "(cached) " >&6
77574else
77575
77576
77577      ac_ext=cpp
77578ac_cpp='$CXXCPP $CPPFLAGS'
77579ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77580ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77581ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77582
77583      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77584/* end confdefs.h.  */
77585#include <math.h>
77586		      #ifdef HAVE_IEEEFP_H
77587		      #include <ieeefp.h>
77588		      #endif
77589
77590int
77591main ()
77592{
77593 _log10l(0);
77594  ;
77595  return 0;
77596}
77597_ACEOF
77598if ac_fn_cxx_try_compile "$LINENO"; then :
77599  glibcxx_cv_func__log10l_use=yes
77600else
77601  glibcxx_cv_func__log10l_use=no
77602fi
77603rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77604      ac_ext=c
77605ac_cpp='$CPP $CPPFLAGS'
77606ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77607ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77608ac_compiler_gnu=$ac_cv_c_compiler_gnu
77609
77610
77611fi
77612
77613  fi
77614  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77615$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77616
77617    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77618      for ac_func in _log10l
77619do :
77620  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77621if test "x$ac_cv_func__log10l" = x""yes; then :
77622  cat >>confdefs.h <<_ACEOF
77623#define HAVE__LOG10L 1
77624_ACEOF
77625
77626fi
77627done
77628
77629    fi
77630  fi
77631
77632
77633
77634
77635
77636  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77637$as_echo_n "checking for modfl declaration... " >&6; }
77638  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77639    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77640  $as_echo_n "(cached) " >&6
77641else
77642
77643
77644      ac_ext=cpp
77645ac_cpp='$CXXCPP $CPPFLAGS'
77646ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77647ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77648ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77649
77650      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77651/* end confdefs.h.  */
77652#include <math.h>
77653int
77654main ()
77655{
77656 modfl(0, 0);
77657  ;
77658  return 0;
77659}
77660_ACEOF
77661if ac_fn_cxx_try_compile "$LINENO"; then :
77662  glibcxx_cv_func_modfl_use=yes
77663else
77664  glibcxx_cv_func_modfl_use=no
77665fi
77666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77667      ac_ext=c
77668ac_cpp='$CPP $CPPFLAGS'
77669ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77670ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77671ac_compiler_gnu=$ac_cv_c_compiler_gnu
77672
77673
77674fi
77675
77676  fi
77677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77678$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77679
77680  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77681    for ac_func in modfl
77682do :
77683  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77684if test "x$ac_cv_func_modfl" = x""yes; then :
77685  cat >>confdefs.h <<_ACEOF
77686#define HAVE_MODFL 1
77687_ACEOF
77688
77689fi
77690done
77691
77692  else
77693
77694  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77695$as_echo_n "checking for _modfl declaration... " >&6; }
77696  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77697    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77698  $as_echo_n "(cached) " >&6
77699else
77700
77701
77702      ac_ext=cpp
77703ac_cpp='$CXXCPP $CPPFLAGS'
77704ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77705ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77706ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77707
77708      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77709/* end confdefs.h.  */
77710#include <math.h>
77711int
77712main ()
77713{
77714 _modfl(0, 0);
77715  ;
77716  return 0;
77717}
77718_ACEOF
77719if ac_fn_cxx_try_compile "$LINENO"; then :
77720  glibcxx_cv_func__modfl_use=yes
77721else
77722  glibcxx_cv_func__modfl_use=no
77723fi
77724rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77725      ac_ext=c
77726ac_cpp='$CPP $CPPFLAGS'
77727ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77728ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77729ac_compiler_gnu=$ac_cv_c_compiler_gnu
77730
77731
77732fi
77733
77734  fi
77735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77736$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77737
77738    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77739      for ac_func in _modfl
77740do :
77741  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77742if test "x$ac_cv_func__modfl" = x""yes; then :
77743  cat >>confdefs.h <<_ACEOF
77744#define HAVE__MODFL 1
77745_ACEOF
77746
77747fi
77748done
77749
77750    fi
77751  fi
77752
77753
77754
77755
77756
77757  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77758$as_echo_n "checking for powl declaration... " >&6; }
77759  if test x${glibcxx_cv_func_powl_use+set} != xset; then
77760    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77761  $as_echo_n "(cached) " >&6
77762else
77763
77764
77765      ac_ext=cpp
77766ac_cpp='$CXXCPP $CPPFLAGS'
77767ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77768ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77769ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77770
77771      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77772/* end confdefs.h.  */
77773#include <math.h>
77774int
77775main ()
77776{
77777 powl(0, 0);
77778  ;
77779  return 0;
77780}
77781_ACEOF
77782if ac_fn_cxx_try_compile "$LINENO"; then :
77783  glibcxx_cv_func_powl_use=yes
77784else
77785  glibcxx_cv_func_powl_use=no
77786fi
77787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77788      ac_ext=c
77789ac_cpp='$CPP $CPPFLAGS'
77790ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77791ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77792ac_compiler_gnu=$ac_cv_c_compiler_gnu
77793
77794
77795fi
77796
77797  fi
77798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77799$as_echo "$glibcxx_cv_func_powl_use" >&6; }
77800
77801  if test x$glibcxx_cv_func_powl_use = x"yes"; then
77802    for ac_func in powl
77803do :
77804  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77805if test "x$ac_cv_func_powl" = x""yes; then :
77806  cat >>confdefs.h <<_ACEOF
77807#define HAVE_POWL 1
77808_ACEOF
77809
77810fi
77811done
77812
77813  else
77814
77815  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77816$as_echo_n "checking for _powl declaration... " >&6; }
77817  if test x${glibcxx_cv_func__powl_use+set} != xset; then
77818    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77819  $as_echo_n "(cached) " >&6
77820else
77821
77822
77823      ac_ext=cpp
77824ac_cpp='$CXXCPP $CPPFLAGS'
77825ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77826ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77827ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77828
77829      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77830/* end confdefs.h.  */
77831#include <math.h>
77832int
77833main ()
77834{
77835 _powl(0, 0);
77836  ;
77837  return 0;
77838}
77839_ACEOF
77840if ac_fn_cxx_try_compile "$LINENO"; then :
77841  glibcxx_cv_func__powl_use=yes
77842else
77843  glibcxx_cv_func__powl_use=no
77844fi
77845rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77846      ac_ext=c
77847ac_cpp='$CPP $CPPFLAGS'
77848ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77849ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77850ac_compiler_gnu=$ac_cv_c_compiler_gnu
77851
77852
77853fi
77854
77855  fi
77856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77857$as_echo "$glibcxx_cv_func__powl_use" >&6; }
77858
77859    if test x$glibcxx_cv_func__powl_use = x"yes"; then
77860      for ac_func in _powl
77861do :
77862  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77863if test "x$ac_cv_func__powl" = x""yes; then :
77864  cat >>confdefs.h <<_ACEOF
77865#define HAVE__POWL 1
77866_ACEOF
77867
77868fi
77869done
77870
77871    fi
77872  fi
77873
77874
77875
77876
77877
77878  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77879$as_echo_n "checking for sqrtl declaration... " >&6; }
77880  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77881    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77882  $as_echo_n "(cached) " >&6
77883else
77884
77885
77886      ac_ext=cpp
77887ac_cpp='$CXXCPP $CPPFLAGS'
77888ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77889ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77890ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77891
77892      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77893/* end confdefs.h.  */
77894#include <math.h>
77895		      #ifdef HAVE_IEEEFP_H
77896		      #include <ieeefp.h>
77897		      #endif
77898
77899int
77900main ()
77901{
77902 sqrtl(0);
77903  ;
77904  return 0;
77905}
77906_ACEOF
77907if ac_fn_cxx_try_compile "$LINENO"; then :
77908  glibcxx_cv_func_sqrtl_use=yes
77909else
77910  glibcxx_cv_func_sqrtl_use=no
77911fi
77912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77913      ac_ext=c
77914ac_cpp='$CPP $CPPFLAGS'
77915ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77916ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77917ac_compiler_gnu=$ac_cv_c_compiler_gnu
77918
77919
77920fi
77921
77922  fi
77923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77924$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77925
77926  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77927    for ac_func in sqrtl
77928do :
77929  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77930if test "x$ac_cv_func_sqrtl" = x""yes; then :
77931  cat >>confdefs.h <<_ACEOF
77932#define HAVE_SQRTL 1
77933_ACEOF
77934
77935fi
77936done
77937
77938  else
77939
77940  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77941$as_echo_n "checking for _sqrtl declaration... " >&6; }
77942  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77943    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77944  $as_echo_n "(cached) " >&6
77945else
77946
77947
77948      ac_ext=cpp
77949ac_cpp='$CXXCPP $CPPFLAGS'
77950ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77951ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77952ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77953
77954      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77955/* end confdefs.h.  */
77956#include <math.h>
77957		      #ifdef HAVE_IEEEFP_H
77958		      #include <ieeefp.h>
77959		      #endif
77960
77961int
77962main ()
77963{
77964 _sqrtl(0);
77965  ;
77966  return 0;
77967}
77968_ACEOF
77969if ac_fn_cxx_try_compile "$LINENO"; then :
77970  glibcxx_cv_func__sqrtl_use=yes
77971else
77972  glibcxx_cv_func__sqrtl_use=no
77973fi
77974rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77975      ac_ext=c
77976ac_cpp='$CPP $CPPFLAGS'
77977ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77978ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77979ac_compiler_gnu=$ac_cv_c_compiler_gnu
77980
77981
77982fi
77983
77984  fi
77985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77986$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77987
77988    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77989      for ac_func in _sqrtl
77990do :
77991  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77992if test "x$ac_cv_func__sqrtl" = x""yes; then :
77993  cat >>confdefs.h <<_ACEOF
77994#define HAVE__SQRTL 1
77995_ACEOF
77996
77997fi
77998done
77999
78000    fi
78001  fi
78002
78003
78004
78005
78006
78007  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
78008$as_echo_n "checking for sincosl declaration... " >&6; }
78009  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
78010    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
78011  $as_echo_n "(cached) " >&6
78012else
78013
78014
78015      ac_ext=cpp
78016ac_cpp='$CXXCPP $CPPFLAGS'
78017ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78018ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78019ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78020
78021      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78022/* end confdefs.h.  */
78023#include <math.h>
78024int
78025main ()
78026{
78027 sincosl(0, 0, 0);
78028  ;
78029  return 0;
78030}
78031_ACEOF
78032if ac_fn_cxx_try_compile "$LINENO"; then :
78033  glibcxx_cv_func_sincosl_use=yes
78034else
78035  glibcxx_cv_func_sincosl_use=no
78036fi
78037rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78038      ac_ext=c
78039ac_cpp='$CPP $CPPFLAGS'
78040ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78041ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78042ac_compiler_gnu=$ac_cv_c_compiler_gnu
78043
78044
78045fi
78046
78047  fi
78048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
78049$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
78050
78051  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
78052    for ac_func in sincosl
78053do :
78054  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
78055if test "x$ac_cv_func_sincosl" = x""yes; then :
78056  cat >>confdefs.h <<_ACEOF
78057#define HAVE_SINCOSL 1
78058_ACEOF
78059
78060fi
78061done
78062
78063  else
78064
78065  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
78066$as_echo_n "checking for _sincosl declaration... " >&6; }
78067  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
78068    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
78069  $as_echo_n "(cached) " >&6
78070else
78071
78072
78073      ac_ext=cpp
78074ac_cpp='$CXXCPP $CPPFLAGS'
78075ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78076ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78077ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78078
78079      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78080/* end confdefs.h.  */
78081#include <math.h>
78082int
78083main ()
78084{
78085 _sincosl(0, 0, 0);
78086  ;
78087  return 0;
78088}
78089_ACEOF
78090if ac_fn_cxx_try_compile "$LINENO"; then :
78091  glibcxx_cv_func__sincosl_use=yes
78092else
78093  glibcxx_cv_func__sincosl_use=no
78094fi
78095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78096      ac_ext=c
78097ac_cpp='$CPP $CPPFLAGS'
78098ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78099ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78100ac_compiler_gnu=$ac_cv_c_compiler_gnu
78101
78102
78103fi
78104
78105  fi
78106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
78107$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
78108
78109    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
78110      for ac_func in _sincosl
78111do :
78112  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
78113if test "x$ac_cv_func__sincosl" = x""yes; then :
78114  cat >>confdefs.h <<_ACEOF
78115#define HAVE__SINCOSL 1
78116_ACEOF
78117
78118fi
78119done
78120
78121    fi
78122  fi
78123
78124
78125
78126
78127
78128  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
78129$as_echo_n "checking for finitel declaration... " >&6; }
78130  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
78131    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
78132  $as_echo_n "(cached) " >&6
78133else
78134
78135
78136      ac_ext=cpp
78137ac_cpp='$CXXCPP $CPPFLAGS'
78138ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78139ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78140ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78141
78142      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78143/* end confdefs.h.  */
78144#include <math.h>
78145		      #ifdef HAVE_IEEEFP_H
78146		      #include <ieeefp.h>
78147		      #endif
78148
78149int
78150main ()
78151{
78152 finitel(0);
78153  ;
78154  return 0;
78155}
78156_ACEOF
78157if ac_fn_cxx_try_compile "$LINENO"; then :
78158  glibcxx_cv_func_finitel_use=yes
78159else
78160  glibcxx_cv_func_finitel_use=no
78161fi
78162rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78163      ac_ext=c
78164ac_cpp='$CPP $CPPFLAGS'
78165ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78166ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78167ac_compiler_gnu=$ac_cv_c_compiler_gnu
78168
78169
78170fi
78171
78172  fi
78173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
78174$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
78175
78176  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
78177    for ac_func in finitel
78178do :
78179  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
78180if test "x$ac_cv_func_finitel" = x""yes; then :
78181  cat >>confdefs.h <<_ACEOF
78182#define HAVE_FINITEL 1
78183_ACEOF
78184
78185fi
78186done
78187
78188  else
78189
78190  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
78191$as_echo_n "checking for _finitel declaration... " >&6; }
78192  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
78193    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
78194  $as_echo_n "(cached) " >&6
78195else
78196
78197
78198      ac_ext=cpp
78199ac_cpp='$CXXCPP $CPPFLAGS'
78200ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78201ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78202ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78203
78204      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78205/* end confdefs.h.  */
78206#include <math.h>
78207		      #ifdef HAVE_IEEEFP_H
78208		      #include <ieeefp.h>
78209		      #endif
78210
78211int
78212main ()
78213{
78214 _finitel(0);
78215  ;
78216  return 0;
78217}
78218_ACEOF
78219if ac_fn_cxx_try_compile "$LINENO"; then :
78220  glibcxx_cv_func__finitel_use=yes
78221else
78222  glibcxx_cv_func__finitel_use=no
78223fi
78224rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78225      ac_ext=c
78226ac_cpp='$CPP $CPPFLAGS'
78227ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78228ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78229ac_compiler_gnu=$ac_cv_c_compiler_gnu
78230
78231
78232fi
78233
78234  fi
78235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
78236$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
78237
78238    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
78239      for ac_func in _finitel
78240do :
78241  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
78242if test "x$ac_cv_func__finitel" = x""yes; then :
78243  cat >>confdefs.h <<_ACEOF
78244#define HAVE__FINITEL 1
78245_ACEOF
78246
78247fi
78248done
78249
78250    fi
78251  fi
78252
78253
78254
78255
78256  LIBS="$ac_save_LIBS"
78257  CXXFLAGS="$ac_save_CXXFLAGS"
78258
78259
78260  ac_test_CXXFLAGS="${CXXFLAGS+set}"
78261  ac_save_CXXFLAGS="$CXXFLAGS"
78262  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78263
78264
78265  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78266$as_echo_n "checking for at_quick_exit declaration... " >&6; }
78267  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78268    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
78269  $as_echo_n "(cached) " >&6
78270else
78271
78272
78273      ac_ext=cpp
78274ac_cpp='$CXXCPP $CPPFLAGS'
78275ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78276ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78277ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78278
78279      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78280/* end confdefs.h.  */
78281#include <stdlib.h>
78282int
78283main ()
78284{
78285 at_quick_exit(0);
78286  ;
78287  return 0;
78288}
78289_ACEOF
78290if ac_fn_cxx_try_compile "$LINENO"; then :
78291  glibcxx_cv_func_at_quick_exit_use=yes
78292else
78293  glibcxx_cv_func_at_quick_exit_use=no
78294fi
78295rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78296      ac_ext=c
78297ac_cpp='$CPP $CPPFLAGS'
78298ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78299ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78300ac_compiler_gnu=$ac_cv_c_compiler_gnu
78301
78302
78303fi
78304
78305  fi
78306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78307$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78308  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78309    for ac_func in at_quick_exit
78310do :
78311  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78312if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
78313  cat >>confdefs.h <<_ACEOF
78314#define HAVE_AT_QUICK_EXIT 1
78315_ACEOF
78316
78317fi
78318done
78319
78320  fi
78321
78322
78323  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78324$as_echo_n "checking for quick_exit declaration... " >&6; }
78325  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78326    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
78327  $as_echo_n "(cached) " >&6
78328else
78329
78330
78331      ac_ext=cpp
78332ac_cpp='$CXXCPP $CPPFLAGS'
78333ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78334ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78335ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78336
78337      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78338/* end confdefs.h.  */
78339#include <stdlib.h>
78340int
78341main ()
78342{
78343 quick_exit(0);
78344  ;
78345  return 0;
78346}
78347_ACEOF
78348if ac_fn_cxx_try_compile "$LINENO"; then :
78349  glibcxx_cv_func_quick_exit_use=yes
78350else
78351  glibcxx_cv_func_quick_exit_use=no
78352fi
78353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78354      ac_ext=c
78355ac_cpp='$CPP $CPPFLAGS'
78356ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78357ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78358ac_compiler_gnu=$ac_cv_c_compiler_gnu
78359
78360
78361fi
78362
78363  fi
78364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78365$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78366  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78367    for ac_func in quick_exit
78368do :
78369  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78370if test "x$ac_cv_func_quick_exit" = x""yes; then :
78371  cat >>confdefs.h <<_ACEOF
78372#define HAVE_QUICK_EXIT 1
78373_ACEOF
78374
78375fi
78376done
78377
78378  fi
78379
78380
78381  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78382$as_echo_n "checking for strtold declaration... " >&6; }
78383  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78384    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78385  $as_echo_n "(cached) " >&6
78386else
78387
78388
78389      ac_ext=cpp
78390ac_cpp='$CXXCPP $CPPFLAGS'
78391ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78392ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78393ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78394
78395      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78396/* end confdefs.h.  */
78397#include <stdlib.h>
78398int
78399main ()
78400{
78401 strtold(0, 0);
78402  ;
78403  return 0;
78404}
78405_ACEOF
78406if ac_fn_cxx_try_compile "$LINENO"; then :
78407  glibcxx_cv_func_strtold_use=yes
78408else
78409  glibcxx_cv_func_strtold_use=no
78410fi
78411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78412      ac_ext=c
78413ac_cpp='$CPP $CPPFLAGS'
78414ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78415ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78416ac_compiler_gnu=$ac_cv_c_compiler_gnu
78417
78418
78419fi
78420
78421  fi
78422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78423$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78424  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78425    for ac_func in strtold
78426do :
78427  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78428if test "x$ac_cv_func_strtold" = x""yes; then :
78429  cat >>confdefs.h <<_ACEOF
78430#define HAVE_STRTOLD 1
78431_ACEOF
78432
78433fi
78434done
78435
78436  fi
78437
78438
78439
78440
78441  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78442$as_echo_n "checking for strtof declaration... " >&6; }
78443  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78444    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78445  $as_echo_n "(cached) " >&6
78446else
78447
78448
78449      ac_ext=cpp
78450ac_cpp='$CXXCPP $CPPFLAGS'
78451ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78452ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78453ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78454
78455      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78456/* end confdefs.h.  */
78457#include <stdlib.h>
78458int
78459main ()
78460{
78461 strtof(0, 0);
78462  ;
78463  return 0;
78464}
78465_ACEOF
78466if ac_fn_cxx_try_compile "$LINENO"; then :
78467  glibcxx_cv_func_strtof_use=yes
78468else
78469  glibcxx_cv_func_strtof_use=no
78470fi
78471rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78472      ac_ext=c
78473ac_cpp='$CPP $CPPFLAGS'
78474ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78475ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78476ac_compiler_gnu=$ac_cv_c_compiler_gnu
78477
78478
78479fi
78480
78481  fi
78482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78483$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78484  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78485    for ac_func in strtof
78486do :
78487  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78488if test "x$ac_cv_func_strtof" = x""yes; then :
78489  cat >>confdefs.h <<_ACEOF
78490#define HAVE_STRTOF 1
78491_ACEOF
78492
78493fi
78494done
78495
78496  fi
78497
78498
78499
78500
78501  CXXFLAGS="$ac_save_CXXFLAGS"
78502
78503    ;;
78504  *-vxworks)
78505    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78506
78507    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78508
78509    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78510
78511    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78512
78513    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78514
78515    $as_echo "#define HAVE_COSF 1" >>confdefs.h
78516
78517    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78518
78519    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78520
78521    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78522
78523    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78524
78525    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78526
78527    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78528
78529    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78530
78531    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78532
78533    $as_echo "#define HAVE_POWF 1" >>confdefs.h
78534
78535    $as_echo "#define HAVE_SINF 1" >>confdefs.h
78536
78537    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78538
78539    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78540
78541    $as_echo "#define HAVE_TANF 1" >>confdefs.h
78542
78543    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78544
78545    ;;
78546  *)
78547    as_fn_error "No support for this host/target combination." "$LINENO" 5
78548   ;;
78549esac
78550
78551  fi
78552
78553  # At some point, we should differentiate between architectures
78554  # like x86, which have long double versions, and alpha/powerpc/etc.,
78555  # which don't. For the time being, punt.
78556  if test x"long_double_math_on_this_cpu" = x"yes"; then
78557    $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78558
78559    $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78560
78561    $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78562
78563    $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78564
78565    $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78566
78567    $as_echo "#define HAVE_COSL 1" >>confdefs.h
78568
78569    $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78570
78571    $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78572
78573    $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78574
78575    $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78576
78577    $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78578
78579    $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78580
78581    $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78582
78583    $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78584
78585    $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78586
78587    $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78588
78589    $as_echo "#define HAVE_POWL 1" >>confdefs.h
78590
78591    $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78592
78593    $as_echo "#define HAVE_SINL 1" >>confdefs.h
78594
78595    $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78596
78597    $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78598
78599    $as_echo "#define HAVE_TANL 1" >>confdefs.h
78600
78601    $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78602
78603  fi
78604fi
78605
78606# Check for _Unwind_GetIPInfo.
78607
78608
78609# Check whether --with-system-libunwind was given.
78610if test "${with_system_libunwind+set}" = set; then :
78611  withval=$with_system_libunwind;
78612fi
78613
78614  # If system-libunwind was not specifically set, pick a default setting.
78615  if test x$with_system_libunwind = x; then
78616    case ${target} in
78617      ia64-*-hpux*) with_system_libunwind=yes ;;
78618      *) with_system_libunwind=no ;;
78619    esac
78620  fi
78621  # Based on system-libunwind and target, do we have ipinfo?
78622  if  test x$with_system_libunwind = xyes; then
78623    case ${target} in
78624      ia64-*-*) have_unwind_getipinfo=no ;;
78625      *) have_unwind_getipinfo=yes ;;
78626    esac
78627  else
78628    # Darwin before version 9 does not have _Unwind_GetIPInfo.
78629
78630    case ${target} in
78631      *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78632      *) have_unwind_getipinfo=yes ;;
78633    esac
78634
78635  fi
78636
78637  if test x$have_unwind_getipinfo = xyes; then
78638
78639$as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78640
78641  fi
78642
78643
78644 # Check whether --enable-linux-futex was given.
78645if test "${enable_linux_futex+set}" = set; then :
78646  enableval=$enable_linux_futex;
78647      case "$enableval" in
78648       yes|no|default) ;;
78649       *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78650                          esac
78651
78652else
78653  enable_linux_futex=default
78654fi
78655
78656
78657case "$target" in
78658  *-linux*)
78659    case "$enable_linux_futex" in
78660      default)
78661	# If headers don't have gettid/futex syscalls definition, then
78662	# default to no, otherwise there will be compile time failures.
78663	# Otherwise, default to yes.  If we don't detect we are
78664	# compiled/linked against NPTL and not cross-compiling, check
78665	# if programs are run by default against NPTL and if not, issue
78666	# a warning.
78667	enable_linux_futex=no
78668	if test x$gcc_no_link = xyes; then
78669  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78670fi
78671cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78672/* end confdefs.h.  */
78673#include <sys/syscall.h>
78674	   int lk;
78675int
78676main ()
78677{
78678syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78679  ;
78680  return 0;
78681}
78682_ACEOF
78683if ac_fn_c_try_link "$LINENO"; then :
78684  save_LIBS="$LIBS"
78685	   LIBS="-lpthread $LIBS"
78686	   if test x$gcc_no_link = xyes; then
78687  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78688fi
78689cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78690/* end confdefs.h.  */
78691#ifndef _GNU_SOURCE
78692	     #define _GNU_SOURCE 1
78693	     #endif
78694	     #include <pthread.h>
78695	     pthread_t th; void *status;
78696int
78697main ()
78698{
78699pthread_tryjoin_np (th, &status);
78700  ;
78701  return 0;
78702}
78703_ACEOF
78704if ac_fn_c_try_link "$LINENO"; then :
78705  enable_linux_futex=yes
78706else
78707  if test x$cross_compiling = xno; then
78708	       if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78709		  | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78710		 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78711If so, please configure with --disable-linux-futex" >&5
78712$as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78713If so, please configure with --disable-linux-futex" >&2;}
78714	       fi
78715	     fi
78716	     enable_linux_futex=yes
78717fi
78718rm -f core conftest.err conftest.$ac_objext \
78719    conftest$ac_exeext conftest.$ac_ext
78720	   LIBS="$save_LIBS"
78721fi
78722rm -f core conftest.err conftest.$ac_objext \
78723    conftest$ac_exeext conftest.$ac_ext
78724	;;
78725      yes)
78726	if test x$gcc_no_link = xyes; then
78727  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78728fi
78729cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78730/* end confdefs.h.  */
78731#include <sys/syscall.h>
78732	   int lk;
78733int
78734main ()
78735{
78736syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78737  ;
78738  return 0;
78739}
78740_ACEOF
78741if ac_fn_c_try_link "$LINENO"; then :
78742
78743else
78744  as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78745fi
78746rm -f core conftest.err conftest.$ac_objext \
78747    conftest$ac_exeext conftest.$ac_ext
78748	;;
78749    esac
78750    ;;
78751  *)
78752    enable_linux_futex=no
78753    ;;
78754esac
78755if test x$enable_linux_futex = xyes; then
78756
78757$as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78758
78759fi
78760
78761
78762
78763
78764inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
78765
78766acx_cv_header_stdint=stddef.h
78767acx_cv_header_stdint_kind="(already complete)"
78768for i in stdint.h $inttype_headers; do
78769  unset ac_cv_type_uintptr_t
78770  unset ac_cv_type_uintmax_t
78771  unset ac_cv_type_int_least32_t
78772  unset ac_cv_type_int_fast32_t
78773  unset ac_cv_type_uint64_t
78774  $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78775  ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78776#include <$i>
78777"
78778if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78779  acx_cv_header_stdint=$i
78780else
78781  continue
78782fi
78783
78784  ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78785#include <$i>
78786"
78787if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78788
78789else
78790  acx_cv_header_stdint_kind="(mostly complete)"
78791fi
78792
78793  ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78794#include <$i>
78795"
78796if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78797
78798else
78799  acx_cv_header_stdint_kind="(mostly complete)"
78800fi
78801
78802  ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78803#include <$i>
78804"
78805if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78806
78807else
78808  acx_cv_header_stdint_kind="(mostly complete)"
78809fi
78810
78811  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78812#include <$i>
78813"
78814if test "x$ac_cv_type_uint64_t" = x""yes; then :
78815
78816else
78817  acx_cv_header_stdint_kind="(lacks uint64_t)"
78818fi
78819
78820  break
78821done
78822if test "$acx_cv_header_stdint" = stddef.h; then
78823  acx_cv_header_stdint_kind="(lacks uintmax_t)"
78824  for i in stdint.h $inttype_headers; do
78825    unset ac_cv_type_uintptr_t
78826    unset ac_cv_type_uint32_t
78827    unset ac_cv_type_uint64_t
78828    $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78829    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78830#include <$i>
78831"
78832if test "x$ac_cv_type_uint32_t" = x""yes; then :
78833  acx_cv_header_stdint=$i
78834else
78835  continue
78836fi
78837
78838    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78839#include <$i>
78840"
78841if test "x$ac_cv_type_uint64_t" = x""yes; then :
78842
78843fi
78844
78845    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78846#include <$i>
78847"
78848if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78849
78850fi
78851
78852    break
78853  done
78854fi
78855if test "$acx_cv_header_stdint" = stddef.h; then
78856  acx_cv_header_stdint_kind="(u_intXX_t style)"
78857  for i in sys/types.h $inttype_headers; do
78858    unset ac_cv_type_u_int32_t
78859    unset ac_cv_type_u_int64_t
78860    $as_echo_n "looking for u_intXX_t types in $i, " >&6
78861    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78862#include <$i>
78863"
78864if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78865  acx_cv_header_stdint=$i
78866else
78867  continue
78868fi
78869
78870    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78871#include <$i>
78872"
78873if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78874
78875fi
78876
78877    break
78878  done
78879fi
78880if test "$acx_cv_header_stdint" = stddef.h; then
78881  acx_cv_header_stdint_kind="(using manual detection)"
78882fi
78883
78884test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78885test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78886test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78887test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78888test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78889
78890# ----------------- Summarize what we found so far
78891
78892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78893$as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78894
78895case `$as_basename -- include/gstdint.h ||
78896$as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78897	 Xinclude/gstdint.h : 'X\(//\)$' \| \
78898	 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78899$as_echo X/include/gstdint.h |
78900    sed '/^.*\/\([^/][^/]*\)\/*$/{
78901	    s//\1/
78902	    q
78903	  }
78904	  /^X\/\(\/\/\)$/{
78905	    s//\1/
78906	    q
78907	  }
78908	  /^X\/\(\/\).*/{
78909	    s//\1/
78910	    q
78911	  }
78912	  s/.*/./; q'` in
78913  stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78914$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78915  inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78916$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78917  *) ;;
78918esac
78919
78920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78921$as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78922
78923# ----------------- done included file, check C basic types --------
78924
78925# Lacking an uintptr_t?  Test size of void *
78926case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78927  stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78928# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78929# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78930# This bug is HP SR number 8606223364.
78931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78932$as_echo_n "checking size of void *... " >&6; }
78933if test "${ac_cv_sizeof_void_p+set}" = set; then :
78934  $as_echo_n "(cached) " >&6
78935else
78936  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
78937
78938else
78939  if test "$ac_cv_type_void_p" = yes; then
78940     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78941$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78942{ as_fn_set_status 77
78943as_fn_error "cannot compute sizeof (void *)
78944See \`config.log' for more details." "$LINENO" 5; }; }
78945   else
78946     ac_cv_sizeof_void_p=0
78947   fi
78948fi
78949
78950fi
78951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78952$as_echo "$ac_cv_sizeof_void_p" >&6; }
78953
78954
78955
78956cat >>confdefs.h <<_ACEOF
78957#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78958_ACEOF
78959
78960 ;;
78961esac
78962
78963# Lacking an uint64_t?  Test size of long
78964case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78965  stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78966# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78967# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78968# This bug is HP SR number 8606223364.
78969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78970$as_echo_n "checking size of long... " >&6; }
78971if test "${ac_cv_sizeof_long+set}" = set; then :
78972  $as_echo_n "(cached) " >&6
78973else
78974  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
78975
78976else
78977  if test "$ac_cv_type_long" = yes; then
78978     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78979$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78980{ as_fn_set_status 77
78981as_fn_error "cannot compute sizeof (long)
78982See \`config.log' for more details." "$LINENO" 5; }; }
78983   else
78984     ac_cv_sizeof_long=0
78985   fi
78986fi
78987
78988fi
78989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78990$as_echo "$ac_cv_sizeof_long" >&6; }
78991
78992
78993
78994cat >>confdefs.h <<_ACEOF
78995#define SIZEOF_LONG $ac_cv_sizeof_long
78996_ACEOF
78997
78998 ;;
78999esac
79000
79001if test $acx_cv_header_stdint = stddef.h; then
79002  # Lacking a good header?  Test size of everything and deduce all types.
79003  # The cast to long int works around a bug in the HP C Compiler
79004# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79005# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79006# This bug is HP SR number 8606223364.
79007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
79008$as_echo_n "checking size of int... " >&6; }
79009if test "${ac_cv_sizeof_int+set}" = set; then :
79010  $as_echo_n "(cached) " >&6
79011else
79012  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
79013
79014else
79015  if test "$ac_cv_type_int" = yes; then
79016     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79017$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79018{ as_fn_set_status 77
79019as_fn_error "cannot compute sizeof (int)
79020See \`config.log' for more details." "$LINENO" 5; }; }
79021   else
79022     ac_cv_sizeof_int=0
79023   fi
79024fi
79025
79026fi
79027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
79028$as_echo "$ac_cv_sizeof_int" >&6; }
79029
79030
79031
79032cat >>confdefs.h <<_ACEOF
79033#define SIZEOF_INT $ac_cv_sizeof_int
79034_ACEOF
79035
79036
79037  # The cast to long int works around a bug in the HP C Compiler
79038# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79039# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79040# This bug is HP SR number 8606223364.
79041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
79042$as_echo_n "checking size of short... " >&6; }
79043if test "${ac_cv_sizeof_short+set}" = set; then :
79044  $as_echo_n "(cached) " >&6
79045else
79046  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
79047
79048else
79049  if test "$ac_cv_type_short" = yes; then
79050     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79051$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79052{ as_fn_set_status 77
79053as_fn_error "cannot compute sizeof (short)
79054See \`config.log' for more details." "$LINENO" 5; }; }
79055   else
79056     ac_cv_sizeof_short=0
79057   fi
79058fi
79059
79060fi
79061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
79062$as_echo "$ac_cv_sizeof_short" >&6; }
79063
79064
79065
79066cat >>confdefs.h <<_ACEOF
79067#define SIZEOF_SHORT $ac_cv_sizeof_short
79068_ACEOF
79069
79070
79071  # The cast to long int works around a bug in the HP C Compiler
79072# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79073# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79074# This bug is HP SR number 8606223364.
79075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
79076$as_echo_n "checking size of char... " >&6; }
79077if test "${ac_cv_sizeof_char+set}" = set; then :
79078  $as_echo_n "(cached) " >&6
79079else
79080  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
79081
79082else
79083  if test "$ac_cv_type_char" = yes; then
79084     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79085$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79086{ as_fn_set_status 77
79087as_fn_error "cannot compute sizeof (char)
79088See \`config.log' for more details." "$LINENO" 5; }; }
79089   else
79090     ac_cv_sizeof_char=0
79091   fi
79092fi
79093
79094fi
79095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
79096$as_echo "$ac_cv_sizeof_char" >&6; }
79097
79098
79099
79100cat >>confdefs.h <<_ACEOF
79101#define SIZEOF_CHAR $ac_cv_sizeof_char
79102_ACEOF
79103
79104
79105
79106  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
79107$as_echo_n "checking for type equivalent to int8_t... " >&6; }
79108  case "$ac_cv_sizeof_char" in
79109    1) acx_cv_type_int8_t=char ;;
79110    *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
79111  esac
79112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
79113$as_echo "$acx_cv_type_int8_t" >&6; }
79114
79115  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
79116$as_echo_n "checking for type equivalent to int16_t... " >&6; }
79117  case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
79118    2:*) acx_cv_type_int16_t=int ;;
79119    *:2) acx_cv_type_int16_t=short ;;
79120    *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
79121  esac
79122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
79123$as_echo "$acx_cv_type_int16_t" >&6; }
79124
79125  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
79126$as_echo_n "checking for type equivalent to int32_t... " >&6; }
79127  case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
79128    4:*) acx_cv_type_int32_t=int ;;
79129    *:4) acx_cv_type_int32_t=long ;;
79130    *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
79131  esac
79132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
79133$as_echo "$acx_cv_type_int32_t" >&6; }
79134fi
79135
79136# These tests are here to make the output prettier
79137
79138if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
79139  case "$ac_cv_sizeof_long" in
79140    8) acx_cv_type_int64_t=long ;;
79141  esac
79142  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
79143$as_echo_n "checking for type equivalent to int64_t... " >&6; }
79144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
79145$as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
79146fi
79147
79148# Now we can use the above types
79149
79150if test "$ac_cv_type_uintptr_t" != yes; then
79151  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
79152$as_echo_n "checking for type equivalent to intptr_t... " >&6; }
79153  case $ac_cv_sizeof_void_p in
79154    2) acx_cv_type_intptr_t=int16_t ;;
79155    4) acx_cv_type_intptr_t=int32_t ;;
79156    8) acx_cv_type_intptr_t=int64_t ;;
79157    *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
79158  esac
79159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
79160$as_echo "$acx_cv_type_intptr_t" >&6; }
79161fi
79162
79163# ----------------- done all checks, emit header -------------
79164ac_config_commands="$ac_config_commands include/gstdint.h"
79165
79166
79167
79168
79169
79170  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
79171$as_echo_n "checking for GNU c++filt... " >&6; }
79172if test "${ac_cv_path_CXXFILT+set}" = set; then :
79173  $as_echo_n "(cached) " >&6
79174else
79175  if test -z "$CXXFILT"; then
79176  ac_path_CXXFILT_found=false
79177  # Loop through the user's path and test for each of PROGNAME-LIST
79178  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79179for as_dir in $PATH
79180do
79181  IFS=$as_save_IFS
79182  test -z "$as_dir" && as_dir=.
79183    for ac_prog in c++filt gc++filt; do
79184    for ac_exec_ext in '' $ac_executable_extensions; do
79185      ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
79186      { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
79187# Check for GNU $ac_path_CXXFILT
79188case `"$ac_path_CXXFILT" --version 2>&1` in
79189*GNU*)
79190  ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
79191esac
79192
79193      $ac_path_CXXFILT_found && break 3
79194    done
79195  done
79196  done
79197IFS=$as_save_IFS
79198  if test -z "$ac_cv_path_CXXFILT"; then
79199    :
79200  fi
79201else
79202  ac_cv_path_CXXFILT=$CXXFILT
79203fi
79204
79205fi
79206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
79207$as_echo "$ac_cv_path_CXXFILT" >&6; }
79208  CXXFILT=$ac_cv_path_CXXFILT
79209
79210
79211
79212 # Check whether --enable-symvers was given.
79213if test "${enable_symvers+set}" = set; then :
79214  enableval=$enable_symvers;
79215      case "$enableval" in
79216       yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
79217       *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
79218	  	        esac
79219
79220else
79221  enable_symvers=yes
79222fi
79223
79224
79225
79226# If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
79227# don't know enough about $LD to do tricks...
79228
79229# Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
79230# with extern "C++" in version scripts.
79231
79232
79233# Turn a 'yes' into a suitable default.
79234if test x$enable_symvers = xyes ; then
79235  if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
79236    enable_symvers=no
79237  else
79238    if test $with_gnu_ld = yes ; then
79239      case ${target_os} in
79240	hpux*)
79241	  enable_symvers=no ;;
79242	*)
79243	  enable_symvers=gnu ;;
79244      esac
79245    else
79246      case ${target_os} in
79247	darwin*)
79248	  enable_symvers=darwin ;;
79249	# Sun symbol versioning exists since Solaris 2.5.
79250	solaris2.[5-9]* | solaris2.1[0-9]*)
79251	  # make_sunver.pl needs GNU c++filt to support extern "C++" in
79252	  # version scripts, so disable symbol versioning if none can be
79253	  # found.
79254	  if test -z "$ac_cv_path_CXXFILT"; then
79255	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79256$as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79257	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
79258$as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
79259	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79260$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79261	    enable_symvers=no
79262	  else
79263	    enable_symvers=sun
79264	  fi
79265	  ;;
79266	*)
79267	  enable_symvers=no ;;
79268      esac
79269    fi
79270  fi
79271fi
79272
79273# Check to see if 'darwin' or 'darwin-export' can win.
79274if test x$enable_symvers = xdarwin-export ; then
79275    enable_symvers=darwin
79276fi
79277
79278# Check if 'sun' was requested on non-Solaris 2 platforms.
79279if test x$enable_symvers = xsun ; then
79280  case ${target_os} in
79281    solaris2*)
79282      # All fine.
79283      ;;
79284    *)
79285      # Unlikely to work.
79286      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79287$as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79288      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79289$as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79290      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79291$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79292      enable_symvers=no
79293      ;;
79294  esac
79295fi
79296
79297# Check to see if 'gnu' can win.
79298if test $enable_symvers = gnu ||
79299  test $enable_symvers = gnu-versioned-namespace ||
79300  test $enable_symvers = sun; then
79301  # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79302  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79303$as_echo_n "checking for shared libgcc... " >&6; }
79304  ac_save_CFLAGS="$CFLAGS"
79305  CFLAGS=' -lgcc_s'
79306  if test x$gcc_no_link = xyes; then
79307  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79308fi
79309cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79310/* end confdefs.h.  */
79311
79312int
79313main ()
79314{
79315return 0;
79316  ;
79317  return 0;
79318}
79319_ACEOF
79320if ac_fn_c_try_link "$LINENO"; then :
79321  glibcxx_shared_libgcc=yes
79322else
79323  glibcxx_shared_libgcc=no
79324fi
79325rm -f core conftest.err conftest.$ac_objext \
79326    conftest$ac_exeext conftest.$ac_ext
79327  CFLAGS="$ac_save_CFLAGS"
79328  if test $glibcxx_shared_libgcc = no; then
79329    cat > conftest.c <<EOF
79330int main (void) { return 0; }
79331EOF
79332    glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79333			     -shared -shared-libgcc -o conftest.so \
79334			     conftest.c -v 2>&1 >/dev/null \
79335			     | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79336    rm -f conftest.c conftest.so
79337    if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79338      CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79339      if test x$gcc_no_link = xyes; then
79340  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79341fi
79342cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79343/* end confdefs.h.  */
79344
79345int
79346main ()
79347{
79348return 0;
79349  ;
79350  return 0;
79351}
79352_ACEOF
79353if ac_fn_c_try_link "$LINENO"; then :
79354  glibcxx_shared_libgcc=yes
79355fi
79356rm -f core conftest.err conftest.$ac_objext \
79357    conftest$ac_exeext conftest.$ac_ext
79358      CFLAGS="$ac_save_CFLAGS"
79359    fi
79360  fi
79361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79362$as_echo "$glibcxx_shared_libgcc" >&6; }
79363
79364  # For GNU ld, we need at least this version.  The format is described in
79365  # GLIBCXX_CHECK_LINKER_FEATURES above.
79366  glibcxx_min_gnu_ld_version=21400
79367
79368  # If no shared libgcc, can't win.
79369  if test $glibcxx_shared_libgcc != yes; then
79370      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79371$as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79372      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79373$as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79374      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79375$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79376      enable_symvers=no
79377  elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79378    : All interesting versions of Sun ld support sun style symbol versioning.
79379  elif test $with_gnu_ld != yes ; then
79380    # just fail for now
79381    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79382$as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79383    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79384$as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79385    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79386$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79387    enable_symvers=no
79388  elif test $glibcxx_ld_is_gold = yes ; then
79389    : All versions of gold support symbol versioning.
79390  elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79391    # The right tools, the right setup, but too old.  Fallbacks?
79392    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79393$as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79394    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79395$as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79396    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79397$as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79398    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79399$as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79400    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79401$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79402    enable_symvers=no
79403  fi
79404fi
79405
79406# For libtool versioning info, format is CURRENT:REVISION:AGE
79407libtool_VERSION=6:25:0
79408
79409# Everything parsed; figure out what files and settings to use.
79410case $enable_symvers in
79411  no)
79412    SYMVER_FILE=config/abi/pre/none.ver
79413    ;;
79414  gnu)
79415    SYMVER_FILE=config/abi/pre/gnu.ver
79416
79417$as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79418
79419    ;;
79420  gnu-versioned-namespace)
79421    libtool_VERSION=8:0:0
79422    SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79423
79424$as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79425
79426    ;;
79427  darwin)
79428    SYMVER_FILE=config/abi/pre/gnu.ver
79429
79430$as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79431
79432    ;;
79433  sun)
79434    SYMVER_FILE=config/abi/pre/gnu.ver
79435
79436$as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79437
79438    ;;
79439esac
79440
79441if test x$enable_symvers != xno ; then
79442
79443$as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79444
79445fi
79446
79447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79448$as_echo_n "checking whether the target supports .symver directive... " >&6; }
79449if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79450  $as_echo_n "(cached) " >&6
79451else
79452
79453  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79454/* end confdefs.h.  */
79455void foo (void); __asm (".symver foo, bar@SYMVER");
79456int
79457main ()
79458{
79459
79460  ;
79461  return 0;
79462}
79463_ACEOF
79464if ac_fn_c_try_compile "$LINENO"; then :
79465  glibcxx_cv_have_as_symver_directive=yes
79466else
79467  glibcxx_cv_have_as_symver_directive=no
79468fi
79469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79470fi
79471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79472$as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79473if test $glibcxx_cv_have_as_symver_directive = yes; then
79474
79475$as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79476
79477fi
79478
79479
79480
79481
79482
79483
79484
79485
79486{ $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79487$as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79488
79489if test $enable_symvers != no ; then
79490   case ${target_os} in
79491     # The Solaris 2 runtime linker doesn't support the GNU extension of
79492     # binding the same symbol to different versions
79493     solaris2*)
79494       ;;
79495     # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79496     *)
79497
79498$as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79499
79500       ;;
79501    esac
79502fi
79503
79504# Now, set up compatibility support, if any.
79505# In addition, need this to deal with std::size_t mangling in
79506# src/compatibility.cc.  In a perfect world, could use
79507# typeid(std::size_t).name()[0] to do direct substitution.
79508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79509$as_echo_n "checking for size_t as unsigned int... " >&6; }
79510ac_save_CFLAGS="$CFLAGS"
79511CFLAGS="-Werror"
79512cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79513/* end confdefs.h.  */
79514
79515int
79516main ()
79517{
79518__SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79519  ;
79520  return 0;
79521}
79522_ACEOF
79523if ac_fn_c_try_compile "$LINENO"; then :
79524  glibcxx_size_t_is_i=yes
79525else
79526  glibcxx_size_t_is_i=no
79527fi
79528rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79529CFLAGS=$ac_save_CFLAGS
79530if test "$glibcxx_size_t_is_i" = yes; then
79531
79532$as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79533
79534fi
79535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79536$as_echo "$glibcxx_size_t_is_i" >&6; }
79537
79538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79539$as_echo_n "checking for ptrdiff_t as int... " >&6; }
79540ac_save_CFLAGS="$CFLAGS"
79541CFLAGS="-Werror"
79542cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79543/* end confdefs.h.  */
79544
79545int
79546main ()
79547{
79548__PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79549  ;
79550  return 0;
79551}
79552_ACEOF
79553if ac_fn_c_try_compile "$LINENO"; then :
79554  glibcxx_ptrdiff_t_is_i=yes
79555else
79556  glibcxx_ptrdiff_t_is_i=no
79557fi
79558rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79559CFLAGS=$ac_save_CFLAGS
79560if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79561
79562$as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79563
79564fi
79565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79566$as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79567
79568
79569
79570
79571 # Check whether --enable-libstdcxx-visibility was given.
79572if test "${enable_libstdcxx_visibility+set}" = set; then :
79573  enableval=$enable_libstdcxx_visibility;
79574      case "$enableval" in
79575       yes|no) ;;
79576       *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79577      esac
79578
79579else
79580  enable_libstdcxx_visibility=yes
79581fi
79582
79583
79584
79585if test x$enable_libstdcxx_visibility = xyes ; then
79586      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79587$as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79588if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79589  $as_echo_n "(cached) " >&6
79590else
79591
79592  save_CFLAGS="$CFLAGS"
79593  CFLAGS="$CFLAGS -Werror"
79594  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79595/* end confdefs.h.  */
79596void __attribute__((visibility("hidden"))) foo(void) { }
79597int
79598main ()
79599{
79600
79601  ;
79602  return 0;
79603}
79604_ACEOF
79605if ac_fn_c_try_compile "$LINENO"; then :
79606  glibcxx_cv_have_attribute_visibility=yes
79607else
79608  glibcxx_cv_have_attribute_visibility=no
79609fi
79610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79611  CFLAGS="$save_CFLAGS"
79612fi
79613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79614$as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79615  if test $glibcxx_cv_have_attribute_visibility = no; then
79616    enable_libstdcxx_visibility=no
79617  fi
79618fi
79619
79620
79621{ $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79622$as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79623
79624
79625
79626   # Check whether --enable-libstdcxx-dual-abi was given.
79627if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79628  enableval=$enable_libstdcxx_dual_abi;
79629      case "$enableval" in
79630       yes|no) ;;
79631       *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79632      esac
79633
79634else
79635  enable_libstdcxx_dual_abi=yes
79636fi
79637
79638
79639  if test x$enable_symvers = xgnu-versioned-namespace; then
79640    # gnu-versioned-namespace is incompatible with the dual ABI.
79641    enable_libstdcxx_dual_abi="no"
79642  fi
79643  if test x"$enable_libstdcxx_dual_abi" != xyes; then
79644    { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79645$as_echo "$as_me: dual ABI is disabled" >&6;}
79646    default_libstdcxx_abi="gcc4-compatible"
79647  fi
79648
79649
79650
79651  if test x$enable_libstdcxx_dual_abi = xyes; then
79652  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79653$as_echo_n "checking for default std::string ABI to use... " >&6; }
79654
79655# Check whether --with-default-libstdcxx-abi was given.
79656if test "${with_default_libstdcxx_abi+set}" = set; then :
79657  withval=$with_default_libstdcxx_abi; case "$withval" in
79658      gcc4-compatible)  default_libstdcxx_abi="gcc4-compatible" ;;
79659      new|cxx11)  default_libstdcxx_abi="new" ;;
79660      c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79661      *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79662     esac
79663
79664else
79665  default_libstdcxx_abi="new"
79666fi
79667
79668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79669$as_echo "${default_libstdcxx_abi}" >&6; }
79670  fi
79671  if test $default_libstdcxx_abi = "new"; then
79672    glibcxx_cxx11_abi=1
79673    glibcxx_cxx98_abi=0
79674  else
79675    glibcxx_cxx11_abi=0
79676    glibcxx_cxx98_abi=1
79677  fi
79678
79679
79680
79681
79682ac_ldbl_compat=no
79683LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79684case "$target" in
79685  powerpc*-*-linux* | \
79686  sparc*-*-linux* | \
79687  s390*-*-linux* | \
79688  alpha*-*-linux*)
79689  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79690/* end confdefs.h.  */
79691
79692int
79693main ()
79694{
79695
79696#if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79697#error no need for long double compatibility
79698#endif
79699
79700  ;
79701  return 0;
79702}
79703_ACEOF
79704if ac_fn_c_try_compile "$LINENO"; then :
79705  ac_ldbl_compat=yes
79706else
79707  ac_ldbl_compat=no
79708fi
79709rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79710  if test "$ac_ldbl_compat" = yes; then
79711
79712$as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79713
79714    port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79715    case "$target" in
79716      powerpc*-*-linux*)
79717	LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79718    esac
79719  fi
79720esac
79721
79722
79723
79724# Check if assembler supports disabling hardware capability support.
79725
79726  test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79727
79728  # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79729  # with a different meaning.
79730  case ${target_os} in
79731    solaris2*)
79732      ac_save_CFLAGS="$CFLAGS"
79733      CFLAGS="$CFLAGS -Wa,-nH"
79734
79735      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79736$as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79737      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79738/* end confdefs.h.  */
79739
79740int
79741main ()
79742{
79743return 0;
79744  ;
79745  return 0;
79746}
79747_ACEOF
79748if ac_fn_c_try_compile "$LINENO"; then :
79749  ac_hwcap_flags=yes
79750else
79751  ac_hwcap_flags=no
79752fi
79753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79754      if test "$ac_hwcap_flags" = "yes"; then
79755	HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79756      fi
79757      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79758$as_echo "$ac_hwcap_flags" >&6; }
79759
79760      CFLAGS="$ac_save_CFLAGS"
79761      ;;
79762  esac
79763
79764
79765
79766
79767# Check if assembler supports rdrand opcode.
79768
79769  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79770$as_echo_n "checking for rdrand support in assembler... " >&6; }
79771  if test "${ac_cv_x86_rdrand+set}" = set; then :
79772  $as_echo_n "(cached) " >&6
79773else
79774
79775  ac_cv_x86_rdrand=no
79776  case "$target" in
79777    i?86-*-* | \
79778    x86_64-*-*)
79779    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79780/* end confdefs.h.  */
79781
79782int
79783main ()
79784{
79785asm("rdrand %eax");
79786  ;
79787  return 0;
79788}
79789_ACEOF
79790if ac_fn_c_try_compile "$LINENO"; then :
79791  ac_cv_x86_rdrand=yes
79792else
79793  ac_cv_x86_rdrand=no
79794fi
79795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79796  esac
79797
79798fi
79799
79800  if test $ac_cv_x86_rdrand = yes; then
79801
79802$as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79803
79804  fi
79805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79806$as_echo "$ac_cv_x86_rdrand" >&6; }
79807
79808
79809# This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79810
79811  # Do checks for resource limit functions.
79812
79813  setrlimit_have_headers=yes
79814  for ac_header in unistd.h sys/time.h sys/resource.h
79815do :
79816  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79817ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79818eval as_val=\$$as_ac_Header
79819   if test "x$as_val" = x""yes; then :
79820  cat >>confdefs.h <<_ACEOF
79821#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79822_ACEOF
79823
79824else
79825  setrlimit_have_headers=no
79826fi
79827
79828done
79829
79830  # If don't have the headers, then we can't run the tests now, and we
79831  # won't be seeing any of these during testsuite compilation.
79832  if test $setrlimit_have_headers = yes; then
79833    # Can't do these in a loop, else the resulting syntax is wrong.
79834
79835  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79836$as_echo_n "checking for RLIMIT_DATA... " >&6; }
79837  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79838/* end confdefs.h.  */
79839#include <unistd.h>
79840     #include <sys/time.h>
79841     #include <sys/resource.h>
79842
79843int
79844main ()
79845{
79846 int f = RLIMIT_DATA ;
79847  ;
79848  return 0;
79849}
79850_ACEOF
79851if ac_fn_c_try_compile "$LINENO"; then :
79852  glibcxx_mresult=1
79853else
79854  glibcxx_mresult=0
79855fi
79856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79857
79858cat >>confdefs.h <<_ACEOF
79859#define HAVE_LIMIT_DATA $glibcxx_mresult
79860_ACEOF
79861
79862  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79864$as_echo "$res" >&6; }
79865
79866
79867  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79868$as_echo_n "checking for RLIMIT_RSS... " >&6; }
79869  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79870/* end confdefs.h.  */
79871#include <unistd.h>
79872     #include <sys/time.h>
79873     #include <sys/resource.h>
79874
79875int
79876main ()
79877{
79878 int f = RLIMIT_RSS ;
79879  ;
79880  return 0;
79881}
79882_ACEOF
79883if ac_fn_c_try_compile "$LINENO"; then :
79884  glibcxx_mresult=1
79885else
79886  glibcxx_mresult=0
79887fi
79888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79889
79890cat >>confdefs.h <<_ACEOF
79891#define HAVE_LIMIT_RSS $glibcxx_mresult
79892_ACEOF
79893
79894  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79896$as_echo "$res" >&6; }
79897
79898
79899  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79900$as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79901  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79902/* end confdefs.h.  */
79903#include <unistd.h>
79904     #include <sys/time.h>
79905     #include <sys/resource.h>
79906
79907int
79908main ()
79909{
79910 int f = RLIMIT_VMEM ;
79911  ;
79912  return 0;
79913}
79914_ACEOF
79915if ac_fn_c_try_compile "$LINENO"; then :
79916  glibcxx_mresult=1
79917else
79918  glibcxx_mresult=0
79919fi
79920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79921
79922cat >>confdefs.h <<_ACEOF
79923#define HAVE_LIMIT_VMEM $glibcxx_mresult
79924_ACEOF
79925
79926  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79928$as_echo "$res" >&6; }
79929
79930
79931  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79932$as_echo_n "checking for RLIMIT_AS... " >&6; }
79933  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79934/* end confdefs.h.  */
79935#include <unistd.h>
79936     #include <sys/time.h>
79937     #include <sys/resource.h>
79938
79939int
79940main ()
79941{
79942 int f = RLIMIT_AS ;
79943  ;
79944  return 0;
79945}
79946_ACEOF
79947if ac_fn_c_try_compile "$LINENO"; then :
79948  glibcxx_mresult=1
79949else
79950  glibcxx_mresult=0
79951fi
79952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79953
79954cat >>confdefs.h <<_ACEOF
79955#define HAVE_LIMIT_AS $glibcxx_mresult
79956_ACEOF
79957
79958  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79960$as_echo "$res" >&6; }
79961
79962
79963  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79964$as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79965  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79966/* end confdefs.h.  */
79967#include <unistd.h>
79968     #include <sys/time.h>
79969     #include <sys/resource.h>
79970
79971int
79972main ()
79973{
79974 int f = RLIMIT_FSIZE ;
79975  ;
79976  return 0;
79977}
79978_ACEOF
79979if ac_fn_c_try_compile "$LINENO"; then :
79980  glibcxx_mresult=1
79981else
79982  glibcxx_mresult=0
79983fi
79984rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79985
79986cat >>confdefs.h <<_ACEOF
79987#define HAVE_LIMIT_FSIZE $glibcxx_mresult
79988_ACEOF
79989
79990  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79992$as_echo "$res" >&6; }
79993
79994
79995    # Check for rlimit, setrlimit.
79996    if test "${glibcxx_cv_setrlimit+set}" = set; then :
79997  $as_echo_n "(cached) " >&6
79998else
79999
80000      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80001/* end confdefs.h.  */
80002#include <unistd.h>
80003	 #include <sys/time.h>
80004	 #include <sys/resource.h>
80005
80006int
80007main ()
80008{
80009struct rlimit r;
80010	 setrlimit(0, &r);
80011  ;
80012  return 0;
80013}
80014_ACEOF
80015if ac_fn_c_try_compile "$LINENO"; then :
80016  glibcxx_cv_setrlimit=yes
80017else
80018  glibcxx_cv_setrlimit=no
80019fi
80020rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80021
80022fi
80023
80024  fi
80025
80026  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
80027$as_echo_n "checking for testsuite resource limits support... " >&6; }
80028  if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
80029    ac_res_limits=yes
80030
80031$as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
80032
80033  else
80034    ac_res_limits=no
80035  fi
80036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
80037$as_echo "$ac_res_limits" >&6; }
80038
80039
80040  if $GLIBCXX_IS_NATIVE ; then
80041    # Look for setenv, so that extended locale tests can be performed.
80042
80043  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
80044$as_echo_n "checking for setenv declaration... " >&6; }
80045  if test x${glibcxx_cv_func_setenv_use+set} != xset; then
80046    if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
80047  $as_echo_n "(cached) " >&6
80048else
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      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80058/* end confdefs.h.  */
80059#include <stdlib.h>
80060int
80061main ()
80062{
80063 setenv(0, 0, 0);
80064  ;
80065  return 0;
80066}
80067_ACEOF
80068if ac_fn_cxx_try_compile "$LINENO"; then :
80069  glibcxx_cv_func_setenv_use=yes
80070else
80071  glibcxx_cv_func_setenv_use=no
80072fi
80073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80074      ac_ext=c
80075ac_cpp='$CPP $CPPFLAGS'
80076ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80077ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80078ac_compiler_gnu=$ac_cv_c_compiler_gnu
80079
80080
80081fi
80082
80083  fi
80084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
80085$as_echo "$glibcxx_cv_func_setenv_use" >&6; }
80086  if test x$glibcxx_cv_func_setenv_use = x"yes"; then
80087    for ac_func in setenv
80088do :
80089  ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
80090if test "x$ac_cv_func_setenv" = x""yes; then :
80091  cat >>confdefs.h <<_ACEOF
80092#define HAVE_SETENV 1
80093_ACEOF
80094
80095fi
80096done
80097
80098  fi
80099
80100  fi
80101
80102  if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
80103     test $enable_symvers != no; then
80104    case "$host" in
80105      *-*-cygwin*)
80106	enable_abi_check=no ;;
80107      *)
80108	enable_abi_check=yes ;;
80109    esac
80110  else
80111    # Only build this as native, since automake does not understand
80112    # CXX_FOR_BUILD.
80113    enable_abi_check=no
80114  fi
80115
80116  # Export file names for ABI checking.
80117  baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
80118
80119  baseline_subdir_switch="$abi_baseline_subdir_switch"
80120
80121
80122
80123# For gthread support.  Depends on GLIBCXX_ENABLE_SYMVERS.
80124
80125   # Check whether --enable-libstdcxx-threads was given.
80126if test "${enable_libstdcxx_threads+set}" = set; then :
80127  enableval=$enable_libstdcxx_threads;
80128      case "$enableval" in
80129       yes|no) ;;
80130       *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
80131      esac
80132
80133else
80134  enable_libstdcxx_threads=auto
80135fi
80136
80137
80138
80139  if test x$enable_libstdcxx_threads = xauto ||
80140     test x$enable_libstdcxx_threads = xyes; then
80141
80142
80143  ac_ext=cpp
80144ac_cpp='$CXXCPP $CPPFLAGS'
80145ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80146ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80147ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80148
80149
80150  ac_save_CXXFLAGS="$CXXFLAGS"
80151  CXXFLAGS="$CXXFLAGS -fno-exceptions \
80152	-I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
80153
80154  target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
80155  case $target_thread_file in
80156    posix)
80157      CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
80158  esac
80159
80160  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
80161$as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
80162
80163  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80164/* end confdefs.h.  */
80165#include <unistd.h>
80166int
80167main ()
80168{
80169
80170      // In case of POSIX threads check _POSIX_TIMEOUTS.
80171      #if (defined(_PTHREADS) \
80172	  && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
80173      #error
80174      #endif
80175
80176  ;
80177  return 0;
80178}
80179_ACEOF
80180if ac_fn_cxx_try_compile "$LINENO"; then :
80181  ac_gthread_use_mutex_timedlock=1
80182else
80183  ac_gthread_use_mutex_timedlock=0
80184fi
80185rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80186
80187
80188cat >>confdefs.h <<_ACEOF
80189#define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
80190_ACEOF
80191
80192
80193  if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
80194  else res_mutex_timedlock=no ; fi
80195  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
80196$as_echo "$res_mutex_timedlock" >&6; }
80197
80198  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
80199$as_echo_n "checking for gthreads library... " >&6; }
80200
80201  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80202/* end confdefs.h.  */
80203#include "gthr.h"
80204int
80205main ()
80206{
80207
80208      #ifndef __GTHREADS_CXX0X
80209      #error
80210      #endif
80211
80212  ;
80213  return 0;
80214}
80215_ACEOF
80216if ac_fn_cxx_try_compile "$LINENO"; then :
80217  ac_has_gthreads=yes
80218else
80219  ac_has_gthreads=no
80220fi
80221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80222  else
80223    ac_has_gthreads=no
80224  fi
80225
80226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
80227$as_echo "$ac_has_gthreads" >&6; }
80228
80229  if test x"$ac_has_gthreads" = x"yes"; then
80230
80231$as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
80232
80233
80234    # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
80235    ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
80236"
80237if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
80238
80239$as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
80240
80241fi
80242
80243  fi
80244
80245  CXXFLAGS="$ac_save_CXXFLAGS"
80246  ac_ext=c
80247ac_cpp='$CPP $CPPFLAGS'
80248ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80249ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80250ac_compiler_gnu=$ac_cv_c_compiler_gnu
80251
80252
80253
80254# For Filesystem TS.
80255for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80256do :
80257  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80258ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80259eval as_val=\$$as_ac_Header
80260   if test "x$as_val" = x""yes; then :
80261  cat >>confdefs.h <<_ACEOF
80262#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80263_ACEOF
80264
80265fi
80266
80267done
80268
80269
80270   # Check whether --enable-libstdcxx-filesystem-ts was given.
80271if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80272  enableval=$enable_libstdcxx_filesystem_ts;
80273      case "$enableval" in
80274       yes|no|auto) ;;
80275       *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80276	  	        esac
80277
80278else
80279  enable_libstdcxx_filesystem_ts=auto
80280fi
80281
80282
80283
80284  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80285$as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80286  if test x"$ac_cv_header_dirent_h" != x"yes"; then
80287    enable_libstdcxx_filesystem_ts=no
80288  fi
80289  if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80290    case "${target_os}" in
80291      freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80292        enable_libstdcxx_filesystem_ts=yes
80293        ;;
80294      gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80295        enable_libstdcxx_filesystem_ts=yes
80296        ;;
80297      rtems*)
80298        enable_libstdcxx_filesystem_ts=yes
80299        ;;
80300      solaris*)
80301        enable_libstdcxx_filesystem_ts=yes
80302        ;;
80303      *)
80304        enable_libstdcxx_filesystem_ts=no
80305        ;;
80306    esac
80307  fi
80308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80309$as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80310
80311
80312
80313  ac_ext=cpp
80314ac_cpp='$CXXCPP $CPPFLAGS'
80315ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80316ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80317ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80318
80319  ac_save_CXXFLAGS="$CXXFLAGS"
80320  CXXFLAGS="$CXXFLAGS -fno-exceptions"
80321  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80322$as_echo_n "checking for struct dirent.d_type... " >&6; }
80323  if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
80324  $as_echo_n "(cached) " >&6
80325else
80326      if test x$gcc_no_link = xyes; then
80327  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80328/* end confdefs.h.  */
80329#include <dirent.h>
80330int
80331main ()
80332{
80333
80334       struct dirent d;
80335       if (sizeof d.d_type) return 0;
80336
80337  ;
80338  return 0;
80339}
80340_ACEOF
80341if ac_fn_cxx_try_compile "$LINENO"; then :
80342  glibcxx_cv_dirent_d_type=yes
80343else
80344  glibcxx_cv_dirent_d_type=no
80345fi
80346rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80347else
80348  if test x$gcc_no_link = xyes; then
80349  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80350fi
80351cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80352/* end confdefs.h.  */
80353#include <dirent.h>
80354int
80355main ()
80356{
80357
80358       struct dirent d;
80359       if (sizeof d.d_type) return 0;
80360
80361  ;
80362  return 0;
80363}
80364_ACEOF
80365if ac_fn_cxx_try_link "$LINENO"; then :
80366  glibcxx_cv_dirent_d_type=yes
80367else
80368  glibcxx_cv_dirent_d_type=no
80369fi
80370rm -f core conftest.err conftest.$ac_objext \
80371    conftest$ac_exeext conftest.$ac_ext
80372fi
80373
80374fi
80375
80376  if test $glibcxx_cv_dirent_d_type = yes; then
80377
80378$as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80379
80380  fi
80381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80382$as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80383  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80384$as_echo_n "checking for realpath... " >&6; }
80385  if test "${glibcxx_cv_realpath+set}" = set; then :
80386  $as_echo_n "(cached) " >&6
80387else
80388      if test x$gcc_no_link = xyes; then
80389  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80390/* end confdefs.h.  */
80391
80392       #include <limits.h>
80393       #include <stdlib.h>
80394       #include <unistd.h>
80395
80396int
80397main ()
80398{
80399
80400       #if _XOPEN_VERSION < 500
80401       #error
80402       #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80403       char *tmp = realpath((const char*)NULL, (char*)NULL);
80404       #else
80405       #error
80406       #endif
80407
80408  ;
80409  return 0;
80410}
80411_ACEOF
80412if ac_fn_cxx_try_compile "$LINENO"; then :
80413  glibcxx_cv_realpath=yes
80414else
80415  glibcxx_cv_realpath=no
80416fi
80417rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80418else
80419  if test x$gcc_no_link = xyes; then
80420  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80421fi
80422cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80423/* end confdefs.h.  */
80424
80425       #include <limits.h>
80426       #include <stdlib.h>
80427       #include <unistd.h>
80428
80429int
80430main ()
80431{
80432
80433       #if _XOPEN_VERSION < 500
80434       #error
80435       #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80436       char *tmp = realpath((const char*)NULL, (char*)NULL);
80437       #else
80438       #error
80439       #endif
80440
80441  ;
80442  return 0;
80443}
80444_ACEOF
80445if ac_fn_cxx_try_link "$LINENO"; then :
80446  glibcxx_cv_realpath=yes
80447else
80448  glibcxx_cv_realpath=no
80449fi
80450rm -f core conftest.err conftest.$ac_objext \
80451    conftest$ac_exeext conftest.$ac_ext
80452fi
80453
80454fi
80455
80456  if test $glibcxx_cv_realpath = yes; then
80457
80458$as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80459
80460  fi
80461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80462$as_echo "$glibcxx_cv_realpath" >&6; }
80463  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80464$as_echo_n "checking for utimensat... " >&6; }
80465  if test "${glibcxx_cv_utimensat+set}" = set; then :
80466  $as_echo_n "(cached) " >&6
80467else
80468      if test x$gcc_no_link = xyes; then
80469  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80470/* end confdefs.h.  */
80471
80472        #include <fcntl.h>
80473        #include <sys/stat.h>
80474
80475int
80476main ()
80477{
80478
80479        struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80480        int i = utimensat(AT_FDCWD, "path", ts, 0);
80481
80482  ;
80483  return 0;
80484}
80485_ACEOF
80486if ac_fn_cxx_try_compile "$LINENO"; then :
80487  glibcxx_cv_utimensat=yes
80488else
80489  glibcxx_cv_utimensat=no
80490fi
80491rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80492else
80493  if test x$gcc_no_link = xyes; then
80494  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80495fi
80496cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80497/* end confdefs.h.  */
80498
80499        #include <fcntl.h>
80500        #include <sys/stat.h>
80501
80502int
80503main ()
80504{
80505
80506        struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80507        int i = utimensat(AT_FDCWD, "path", ts, 0);
80508
80509  ;
80510  return 0;
80511}
80512_ACEOF
80513if ac_fn_cxx_try_link "$LINENO"; then :
80514  glibcxx_cv_utimensat=yes
80515else
80516  glibcxx_cv_utimensat=no
80517fi
80518rm -f core conftest.err conftest.$ac_objext \
80519    conftest$ac_exeext conftest.$ac_ext
80520fi
80521
80522fi
80523
80524  if test $glibcxx_cv_utimensat = yes; then
80525
80526$as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80527
80528  fi
80529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80530$as_echo "$glibcxx_cv_utimensat" >&6; }
80531  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80532$as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80533  if test "${glibcxx_cv_st_mtim+set}" = set; then :
80534  $as_echo_n "(cached) " >&6
80535else
80536      if test x$gcc_no_link = xyes; then
80537  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80538/* end confdefs.h.  */
80539 #include <sys/stat.h>
80540int
80541main ()
80542{
80543
80544        struct stat st;
80545        return st.st_mtim.tv_nsec;
80546
80547  ;
80548  return 0;
80549}
80550_ACEOF
80551if ac_fn_cxx_try_compile "$LINENO"; then :
80552  glibcxx_cv_st_mtim=yes
80553else
80554  glibcxx_cv_st_mtim=no
80555fi
80556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80557else
80558  if test x$gcc_no_link = xyes; then
80559  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80560fi
80561cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80562/* end confdefs.h.  */
80563 #include <sys/stat.h>
80564int
80565main ()
80566{
80567
80568        struct stat st;
80569        return st.st_mtim.tv_nsec;
80570
80571  ;
80572  return 0;
80573}
80574_ACEOF
80575if ac_fn_cxx_try_link "$LINENO"; then :
80576  glibcxx_cv_st_mtim=yes
80577else
80578  glibcxx_cv_st_mtim=no
80579fi
80580rm -f core conftest.err conftest.$ac_objext \
80581    conftest$ac_exeext conftest.$ac_ext
80582fi
80583
80584fi
80585
80586  if test $glibcxx_cv_st_mtim = yes; then
80587
80588$as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80589
80590  fi
80591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80592$as_echo "$glibcxx_cv_st_mtim" >&6; }
80593  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80594$as_echo_n "checking for fchmod... " >&6; }
80595  if test "${glibcxx_cv_fchmod+set}" = set; then :
80596  $as_echo_n "(cached) " >&6
80597else
80598      if test x$gcc_no_link = xyes; then
80599  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80600/* end confdefs.h.  */
80601#include <sys/stat.h>
80602int
80603main ()
80604{
80605fchmod(1, S_IWUSR);
80606  ;
80607  return 0;
80608}
80609_ACEOF
80610if ac_fn_cxx_try_compile "$LINENO"; then :
80611  glibcxx_cv_fchmod=yes
80612else
80613  glibcxx_cv_fchmod=no
80614fi
80615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80616else
80617  if test x$gcc_no_link = xyes; then
80618  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80619fi
80620cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80621/* end confdefs.h.  */
80622#include <sys/stat.h>
80623int
80624main ()
80625{
80626fchmod(1, S_IWUSR);
80627  ;
80628  return 0;
80629}
80630_ACEOF
80631if ac_fn_cxx_try_link "$LINENO"; then :
80632  glibcxx_cv_fchmod=yes
80633else
80634  glibcxx_cv_fchmod=no
80635fi
80636rm -f core conftest.err conftest.$ac_objext \
80637    conftest$ac_exeext conftest.$ac_ext
80638fi
80639
80640fi
80641
80642  if test $glibcxx_cv_fchmod = yes; then
80643
80644$as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80645
80646  fi
80647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80648$as_echo "$glibcxx_cv_fchmod" >&6; }
80649  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80650$as_echo_n "checking for fchmodat... " >&6; }
80651  if test "${glibcxx_cv_fchmodat+set}" = set; then :
80652  $as_echo_n "(cached) " >&6
80653else
80654      if test x$gcc_no_link = xyes; then
80655  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80656/* end confdefs.h.  */
80657
80658        #include <fcntl.h>
80659        #include <sys/stat.h>
80660
80661int
80662main ()
80663{
80664fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80665  ;
80666  return 0;
80667}
80668_ACEOF
80669if ac_fn_cxx_try_compile "$LINENO"; then :
80670  glibcxx_cv_fchmodat=yes
80671else
80672  glibcxx_cv_fchmodat=no
80673fi
80674rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80675else
80676  if test x$gcc_no_link = xyes; then
80677  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80678fi
80679cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80680/* end confdefs.h.  */
80681
80682        #include <fcntl.h>
80683        #include <sys/stat.h>
80684
80685int
80686main ()
80687{
80688fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80689  ;
80690  return 0;
80691}
80692_ACEOF
80693if ac_fn_cxx_try_link "$LINENO"; then :
80694  glibcxx_cv_fchmodat=yes
80695else
80696  glibcxx_cv_fchmodat=no
80697fi
80698rm -f core conftest.err conftest.$ac_objext \
80699    conftest$ac_exeext conftest.$ac_ext
80700fi
80701
80702fi
80703
80704  if test $glibcxx_cv_fchmodat = yes; then
80705
80706$as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80707
80708  fi
80709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80710$as_echo "$glibcxx_cv_fchmodat" >&6; }
80711  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80712$as_echo_n "checking for sendfile that can copy files... " >&6; }
80713  if test "${glibcxx_cv_sendfile+set}" = set; then :
80714  $as_echo_n "(cached) " >&6
80715else
80716      case "${target_os}" in
80717      gnu* | linux* | solaris*)
80718        if test x$gcc_no_link = xyes; then
80719  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80720/* end confdefs.h.  */
80721#include <sys/sendfile.h>
80722int
80723main ()
80724{
80725sendfile(1, 2, (off_t*)0, sizeof 1);
80726  ;
80727  return 0;
80728}
80729_ACEOF
80730if ac_fn_cxx_try_compile "$LINENO"; then :
80731  glibcxx_cv_sendfile=yes
80732else
80733  glibcxx_cv_sendfile=no
80734fi
80735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80736else
80737  if test x$gcc_no_link = xyes; then
80738  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80739fi
80740cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80741/* end confdefs.h.  */
80742#include <sys/sendfile.h>
80743int
80744main ()
80745{
80746sendfile(1, 2, (off_t*)0, sizeof 1);
80747  ;
80748  return 0;
80749}
80750_ACEOF
80751if ac_fn_cxx_try_link "$LINENO"; then :
80752  glibcxx_cv_sendfile=yes
80753else
80754  glibcxx_cv_sendfile=no
80755fi
80756rm -f core conftest.err conftest.$ac_objext \
80757    conftest$ac_exeext conftest.$ac_ext
80758fi
80759        ;;
80760      *)
80761        glibcxx_cv_sendfile=no
80762        ;;
80763    esac
80764
80765fi
80766
80767  if test $glibcxx_cv_sendfile = yes; then
80768
80769$as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80770
80771  fi
80772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80773$as_echo "$glibcxx_cv_sendfile" >&6; }
80774  CXXFLAGS="$ac_save_CXXFLAGS"
80775  ac_ext=c
80776ac_cpp='$CPP $CPPFLAGS'
80777ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80778ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80779ac_compiler_gnu=$ac_cv_c_compiler_gnu
80780
80781
80782
80783# For Transactional Memory TS
80784
80785  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80786$as_echo_n "checking how size_t is mangled... " >&6; }
80787if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80788  $as_echo_n "(cached) " >&6
80789else
80790
80791    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80792/* end confdefs.h.  */
80793
80794int
80795main ()
80796{
80797extern __SIZE_TYPE__ x; extern unsigned long x;
80798  ;
80799  return 0;
80800}
80801_ACEOF
80802if ac_fn_c_try_compile "$LINENO"; then :
80803  glibcxx_cv_size_t_mangling=m
80804else
80805
80806      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80807/* end confdefs.h.  */
80808
80809int
80810main ()
80811{
80812extern __SIZE_TYPE__ x; extern unsigned int x;
80813  ;
80814  return 0;
80815}
80816_ACEOF
80817if ac_fn_c_try_compile "$LINENO"; then :
80818  glibcxx_cv_size_t_mangling=j
80819else
80820
80821        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80822/* end confdefs.h.  */
80823
80824int
80825main ()
80826{
80827extern __SIZE_TYPE__ x; extern unsigned long long x;
80828  ;
80829  return 0;
80830}
80831_ACEOF
80832if ac_fn_c_try_compile "$LINENO"; then :
80833  glibcxx_cv_size_t_mangling=y
80834else
80835
80836          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80837/* end confdefs.h.  */
80838
80839int
80840main ()
80841{
80842extern __SIZE_TYPE__ x; extern unsigned short x;
80843  ;
80844  return 0;
80845}
80846_ACEOF
80847if ac_fn_c_try_compile "$LINENO"; then :
80848  glibcxx_cv_size_t_mangling=t
80849else
80850
80851            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80852/* end confdefs.h.  */
80853
80854int
80855main ()
80856{
80857extern __SIZE_TYPE__ x; extern __int20 unsigned x;
80858  ;
80859  return 0;
80860}
80861_ACEOF
80862if ac_fn_c_try_compile "$LINENO"; then :
80863  glibcxx_cv_size_t_mangling=u6uint20
80864else
80865  glibcxx_cv_size_t_mangling=x
80866fi
80867rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80868
80869fi
80870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80871
80872fi
80873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80874
80875fi
80876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80877
80878fi
80879rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80880
80881fi
80882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80883$as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80884  if test $glibcxx_cv_size_t_mangling = x; then
80885    as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80886  fi
80887
80888cat >>confdefs.h <<_ACEOF
80889#define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80890_ACEOF
80891
80892
80893
80894# Check which release added std::exception_ptr for the target
80895
80896  if test $enable_symvers != no; then
80897    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80898$as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80899    case ${target} in
80900      aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80901      m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80902        ac_exception_ptr_since_gcc46=yes
80903        ;;
80904      *)
80905        # If the value of this macro changes then we will need to hardcode
80906        # yes/no here for additional targets based on the original value.
80907        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80908/* end confdefs.h.  */
80909
80910int
80911main ()
80912{
80913
80914          #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80915          # error atomic int not always lock free
80916          #endif
80917
80918  ;
80919  return 0;
80920}
80921_ACEOF
80922if ac_fn_c_try_compile "$LINENO"; then :
80923  ac_exception_ptr_since_gcc46=yes
80924else
80925  ac_exception_ptr_since_gcc46=no
80926fi
80927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80928        ;;
80929    esac
80930    if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
80931
80932$as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
80933
80934      { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
80935$as_echo "4.6.0" >&6; }
80936    else
80937      { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
80938$as_echo "7.1.0" >&6; }
80939    fi
80940  fi
80941
80942
80943# Define documentation rules conditionally.
80944
80945# See if makeinfo has been installed and is modern enough
80946# that we can use it.
80947
80948  # Extract the first word of "makeinfo", so it can be a program name with args.
80949set dummy makeinfo; ac_word=$2
80950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80951$as_echo_n "checking for $ac_word... " >&6; }
80952if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80953  $as_echo_n "(cached) " >&6
80954else
80955  if test -n "$MAKEINFO"; then
80956  ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80957else
80958as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80959for as_dir in $PATH
80960do
80961  IFS=$as_save_IFS
80962  test -z "$as_dir" && as_dir=.
80963    for ac_exec_ext in '' $ac_executable_extensions; do
80964  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80965    ac_cv_prog_MAKEINFO="makeinfo"
80966    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80967    break 2
80968  fi
80969done
80970  done
80971IFS=$as_save_IFS
80972
80973fi
80974fi
80975MAKEINFO=$ac_cv_prog_MAKEINFO
80976if test -n "$MAKEINFO"; then
80977  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80978$as_echo "$MAKEINFO" >&6; }
80979else
80980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80981$as_echo "no" >&6; }
80982fi
80983
80984
80985  if test -n "$MAKEINFO"; then
80986    # Found it, now check the version.
80987    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80988$as_echo_n "checking for modern makeinfo... " >&6; }
80989if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80990  $as_echo_n "(cached) " >&6
80991else
80992  ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80993                                     sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80994
80995                    case $ac_prog_version in
80996                      '')  gcc_cv_prog_makeinfo_modern=no;;
80997                      4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
80998                      *)   gcc_cv_prog_makeinfo_modern=no;;
80999                    esac
81000
81001fi
81002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
81003$as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
81004  else
81005    gcc_cv_prog_makeinfo_modern=no
81006  fi
81007  if test $gcc_cv_prog_makeinfo_modern = no; then
81008    MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
81009  fi
81010
81011 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
81012  BUILD_INFO_TRUE=
81013  BUILD_INFO_FALSE='#'
81014else
81015  BUILD_INFO_TRUE='#'
81016  BUILD_INFO_FALSE=
81017fi
81018
81019
81020# Check for doxygen
81021# Extract the first word of "doxygen", so it can be a program name with args.
81022set dummy doxygen; ac_word=$2
81023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81024$as_echo_n "checking for $ac_word... " >&6; }
81025if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
81026  $as_echo_n "(cached) " >&6
81027else
81028  if test -n "$DOXYGEN"; then
81029  ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
81030else
81031as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81032for as_dir in $PATH
81033do
81034  IFS=$as_save_IFS
81035  test -z "$as_dir" && as_dir=.
81036    for ac_exec_ext in '' $ac_executable_extensions; do
81037  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81038    ac_cv_prog_DOXYGEN="yes"
81039    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81040    break 2
81041  fi
81042done
81043  done
81044IFS=$as_save_IFS
81045
81046  test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
81047fi
81048fi
81049DOXYGEN=$ac_cv_prog_DOXYGEN
81050if test -n "$DOXYGEN"; then
81051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
81052$as_echo "$DOXYGEN" >&6; }
81053else
81054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81055$as_echo "no" >&6; }
81056fi
81057
81058
81059# Extract the first word of "dot", so it can be a program name with args.
81060set dummy dot; ac_word=$2
81061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81062$as_echo_n "checking for $ac_word... " >&6; }
81063if test "${ac_cv_prog_DOT+set}" = set; then :
81064  $as_echo_n "(cached) " >&6
81065else
81066  if test -n "$DOT"; then
81067  ac_cv_prog_DOT="$DOT" # Let the user override the test.
81068else
81069as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81070for as_dir in $PATH
81071do
81072  IFS=$as_save_IFS
81073  test -z "$as_dir" && as_dir=.
81074    for ac_exec_ext in '' $ac_executable_extensions; do
81075  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81076    ac_cv_prog_DOT="yes"
81077    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81078    break 2
81079  fi
81080done
81081  done
81082IFS=$as_save_IFS
81083
81084  test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
81085fi
81086fi
81087DOT=$ac_cv_prog_DOT
81088if test -n "$DOT"; then
81089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
81090$as_echo "$DOT" >&6; }
81091else
81092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81093$as_echo "no" >&6; }
81094fi
81095
81096
81097
81098# Check for docbook
81099# Extract the first word of "xmlcatalog", so it can be a program name with args.
81100set dummy xmlcatalog; ac_word=$2
81101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81102$as_echo_n "checking for $ac_word... " >&6; }
81103if test "${ac_cv_prog_XMLCATALOG+set}" = set; then :
81104  $as_echo_n "(cached) " >&6
81105else
81106  if test -n "$XMLCATALOG"; then
81107  ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
81108else
81109as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81110for as_dir in $PATH
81111do
81112  IFS=$as_save_IFS
81113  test -z "$as_dir" && as_dir=.
81114    for ac_exec_ext in '' $ac_executable_extensions; do
81115  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81116    ac_cv_prog_XMLCATALOG="yes"
81117    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81118    break 2
81119  fi
81120done
81121  done
81122IFS=$as_save_IFS
81123
81124  test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
81125fi
81126fi
81127XMLCATALOG=$ac_cv_prog_XMLCATALOG
81128if test -n "$XMLCATALOG"; then
81129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
81130$as_echo "$XMLCATALOG" >&6; }
81131else
81132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81133$as_echo "no" >&6; }
81134fi
81135
81136
81137# Extract the first word of "xsltproc", so it can be a program name with args.
81138set dummy xsltproc; ac_word=$2
81139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81140$as_echo_n "checking for $ac_word... " >&6; }
81141if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
81142  $as_echo_n "(cached) " >&6
81143else
81144  if test -n "$XSLTPROC"; then
81145  ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
81146else
81147as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81148for as_dir in $PATH
81149do
81150  IFS=$as_save_IFS
81151  test -z "$as_dir" && as_dir=.
81152    for ac_exec_ext in '' $ac_executable_extensions; do
81153  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81154    ac_cv_prog_XSLTPROC="yes"
81155    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81156    break 2
81157  fi
81158done
81159  done
81160IFS=$as_save_IFS
81161
81162  test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
81163fi
81164fi
81165XSLTPROC=$ac_cv_prog_XSLTPROC
81166if test -n "$XSLTPROC"; then
81167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
81168$as_echo "$XSLTPROC" >&6; }
81169else
81170  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81171$as_echo "no" >&6; }
81172fi
81173
81174
81175# Extract the first word of "xmllint", so it can be a program name with args.
81176set dummy xmllint; ac_word=$2
81177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81178$as_echo_n "checking for $ac_word... " >&6; }
81179if test "${ac_cv_prog_XMLLINT+set}" = set; then :
81180  $as_echo_n "(cached) " >&6
81181else
81182  if test -n "$XMLLINT"; then
81183  ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
81184else
81185as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81186for as_dir in $PATH
81187do
81188  IFS=$as_save_IFS
81189  test -z "$as_dir" && as_dir=.
81190    for ac_exec_ext in '' $ac_executable_extensions; do
81191  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81192    ac_cv_prog_XMLLINT="yes"
81193    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81194    break 2
81195  fi
81196done
81197  done
81198IFS=$as_save_IFS
81199
81200  test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
81201fi
81202fi
81203XMLLINT=$ac_cv_prog_XMLLINT
81204if test -n "$XMLLINT"; then
81205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
81206$as_echo "$XMLLINT" >&6; }
81207else
81208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81209$as_echo "no" >&6; }
81210fi
81211
81212
81213
81214
81215glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
81216
81217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
81218$as_echo_n "checking for local stylesheet directory... " >&6; }
81219glibcxx_local_stylesheets=no
81220if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
81221then
81222  XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
81223  glibcxx_local_stylesheets=yes
81224else
81225  for dir in \
81226    /usr/share/sgml/docbook/xsl-ns-stylesheets \
81227    /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
81228    /usr/share/xml/docbook/stylesheet/nwalsh5/current \
81229    /usr/share/xml/docbook/stylesheet/nwalsh/current
81230  do
81231    if test -d $dir; then
81232      glibcxx_local_stylesheets=yes
81233      XSL_STYLE_DIR=$dir
81234      break
81235    fi
81236  done
81237fi
81238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
81239$as_echo "$glibcxx_local_stylesheets" >&6; }
81240
81241if test x"$glibcxx_local_stylesheets" = x"yes"; then
81242
81243  { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
81244$as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
81245
81246  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
81247$as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
81248  glibcxx_stylesheets=no
81249  if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
81250    if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
81251      glibcxx_stylesheets=yes
81252    fi
81253  fi
81254  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
81255$as_echo "$glibcxx_stylesheets" >&6; }
81256
81257else
81258  glibcxx_stylesheets=no
81259fi
81260
81261# Check for epub3 dependencies.
81262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
81263$as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
81264glibcxx_epub_stylesheets=no
81265if test x"$glibcxx_local_stylesheets" = x"yes"; then
81266   if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
81267      glibcxx_epub_stylesheets=yes
81268   fi
81269fi
81270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
81271$as_echo "$glibcxx_epub_stylesheets" >&6; }
81272 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
81273  BUILD_EPUB_TRUE=
81274  BUILD_EPUB_FALSE='#'
81275else
81276  BUILD_EPUB_TRUE='#'
81277  BUILD_EPUB_FALSE=
81278fi
81279
81280
81281
81282
81283# Check for xml/html dependencies.
81284 if test $ac_cv_prog_DOXYGEN = "yes" &&
81285	       test $ac_cv_prog_DOT = "yes" &&
81286	       test $ac_cv_prog_XSLTPROC = "yes" &&
81287	       test $ac_cv_prog_XMLLINT = "yes" &&
81288	       test $glibcxx_stylesheets = "yes"; then
81289  BUILD_XML_TRUE=
81290  BUILD_XML_FALSE='#'
81291else
81292  BUILD_XML_TRUE='#'
81293  BUILD_XML_FALSE=
81294fi
81295
81296
81297 if test $ac_cv_prog_DOXYGEN = "yes" &&
81298	       test $ac_cv_prog_DOT = "yes" &&
81299	       test $ac_cv_prog_XSLTPROC = "yes" &&
81300	       test $ac_cv_prog_XMLLINT = "yes" &&
81301	       test $glibcxx_stylesheets = "yes"; then
81302  BUILD_HTML_TRUE=
81303  BUILD_HTML_FALSE='#'
81304else
81305  BUILD_HTML_TRUE='#'
81306  BUILD_HTML_FALSE=
81307fi
81308
81309
81310# Check for man dependencies.
81311 if test $ac_cv_prog_DOXYGEN = "yes" &&
81312	       test $ac_cv_prog_DOT = "yes"; then
81313  BUILD_MAN_TRUE=
81314  BUILD_MAN_FALSE='#'
81315else
81316  BUILD_MAN_TRUE='#'
81317  BUILD_MAN_FALSE=
81318fi
81319
81320
81321# Check for pdf dependencies.
81322# Extract the first word of "dblatex", so it can be a program name with args.
81323set dummy dblatex; ac_word=$2
81324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81325$as_echo_n "checking for $ac_word... " >&6; }
81326if test "${ac_cv_prog_DBLATEX+set}" = set; then :
81327  $as_echo_n "(cached) " >&6
81328else
81329  if test -n "$DBLATEX"; then
81330  ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81331else
81332as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81333for as_dir in $PATH
81334do
81335  IFS=$as_save_IFS
81336  test -z "$as_dir" && as_dir=.
81337    for ac_exec_ext in '' $ac_executable_extensions; do
81338  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81339    ac_cv_prog_DBLATEX="yes"
81340    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81341    break 2
81342  fi
81343done
81344  done
81345IFS=$as_save_IFS
81346
81347  test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81348fi
81349fi
81350DBLATEX=$ac_cv_prog_DBLATEX
81351if test -n "$DBLATEX"; then
81352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81353$as_echo "$DBLATEX" >&6; }
81354else
81355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81356$as_echo "no" >&6; }
81357fi
81358
81359
81360# Extract the first word of "pdflatex", so it can be a program name with args.
81361set dummy pdflatex; ac_word=$2
81362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81363$as_echo_n "checking for $ac_word... " >&6; }
81364if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
81365  $as_echo_n "(cached) " >&6
81366else
81367  if test -n "$PDFLATEX"; then
81368  ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81369else
81370as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81371for as_dir in $PATH
81372do
81373  IFS=$as_save_IFS
81374  test -z "$as_dir" && as_dir=.
81375    for ac_exec_ext in '' $ac_executable_extensions; do
81376  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81377    ac_cv_prog_PDFLATEX="yes"
81378    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81379    break 2
81380  fi
81381done
81382  done
81383IFS=$as_save_IFS
81384
81385  test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81386fi
81387fi
81388PDFLATEX=$ac_cv_prog_PDFLATEX
81389if test -n "$PDFLATEX"; then
81390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81391$as_echo "$PDFLATEX" >&6; }
81392else
81393  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81394$as_echo "no" >&6; }
81395fi
81396
81397
81398 if test $ac_cv_prog_DBLATEX = "yes" &&
81399	       test $ac_cv_prog_PDFLATEX = "yes"; then
81400  BUILD_PDF_TRUE=
81401  BUILD_PDF_FALSE='#'
81402else
81403  BUILD_PDF_TRUE='#'
81404  BUILD_PDF_FALSE=
81405fi
81406
81407
81408case "$build" in
81409 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81410 * ) glibcxx_include_dir_notparallel=no ;;
81411esac
81412 if test $glibcxx_include_dir_notparallel = "yes"; then
81413  INCLUDE_DIR_NOTPARALLEL_TRUE=
81414  INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81415else
81416  INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81417  INCLUDE_DIR_NOTPARALLEL_FALSE=
81418fi
81419
81420
81421# Propagate the target-specific source directories through the build chain.
81422ATOMICITY_SRCDIR=config/${atomicity_dir}
81423ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81424ATOMIC_FLAGS=${atomic_flags}
81425CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81426OS_INC_SRCDIR=config/${os_include_dir}
81427ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81428ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81429CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81430CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81431
81432
81433
81434
81435
81436
81437
81438
81439
81440
81441
81442# Add CET specific flags if Intel CET is enabled.
81443 # Check whether --enable-cet was given.
81444if test "${enable_cet+set}" = set; then :
81445  enableval=$enable_cet;
81446      case "$enableval" in
81447       yes|no|auto) ;;
81448       *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81449                          esac
81450
81451else
81452  enable_cet=no
81453fi
81454
81455
81456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
81457$as_echo_n "checking for CET support... " >&6; }
81458
81459case "$host" in
81460  i[34567]86-*-linux* | x86_64-*-linux*)
81461    case "$enable_cet" in
81462      auto)
81463	# Check if target supports multi-byte NOPs
81464	# and if assembler supports CET insn.
81465	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81466/* end confdefs.h.  */
81467
81468int
81469main ()
81470{
81471
81472#if !defined(__SSE2__)
81473#error target does not support multi-byte NOPs
81474#else
81475asm ("setssbsy");
81476#endif
81477
81478  ;
81479  return 0;
81480}
81481_ACEOF
81482if ac_fn_c_try_compile "$LINENO"; then :
81483  enable_cet=yes
81484else
81485  enable_cet=no
81486fi
81487rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81488	;;
81489      yes)
81490	# Check if assembler supports CET.
81491	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81492/* end confdefs.h.  */
81493
81494int
81495main ()
81496{
81497asm ("setssbsy");
81498  ;
81499  return 0;
81500}
81501_ACEOF
81502if ac_fn_c_try_compile "$LINENO"; then :
81503
81504else
81505  as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
81506fi
81507rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81508	;;
81509    esac
81510    ;;
81511  *)
81512    enable_cet=no
81513    ;;
81514esac
81515if test x$enable_cet = xyes; then
81516  CET_FLAGS="-fcf-protection -mshstk"
81517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
81518$as_echo "yes" >&6; }
81519else
81520  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81521$as_echo "no" >&6; }
81522fi
81523
81524EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81525EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81526
81527
81528
81529# Determine cross-compile flags and AM_CONDITIONALs.
81530#AC_SUBST(GLIBCXX_IS_NATIVE)
81531#AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81532    if test $is_hosted = yes; then
81533  GLIBCXX_HOSTED_TRUE=
81534  GLIBCXX_HOSTED_FALSE='#'
81535else
81536  GLIBCXX_HOSTED_TRUE='#'
81537  GLIBCXX_HOSTED_FALSE=
81538fi
81539
81540
81541    if test $enable_libstdcxx_pch = yes; then
81542  GLIBCXX_BUILD_PCH_TRUE=
81543  GLIBCXX_BUILD_PCH_FALSE='#'
81544else
81545  GLIBCXX_BUILD_PCH_TRUE='#'
81546  GLIBCXX_BUILD_PCH_FALSE=
81547fi
81548
81549
81550    if test $enable_float128 = yes; then
81551  ENABLE_FLOAT128_TRUE=
81552  ENABLE_FLOAT128_FALSE='#'
81553else
81554  ENABLE_FLOAT128_TRUE='#'
81555  ENABLE_FLOAT128_FALSE=
81556fi
81557
81558
81559    if test $enable_libstdcxx_allocator_flag = new; then
81560  ENABLE_ALLOCATOR_NEW_TRUE=
81561  ENABLE_ALLOCATOR_NEW_FALSE='#'
81562else
81563  ENABLE_ALLOCATOR_NEW_TRUE='#'
81564  ENABLE_ALLOCATOR_NEW_FALSE=
81565fi
81566
81567
81568    if test $enable_cheaders = c; then
81569  GLIBCXX_C_HEADERS_C_TRUE=
81570  GLIBCXX_C_HEADERS_C_FALSE='#'
81571else
81572  GLIBCXX_C_HEADERS_C_TRUE='#'
81573  GLIBCXX_C_HEADERS_C_FALSE=
81574fi
81575
81576
81577    if test $enable_cheaders = c_std; then
81578  GLIBCXX_C_HEADERS_C_STD_TRUE=
81579  GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81580else
81581  GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81582  GLIBCXX_C_HEADERS_C_STD_FALSE=
81583fi
81584
81585
81586    if test $enable_cheaders = c_global; then
81587  GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81588  GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81589else
81590  GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81591  GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81592fi
81593
81594
81595    if test $c_compatibility = yes; then
81596  GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81597  GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81598else
81599  GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81600  GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81601fi
81602
81603
81604    if test $enable_libstdcxx_debug = yes; then
81605  GLIBCXX_BUILD_DEBUG_TRUE=
81606  GLIBCXX_BUILD_DEBUG_FALSE='#'
81607else
81608  GLIBCXX_BUILD_DEBUG_TRUE='#'
81609  GLIBCXX_BUILD_DEBUG_FALSE=
81610fi
81611
81612
81613    if test $enable_extern_template = yes; then
81614  ENABLE_EXTERN_TEMPLATE_TRUE=
81615  ENABLE_EXTERN_TEMPLATE_FALSE='#'
81616else
81617  ENABLE_EXTERN_TEMPLATE_TRUE='#'
81618  ENABLE_EXTERN_TEMPLATE_FALSE=
81619fi
81620
81621
81622    if test $python_mod_dir != no; then
81623  ENABLE_PYTHONDIR_TRUE=
81624  ENABLE_PYTHONDIR_FALSE='#'
81625else
81626  ENABLE_PYTHONDIR_TRUE='#'
81627  ENABLE_PYTHONDIR_FALSE=
81628fi
81629
81630
81631    if test $enable_werror = yes; then
81632  ENABLE_WERROR_TRUE=
81633  ENABLE_WERROR_FALSE='#'
81634else
81635  ENABLE_WERROR_TRUE='#'
81636  ENABLE_WERROR_FALSE=
81637fi
81638
81639
81640    if test $enable_vtable_verify = yes; then
81641  ENABLE_VTABLE_VERIFY_TRUE=
81642  ENABLE_VTABLE_VERIFY_FALSE='#'
81643else
81644  ENABLE_VTABLE_VERIFY_TRUE='#'
81645  ENABLE_VTABLE_VERIFY_FALSE=
81646fi
81647
81648
81649    if test $enable_symvers != no; then
81650  ENABLE_SYMVERS_TRUE=
81651  ENABLE_SYMVERS_FALSE='#'
81652else
81653  ENABLE_SYMVERS_TRUE='#'
81654  ENABLE_SYMVERS_FALSE=
81655fi
81656
81657
81658    if test $enable_symvers = gnu; then
81659  ENABLE_SYMVERS_GNU_TRUE=
81660  ENABLE_SYMVERS_GNU_FALSE='#'
81661else
81662  ENABLE_SYMVERS_GNU_TRUE='#'
81663  ENABLE_SYMVERS_GNU_FALSE=
81664fi
81665
81666
81667    if test $enable_symvers = gnu-versioned-namespace; then
81668  ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81669  ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81670else
81671  ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81672  ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81673fi
81674
81675
81676    if test $enable_symvers = darwin; then
81677  ENABLE_SYMVERS_DARWIN_TRUE=
81678  ENABLE_SYMVERS_DARWIN_FALSE='#'
81679else
81680  ENABLE_SYMVERS_DARWIN_TRUE='#'
81681  ENABLE_SYMVERS_DARWIN_FALSE=
81682fi
81683
81684
81685    if test $enable_symvers = sun; then
81686  ENABLE_SYMVERS_SUN_TRUE=
81687  ENABLE_SYMVERS_SUN_FALSE='#'
81688else
81689  ENABLE_SYMVERS_SUN_TRUE='#'
81690  ENABLE_SYMVERS_SUN_FALSE=
81691fi
81692
81693
81694    if test $enable_libstdcxx_visibility = yes; then
81695  ENABLE_VISIBILITY_TRUE=
81696  ENABLE_VISIBILITY_FALSE='#'
81697else
81698  ENABLE_VISIBILITY_TRUE='#'
81699  ENABLE_VISIBILITY_FALSE=
81700fi
81701
81702
81703    if test $enable_libstdcxx_dual_abi = yes; then
81704  ENABLE_DUAL_ABI_TRUE=
81705  ENABLE_DUAL_ABI_FALSE='#'
81706else
81707  ENABLE_DUAL_ABI_TRUE='#'
81708  ENABLE_DUAL_ABI_FALSE=
81709fi
81710
81711
81712    if test $glibcxx_cxx11_abi = 1; then
81713  ENABLE_CXX11_ABI_TRUE=
81714  ENABLE_CXX11_ABI_FALSE='#'
81715else
81716  ENABLE_CXX11_ABI_TRUE='#'
81717  ENABLE_CXX11_ABI_FALSE=
81718fi
81719
81720
81721    if test $ac_ldbl_compat = yes; then
81722  GLIBCXX_LDBL_COMPAT_TRUE=
81723  GLIBCXX_LDBL_COMPAT_FALSE='#'
81724else
81725  GLIBCXX_LDBL_COMPAT_TRUE='#'
81726  GLIBCXX_LDBL_COMPAT_FALSE=
81727fi
81728
81729
81730    if test $enable_libstdcxx_filesystem_ts = yes; then
81731  ENABLE_FILESYSTEM_TS_TRUE=
81732  ENABLE_FILESYSTEM_TS_FALSE='#'
81733else
81734  ENABLE_FILESYSTEM_TS_TRUE='#'
81735  ENABLE_FILESYSTEM_TS_FALSE=
81736fi
81737
81738
81739
81740
81741cat >confcache <<\_ACEOF
81742# This file is a shell script that caches the results of configure
81743# tests run on this system so they can be shared between configure
81744# scripts and configure runs, see configure's option --config-cache.
81745# It is not useful on other systems.  If it contains results you don't
81746# want to keep, you may remove or edit it.
81747#
81748# config.status only pays attention to the cache file if you give it
81749# the --recheck option to rerun configure.
81750#
81751# `ac_cv_env_foo' variables (set or unset) will be overridden when
81752# loading this file, other *unset* `ac_cv_foo' will be assigned the
81753# following values.
81754
81755_ACEOF
81756
81757# The following way of writing the cache mishandles newlines in values,
81758# but we know of no workaround that is simple, portable, and efficient.
81759# So, we kill variables containing newlines.
81760# Ultrix sh set writes to stderr and can't be redirected directly,
81761# and sets the high bit in the cache file unless we assign to the vars.
81762(
81763  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81764    eval ac_val=\$$ac_var
81765    case $ac_val in #(
81766    *${as_nl}*)
81767      case $ac_var in #(
81768      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81769$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81770      esac
81771      case $ac_var in #(
81772      _ | IFS | as_nl) ;; #(
81773      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81774      *) { eval $ac_var=; unset $ac_var;} ;;
81775      esac ;;
81776    esac
81777  done
81778
81779  (set) 2>&1 |
81780    case $as_nl`(ac_space=' '; set) 2>&1` in #(
81781    *${as_nl}ac_space=\ *)
81782      # `set' does not quote correctly, so add quotes: double-quote
81783      # substitution turns \\\\ into \\, and sed turns \\ into \.
81784      sed -n \
81785	"s/'/'\\\\''/g;
81786	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81787      ;; #(
81788    *)
81789      # `set' quotes correctly as required by POSIX, so do not add quotes.
81790      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81791      ;;
81792    esac |
81793    sort
81794) |
81795  sed '
81796     /^ac_cv_env_/b end
81797     t clear
81798     :clear
81799     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81800     t end
81801     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81802     :end' >>confcache
81803if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81804  if test -w "$cache_file"; then
81805    test "x$cache_file" != "x/dev/null" &&
81806      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81807$as_echo "$as_me: updating cache $cache_file" >&6;}
81808    cat confcache >$cache_file
81809  else
81810    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81811$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81812  fi
81813fi
81814rm -f confcache
81815
81816if test ${multilib} = yes; then
81817  multilib_arg="--enable-multilib"
81818else
81819  multilib_arg=
81820fi
81821
81822# Export all the install information.
81823
81824  glibcxx_toolexecdir=no
81825  glibcxx_toolexeclibdir=no
81826  glibcxx_prefixdir=$prefix
81827
81828  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81829$as_echo_n "checking for gxx-include-dir... " >&6; }
81830
81831# Check whether --with-gxx-include-dir was given.
81832if test "${with_gxx_include_dir+set}" = set; then :
81833  withval=$with_gxx_include_dir; case "$withval" in
81834      yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81835      no)  gxx_include_dir=no ;;
81836      *)   gxx_include_dir=$withval ;;
81837     esac
81838else
81839  gxx_include_dir=no
81840fi
81841
81842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81843$as_echo "$gxx_include_dir" >&6; }
81844
81845  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81846$as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81847  # Check whether --enable-version-specific-runtime-libs was given.
81848if test "${enable_version_specific_runtime_libs+set}" = set; then :
81849  enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81850      yes) version_specific_libs=yes ;;
81851      no)  version_specific_libs=no ;;
81852      *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81853     esac
81854else
81855  version_specific_libs=no
81856fi
81857
81858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81859$as_echo "$version_specific_libs" >&6; }
81860
81861  # Default case for install directory for include files.
81862  if test $version_specific_libs = no && test $gxx_include_dir = no; then
81863    gxx_include_dir='include/c++/${gcc_version}'
81864    if test -n "$with_cross_host" &&
81865       test x"$with_cross_host" != x"no"; then
81866      gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81867    else
81868      gxx_include_dir='${prefix}/'"$gxx_include_dir"
81869    fi
81870  fi
81871
81872  # Version-specific runtime libs processing.
81873  if test $version_specific_libs = yes; then
81874    # Need the gcc compiler version to know where to install libraries
81875    # and header files if --enable-version-specific-runtime-libs option
81876    # is selected.  FIXME: these variables are misnamed, there are
81877    # no executables installed in _toolexecdir or _toolexeclibdir.
81878    if test x"$gxx_include_dir" = x"no"; then
81879      gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81880    fi
81881    glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81882    glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81883  fi
81884
81885  # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81886  # Install a library built with a cross compiler in tooldir, not libdir.
81887  if test x"$glibcxx_toolexecdir" = x"no"; then
81888    if test -n "$with_cross_host" &&
81889       test x"$with_cross_host" != x"no"; then
81890      glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81891      glibcxx_toolexeclibdir='${toolexecdir}/lib'
81892    else
81893      glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81894      glibcxx_toolexeclibdir='${libdir}'
81895    fi
81896    multi_os_directory=`$CXX -print-multi-os-directory`
81897    case $multi_os_directory in
81898      .) ;; # Avoid trailing /.
81899      *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81900    esac
81901  fi
81902
81903  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81904$as_echo_n "checking for install location... " >&6; }
81905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81906$as_echo "$gxx_include_dir" >&6; }
81907
81908
81909
81910
81911
81912
81913
81914# Export all the include and flag information to Makefiles.
81915
81916  # Used for every C++ compile we perform.
81917  GLIBCXX_INCLUDES="\
81918-I$glibcxx_builddir/include/$host_alias \
81919-I$glibcxx_builddir/include \
81920-I$glibcxx_srcdir/libsupc++"
81921
81922  # For Canadian crosses, pick this up too.
81923  if test $CANADIAN = yes; then
81924    GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81925  fi
81926
81927  # Stuff in the actual top level.  Currently only used by libsupc++ to
81928  # get unwind* headers from the libgcc dir.
81929  #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81930  TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81931
81932  # Now, export this to all the little Makefiles....
81933
81934
81935
81936
81937  # Optimization flags that are probably a good idea for thrill-seekers. Just
81938  # uncomment the lines below and make, everything else is ready to go...
81939  # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81940  # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81941
81942
81943  WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81944
81945
81946
81947# Determine what GCC version number to use in filesystem paths.
81948
81949  get_gcc_base_ver="cat"
81950
81951# Check whether --with-gcc-major-version-only was given.
81952if test "${with_gcc_major_version_only+set}" = set; then :
81953  withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
81954        get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
81955      fi
81956
81957fi
81958
81959
81960
81961
81962ac_config_files="$ac_config_files Makefile"
81963
81964ac_config_files="$ac_config_files scripts/testsuite_flags"
81965
81966ac_config_files="$ac_config_files scripts/extract_symvers"
81967
81968ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81969
81970
81971# Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81972# that multilib installs will end up installed in the correct place.
81973# The testsuite needs it for multilib-aware ABI baseline files.
81974# To work around this not being passed down from config-ml.in ->
81975# srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81976# append it here.  Only modify Makefiles that have just been created.
81977#
81978# Also, get rid of this simulated-VPATH thing that automake does.
81979ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
81980
81981
81982ac_config_commands="$ac_config_commands generate-headers"
81983
81984
81985cat >confcache <<\_ACEOF
81986# This file is a shell script that caches the results of configure
81987# tests run on this system so they can be shared between configure
81988# scripts and configure runs, see configure's option --config-cache.
81989# It is not useful on other systems.  If it contains results you don't
81990# want to keep, you may remove or edit it.
81991#
81992# config.status only pays attention to the cache file if you give it
81993# the --recheck option to rerun configure.
81994#
81995# `ac_cv_env_foo' variables (set or unset) will be overridden when
81996# loading this file, other *unset* `ac_cv_foo' will be assigned the
81997# following values.
81998
81999_ACEOF
82000
82001# The following way of writing the cache mishandles newlines in values,
82002# but we know of no workaround that is simple, portable, and efficient.
82003# So, we kill variables containing newlines.
82004# Ultrix sh set writes to stderr and can't be redirected directly,
82005# and sets the high bit in the cache file unless we assign to the vars.
82006(
82007  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
82008    eval ac_val=\$$ac_var
82009    case $ac_val in #(
82010    *${as_nl}*)
82011      case $ac_var in #(
82012      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
82013$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
82014      esac
82015      case $ac_var in #(
82016      _ | IFS | as_nl) ;; #(
82017      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
82018      *) { eval $ac_var=; unset $ac_var;} ;;
82019      esac ;;
82020    esac
82021  done
82022
82023  (set) 2>&1 |
82024    case $as_nl`(ac_space=' '; set) 2>&1` in #(
82025    *${as_nl}ac_space=\ *)
82026      # `set' does not quote correctly, so add quotes: double-quote
82027      # substitution turns \\\\ into \\, and sed turns \\ into \.
82028      sed -n \
82029	"s/'/'\\\\''/g;
82030	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
82031      ;; #(
82032    *)
82033      # `set' quotes correctly as required by POSIX, so do not add quotes.
82034      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
82035      ;;
82036    esac |
82037    sort
82038) |
82039  sed '
82040     /^ac_cv_env_/b end
82041     t clear
82042     :clear
82043     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
82044     t end
82045     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
82046     :end' >>confcache
82047if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
82048  if test -w "$cache_file"; then
82049    test "x$cache_file" != "x/dev/null" &&
82050      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
82051$as_echo "$as_me: updating cache $cache_file" >&6;}
82052    cat confcache >$cache_file
82053  else
82054    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
82055$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
82056  fi
82057fi
82058rm -f confcache
82059
82060test "x$prefix" = xNONE && prefix=$ac_default_prefix
82061# Let make expand exec_prefix.
82062test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
82063
82064DEFS=-DHAVE_CONFIG_H
82065
82066ac_libobjs=
82067ac_ltlibobjs=
82068for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
82069  # 1. Remove the extension, and $U if already installed.
82070  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
82071  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
82072  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
82073  #    will be set to the directory where LIBOBJS objects are built.
82074  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
82075  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
82076done
82077LIBOBJS=$ac_libobjs
82078
82079LTLIBOBJS=$ac_ltlibobjs
82080
82081
82082 if test -n "$EXEEXT"; then
82083  am__EXEEXT_TRUE=
82084  am__EXEEXT_FALSE='#'
82085else
82086  am__EXEEXT_TRUE='#'
82087  am__EXEEXT_FALSE=
82088fi
82089
82090if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
82091  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
82092Usually this means the macro was only invoked conditionally." "$LINENO" 5
82093fi
82094if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
82095  as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
82096Usually this means the macro was only invoked conditionally." "$LINENO" 5
82097fi
82098if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
82099  as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
82100Usually this means the macro was only invoked conditionally." "$LINENO" 5
82101fi
82102if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
82103  as_fn_error "conditional \"ENABLE_FLOAT128\" was never defined.
82104Usually this means the macro was only invoked conditionally." "$LINENO" 5
82105fi
82106if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
82107  as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
82108Usually this means the macro was only invoked conditionally." "$LINENO" 5
82109fi
82110if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
82111  as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
82112Usually this means the macro was only invoked conditionally." "$LINENO" 5
82113fi
82114if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
82115  as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
82116Usually this means the macro was only invoked conditionally." "$LINENO" 5
82117fi
82118if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
82119  as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
82120Usually this means the macro was only invoked conditionally." "$LINENO" 5
82121fi
82122if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
82123  as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
82124Usually this means the macro was only invoked conditionally." "$LINENO" 5
82125fi
82126if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
82127  as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
82128Usually this means the macro was only invoked conditionally." "$LINENO" 5
82129fi
82130if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
82131  as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
82132Usually this means the macro was only invoked conditionally." "$LINENO" 5
82133fi
82134if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
82135  as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
82136Usually this means the macro was only invoked conditionally." "$LINENO" 5
82137fi
82138if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
82139  as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
82140Usually this means the macro was only invoked conditionally." "$LINENO" 5
82141fi
82142if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
82143  as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
82144Usually this means the macro was only invoked conditionally." "$LINENO" 5
82145fi
82146if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
82147  as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
82148Usually this means the macro was only invoked conditionally." "$LINENO" 5
82149fi
82150if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
82151  as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
82152Usually this means the macro was only invoked conditionally." "$LINENO" 5
82153fi
82154if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
82155  as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
82156Usually this means the macro was only invoked conditionally." "$LINENO" 5
82157fi
82158if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
82159  as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
82160Usually this means the macro was only invoked conditionally." "$LINENO" 5
82161fi
82162if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
82163  as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
82164Usually this means the macro was only invoked conditionally." "$LINENO" 5
82165fi
82166if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
82167  as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
82168Usually this means the macro was only invoked conditionally." "$LINENO" 5
82169fi
82170if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
82171  as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
82172Usually this means the macro was only invoked conditionally." "$LINENO" 5
82173fi
82174if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
82175  as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
82176Usually this means the macro was only invoked conditionally." "$LINENO" 5
82177fi
82178if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
82179  as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
82180Usually this means the macro was only invoked conditionally." "$LINENO" 5
82181fi
82182if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
82183  as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
82184Usually this means the macro was only invoked conditionally." "$LINENO" 5
82185fi
82186if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
82187  as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
82188Usually this means the macro was only invoked conditionally." "$LINENO" 5
82189fi
82190if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
82191  as_fn_error "conditional \"BUILD_INFO\" was never defined.
82192Usually this means the macro was only invoked conditionally." "$LINENO" 5
82193fi
82194if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
82195  as_fn_error "conditional \"BUILD_EPUB\" was never defined.
82196Usually this means the macro was only invoked conditionally." "$LINENO" 5
82197fi
82198if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
82199  as_fn_error "conditional \"BUILD_XML\" was never defined.
82200Usually this means the macro was only invoked conditionally." "$LINENO" 5
82201fi
82202if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
82203  as_fn_error "conditional \"BUILD_HTML\" was never defined.
82204Usually this means the macro was only invoked conditionally." "$LINENO" 5
82205fi
82206if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
82207  as_fn_error "conditional \"BUILD_MAN\" was never defined.
82208Usually this means the macro was only invoked conditionally." "$LINENO" 5
82209fi
82210if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
82211  as_fn_error "conditional \"BUILD_PDF\" was never defined.
82212Usually this means the macro was only invoked conditionally." "$LINENO" 5
82213fi
82214if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
82215  as_fn_error "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
82216Usually this means the macro was only invoked conditionally." "$LINENO" 5
82217fi
82218
82219: ${CONFIG_STATUS=./config.status}
82220ac_write_fail=0
82221ac_clean_files_save=$ac_clean_files
82222ac_clean_files="$ac_clean_files $CONFIG_STATUS"
82223{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
82224$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
82225as_write_fail=0
82226cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
82227#! $SHELL
82228# Generated by $as_me.
82229# Run this file to recreate the current configuration.
82230# Compiler output produced by configure, useful for debugging
82231# configure, is in config.log if it exists.
82232
82233debug=false
82234ac_cs_recheck=false
82235ac_cs_silent=false
82236
82237SHELL=\${CONFIG_SHELL-$SHELL}
82238export SHELL
82239_ASEOF
82240cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
82241## -------------------- ##
82242## M4sh Initialization. ##
82243## -------------------- ##
82244
82245# Be more Bourne compatible
82246DUALCASE=1; export DUALCASE # for MKS sh
82247if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
82248  emulate sh
82249  NULLCMD=:
82250  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
82251  # is contrary to our usage.  Disable this feature.
82252  alias -g '${1+"$@"}'='"$@"'
82253  setopt NO_GLOB_SUBST
82254else
82255  case `(set -o) 2>/dev/null` in #(
82256  *posix*) :
82257    set -o posix ;; #(
82258  *) :
82259     ;;
82260esac
82261fi
82262
82263
82264as_nl='
82265'
82266export as_nl
82267# Printing a long string crashes Solaris 7 /usr/bin/printf.
82268as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
82269as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
82270as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
82271# Prefer a ksh shell builtin over an external printf program on Solaris,
82272# but without wasting forks for bash or zsh.
82273if test -z "$BASH_VERSION$ZSH_VERSION" \
82274    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
82275  as_echo='print -r --'
82276  as_echo_n='print -rn --'
82277elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
82278  as_echo='printf %s\n'
82279  as_echo_n='printf %s'
82280else
82281  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
82282    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
82283    as_echo_n='/usr/ucb/echo -n'
82284  else
82285    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
82286    as_echo_n_body='eval
82287      arg=$1;
82288      case $arg in #(
82289      *"$as_nl"*)
82290	expr "X$arg" : "X\\(.*\\)$as_nl";
82291	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
82292      esac;
82293      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
82294    '
82295    export as_echo_n_body
82296    as_echo_n='sh -c $as_echo_n_body as_echo'
82297  fi
82298  export as_echo_body
82299  as_echo='sh -c $as_echo_body as_echo'
82300fi
82301
82302# The user is always right.
82303if test "${PATH_SEPARATOR+set}" != set; then
82304  PATH_SEPARATOR=:
82305  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82306    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82307      PATH_SEPARATOR=';'
82308  }
82309fi
82310
82311
82312# IFS
82313# We need space, tab and new line, in precisely that order.  Quoting is
82314# there to prevent editors from complaining about space-tab.
82315# (If _AS_PATH_WALK were called with IFS unset, it would disable word
82316# splitting by setting IFS to empty value.)
82317IFS=" ""	$as_nl"
82318
82319# Find who we are.  Look in the path if we contain no directory separator.
82320case $0 in #((
82321  *[\\/]* ) as_myself=$0 ;;
82322  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82323for as_dir in $PATH
82324do
82325  IFS=$as_save_IFS
82326  test -z "$as_dir" && as_dir=.
82327    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82328  done
82329IFS=$as_save_IFS
82330
82331     ;;
82332esac
82333# We did not find ourselves, most probably we were run as `sh COMMAND'
82334# in which case we are not to be found in the path.
82335if test "x$as_myself" = x; then
82336  as_myself=$0
82337fi
82338if test ! -f "$as_myself"; then
82339  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82340  exit 1
82341fi
82342
82343# Unset variables that we do not need and which cause bugs (e.g. in
82344# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
82345# suppresses any "Segmentation fault" message there.  '((' could
82346# trigger a bug in pdksh 5.2.14.
82347for as_var in BASH_ENV ENV MAIL MAILPATH
82348do eval test x\${$as_var+set} = xset \
82349  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82350done
82351PS1='$ '
82352PS2='> '
82353PS4='+ '
82354
82355# NLS nuisances.
82356LC_ALL=C
82357export LC_ALL
82358LANGUAGE=C
82359export LANGUAGE
82360
82361# CDPATH.
82362(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82363
82364
82365# as_fn_error ERROR [LINENO LOG_FD]
82366# ---------------------------------
82367# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82368# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82369# script with status $?, using 1 if that was 0.
82370as_fn_error ()
82371{
82372  as_status=$?; test $as_status -eq 0 && as_status=1
82373  if test "$3"; then
82374    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82375    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
82376  fi
82377  $as_echo "$as_me: error: $1" >&2
82378  as_fn_exit $as_status
82379} # as_fn_error
82380
82381
82382# as_fn_set_status STATUS
82383# -----------------------
82384# Set $? to STATUS, without forking.
82385as_fn_set_status ()
82386{
82387  return $1
82388} # as_fn_set_status
82389
82390# as_fn_exit STATUS
82391# -----------------
82392# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82393as_fn_exit ()
82394{
82395  set +e
82396  as_fn_set_status $1
82397  exit $1
82398} # as_fn_exit
82399
82400# as_fn_unset VAR
82401# ---------------
82402# Portably unset VAR.
82403as_fn_unset ()
82404{
82405  { eval $1=; unset $1;}
82406}
82407as_unset=as_fn_unset
82408# as_fn_append VAR VALUE
82409# ----------------------
82410# Append the text in VALUE to the end of the definition contained in VAR. Take
82411# advantage of any shell optimizations that allow amortized linear growth over
82412# repeated appends, instead of the typical quadratic growth present in naive
82413# implementations.
82414if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82415  eval 'as_fn_append ()
82416  {
82417    eval $1+=\$2
82418  }'
82419else
82420  as_fn_append ()
82421  {
82422    eval $1=\$$1\$2
82423  }
82424fi # as_fn_append
82425
82426# as_fn_arith ARG...
82427# ------------------
82428# Perform arithmetic evaluation on the ARGs, and store the result in the
82429# global $as_val. Take advantage of shells that can avoid forks. The arguments
82430# must be portable across $(()) and expr.
82431if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82432  eval 'as_fn_arith ()
82433  {
82434    as_val=$(( $* ))
82435  }'
82436else
82437  as_fn_arith ()
82438  {
82439    as_val=`expr "$@" || test $? -eq 1`
82440  }
82441fi # as_fn_arith
82442
82443
82444if expr a : '\(a\)' >/dev/null 2>&1 &&
82445   test "X`expr 00001 : '.*\(...\)'`" = X001; then
82446  as_expr=expr
82447else
82448  as_expr=false
82449fi
82450
82451if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82452  as_basename=basename
82453else
82454  as_basename=false
82455fi
82456
82457if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82458  as_dirname=dirname
82459else
82460  as_dirname=false
82461fi
82462
82463as_me=`$as_basename -- "$0" ||
82464$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82465	 X"$0" : 'X\(//\)$' \| \
82466	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82467$as_echo X/"$0" |
82468    sed '/^.*\/\([^/][^/]*\)\/*$/{
82469	    s//\1/
82470	    q
82471	  }
82472	  /^X\/\(\/\/\)$/{
82473	    s//\1/
82474	    q
82475	  }
82476	  /^X\/\(\/\).*/{
82477	    s//\1/
82478	    q
82479	  }
82480	  s/.*/./; q'`
82481
82482# Avoid depending upon Character Ranges.
82483as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82484as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82485as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82486as_cr_digits='0123456789'
82487as_cr_alnum=$as_cr_Letters$as_cr_digits
82488
82489ECHO_C= ECHO_N= ECHO_T=
82490case `echo -n x` in #(((((
82491-n*)
82492  case `echo 'xy\c'` in
82493  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
82494  xy)  ECHO_C='\c';;
82495  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
82496       ECHO_T='	';;
82497  esac;;
82498*)
82499  ECHO_N='-n';;
82500esac
82501
82502rm -f conf$$ conf$$.exe conf$$.file
82503if test -d conf$$.dir; then
82504  rm -f conf$$.dir/conf$$.file
82505else
82506  rm -f conf$$.dir
82507  mkdir conf$$.dir 2>/dev/null
82508fi
82509if (echo >conf$$.file) 2>/dev/null; then
82510  if ln -s conf$$.file conf$$ 2>/dev/null; then
82511    as_ln_s='ln -s'
82512    # ... but there are two gotchas:
82513    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82514    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82515    # In both cases, we have to default to `cp -p'.
82516    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82517      as_ln_s='cp -p'
82518  elif ln conf$$.file conf$$ 2>/dev/null; then
82519    as_ln_s=ln
82520  else
82521    as_ln_s='cp -p'
82522  fi
82523else
82524  as_ln_s='cp -p'
82525fi
82526rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82527rmdir conf$$.dir 2>/dev/null
82528
82529
82530# as_fn_mkdir_p
82531# -------------
82532# Create "$as_dir" as a directory, including parents if necessary.
82533as_fn_mkdir_p ()
82534{
82535
82536  case $as_dir in #(
82537  -*) as_dir=./$as_dir;;
82538  esac
82539  test -d "$as_dir" || eval $as_mkdir_p || {
82540    as_dirs=
82541    while :; do
82542      case $as_dir in #(
82543      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82544      *) as_qdir=$as_dir;;
82545      esac
82546      as_dirs="'$as_qdir' $as_dirs"
82547      as_dir=`$as_dirname -- "$as_dir" ||
82548$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82549	 X"$as_dir" : 'X\(//\)[^/]' \| \
82550	 X"$as_dir" : 'X\(//\)$' \| \
82551	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82552$as_echo X"$as_dir" |
82553    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82554	    s//\1/
82555	    q
82556	  }
82557	  /^X\(\/\/\)[^/].*/{
82558	    s//\1/
82559	    q
82560	  }
82561	  /^X\(\/\/\)$/{
82562	    s//\1/
82563	    q
82564	  }
82565	  /^X\(\/\).*/{
82566	    s//\1/
82567	    q
82568	  }
82569	  s/.*/./; q'`
82570      test -d "$as_dir" && break
82571    done
82572    test -z "$as_dirs" || eval "mkdir $as_dirs"
82573  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
82574
82575
82576} # as_fn_mkdir_p
82577if mkdir -p . 2>/dev/null; then
82578  as_mkdir_p='mkdir -p "$as_dir"'
82579else
82580  test -d ./-p && rmdir ./-p
82581  as_mkdir_p=false
82582fi
82583
82584if test -x / >/dev/null 2>&1; then
82585  as_test_x='test -x'
82586else
82587  if ls -dL / >/dev/null 2>&1; then
82588    as_ls_L_option=L
82589  else
82590    as_ls_L_option=
82591  fi
82592  as_test_x='
82593    eval sh -c '\''
82594      if test -d "$1"; then
82595	test -d "$1/.";
82596      else
82597	case $1 in #(
82598	-*)set "./$1";;
82599	esac;
82600	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82601	???[sx]*):;;*)false;;esac;fi
82602    '\'' sh
82603  '
82604fi
82605as_executable_p=$as_test_x
82606
82607# Sed expression to map a string onto a valid CPP name.
82608as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82609
82610# Sed expression to map a string onto a valid variable name.
82611as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82612
82613
82614exec 6>&1
82615## ----------------------------------- ##
82616## Main body of $CONFIG_STATUS script. ##
82617## ----------------------------------- ##
82618_ASEOF
82619test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82620
82621cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82622# Save the log message, to keep $0 and so on meaningful, and to
82623# report actual input values of CONFIG_FILES etc. instead of their
82624# values after options handling.
82625ac_log="
82626This file was extended by package-unused $as_me version-unused, which was
82627generated by GNU Autoconf 2.64.  Invocation command line was
82628
82629  CONFIG_FILES    = $CONFIG_FILES
82630  CONFIG_HEADERS  = $CONFIG_HEADERS
82631  CONFIG_LINKS    = $CONFIG_LINKS
82632  CONFIG_COMMANDS = $CONFIG_COMMANDS
82633  $ $0 $@
82634
82635on `(hostname || uname -n) 2>/dev/null | sed 1q`
82636"
82637
82638_ACEOF
82639
82640case $ac_config_files in *"
82641"*) set x $ac_config_files; shift; ac_config_files=$*;;
82642esac
82643
82644case $ac_config_headers in *"
82645"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82646esac
82647
82648
82649cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82650# Files that config.status was made for.
82651config_files="$ac_config_files"
82652config_headers="$ac_config_headers"
82653config_commands="$ac_config_commands"
82654
82655_ACEOF
82656
82657cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82658ac_cs_usage="\
82659\`$as_me' instantiates files and other configuration actions
82660from templates according to the current configuration.  Unless the files
82661and actions are specified as TAGs, all are instantiated by default.
82662
82663Usage: $0 [OPTION]... [TAG]...
82664
82665  -h, --help       print this help, then exit
82666  -V, --version    print version number and configuration settings, then exit
82667  -q, --quiet, --silent
82668                   do not print progress messages
82669  -d, --debug      don't remove temporary files
82670      --recheck    update $as_me by reconfiguring in the same conditions
82671      --file=FILE[:TEMPLATE]
82672                   instantiate the configuration file FILE
82673      --header=FILE[:TEMPLATE]
82674                   instantiate the configuration header FILE
82675
82676Configuration files:
82677$config_files
82678
82679Configuration headers:
82680$config_headers
82681
82682Configuration commands:
82683$config_commands
82684
82685Report bugs to the package provider."
82686
82687_ACEOF
82688cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82689ac_cs_version="\\
82690package-unused config.status version-unused
82691configured by $0, generated by GNU Autoconf 2.64,
82692  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82693
82694Copyright (C) 2009 Free Software Foundation, Inc.
82695This config.status script is free software; the Free Software Foundation
82696gives unlimited permission to copy, distribute and modify it."
82697
82698ac_pwd='$ac_pwd'
82699srcdir='$srcdir'
82700INSTALL='$INSTALL'
82701MKDIR_P='$MKDIR_P'
82702AWK='$AWK'
82703test -n "\$AWK" || AWK=awk
82704_ACEOF
82705
82706cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82707# The default lists apply if the user does not specify any file.
82708ac_need_defaults=:
82709while test $# != 0
82710do
82711  case $1 in
82712  --*=*)
82713    ac_option=`expr "X$1" : 'X\([^=]*\)='`
82714    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82715    ac_shift=:
82716    ;;
82717  *)
82718    ac_option=$1
82719    ac_optarg=$2
82720    ac_shift=shift
82721    ;;
82722  esac
82723
82724  case $ac_option in
82725  # Handling of the options.
82726  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82727    ac_cs_recheck=: ;;
82728  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82729    $as_echo "$ac_cs_version"; exit ;;
82730  --debug | --debu | --deb | --de | --d | -d )
82731    debug=: ;;
82732  --file | --fil | --fi | --f )
82733    $ac_shift
82734    case $ac_optarg in
82735    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82736    esac
82737    as_fn_append CONFIG_FILES " '$ac_optarg'"
82738    ac_need_defaults=false;;
82739  --header | --heade | --head | --hea )
82740    $ac_shift
82741    case $ac_optarg in
82742    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82743    esac
82744    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82745    ac_need_defaults=false;;
82746  --he | --h)
82747    # Conflict between --help and --header
82748    as_fn_error "ambiguous option: \`$1'
82749Try \`$0 --help' for more information.";;
82750  --help | --hel | -h )
82751    $as_echo "$ac_cs_usage"; exit ;;
82752  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82753  | -silent | --silent | --silen | --sile | --sil | --si | --s)
82754    ac_cs_silent=: ;;
82755
82756  # This is an error.
82757  -*) as_fn_error "unrecognized option: \`$1'
82758Try \`$0 --help' for more information." ;;
82759
82760  *) as_fn_append ac_config_targets " $1"
82761     ac_need_defaults=false ;;
82762
82763  esac
82764  shift
82765done
82766
82767ac_configure_extra_args=
82768
82769if $ac_cs_silent; then
82770  exec 6>/dev/null
82771  ac_configure_extra_args="$ac_configure_extra_args --silent"
82772fi
82773
82774_ACEOF
82775cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82776if \$ac_cs_recheck; then
82777  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82778  shift
82779  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82780  CONFIG_SHELL='$SHELL'
82781  export CONFIG_SHELL
82782  exec "\$@"
82783fi
82784
82785_ACEOF
82786cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82787exec 5>>config.log
82788{
82789  echo
82790  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82791## Running $as_me. ##
82792_ASBOX
82793  $as_echo "$ac_log"
82794} >&5
82795
82796_ACEOF
82797cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82798#
82799# INIT-COMMANDS
82800#
82801
82802srcdir="$srcdir"
82803host="$host"
82804target="$target"
82805with_multisubdir="$with_multisubdir"
82806with_multisrctop="$with_multisrctop"
82807with_target_subdir="$with_target_subdir"
82808ac_configure_args="${multilib_arg} ${ac_configure_args}"
82809multi_basedir="$multi_basedir"
82810CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82811CC="$CC"
82812CXX="$CXX"
82813GFORTRAN="$GFORTRAN"
82814
82815
82816# The HP-UX ksh and POSIX shell print the target directory to stdout
82817# if CDPATH is set.
82818(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82819
82820sed_quote_subst='$sed_quote_subst'
82821double_quote_subst='$double_quote_subst'
82822delay_variable_subst='$delay_variable_subst'
82823macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82824macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82825enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82826enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82827pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82828enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82829SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82830ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82831host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82832host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82833host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82834build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82835build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82836build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82837SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82838Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82839GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82840EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82841FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82842LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82843NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82844LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82845max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82846ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82847exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82848lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82849lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82850lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82851reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82852reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82853OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82854deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82855file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82856AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82857AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82858STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82859RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82860old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82861old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82862old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82863lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82864CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82865CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82866compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82867GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82868lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82869lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82870lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82871lt_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"`'
82872objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82873MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82874lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82875lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82876lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82877lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82878lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82879need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82880DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82881NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82882LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82883OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82884OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82885libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82886shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82887extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82888archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82889enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82890export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82891whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82892compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82893old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82894old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82895archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82896archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82897module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82898module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82899with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82900allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82901no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82902hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82903hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82904hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82905hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82906hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82907hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82908hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82909hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82910inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82911link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82912fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82913always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82914export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82915exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82916include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82917prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82918file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82919variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82920need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82921need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82922version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82923runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82924shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82925shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82926libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82927library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82928soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82929install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82930postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82931postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82932finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82933finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82934hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82935sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82936sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82937hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82938enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82939enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82940enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82941old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82942striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82943compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82944predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82945postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82946predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82947postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82948compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82949LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82950reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82951reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82952old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82953compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82954GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82955lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82956lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82957lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82958lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82959lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82960archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82961enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82962export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82963whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82964compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82965old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82966old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82967archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82968archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82969module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82970module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82971with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82972allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82973no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82974hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82975hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82976hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82977hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82978hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82979hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82980hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82981hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82982inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82983link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82984fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82985always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82986export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82987exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82988include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82989prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82990file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82991hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82992compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82993predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82994postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82995predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82996postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82997compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82998
82999LTCC='$LTCC'
83000LTCFLAGS='$LTCFLAGS'
83001compiler='$compiler_DEFAULT'
83002
83003# A function that is used when there is no print builtin or printf.
83004func_fallback_echo ()
83005{
83006  eval 'cat <<_LTECHO_EOF
83007\$1
83008_LTECHO_EOF'
83009}
83010
83011# Quote evaled strings.
83012for var in SHELL \
83013ECHO \
83014SED \
83015GREP \
83016EGREP \
83017FGREP \
83018LD \
83019NM \
83020LN_S \
83021lt_SP2NL \
83022lt_NL2SP \
83023reload_flag \
83024OBJDUMP \
83025deplibs_check_method \
83026file_magic_cmd \
83027AR \
83028AR_FLAGS \
83029STRIP \
83030RANLIB \
83031CC \
83032CFLAGS \
83033compiler \
83034lt_cv_sys_global_symbol_pipe \
83035lt_cv_sys_global_symbol_to_cdecl \
83036lt_cv_sys_global_symbol_to_c_name_address \
83037lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
83038lt_prog_compiler_no_builtin_flag \
83039lt_prog_compiler_wl \
83040lt_prog_compiler_pic \
83041lt_prog_compiler_static \
83042lt_cv_prog_compiler_c_o \
83043need_locks \
83044DSYMUTIL \
83045NMEDIT \
83046LIPO \
83047OTOOL \
83048OTOOL64 \
83049shrext_cmds \
83050export_dynamic_flag_spec \
83051whole_archive_flag_spec \
83052compiler_needs_object \
83053with_gnu_ld \
83054allow_undefined_flag \
83055no_undefined_flag \
83056hardcode_libdir_flag_spec \
83057hardcode_libdir_flag_spec_ld \
83058hardcode_libdir_separator \
83059fix_srcfile_path \
83060exclude_expsyms \
83061include_expsyms \
83062file_list_spec \
83063variables_saved_for_relink \
83064libname_spec \
83065library_names_spec \
83066soname_spec \
83067install_override_mode \
83068finish_eval \
83069old_striplib \
83070striplib \
83071compiler_lib_search_dirs \
83072predep_objects \
83073postdep_objects \
83074predeps \
83075postdeps \
83076compiler_lib_search_path \
83077LD_CXX \
83078reload_flag_CXX \
83079compiler_CXX \
83080lt_prog_compiler_no_builtin_flag_CXX \
83081lt_prog_compiler_wl_CXX \
83082lt_prog_compiler_pic_CXX \
83083lt_prog_compiler_static_CXX \
83084lt_cv_prog_compiler_c_o_CXX \
83085export_dynamic_flag_spec_CXX \
83086whole_archive_flag_spec_CXX \
83087compiler_needs_object_CXX \
83088with_gnu_ld_CXX \
83089allow_undefined_flag_CXX \
83090no_undefined_flag_CXX \
83091hardcode_libdir_flag_spec_CXX \
83092hardcode_libdir_flag_spec_ld_CXX \
83093hardcode_libdir_separator_CXX \
83094fix_srcfile_path_CXX \
83095exclude_expsyms_CXX \
83096include_expsyms_CXX \
83097file_list_spec_CXX \
83098compiler_lib_search_dirs_CXX \
83099predep_objects_CXX \
83100postdep_objects_CXX \
83101predeps_CXX \
83102postdeps_CXX \
83103compiler_lib_search_path_CXX; do
83104    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83105    *[\\\\\\\`\\"\\\$]*)
83106      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
83107      ;;
83108    *)
83109      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83110      ;;
83111    esac
83112done
83113
83114# Double-quote double-evaled strings.
83115for var in reload_cmds \
83116old_postinstall_cmds \
83117old_postuninstall_cmds \
83118old_archive_cmds \
83119extract_expsyms_cmds \
83120old_archive_from_new_cmds \
83121old_archive_from_expsyms_cmds \
83122archive_cmds \
83123archive_expsym_cmds \
83124module_cmds \
83125module_expsym_cmds \
83126export_symbols_cmds \
83127prelink_cmds \
83128postinstall_cmds \
83129postuninstall_cmds \
83130finish_cmds \
83131sys_lib_search_path_spec \
83132sys_lib_dlsearch_path_spec \
83133reload_cmds_CXX \
83134old_archive_cmds_CXX \
83135old_archive_from_new_cmds_CXX \
83136old_archive_from_expsyms_cmds_CXX \
83137archive_cmds_CXX \
83138archive_expsym_cmds_CXX \
83139module_cmds_CXX \
83140module_expsym_cmds_CXX \
83141export_symbols_cmds_CXX \
83142prelink_cmds_CXX; do
83143    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83144    *[\\\\\\\`\\"\\\$]*)
83145      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
83146      ;;
83147    *)
83148      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83149      ;;
83150    esac
83151done
83152
83153ac_aux_dir='$ac_aux_dir'
83154xsi_shell='$xsi_shell'
83155lt_shell_append='$lt_shell_append'
83156
83157# See if we are running on zsh, and set the options which allow our
83158# commands through without removal of \ escapes INIT.
83159if test -n "\${ZSH_VERSION+set}" ; then
83160   setopt NO_GLOB_SUBST
83161fi
83162
83163
83164    PACKAGE='$PACKAGE'
83165    VERSION='$VERSION'
83166    TIMESTAMP='$TIMESTAMP'
83167    RM='$RM'
83168    ofile='$ofile'
83169
83170
83171
83172
83173
83174
83175GCC="$GCC"
83176CC="$CC"
83177acx_cv_header_stdint="$acx_cv_header_stdint"
83178acx_cv_type_int8_t="$acx_cv_type_int8_t"
83179acx_cv_type_int16_t="$acx_cv_type_int16_t"
83180acx_cv_type_int32_t="$acx_cv_type_int32_t"
83181acx_cv_type_int64_t="$acx_cv_type_int64_t"
83182acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
83183ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
83184ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
83185ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
83186ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
83187ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
83188ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
83189ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
83190ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
83191
83192
83193_ACEOF
83194
83195cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83196
83197# Handling of arguments.
83198for ac_config_target in $ac_config_targets
83199do
83200  case $ac_config_target in
83201    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
83202    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
83203    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
83204    "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
83205    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
83206    "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
83207    "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
83208    "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
83209    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
83210    "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
83211    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
83212    "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
83213    "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
83214    "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
83215    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
83216    "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
83217    "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
83218    "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
83219    "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
83220
83221  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
83222  esac
83223done
83224
83225
83226# If the user did not use the arguments to specify the items to instantiate,
83227# then the envvar interface is used.  Set only those that are not.
83228# We use the long form for the default assignment because of an extremely
83229# bizarre bug on SunOS 4.1.3.
83230if $ac_need_defaults; then
83231  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
83232  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
83233  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
83234fi
83235
83236# Have a temporary directory for convenience.  Make it in the build tree
83237# simply because there is no reason against having it here, and in addition,
83238# creating and moving files from /tmp can sometimes cause problems.
83239# Hook for its removal unless debugging.
83240# Note that there is a small window in which the directory will not be cleaned:
83241# after its creation but before its name has been assigned to `$tmp'.
83242$debug ||
83243{
83244  tmp=
83245  trap 'exit_status=$?
83246  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
83247' 0
83248  trap 'as_fn_exit 1' 1 2 13 15
83249}
83250# Create a (secure) tmp directory for tmp files.
83251
83252{
83253  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
83254  test -n "$tmp" && test -d "$tmp"
83255}  ||
83256{
83257  tmp=./conf$$-$RANDOM
83258  (umask 077 && mkdir "$tmp")
83259} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
83260
83261# Set up the scripts for CONFIG_FILES section.
83262# No need to generate them if there are no CONFIG_FILES.
83263# This happens for instance with `./config.status config.h'.
83264if test -n "$CONFIG_FILES"; then
83265
83266
83267ac_cr=`echo X | tr X '\015'`
83268# On cygwin, bash can eat \r inside `` if the user requested igncr.
83269# But we know of no other shell where ac_cr would be empty at this
83270# point, so we can use a bashism as a fallback.
83271if test "x$ac_cr" = x; then
83272  eval ac_cr=\$\'\\r\'
83273fi
83274ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
83275if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
83276  ac_cs_awk_cr='\r'
83277else
83278  ac_cs_awk_cr=$ac_cr
83279fi
83280
83281echo 'BEGIN {' >"$tmp/subs1.awk" &&
83282_ACEOF
83283
83284
83285{
83286  echo "cat >conf$$subs.awk <<_ACEOF" &&
83287  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
83288  echo "_ACEOF"
83289} >conf$$subs.sh ||
83290  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83291ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
83292ac_delim='%!_!# '
83293for ac_last_try in false false false false false :; do
83294  . ./conf$$subs.sh ||
83295    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83296
83297  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
83298  if test $ac_delim_n = $ac_delim_num; then
83299    break
83300  elif $ac_last_try; then
83301    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83302  else
83303    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83304  fi
83305done
83306rm -f conf$$subs.sh
83307
83308cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83309cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
83310_ACEOF
83311sed -n '
83312h
83313s/^/S["/; s/!.*/"]=/
83314p
83315g
83316s/^[^!]*!//
83317:repl
83318t repl
83319s/'"$ac_delim"'$//
83320t delim
83321:nl
83322h
83323s/\(.\{148\}\).*/\1/
83324t more1
83325s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
83326p
83327n
83328b repl
83329:more1
83330s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83331p
83332g
83333s/.\{148\}//
83334t nl
83335:delim
83336h
83337s/\(.\{148\}\).*/\1/
83338t more2
83339s/["\\]/\\&/g; s/^/"/; s/$/"/
83340p
83341b
83342:more2
83343s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83344p
83345g
83346s/.\{148\}//
83347t delim
83348' <conf$$subs.awk | sed '
83349/^[^""]/{
83350  N
83351  s/\n//
83352}
83353' >>$CONFIG_STATUS || ac_write_fail=1
83354rm -f conf$$subs.awk
83355cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83356_ACAWK
83357cat >>"\$tmp/subs1.awk" <<_ACAWK &&
83358  for (key in S) S_is_set[key] = 1
83359  FS = ""
83360
83361}
83362{
83363  line = $ 0
83364  nfields = split(line, field, "@")
83365  substed = 0
83366  len = length(field[1])
83367  for (i = 2; i < nfields; i++) {
83368    key = field[i]
83369    keylen = length(key)
83370    if (S_is_set[key]) {
83371      value = S[key]
83372      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83373      len += length(value) + length(field[++i])
83374      substed = 1
83375    } else
83376      len += 1 + keylen
83377  }
83378
83379  print line
83380}
83381
83382_ACAWK
83383_ACEOF
83384cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83385if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83386  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83387else
83388  cat
83389fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
83390  || as_fn_error "could not setup config files machinery" "$LINENO" 5
83391_ACEOF
83392
83393# VPATH may cause trouble with some makes, so we remove $(srcdir),
83394# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
83395# trailing colons and then remove the whole line if VPATH becomes empty
83396# (actually we leave an empty line to preserve line numbers).
83397if test "x$srcdir" = x.; then
83398  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
83399s/:*\$(srcdir):*/:/
83400s/:*\${srcdir}:*/:/
83401s/:*@srcdir@:*/:/
83402s/^\([^=]*=[	 ]*\):*/\1/
83403s/:*$//
83404s/^[^=]*=[	 ]*$//
83405}'
83406fi
83407
83408cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83409fi # test -n "$CONFIG_FILES"
83410
83411# Set up the scripts for CONFIG_HEADERS section.
83412# No need to generate them if there are no CONFIG_HEADERS.
83413# This happens for instance with `./config.status Makefile'.
83414if test -n "$CONFIG_HEADERS"; then
83415cat >"$tmp/defines.awk" <<\_ACAWK ||
83416BEGIN {
83417_ACEOF
83418
83419# Transform confdefs.h into an awk script `defines.awk', embedded as
83420# here-document in config.status, that substitutes the proper values into
83421# config.h.in to produce config.h.
83422
83423# Create a delimiter string that does not exist in confdefs.h, to ease
83424# handling of long lines.
83425ac_delim='%!_!# '
83426for ac_last_try in false false :; do
83427  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
83428  if test -z "$ac_t"; then
83429    break
83430  elif $ac_last_try; then
83431    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
83432  else
83433    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83434  fi
83435done
83436
83437# For the awk script, D is an array of macro values keyed by name,
83438# likewise P contains macro parameters if any.  Preserve backslash
83439# newline sequences.
83440
83441ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83442sed -n '
83443s/.\{148\}/&'"$ac_delim"'/g
83444t rset
83445:rset
83446s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
83447t def
83448d
83449:def
83450s/\\$//
83451t bsnl
83452s/["\\]/\\&/g
83453s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
83454D["\1"]=" \3"/p
83455s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
83456d
83457:bsnl
83458s/["\\]/\\&/g
83459s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
83460D["\1"]=" \3\\\\\\n"\\/p
83461t cont
83462s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83463t cont
83464d
83465:cont
83466n
83467s/.\{148\}/&'"$ac_delim"'/g
83468t clear
83469:clear
83470s/\\$//
83471t bsnlc
83472s/["\\]/\\&/g; s/^/"/; s/$/"/p
83473d
83474:bsnlc
83475s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83476b cont
83477' <confdefs.h | sed '
83478s/'"$ac_delim"'/"\\\
83479"/g' >>$CONFIG_STATUS || ac_write_fail=1
83480
83481cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83482  for (key in D) D_is_set[key] = 1
83483  FS = ""
83484}
83485/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83486  line = \$ 0
83487  split(line, arg, " ")
83488  if (arg[1] == "#") {
83489    defundef = arg[2]
83490    mac1 = arg[3]
83491  } else {
83492    defundef = substr(arg[1], 2)
83493    mac1 = arg[2]
83494  }
83495  split(mac1, mac2, "(") #)
83496  macro = mac2[1]
83497  prefix = substr(line, 1, index(line, defundef) - 1)
83498  if (D_is_set[macro]) {
83499    # Preserve the white space surrounding the "#".
83500    print prefix "define", macro P[macro] D[macro]
83501    next
83502  } else {
83503    # Replace #undef with comments.  This is necessary, for example,
83504    # in the case of _POSIX_SOURCE, which is predefined and required
83505    # on some systems where configure will not decide to define it.
83506    if (defundef == "undef") {
83507      print "/*", prefix defundef, macro, "*/"
83508      next
83509    }
83510  }
83511}
83512{ print }
83513_ACAWK
83514_ACEOF
83515cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83516  as_fn_error "could not setup config headers machinery" "$LINENO" 5
83517fi # test -n "$CONFIG_HEADERS"
83518
83519
83520eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
83521shift
83522for ac_tag
83523do
83524  case $ac_tag in
83525  :[FHLC]) ac_mode=$ac_tag; continue;;
83526  esac
83527  case $ac_mode$ac_tag in
83528  :[FHL]*:*);;
83529  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
83530  :[FH]-) ac_tag=-:-;;
83531  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83532  esac
83533  ac_save_IFS=$IFS
83534  IFS=:
83535  set x $ac_tag
83536  IFS=$ac_save_IFS
83537  shift
83538  ac_file=$1
83539  shift
83540
83541  case $ac_mode in
83542  :L) ac_source=$1;;
83543  :[FH])
83544    ac_file_inputs=
83545    for ac_f
83546    do
83547      case $ac_f in
83548      -) ac_f="$tmp/stdin";;
83549      *) # Look for the file first in the build tree, then in the source tree
83550	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
83551	 # because $ac_f cannot contain `:'.
83552	 test -f "$ac_f" ||
83553	   case $ac_f in
83554	   [\\/$]*) false;;
83555	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83556	   esac ||
83557	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83558      esac
83559      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83560      as_fn_append ac_file_inputs " '$ac_f'"
83561    done
83562
83563    # Let's still pretend it is `configure' which instantiates (i.e., don't
83564    # use $as_me), people would be surprised to read:
83565    #    /* config.h.  Generated by config.status.  */
83566    configure_input='Generated from '`
83567	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83568	`' by configure.'
83569    if test x"$ac_file" != x-; then
83570      configure_input="$ac_file.  $configure_input"
83571      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83572$as_echo "$as_me: creating $ac_file" >&6;}
83573    fi
83574    # Neutralize special characters interpreted by sed in replacement strings.
83575    case $configure_input in #(
83576    *\&* | *\|* | *\\* )
83577       ac_sed_conf_input=`$as_echo "$configure_input" |
83578       sed 's/[\\\\&|]/\\\\&/g'`;; #(
83579    *) ac_sed_conf_input=$configure_input;;
83580    esac
83581
83582    case $ac_tag in
83583    *:-:* | *:-) cat >"$tmp/stdin" \
83584      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83585    esac
83586    ;;
83587  esac
83588
83589  ac_dir=`$as_dirname -- "$ac_file" ||
83590$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83591	 X"$ac_file" : 'X\(//\)[^/]' \| \
83592	 X"$ac_file" : 'X\(//\)$' \| \
83593	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83594$as_echo X"$ac_file" |
83595    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83596	    s//\1/
83597	    q
83598	  }
83599	  /^X\(\/\/\)[^/].*/{
83600	    s//\1/
83601	    q
83602	  }
83603	  /^X\(\/\/\)$/{
83604	    s//\1/
83605	    q
83606	  }
83607	  /^X\(\/\).*/{
83608	    s//\1/
83609	    q
83610	  }
83611	  s/.*/./; q'`
83612  as_dir="$ac_dir"; as_fn_mkdir_p
83613  ac_builddir=.
83614
83615case "$ac_dir" in
83616.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83617*)
83618  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83619  # A ".." for each directory in $ac_dir_suffix.
83620  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83621  case $ac_top_builddir_sub in
83622  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83623  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83624  esac ;;
83625esac
83626ac_abs_top_builddir=$ac_pwd
83627ac_abs_builddir=$ac_pwd$ac_dir_suffix
83628# for backward compatibility:
83629ac_top_builddir=$ac_top_build_prefix
83630
83631case $srcdir in
83632  .)  # We are building in place.
83633    ac_srcdir=.
83634    ac_top_srcdir=$ac_top_builddir_sub
83635    ac_abs_top_srcdir=$ac_pwd ;;
83636  [\\/]* | ?:[\\/]* )  # Absolute name.
83637    ac_srcdir=$srcdir$ac_dir_suffix;
83638    ac_top_srcdir=$srcdir
83639    ac_abs_top_srcdir=$srcdir ;;
83640  *) # Relative name.
83641    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83642    ac_top_srcdir=$ac_top_build_prefix$srcdir
83643    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83644esac
83645ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83646
83647
83648  case $ac_mode in
83649  :F)
83650  #
83651  # CONFIG_FILE
83652  #
83653
83654  case $INSTALL in
83655  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83656  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83657  esac
83658  ac_MKDIR_P=$MKDIR_P
83659  case $MKDIR_P in
83660  [\\/$]* | ?:[\\/]* ) ;;
83661  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83662  esac
83663_ACEOF
83664
83665cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83666# If the template does not know about datarootdir, expand it.
83667# FIXME: This hack should be removed a few years after 2.60.
83668ac_datarootdir_hack=; ac_datarootdir_seen=
83669ac_sed_dataroot='
83670/datarootdir/ {
83671  p
83672  q
83673}
83674/@datadir@/p
83675/@docdir@/p
83676/@infodir@/p
83677/@localedir@/p
83678/@mandir@/p'
83679case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83680*datarootdir*) ac_datarootdir_seen=yes;;
83681*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83682  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83683$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83684_ACEOF
83685cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83686  ac_datarootdir_hack='
83687  s&@datadir@&$datadir&g
83688  s&@docdir@&$docdir&g
83689  s&@infodir@&$infodir&g
83690  s&@localedir@&$localedir&g
83691  s&@mandir@&$mandir&g
83692  s&\\\${datarootdir}&$datarootdir&g' ;;
83693esac
83694_ACEOF
83695
83696# Neutralize VPATH when `$srcdir' = `.'.
83697# Shell code in configure.ac might set extrasub.
83698# FIXME: do we really want to maintain this feature?
83699cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83700ac_sed_extra="$ac_vpsub
83701$extrasub
83702_ACEOF
83703cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83704:t
83705/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83706s|@configure_input@|$ac_sed_conf_input|;t t
83707s&@top_builddir@&$ac_top_builddir_sub&;t t
83708s&@top_build_prefix@&$ac_top_build_prefix&;t t
83709s&@srcdir@&$ac_srcdir&;t t
83710s&@abs_srcdir@&$ac_abs_srcdir&;t t
83711s&@top_srcdir@&$ac_top_srcdir&;t t
83712s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83713s&@builddir@&$ac_builddir&;t t
83714s&@abs_builddir@&$ac_abs_builddir&;t t
83715s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83716s&@INSTALL@&$ac_INSTALL&;t t
83717s&@MKDIR_P@&$ac_MKDIR_P&;t t
83718$ac_datarootdir_hack
83719"
83720eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83721  || as_fn_error "could not create $ac_file" "$LINENO" 5
83722
83723test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83724  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83725  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83726  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83727which seems to be undefined.  Please make sure it is defined." >&5
83728$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83729which seems to be undefined.  Please make sure it is defined." >&2;}
83730
83731  rm -f "$tmp/stdin"
83732  case $ac_file in
83733  -) cat "$tmp/out" && rm -f "$tmp/out";;
83734  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83735  esac \
83736  || as_fn_error "could not create $ac_file" "$LINENO" 5
83737 ;;
83738  :H)
83739  #
83740  # CONFIG_HEADER
83741  #
83742  if test x"$ac_file" != x-; then
83743    {
83744      $as_echo "/* $configure_input  */" \
83745      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83746    } >"$tmp/config.h" \
83747      || as_fn_error "could not create $ac_file" "$LINENO" 5
83748    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83749      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83750$as_echo "$as_me: $ac_file is unchanged" >&6;}
83751    else
83752      rm -f "$ac_file"
83753      mv "$tmp/config.h" "$ac_file" \
83754	|| as_fn_error "could not create $ac_file" "$LINENO" 5
83755    fi
83756  else
83757    $as_echo "/* $configure_input  */" \
83758      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83759      || as_fn_error "could not create -" "$LINENO" 5
83760  fi
83761# Compute "$ac_file"'s index in $config_headers.
83762_am_arg="$ac_file"
83763_am_stamp_count=1
83764for _am_header in $config_headers :; do
83765  case $_am_header in
83766    $_am_arg | $_am_arg:* )
83767      break ;;
83768    * )
83769      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83770  esac
83771done
83772echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83773$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83774	 X"$_am_arg" : 'X\(//\)[^/]' \| \
83775	 X"$_am_arg" : 'X\(//\)$' \| \
83776	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83777$as_echo X"$_am_arg" |
83778    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83779	    s//\1/
83780	    q
83781	  }
83782	  /^X\(\/\/\)[^/].*/{
83783	    s//\1/
83784	    q
83785	  }
83786	  /^X\(\/\/\)$/{
83787	    s//\1/
83788	    q
83789	  }
83790	  /^X\(\/\).*/{
83791	    s//\1/
83792	    q
83793	  }
83794	  s/.*/./; q'`/stamp-h$_am_stamp_count
83795 ;;
83796
83797  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83798$as_echo "$as_me: executing $ac_file commands" >&6;}
83799 ;;
83800  esac
83801
83802
83803  case $ac_file$ac_mode in
83804    "default-1":C)
83805# Only add multilib support code if we just rebuilt the top-level
83806# Makefile.
83807case " $CONFIG_FILES " in
83808 *" Makefile "*)
83809   ac_file=Makefile . ${multi_basedir}/config-ml.in
83810   ;;
83811esac ;;
83812    "libtool":C)
83813
83814    # See if we are running on zsh, and set the options which allow our
83815    # commands through without removal of \ escapes.
83816    if test -n "${ZSH_VERSION+set}" ; then
83817      setopt NO_GLOB_SUBST
83818    fi
83819
83820    cfgfile="${ofile}T"
83821    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83822    $RM "$cfgfile"
83823
83824    cat <<_LT_EOF >> "$cfgfile"
83825#! $SHELL
83826
83827# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83828# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83829# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83830# NOTE: Changes made to this file will be lost: look at ltmain.sh.
83831#
83832#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83833#                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83834#   Written by Gordon Matzigkeit, 1996
83835#
83836#   This file is part of GNU Libtool.
83837#
83838# GNU Libtool is free software; you can redistribute it and/or
83839# modify it under the terms of the GNU General Public License as
83840# published by the Free Software Foundation; either version 2 of
83841# the License, or (at your option) any later version.
83842#
83843# As a special exception to the GNU General Public License,
83844# if you distribute this file as part of a program or library that
83845# is built using GNU Libtool, you may include this file under the
83846# same distribution terms that you use for the rest of that program.
83847#
83848# GNU Libtool is distributed in the hope that it will be useful,
83849# but WITHOUT ANY WARRANTY; without even the implied warranty of
83850# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
83851# GNU General Public License for more details.
83852#
83853# You should have received a copy of the GNU General Public License
83854# along with GNU Libtool; see the file COPYING.  If not, a copy
83855# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83856# obtained by writing to the Free Software Foundation, Inc.,
83857# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83858
83859
83860# The names of the tagged configurations supported by this script.
83861available_tags="CXX "
83862
83863# ### BEGIN LIBTOOL CONFIG
83864
83865# Which release of libtool.m4 was used?
83866macro_version=$macro_version
83867macro_revision=$macro_revision
83868
83869# Whether or not to build shared libraries.
83870build_libtool_libs=$enable_shared
83871
83872# Whether or not to build static libraries.
83873build_old_libs=$enable_static
83874
83875# What type of objects to build.
83876pic_mode=$pic_mode
83877
83878# Whether or not to optimize for fast installation.
83879fast_install=$enable_fast_install
83880
83881# Shell to use when invoking shell scripts.
83882SHELL=$lt_SHELL
83883
83884# An echo program that protects backslashes.
83885ECHO=$lt_ECHO
83886
83887# The host system.
83888host_alias=$host_alias
83889host=$host
83890host_os=$host_os
83891
83892# The build system.
83893build_alias=$build_alias
83894build=$build
83895build_os=$build_os
83896
83897# A sed program that does not truncate output.
83898SED=$lt_SED
83899
83900# Sed that helps us avoid accidentally triggering echo(1) options like -n.
83901Xsed="\$SED -e 1s/^X//"
83902
83903# A grep program that handles long lines.
83904GREP=$lt_GREP
83905
83906# An ERE matcher.
83907EGREP=$lt_EGREP
83908
83909# A literal string matcher.
83910FGREP=$lt_FGREP
83911
83912# A BSD- or MS-compatible name lister.
83913NM=$lt_NM
83914
83915# Whether we need soft or hard links.
83916LN_S=$lt_LN_S
83917
83918# What is the maximum length of a command?
83919max_cmd_len=$max_cmd_len
83920
83921# Object file suffix (normally "o").
83922objext=$ac_objext
83923
83924# Executable file suffix (normally "").
83925exeext=$exeext
83926
83927# whether the shell understands "unset".
83928lt_unset=$lt_unset
83929
83930# turn spaces into newlines.
83931SP2NL=$lt_lt_SP2NL
83932
83933# turn newlines into spaces.
83934NL2SP=$lt_lt_NL2SP
83935
83936# An object symbol dumper.
83937OBJDUMP=$lt_OBJDUMP
83938
83939# Method to check whether dependent libraries are shared objects.
83940deplibs_check_method=$lt_deplibs_check_method
83941
83942# Command to use when deplibs_check_method == "file_magic".
83943file_magic_cmd=$lt_file_magic_cmd
83944
83945# The archiver.
83946AR=$lt_AR
83947AR_FLAGS=$lt_AR_FLAGS
83948
83949# A symbol stripping program.
83950STRIP=$lt_STRIP
83951
83952# Commands used to install an old-style archive.
83953RANLIB=$lt_RANLIB
83954old_postinstall_cmds=$lt_old_postinstall_cmds
83955old_postuninstall_cmds=$lt_old_postuninstall_cmds
83956
83957# Whether to use a lock for old archive extraction.
83958lock_old_archive_extraction=$lock_old_archive_extraction
83959
83960# A C compiler.
83961LTCC=$lt_CC
83962
83963# LTCC compiler flags.
83964LTCFLAGS=$lt_CFLAGS
83965
83966# Take the output of nm and produce a listing of raw symbols and C names.
83967global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83968
83969# Transform the output of nm in a proper C declaration.
83970global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83971
83972# Transform the output of nm in a C name address pair.
83973global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83974
83975# Transform the output of nm in a C name address pair when lib prefix is needed.
83976global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83977
83978# The name of the directory that contains temporary libtool files.
83979objdir=$objdir
83980
83981# Used to examine libraries when file_magic_cmd begins with "file".
83982MAGIC_CMD=$MAGIC_CMD
83983
83984# Must we lock files when doing compilation?
83985need_locks=$lt_need_locks
83986
83987# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83988DSYMUTIL=$lt_DSYMUTIL
83989
83990# Tool to change global to local symbols on Mac OS X.
83991NMEDIT=$lt_NMEDIT
83992
83993# Tool to manipulate fat objects and archives on Mac OS X.
83994LIPO=$lt_LIPO
83995
83996# ldd/readelf like tool for Mach-O binaries on Mac OS X.
83997OTOOL=$lt_OTOOL
83998
83999# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
84000OTOOL64=$lt_OTOOL64
84001
84002# Old archive suffix (normally "a").
84003libext=$libext
84004
84005# Shared library suffix (normally ".so").
84006shrext_cmds=$lt_shrext_cmds
84007
84008# The commands to extract the exported symbol list from a shared archive.
84009extract_expsyms_cmds=$lt_extract_expsyms_cmds
84010
84011# Variables whose values should be saved in libtool wrapper scripts and
84012# restored at link time.
84013variables_saved_for_relink=$lt_variables_saved_for_relink
84014
84015# Do we need the "lib" prefix for modules?
84016need_lib_prefix=$need_lib_prefix
84017
84018# Do we need a version for libraries?
84019need_version=$need_version
84020
84021# Library versioning type.
84022version_type=$version_type
84023
84024# Shared library runtime path variable.
84025runpath_var=$runpath_var
84026
84027# Shared library path variable.
84028shlibpath_var=$shlibpath_var
84029
84030# Is shlibpath searched before the hard-coded library search path?
84031shlibpath_overrides_runpath=$shlibpath_overrides_runpath
84032
84033# Format of library name prefix.
84034libname_spec=$lt_libname_spec
84035
84036# List of archive names.  First name is the real one, the rest are links.
84037# The last name is the one that the linker finds with -lNAME
84038library_names_spec=$lt_library_names_spec
84039
84040# The coded name of the library, if different from the real name.
84041soname_spec=$lt_soname_spec
84042
84043# Permission mode override for installation of shared libraries.
84044install_override_mode=$lt_install_override_mode
84045
84046# Command to use after installation of a shared archive.
84047postinstall_cmds=$lt_postinstall_cmds
84048
84049# Command to use after uninstallation of a shared archive.
84050postuninstall_cmds=$lt_postuninstall_cmds
84051
84052# Commands used to finish a libtool library installation in a directory.
84053finish_cmds=$lt_finish_cmds
84054
84055# As "finish_cmds", except a single script fragment to be evaled but
84056# not shown.
84057finish_eval=$lt_finish_eval
84058
84059# Whether we should hardcode library paths into libraries.
84060hardcode_into_libs=$hardcode_into_libs
84061
84062# Compile-time system search path for libraries.
84063sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
84064
84065# Run-time system search path for libraries.
84066sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
84067
84068# Whether dlopen is supported.
84069dlopen_support=$enable_dlopen
84070
84071# Whether dlopen of programs is supported.
84072dlopen_self=$enable_dlopen_self
84073
84074# Whether dlopen of statically linked programs is supported.
84075dlopen_self_static=$enable_dlopen_self_static
84076
84077# Commands to strip libraries.
84078old_striplib=$lt_old_striplib
84079striplib=$lt_striplib
84080
84081
84082# The linker used to build libraries.
84083LD=$lt_LD
84084
84085# How to create reloadable object files.
84086reload_flag=$lt_reload_flag
84087reload_cmds=$lt_reload_cmds
84088
84089# Commands used to build an old-style archive.
84090old_archive_cmds=$lt_old_archive_cmds
84091
84092# A language specific compiler.
84093CC=$lt_compiler
84094
84095# Is the compiler the GNU compiler?
84096with_gcc=$GCC
84097
84098# Compiler flag to turn off builtin functions.
84099no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
84100
84101# How to pass a linker flag through the compiler.
84102wl=$lt_lt_prog_compiler_wl
84103
84104# Additional compiler flags for building library objects.
84105pic_flag=$lt_lt_prog_compiler_pic
84106
84107# Compiler flag to prevent dynamic linking.
84108link_static_flag=$lt_lt_prog_compiler_static
84109
84110# Does compiler simultaneously support -c and -o options?
84111compiler_c_o=$lt_lt_cv_prog_compiler_c_o
84112
84113# Whether or not to add -lc for building shared libraries.
84114build_libtool_need_lc=$archive_cmds_need_lc
84115
84116# Whether or not to disallow shared libs when runtime libs are static.
84117allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
84118
84119# Compiler flag to allow reflexive dlopens.
84120export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
84121
84122# Compiler flag to generate shared objects directly from archives.
84123whole_archive_flag_spec=$lt_whole_archive_flag_spec
84124
84125# Whether the compiler copes with passing no objects directly.
84126compiler_needs_object=$lt_compiler_needs_object
84127
84128# Create an old-style archive from a shared archive.
84129old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
84130
84131# Create a temporary old-style archive to link instead of a shared archive.
84132old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
84133
84134# Commands used to build a shared archive.
84135archive_cmds=$lt_archive_cmds
84136archive_expsym_cmds=$lt_archive_expsym_cmds
84137
84138# Commands used to build a loadable module if different from building
84139# a shared archive.
84140module_cmds=$lt_module_cmds
84141module_expsym_cmds=$lt_module_expsym_cmds
84142
84143# Whether we are building with GNU ld or not.
84144with_gnu_ld=$lt_with_gnu_ld
84145
84146# Flag that allows shared libraries with undefined symbols to be built.
84147allow_undefined_flag=$lt_allow_undefined_flag
84148
84149# Flag that enforces no undefined symbols.
84150no_undefined_flag=$lt_no_undefined_flag
84151
84152# Flag to hardcode \$libdir into a binary during linking.
84153# This must work even if \$libdir does not exist
84154hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
84155
84156# If ld is used when linking, flag to hardcode \$libdir into a binary
84157# during linking.  This must work even if \$libdir does not exist.
84158hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
84159
84160# Whether we need a single "-rpath" flag with a separated argument.
84161hardcode_libdir_separator=$lt_hardcode_libdir_separator
84162
84163# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84164# DIR into the resulting binary.
84165hardcode_direct=$hardcode_direct
84166
84167# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84168# DIR into the resulting binary and the resulting library dependency is
84169# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84170# library is relocated.
84171hardcode_direct_absolute=$hardcode_direct_absolute
84172
84173# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84174# into the resulting binary.
84175hardcode_minus_L=$hardcode_minus_L
84176
84177# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84178# into the resulting binary.
84179hardcode_shlibpath_var=$hardcode_shlibpath_var
84180
84181# Set to "yes" if building a shared library automatically hardcodes DIR
84182# into the library and all subsequent libraries and executables linked
84183# against it.
84184hardcode_automatic=$hardcode_automatic
84185
84186# Set to yes if linker adds runtime paths of dependent libraries
84187# to runtime path list.
84188inherit_rpath=$inherit_rpath
84189
84190# Whether libtool must link a program against all its dependency libraries.
84191link_all_deplibs=$link_all_deplibs
84192
84193# Fix the shell variable \$srcfile for the compiler.
84194fix_srcfile_path=$lt_fix_srcfile_path
84195
84196# Set to "yes" if exported symbols are required.
84197always_export_symbols=$always_export_symbols
84198
84199# The commands to list exported symbols.
84200export_symbols_cmds=$lt_export_symbols_cmds
84201
84202# Symbols that should not be listed in the preloaded symbols.
84203exclude_expsyms=$lt_exclude_expsyms
84204
84205# Symbols that must always be exported.
84206include_expsyms=$lt_include_expsyms
84207
84208# Commands necessary for linking programs (against libraries) with templates.
84209prelink_cmds=$lt_prelink_cmds
84210
84211# Specify filename containing input files.
84212file_list_spec=$lt_file_list_spec
84213
84214# How to hardcode a shared library path into an executable.
84215hardcode_action=$hardcode_action
84216
84217# The directories searched by this compiler when creating a shared library.
84218compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
84219
84220# Dependencies to place before and after the objects being linked to
84221# create a shared library.
84222predep_objects=$lt_predep_objects
84223postdep_objects=$lt_postdep_objects
84224predeps=$lt_predeps
84225postdeps=$lt_postdeps
84226
84227# The library search path used internally by the compiler when linking
84228# a shared library.
84229compiler_lib_search_path=$lt_compiler_lib_search_path
84230
84231# ### END LIBTOOL CONFIG
84232
84233_LT_EOF
84234
84235  case $host_os in
84236  aix3*)
84237    cat <<\_LT_EOF >> "$cfgfile"
84238# AIX sometimes has problems with the GCC collect2 program.  For some
84239# reason, if we set the COLLECT_NAMES environment variable, the problems
84240# vanish in a puff of smoke.
84241if test "X${COLLECT_NAMES+set}" != Xset; then
84242  COLLECT_NAMES=
84243  export COLLECT_NAMES
84244fi
84245_LT_EOF
84246    ;;
84247  esac
84248
84249
84250ltmain="$ac_aux_dir/ltmain.sh"
84251
84252
84253  # We use sed instead of cat because bash on DJGPP gets confused if
84254  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
84255  # text mode, it properly converts lines to CR/LF.  This bash problem
84256  # is reportedly fixed, but why not run on old versions too?
84257  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
84258    || (rm -f "$cfgfile"; exit 1)
84259
84260  case $xsi_shell in
84261  yes)
84262    cat << \_LT_EOF >> "$cfgfile"
84263
84264# func_dirname file append nondir_replacement
84265# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
84266# otherwise set result to NONDIR_REPLACEMENT.
84267func_dirname ()
84268{
84269  case ${1} in
84270    */*) func_dirname_result="${1%/*}${2}" ;;
84271    *  ) func_dirname_result="${3}" ;;
84272  esac
84273}
84274
84275# func_basename file
84276func_basename ()
84277{
84278  func_basename_result="${1##*/}"
84279}
84280
84281# func_dirname_and_basename file append nondir_replacement
84282# perform func_basename and func_dirname in a single function
84283# call:
84284#   dirname:  Compute the dirname of FILE.  If nonempty,
84285#             add APPEND to the result, otherwise set result
84286#             to NONDIR_REPLACEMENT.
84287#             value returned in "$func_dirname_result"
84288#   basename: Compute filename of FILE.
84289#             value retuned in "$func_basename_result"
84290# Implementation must be kept synchronized with func_dirname
84291# and func_basename. For efficiency, we do not delegate to
84292# those functions but instead duplicate the functionality here.
84293func_dirname_and_basename ()
84294{
84295  case ${1} in
84296    */*) func_dirname_result="${1%/*}${2}" ;;
84297    *  ) func_dirname_result="${3}" ;;
84298  esac
84299  func_basename_result="${1##*/}"
84300}
84301
84302# func_stripname prefix suffix name
84303# strip PREFIX and SUFFIX off of NAME.
84304# PREFIX and SUFFIX must not contain globbing or regex special
84305# characters, hashes, percent signs, but SUFFIX may contain a leading
84306# dot (in which case that matches only a dot).
84307func_stripname ()
84308{
84309  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
84310  # positional parameters, so assign one to ordinary parameter first.
84311  func_stripname_result=${3}
84312  func_stripname_result=${func_stripname_result#"${1}"}
84313  func_stripname_result=${func_stripname_result%"${2}"}
84314}
84315
84316# func_opt_split
84317func_opt_split ()
84318{
84319  func_opt_split_opt=${1%%=*}
84320  func_opt_split_arg=${1#*=}
84321}
84322
84323# func_lo2o object
84324func_lo2o ()
84325{
84326  case ${1} in
84327    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
84328    *)    func_lo2o_result=${1} ;;
84329  esac
84330}
84331
84332# func_xform libobj-or-source
84333func_xform ()
84334{
84335  func_xform_result=${1%.*}.lo
84336}
84337
84338# func_arith arithmetic-term...
84339func_arith ()
84340{
84341  func_arith_result=$(( $* ))
84342}
84343
84344# func_len string
84345# STRING may not start with a hyphen.
84346func_len ()
84347{
84348  func_len_result=${#1}
84349}
84350
84351_LT_EOF
84352    ;;
84353  *) # Bourne compatible functions.
84354    cat << \_LT_EOF >> "$cfgfile"
84355
84356# func_dirname file append nondir_replacement
84357# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
84358# otherwise set result to NONDIR_REPLACEMENT.
84359func_dirname ()
84360{
84361  # Extract subdirectory from the argument.
84362  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84363  if test "X$func_dirname_result" = "X${1}"; then
84364    func_dirname_result="${3}"
84365  else
84366    func_dirname_result="$func_dirname_result${2}"
84367  fi
84368}
84369
84370# func_basename file
84371func_basename ()
84372{
84373  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84374}
84375
84376
84377# func_stripname prefix suffix name
84378# strip PREFIX and SUFFIX off of NAME.
84379# PREFIX and SUFFIX must not contain globbing or regex special
84380# characters, hashes, percent signs, but SUFFIX may contain a leading
84381# dot (in which case that matches only a dot).
84382# func_strip_suffix prefix name
84383func_stripname ()
84384{
84385  case ${2} in
84386    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84387    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84388  esac
84389}
84390
84391# sed scripts:
84392my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84393my_sed_long_arg='1s/^-[^=]*=//'
84394
84395# func_opt_split
84396func_opt_split ()
84397{
84398  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84399  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84400}
84401
84402# func_lo2o object
84403func_lo2o ()
84404{
84405  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84406}
84407
84408# func_xform libobj-or-source
84409func_xform ()
84410{
84411  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84412}
84413
84414# func_arith arithmetic-term...
84415func_arith ()
84416{
84417  func_arith_result=`expr "$@"`
84418}
84419
84420# func_len string
84421# STRING may not start with a hyphen.
84422func_len ()
84423{
84424  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84425}
84426
84427_LT_EOF
84428esac
84429
84430case $lt_shell_append in
84431  yes)
84432    cat << \_LT_EOF >> "$cfgfile"
84433
84434# func_append var value
84435# Append VALUE to the end of shell variable VAR.
84436func_append ()
84437{
84438  eval "$1+=\$2"
84439}
84440_LT_EOF
84441    ;;
84442  *)
84443    cat << \_LT_EOF >> "$cfgfile"
84444
84445# func_append var value
84446# Append VALUE to the end of shell variable VAR.
84447func_append ()
84448{
84449  eval "$1=\$$1\$2"
84450}
84451
84452_LT_EOF
84453    ;;
84454  esac
84455
84456
84457  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84458    || (rm -f "$cfgfile"; exit 1)
84459
84460  mv -f "$cfgfile" "$ofile" ||
84461    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84462  chmod +x "$ofile"
84463
84464
84465    cat <<_LT_EOF >> "$ofile"
84466
84467# ### BEGIN LIBTOOL TAG CONFIG: CXX
84468
84469# The linker used to build libraries.
84470LD=$lt_LD_CXX
84471
84472# How to create reloadable object files.
84473reload_flag=$lt_reload_flag_CXX
84474reload_cmds=$lt_reload_cmds_CXX
84475
84476# Commands used to build an old-style archive.
84477old_archive_cmds=$lt_old_archive_cmds_CXX
84478
84479# A language specific compiler.
84480CC=$lt_compiler_CXX
84481
84482# Is the compiler the GNU compiler?
84483with_gcc=$GCC_CXX
84484
84485# Compiler flag to turn off builtin functions.
84486no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84487
84488# How to pass a linker flag through the compiler.
84489wl=$lt_lt_prog_compiler_wl_CXX
84490
84491# Additional compiler flags for building library objects.
84492pic_flag=$lt_lt_prog_compiler_pic_CXX
84493
84494# Compiler flag to prevent dynamic linking.
84495link_static_flag=$lt_lt_prog_compiler_static_CXX
84496
84497# Does compiler simultaneously support -c and -o options?
84498compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84499
84500# Whether or not to add -lc for building shared libraries.
84501build_libtool_need_lc=$archive_cmds_need_lc_CXX
84502
84503# Whether or not to disallow shared libs when runtime libs are static.
84504allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84505
84506# Compiler flag to allow reflexive dlopens.
84507export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84508
84509# Compiler flag to generate shared objects directly from archives.
84510whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84511
84512# Whether the compiler copes with passing no objects directly.
84513compiler_needs_object=$lt_compiler_needs_object_CXX
84514
84515# Create an old-style archive from a shared archive.
84516old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84517
84518# Create a temporary old-style archive to link instead of a shared archive.
84519old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84520
84521# Commands used to build a shared archive.
84522archive_cmds=$lt_archive_cmds_CXX
84523archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84524
84525# Commands used to build a loadable module if different from building
84526# a shared archive.
84527module_cmds=$lt_module_cmds_CXX
84528module_expsym_cmds=$lt_module_expsym_cmds_CXX
84529
84530# Whether we are building with GNU ld or not.
84531with_gnu_ld=$lt_with_gnu_ld_CXX
84532
84533# Flag that allows shared libraries with undefined symbols to be built.
84534allow_undefined_flag=$lt_allow_undefined_flag_CXX
84535
84536# Flag that enforces no undefined symbols.
84537no_undefined_flag=$lt_no_undefined_flag_CXX
84538
84539# Flag to hardcode \$libdir into a binary during linking.
84540# This must work even if \$libdir does not exist
84541hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84542
84543# If ld is used when linking, flag to hardcode \$libdir into a binary
84544# during linking.  This must work even if \$libdir does not exist.
84545hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84546
84547# Whether we need a single "-rpath" flag with a separated argument.
84548hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84549
84550# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84551# DIR into the resulting binary.
84552hardcode_direct=$hardcode_direct_CXX
84553
84554# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84555# DIR into the resulting binary and the resulting library dependency is
84556# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84557# library is relocated.
84558hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84559
84560# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84561# into the resulting binary.
84562hardcode_minus_L=$hardcode_minus_L_CXX
84563
84564# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84565# into the resulting binary.
84566hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84567
84568# Set to "yes" if building a shared library automatically hardcodes DIR
84569# into the library and all subsequent libraries and executables linked
84570# against it.
84571hardcode_automatic=$hardcode_automatic_CXX
84572
84573# Set to yes if linker adds runtime paths of dependent libraries
84574# to runtime path list.
84575inherit_rpath=$inherit_rpath_CXX
84576
84577# Whether libtool must link a program against all its dependency libraries.
84578link_all_deplibs=$link_all_deplibs_CXX
84579
84580# Fix the shell variable \$srcfile for the compiler.
84581fix_srcfile_path=$lt_fix_srcfile_path_CXX
84582
84583# Set to "yes" if exported symbols are required.
84584always_export_symbols=$always_export_symbols_CXX
84585
84586# The commands to list exported symbols.
84587export_symbols_cmds=$lt_export_symbols_cmds_CXX
84588
84589# Symbols that should not be listed in the preloaded symbols.
84590exclude_expsyms=$lt_exclude_expsyms_CXX
84591
84592# Symbols that must always be exported.
84593include_expsyms=$lt_include_expsyms_CXX
84594
84595# Commands necessary for linking programs (against libraries) with templates.
84596prelink_cmds=$lt_prelink_cmds_CXX
84597
84598# Specify filename containing input files.
84599file_list_spec=$lt_file_list_spec_CXX
84600
84601# How to hardcode a shared library path into an executable.
84602hardcode_action=$hardcode_action_CXX
84603
84604# The directories searched by this compiler when creating a shared library.
84605compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84606
84607# Dependencies to place before and after the objects being linked to
84608# create a shared library.
84609predep_objects=$lt_predep_objects_CXX
84610postdep_objects=$lt_postdep_objects_CXX
84611predeps=$lt_predeps_CXX
84612postdeps=$lt_postdeps_CXX
84613
84614# The library search path used internally by the compiler when linking
84615# a shared library.
84616compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84617
84618# ### END LIBTOOL TAG CONFIG: CXX
84619_LT_EOF
84620
84621 ;;
84622    "include/gstdint.h":C)
84623if test "$GCC" = yes; then
84624  echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84625else
84626  echo "/* generated for $CC */" > tmp-stdint.h
84627fi
84628
84629sed 's/^ *//' >> tmp-stdint.h <<EOF
84630
84631  #ifndef GCC_GENERATED_STDINT_H
84632  #define GCC_GENERATED_STDINT_H 1
84633
84634  #include <sys/types.h>
84635EOF
84636
84637if test "$acx_cv_header_stdint" != stdint.h; then
84638  echo "#include <stddef.h>" >> tmp-stdint.h
84639fi
84640if test "$acx_cv_header_stdint" != stddef.h; then
84641  echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84642fi
84643
84644sed 's/^ *//' >> tmp-stdint.h <<EOF
84645  /* glibc uses these symbols as guards to prevent redefinitions.  */
84646  #ifdef __int8_t_defined
84647  #define _INT8_T
84648  #define _INT16_T
84649  #define _INT32_T
84650  #endif
84651  #ifdef __uint32_t_defined
84652  #define _UINT32_T
84653  #endif
84654
84655EOF
84656
84657# ----------------- done header, emit basic int types -------------
84658if test "$acx_cv_header_stdint" = stddef.h; then
84659  sed 's/^ *//' >> tmp-stdint.h <<EOF
84660
84661    #ifndef _UINT8_T
84662    #define _UINT8_T
84663    #ifndef __uint8_t_defined
84664    #define __uint8_t_defined
84665    #ifndef uint8_t
84666    typedef unsigned $acx_cv_type_int8_t uint8_t;
84667    #endif
84668    #endif
84669    #endif
84670
84671    #ifndef _UINT16_T
84672    #define _UINT16_T
84673    #ifndef __uint16_t_defined
84674    #define __uint16_t_defined
84675    #ifndef uint16_t
84676    typedef unsigned $acx_cv_type_int16_t uint16_t;
84677    #endif
84678    #endif
84679    #endif
84680
84681    #ifndef _UINT32_T
84682    #define _UINT32_T
84683    #ifndef __uint32_t_defined
84684    #define __uint32_t_defined
84685    #ifndef uint32_t
84686    typedef unsigned $acx_cv_type_int32_t uint32_t;
84687    #endif
84688    #endif
84689    #endif
84690
84691    #ifndef _INT8_T
84692    #define _INT8_T
84693    #ifndef __int8_t_defined
84694    #define __int8_t_defined
84695    #ifndef int8_t
84696    typedef $acx_cv_type_int8_t int8_t;
84697    #endif
84698    #endif
84699    #endif
84700
84701    #ifndef _INT16_T
84702    #define _INT16_T
84703    #ifndef __int16_t_defined
84704    #define __int16_t_defined
84705    #ifndef int16_t
84706    typedef $acx_cv_type_int16_t int16_t;
84707    #endif
84708    #endif
84709    #endif
84710
84711    #ifndef _INT32_T
84712    #define _INT32_T
84713    #ifndef __int32_t_defined
84714    #define __int32_t_defined
84715    #ifndef int32_t
84716    typedef $acx_cv_type_int32_t int32_t;
84717    #endif
84718    #endif
84719    #endif
84720EOF
84721elif test "$ac_cv_type_u_int32_t" = yes; then
84722  sed 's/^ *//' >> tmp-stdint.h <<EOF
84723
84724    /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84725    #ifndef _INT8_T
84726    #define _INT8_T
84727    #endif
84728    #ifndef _INT16_T
84729    #define _INT16_T
84730    #endif
84731    #ifndef _INT32_T
84732    #define _INT32_T
84733    #endif
84734
84735    #ifndef _UINT8_T
84736    #define _UINT8_T
84737    #ifndef __uint8_t_defined
84738    #define __uint8_t_defined
84739    #ifndef uint8_t
84740    typedef u_int8_t uint8_t;
84741    #endif
84742    #endif
84743    #endif
84744
84745    #ifndef _UINT16_T
84746    #define _UINT16_T
84747    #ifndef __uint16_t_defined
84748    #define __uint16_t_defined
84749    #ifndef uint16_t
84750    typedef u_int16_t uint16_t;
84751    #endif
84752    #endif
84753    #endif
84754
84755    #ifndef _UINT32_T
84756    #define _UINT32_T
84757    #ifndef __uint32_t_defined
84758    #define __uint32_t_defined
84759    #ifndef uint32_t
84760    typedef u_int32_t uint32_t;
84761    #endif
84762    #endif
84763    #endif
84764EOF
84765else
84766  sed 's/^ *//' >> tmp-stdint.h <<EOF
84767
84768    /* Some systems have guard macros to prevent redefinitions, define them.  */
84769    #ifndef _INT8_T
84770    #define _INT8_T
84771    #endif
84772    #ifndef _INT16_T
84773    #define _INT16_T
84774    #endif
84775    #ifndef _INT32_T
84776    #define _INT32_T
84777    #endif
84778    #ifndef _UINT8_T
84779    #define _UINT8_T
84780    #endif
84781    #ifndef _UINT16_T
84782    #define _UINT16_T
84783    #endif
84784    #ifndef _UINT32_T
84785    #define _UINT32_T
84786    #endif
84787EOF
84788fi
84789
84790# ------------- done basic int types, emit int64_t types ------------
84791if test "$ac_cv_type_uint64_t" = yes; then
84792  sed 's/^ *//' >> tmp-stdint.h <<EOF
84793
84794    /* system headers have good uint64_t and int64_t */
84795    #ifndef _INT64_T
84796    #define _INT64_T
84797    #endif
84798    #ifndef _UINT64_T
84799    #define _UINT64_T
84800    #endif
84801EOF
84802elif test "$ac_cv_type_u_int64_t" = yes; then
84803  sed 's/^ *//' >> tmp-stdint.h <<EOF
84804
84805    /* system headers have an u_int64_t (and int64_t) */
84806    #ifndef _INT64_T
84807    #define _INT64_T
84808    #endif
84809    #ifndef _UINT64_T
84810    #define _UINT64_T
84811    #ifndef __uint64_t_defined
84812    #define __uint64_t_defined
84813    #ifndef uint64_t
84814    typedef u_int64_t uint64_t;
84815    #endif
84816    #endif
84817    #endif
84818EOF
84819elif test -n "$acx_cv_type_int64_t"; then
84820  sed 's/^ *//' >> tmp-stdint.h <<EOF
84821
84822    /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84823    #ifndef _INT64_T
84824    #define _INT64_T
84825    #ifndef int64_t
84826    typedef $acx_cv_type_int64_t int64_t;
84827    #endif
84828    #endif
84829    #ifndef _UINT64_T
84830    #define _UINT64_T
84831    #ifndef __uint64_t_defined
84832    #define __uint64_t_defined
84833    #ifndef uint64_t
84834    typedef unsigned $acx_cv_type_int64_t uint64_t;
84835    #endif
84836    #endif
84837    #endif
84838EOF
84839else
84840  sed 's/^ *//' >> tmp-stdint.h <<EOF
84841
84842    /* some common heuristics for int64_t, using compiler-specific tests */
84843    #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84844    #ifndef _INT64_T
84845    #define _INT64_T
84846    #ifndef __int64_t_defined
84847    #ifndef int64_t
84848    typedef long long int64_t;
84849    #endif
84850    #endif
84851    #endif
84852    #ifndef _UINT64_T
84853    #define _UINT64_T
84854    #ifndef uint64_t
84855    typedef unsigned long long uint64_t;
84856    #endif
84857    #endif
84858
84859    #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84860    /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84861       does not implement __extension__.  But that compiler doesn't define
84862       __GNUC_MINOR__.  */
84863    # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84864    # define __extension__
84865    # endif
84866
84867    # ifndef _INT64_T
84868    # define _INT64_T
84869    # ifndef int64_t
84870    __extension__ typedef long long int64_t;
84871    # endif
84872    # endif
84873    # ifndef _UINT64_T
84874    # define _UINT64_T
84875    # ifndef uint64_t
84876    __extension__ typedef unsigned long long uint64_t;
84877    # endif
84878    # endif
84879
84880    #elif !defined __STRICT_ANSI__
84881    # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84882
84883    #  ifndef _INT64_T
84884    #  define _INT64_T
84885    #  ifndef int64_t
84886    typedef __int64 int64_t;
84887    #  endif
84888    #  endif
84889    #  ifndef _UINT64_T
84890    #  define _UINT64_T
84891    #  ifndef uint64_t
84892    typedef unsigned __int64 uint64_t;
84893    #  endif
84894    #  endif
84895    # endif /* compiler */
84896
84897    #endif /* ANSI version */
84898EOF
84899fi
84900
84901# ------------- done int64_t types, emit intptr types ------------
84902if test "$ac_cv_type_uintptr_t" != yes; then
84903  sed 's/^ *//' >> tmp-stdint.h <<EOF
84904
84905    /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84906    #ifndef __uintptr_t_defined
84907    #ifndef uintptr_t
84908    typedef u$acx_cv_type_intptr_t uintptr_t;
84909    #endif
84910    #endif
84911    #ifndef __intptr_t_defined
84912    #ifndef intptr_t
84913    typedef $acx_cv_type_intptr_t  intptr_t;
84914    #endif
84915    #endif
84916EOF
84917fi
84918
84919# ------------- done intptr types, emit int_least types ------------
84920if test "$ac_cv_type_int_least32_t" != yes; then
84921  sed 's/^ *//' >> tmp-stdint.h <<EOF
84922
84923    /* Define int_least types */
84924    typedef int8_t     int_least8_t;
84925    typedef int16_t    int_least16_t;
84926    typedef int32_t    int_least32_t;
84927    #ifdef _INT64_T
84928    typedef int64_t    int_least64_t;
84929    #endif
84930
84931    typedef uint8_t    uint_least8_t;
84932    typedef uint16_t   uint_least16_t;
84933    typedef uint32_t   uint_least32_t;
84934    #ifdef _UINT64_T
84935    typedef uint64_t   uint_least64_t;
84936    #endif
84937EOF
84938fi
84939
84940# ------------- done intptr types, emit int_fast types ------------
84941if test "$ac_cv_type_int_fast32_t" != yes; then
84942      sed 's/^ *//' >> tmp-stdint.h <<EOF
84943
84944    /* Define int_fast types.  short is often slow */
84945    typedef int8_t       int_fast8_t;
84946    typedef int          int_fast16_t;
84947    typedef int32_t      int_fast32_t;
84948    #ifdef _INT64_T
84949    typedef int64_t      int_fast64_t;
84950    #endif
84951
84952    typedef uint8_t      uint_fast8_t;
84953    typedef unsigned int uint_fast16_t;
84954    typedef uint32_t     uint_fast32_t;
84955    #ifdef _UINT64_T
84956    typedef uint64_t     uint_fast64_t;
84957    #endif
84958EOF
84959fi
84960
84961if test "$ac_cv_type_uintmax_t" != yes; then
84962  sed 's/^ *//' >> tmp-stdint.h <<EOF
84963
84964    /* Define intmax based on what we found */
84965    #ifndef intmax_t
84966    #ifdef _INT64_T
84967    typedef int64_t       intmax_t;
84968    #else
84969    typedef long          intmax_t;
84970    #endif
84971    #endif
84972    #ifndef uintmax_t
84973    #ifdef _UINT64_T
84974    typedef uint64_t      uintmax_t;
84975    #else
84976    typedef unsigned long uintmax_t;
84977    #endif
84978    #endif
84979EOF
84980fi
84981
84982sed 's/^ *//' >> tmp-stdint.h <<EOF
84983
84984  #endif /* GCC_GENERATED_STDINT_H */
84985EOF
84986
84987if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84988  rm -f tmp-stdint.h
84989else
84990  mv -f tmp-stdint.h include/gstdint.h
84991fi
84992
84993 ;;
84994    "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84995    "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84996    "include/Makefile":F) cat > vpsed$$ << \_EOF
84997s!`test -f '$<' || echo '$(srcdir)/'`!!
84998_EOF
84999   sed -f vpsed$$ $ac_file > tmp$$
85000   mv tmp$$ $ac_file
85001   rm vpsed$$
85002   echo 'MULTISUBDIR =' >> $ac_file
85003   ml_norecursion=yes
85004   . ${multi_basedir}/config-ml.in
85005   { ml_norecursion=; unset ml_norecursion;}
85006 ;;
85007    "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
85008s!`test -f '$<' || echo '$(srcdir)/'`!!
85009_EOF
85010   sed -f vpsed$$ $ac_file > tmp$$
85011   mv tmp$$ $ac_file
85012   rm vpsed$$
85013   echo 'MULTISUBDIR =' >> $ac_file
85014   ml_norecursion=yes
85015   . ${multi_basedir}/config-ml.in
85016   { ml_norecursion=; unset ml_norecursion;}
85017 ;;
85018    "src/Makefile":F) cat > vpsed$$ << \_EOF
85019s!`test -f '$<' || echo '$(srcdir)/'`!!
85020_EOF
85021   sed -f vpsed$$ $ac_file > tmp$$
85022   mv tmp$$ $ac_file
85023   rm vpsed$$
85024   echo 'MULTISUBDIR =' >> $ac_file
85025   ml_norecursion=yes
85026   . ${multi_basedir}/config-ml.in
85027   { ml_norecursion=; unset ml_norecursion;}
85028 ;;
85029    "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
85030s!`test -f '$<' || echo '$(srcdir)/'`!!
85031_EOF
85032   sed -f vpsed$$ $ac_file > tmp$$
85033   mv tmp$$ $ac_file
85034   rm vpsed$$
85035   echo 'MULTISUBDIR =' >> $ac_file
85036   ml_norecursion=yes
85037   . ${multi_basedir}/config-ml.in
85038   { ml_norecursion=; unset ml_norecursion;}
85039 ;;
85040    "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
85041s!`test -f '$<' || echo '$(srcdir)/'`!!
85042_EOF
85043   sed -f vpsed$$ $ac_file > tmp$$
85044   mv tmp$$ $ac_file
85045   rm vpsed$$
85046   echo 'MULTISUBDIR =' >> $ac_file
85047   ml_norecursion=yes
85048   . ${multi_basedir}/config-ml.in
85049   { ml_norecursion=; unset ml_norecursion;}
85050 ;;
85051    "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
85052s!`test -f '$<' || echo '$(srcdir)/'`!!
85053_EOF
85054   sed -f vpsed$$ $ac_file > tmp$$
85055   mv tmp$$ $ac_file
85056   rm vpsed$$
85057   echo 'MULTISUBDIR =' >> $ac_file
85058   ml_norecursion=yes
85059   . ${multi_basedir}/config-ml.in
85060   { ml_norecursion=; unset ml_norecursion;}
85061 ;;
85062    "doc/Makefile":F) cat > vpsed$$ << \_EOF
85063s!`test -f '$<' || echo '$(srcdir)/'`!!
85064_EOF
85065   sed -f vpsed$$ $ac_file > tmp$$
85066   mv tmp$$ $ac_file
85067   rm vpsed$$
85068   echo 'MULTISUBDIR =' >> $ac_file
85069   ml_norecursion=yes
85070   . ${multi_basedir}/config-ml.in
85071   { ml_norecursion=; unset ml_norecursion;}
85072 ;;
85073    "po/Makefile":F) cat > vpsed$$ << \_EOF
85074s!`test -f '$<' || echo '$(srcdir)/'`!!
85075_EOF
85076   sed -f vpsed$$ $ac_file > tmp$$
85077   mv tmp$$ $ac_file
85078   rm vpsed$$
85079   echo 'MULTISUBDIR =' >> $ac_file
85080   ml_norecursion=yes
85081   . ${multi_basedir}/config-ml.in
85082   { ml_norecursion=; unset ml_norecursion;}
85083 ;;
85084    "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
85085s!`test -f '$<' || echo '$(srcdir)/'`!!
85086_EOF
85087   sed -f vpsed$$ $ac_file > tmp$$
85088   mv tmp$$ $ac_file
85089   rm vpsed$$
85090   echo 'MULTISUBDIR =' >> $ac_file
85091   ml_norecursion=yes
85092   . ${multi_basedir}/config-ml.in
85093   { ml_norecursion=; unset ml_norecursion;}
85094 ;;
85095    "python/Makefile":F) cat > vpsed$$ << \_EOF
85096s!`test -f '$<' || echo '$(srcdir)/'`!!
85097_EOF
85098   sed -f vpsed$$ $ac_file > tmp$$
85099   mv tmp$$ $ac_file
85100   rm vpsed$$
85101   echo 'MULTISUBDIR =' >> $ac_file
85102   ml_norecursion=yes
85103   . ${multi_basedir}/config-ml.in
85104   { ml_norecursion=; unset ml_norecursion;}
85105 ;;
85106    "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
85107
85108  esac
85109done # for ac_tag
85110
85111
85112as_fn_exit 0
85113_ACEOF
85114ac_clean_files=$ac_clean_files_save
85115
85116test $ac_write_fail = 0 ||
85117  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
85118
85119
85120# configure is writing to config.log, and then calls config.status.
85121# config.status does its own redirection, appending to config.log.
85122# Unfortunately, on DOS this fails, as config.log is still kept open
85123# by configure, so config.status won't be able to write to it; its
85124# output is simply discarded.  So we exec the FD to /dev/null,
85125# effectively closing config.log, so it can be properly (re)opened and
85126# appended to by config.status.  When coming back to configure, we
85127# need to make the FD available again.
85128if test "$no_create" != yes; then
85129  ac_cs_success=:
85130  ac_config_status_args=
85131  test "$silent" = yes &&
85132    ac_config_status_args="$ac_config_status_args --quiet"
85133  exec 5>/dev/null
85134  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
85135  exec 5>>config.log
85136  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
85137  # would make configure fail if this is the last instruction.
85138  $ac_cs_success || as_fn_exit $?
85139fi
85140if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
85141  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
85142$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
85143fi
85144
85145